← 2016 Paper 1

UPSC 2016 Maths Optional Paper 1 Q8b — Step-by-Step Solution

10 marks · Section B

Stokes' theorem · Vector Analysis · asked 10× in 14 yrs · Read the full method →

Question

Prove that ∮Cf dr⃗=∬SdS⃗×∇f\displaystyle\oint_C f\,d\vec r=\iint_S d\vec S\times\nabla f.

Technique

Apply classical Stokes to G⃗=fc⃗\vec G=f\vec c (c⃗\vec c constant), use ∇×(fc⃗)=∇f×c⃗\nabla\times(f\vec c)=\nabla f\times\vec c and the triple product, then strip the arbitrary c⃗\vec c.

Solution

Here ff is a scalar field, CC is a closed curve bounding the surface SS, and dS⃗=n^ dSd\vec S=\hat n\,dS.

Step 1 — Start from the classical Stokes’ theorem

For any vector field G⃗\vec G,

∮CG⃗⋅dr⃗=∬S(∇×G⃗)⋅dS⃗.(∗)\oint_C \vec G\cdot d\vec r=\iint_S(\nabla\times\vec G)\cdot d\vec S.\tag{$\ast$}

We will apply (∗)(\ast) to the field G⃗=f c⃗\vec G=f\,\vec c, where c⃗\vec c is an arbitrary constant vector.

Step 2 — Left-hand side

∮C(fc⃗)⋅dr⃗=∮Cf (c⃗⋅dr⃗)=c⃗⋅∮Cf dr⃗,\oint_C(f\vec c)\cdot d\vec r=\oint_C f\,(\vec c\cdot d\vec r)=\vec c\cdot\oint_C f\,d\vec r,

since c⃗\vec c is constant and c⃗⋅dr⃗=dr⃗⋅c⃗\vec c\cdot d\vec r=d\vec r\cdot\vec c.

Step 3 — Right-hand side: the curl

Using the identity ∇×(fc⃗)=(∇f)×c⃗+f(∇×c⃗)\nabla\times(f\vec c)=(\nabla f)\times\vec c+f(\nabla\times\vec c) and ∇×c⃗=0⃗\nabla\times\vec c=\vec 0 (constant),

∇×(fc⃗)=∇f×c⃗.\nabla\times(f\vec c)=\nabla f\times\vec c.

Hence

∬S(∇f×c⃗)⋅dS⃗.\iint_S\big(\nabla f\times\vec c\big)\cdot d\vec S.

Apply the scalar triple-product identity (A⃗×B⃗)⋅C⃗=A⃗⋅(B⃗×C⃗)(\vec A\times\vec B)\cdot\vec C=\vec A\cdot(\vec B\times\vec C) with A⃗=∇f, B⃗=c⃗, C⃗=dS⃗\vec A=\nabla f,\ \vec B=\vec c,\ \vec C=d\vec S, and use the cyclic property to factor out c⃗\vec c:

(∇f×c⃗)⋅dS⃗=c⃗⋅(dS⃗×∇f).(\nabla f\times\vec c)\cdot d\vec S=\vec c\cdot(d\vec S\times\nabla f).

(Indeed (∇f×c⃗)⋅dS⃗=−(c⃗×∇f)⋅dS⃗=−c⃗⋅(∇f×dS⃗)=c⃗⋅(dS⃗×∇f)(\nabla f\times\vec c)\cdot d\vec S=-(\vec c\times\nabla f)\cdot d\vec S=-\vec c\cdot(\nabla f\times d\vec S)=\vec c\cdot(d\vec S\times\nabla f).) Therefore

∬S(∇f×c⃗)⋅dS⃗=c⃗⋅∬SdS⃗×∇f.\iint_S(\nabla f\times\vec c)\cdot d\vec S=\vec c\cdot\iint_S d\vec S\times\nabla f.

Step 4 — Equate and strip the arbitrary c⃗\vec c

From (∗)(\ast), Steps 2 and 3 give

c⃗⋅∮Cf dr⃗=c⃗⋅∬SdS⃗×∇f.\vec c\cdot\oint_C f\,d\vec r=\vec c\cdot\iint_S d\vec S\times\nabla f.

This holds for every constant vector c⃗\vec c, so the two vectors are equal:

  ∮Cf dr⃗=∬SdS⃗×∇f.  ■\boxed{\;\oint_C f\,d\vec r=\iint_S d\vec S\times\nabla f.\;}\qquad\blacksquare

Verification

Numerical sanity check: f=xf=x, SS the unit disc in z=0z=0 (n^=k^\hat n=\hat k, dS⃗=k^ dSd\vec S=\hat k\,dS), CC the unit circle. Then ∇f=(1,0,0)\nabla f=(1,0,0) and k^×∇f=(0,1,0)\hat k\times\nabla f=(0,1,0), so the RHS is (0,1,0)⋅(area π)=(0,π,0)(0,1,0)\cdot(\text{area }\pi)=(0,\pi,0).

$ python3 -c "
import numpy as np
from scipy import integrate
def lhs_comp(i):
    f=lambda t: (np.cos(t))*np.array([-np.sin(t),np.cos(t),0])[i]
    return integrate.quad(f,0,2*np.pi)[0]
LHS=np.array([lhs_comp(i) for i in range(3)])
RHS=np.array([0,np.pi,0])
print('LHS=',np.round(LHS,6)); print('RHS=',np.round(RHS,6))
"
# LHS= [0.        3.141593  0.]
# RHS= [0.        3.141593  0.]

Both sides give (0,π,0)(0,\pi,0), confirming the identity in this case. ✓

We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.