Menu Close

Integral theorems: UPSC Maths Optional PYQ Solutions (2008–2026)

All 41 questions UPSC has asked on integral theorems in the Mathematics Optional (Paper I, Vector Analysis) from 2008 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Vector Analysis topic-wise PYQs page.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the answer was worked out again independently with computer algebra (SymPy).
  • ✓ Proof checked step by step for “prove that” questions, every step was checked against the definitions.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2026 · 5e 2026 · 7b 2025 · 7b 2025 · 8b 2024 · 7c 2024 · 8b 2023 · 6c 2022 · 6c 2022 · 7a 2022 · 8c 2021 · 6c 2021 · 7a 2021 · 8c 2020 · 6b 2020 · 7a 2020 · 8b 2019 · 6b 2019 · 8c(i) 2019 · 8c(ii) 2018 · 6d 2018 · 8b 2018 · 8c 2017 · 8c(i) 2017 · 8c(ii) 2016 · 8b 2015 · 8c 2014 · 6c 2013 · 8c 2013 · 8d 2012 · 8b 2012 · 8c 2011 · 8b 2011 · 8d 2010 · 7c 2010 · 8c 2009 · 4b 2009 · 8a 2009 · 8b 2009 · 8c 2008 · 8c 2008 · 8d

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Given F⃗=(2x+3y)î−4zĵ−5xk̂ and S is the surface 2x+4y+4z=5, bounded by x=0, x=2, y=0 and y=3. Evaluate ∬S(∇×F⃗)⋅n̂dS.

2026 · Paper I · Q5e · 10 marks

Solution

∇×F→=∣îĵk̂∂x∂y∂z2x+3y−4z−5x∣=(0+4)î−(−5−0)ĵ+(0−3)k̂=4î+5ĵ−3k̂.\nabla\times\vec F=\begin{vmatrix}\hat i&\hat j&\hat k\\ \partial_x&\partial_y&\partial_z\\ 2x+3y&-4z&-5x\end{vmatrix}=(0+4)\,\hat i-(-5-0)\,\hat j+(0-3)\,\hat k=4\hat i+5\hat j-3\hat k . For the plane 2x+4y+4z=52x+4y+4z=5, the unit normal (taken upward) is n̂=(2,4,4)6=13(1,2,2)\hat n=\frac{(2,4,4)}{6}=\frac13(1,2,2), so (∇×F→)⋅n̂=4+10−63=83.(\nabla\times\vec F)\cdot\hat n=\frac{4+10-6}{3}=\frac83 . Projecting SS on the xyxy-plane, dS=dxdy|n̂⋅k̂|=32dxdydS=\dfrac{dx\,dy}{|\hat n\cdot\hat k|}=\dfrac32\,dx\,dy, over the rectangle 0≤x≤2,0≤y≤30\le x\le2,\;0\le y\le3 (area 6): ∬S(∇×F→)⋅n̂dS=83⋅32⋅6=24.\iint_S(\nabla\times\vec F)\cdot\hat n\,dS=\frac83\cdot\frac32\cdot6=24 . (With the downward normal the value is −24-24.)

✓ Checked by computer We evaluated the surface integral by computer (SymPy): 2424.

↑ Back to the question list

If F⃗=4xzî−y2ĵ+yzk̂, then evaluate ∬SF⃗⋅n̂dS, where S is the surface of a unit cube with two opposite corners at (0,0,0) and (1,1,1) respectively. Hence verify the divergence theorem.

2026 · Paper I · Q7b · 15 marks

Solution

Surface integral, face by face (outward normals):

Face n̂\hat n F→⋅n̂\vec F\cdot\hat n Integral
x=1x=1 î\hat i 4z4z ∫01∫014zdydz=2\int_0^1\!\int_0^1 4z\,dy\,dz=2
x=0x=0 −î-\hat i −4xz=0-4xz=0 00
y=1y=1 ĵ\hat j −y2=−1-y^2=-1 −1-1
y=0y=0 −ĵ-\hat j y2=0y^2=0 00
z=1z=1 k̂\hat k yz=yyz=y ∫01∫01ydxdy=12\int_0^1\!\int_0^1 y\,dx\,dy=\tfrac12
z=0z=0 −k̂-\hat k −yz=0-yz=0 00

∬SF→⋅n̂dS=2+0−1+0+12+0=32.\iint_S\vec F\cdot\hat n\,dS=2+0-1+0+\tfrac12+0=\frac32 .

Volume integral. ∇⋅F→=4z−2y+y=4z−y\nabla\cdot\vec F=4z-2y+y=4z-y: ∭V(4z−y)dV=∫01∫01∫01(4z−y)dxdydz=4⋅12−12=32.\iiint_V(4z-y)\,dV=\int_0^1\!\!\int_0^1\!\!\int_0^1(4z-y)\,dx\,dy\,dz=4\cdot\tfrac12-\tfrac12=\frac32 . The two are equal, which verifies the divergence theorem. ◼\blacksquare

✓ Checked by computer We checked by computer (SymPy): the six face integrals add up to 3/23/2, and the volume integral of ∇⋅F→\nabla\cdot\vec F is 3/23/2.

↑ Back to the question list

Verify Green’s theorem in the plane for ∮C[(xy+y2)dx+x2dy], where C is the boundary of the region bounded by the curves y=x and y=x2.

2025 · Paper I · Q7b · 15 marks

Solution

Green’s theorem: ∮CPdx+Qdy=∬R(∂Q∂x−∂P∂y)dxdy\displaystyle\oint_C P\,dx+Q\,dy=\iint_R\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)dx\,dy. Here P=xy+y2P=xy+y^2, Q=x2Q=x^2. The curves meet at (0,0)(0,0) and (1,1)(1,1); between them x2≤y≤xx^2\le y\le x.

Line integral (counterclockwise: along the parabola out, back along the line).

  • C1C_1: y=x2y=x^2, x:0→1x:0\to1: ∫01[(x3+x4)+x2⋅2x]dx=∫01(3x3+x4)dx=34+15=1920\displaystyle\int_0^1\left[(x^3+x^4)+x^2\cdot2x\right]dx=\int_0^1(3x^3+x^4)\,dx=\frac34+\frac15=\frac{19}{20}
  • C2C_2: y=xy=x, x:1→0x:1\to0: ∫10(x2+x2+x2)dx=∫103x2dx=−1\displaystyle\int_1^0(x^2+x^2+x^2)\,dx=\int_1^0 3x^2\,dx=-1

Total: 1920−1=−120\dfrac{19}{20}-1=-\dfrac{1}{20}.

Double integral. ∂Q∂x−∂P∂y=2x−(x+2y)=x−2y\dfrac{\partial Q}{\partial x}-\dfrac{\partial P}{\partial y}=2x-(x+2y)=x-2y: ∫01∫x2x(x−2y)dydx=∫01[(x2−x2)−(x3−x4)]dx=−(14−15)=−120.\int_0^1\!\!\int_{x^2}^{x}(x-2y)\,dy\,dx=\int_0^1\left[(x^2-x^2)-(x^3-x^4)\right]dx=-\left(\frac14-\frac15\right)=-\frac1{20}. Both sides equal −120-\dfrac{1}{20}, so Green’s theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): line integral 1920−1=−120\frac{19}{20}-1=-\frac1{20}, double integral −120-\frac1{20}.

↑ Back to the question list

Verify Gauss’s divergence theorem for F⃗=[(x2−yz)î+(y2−zx)ĵ+(z2−xy)k̂], taken over the rectangular parallelopiped 0≤x≤a,0≤y≤b,0≤z≤c.

2025 · Paper I · Q8b · 15 marks

Solution

Volume integral. ∇⋅F→=2x+2y+2z\nabla\cdot\vec F=2x+2y+2z. ∭(2x+2y+2z)dV=2(a22bc+b22ca+c22ab)=abc(a+b+c).\iiint(2x+2y+2z)\,dV=2\left(\frac{a^2}{2}bc+\frac{b^2}{2}ca+\frac{c^2}{2}ab\right)=abc(a+b+c).

Surface integral (outward normals).

  • x=ax=a, n̂=î\hat n=\hat i: ∫0c∫0b(a2−yz)dydz=a2bc−b2c24\displaystyle\int_0^c\!\!\int_0^b(a^2-yz)\,dy\,dz=a^2bc-\frac{b^2c^2}{4}
  • x=0x=0, n̂=−î\hat n=-\hat i: ∫0c∫0byzdydz=b2c24\displaystyle\int_0^c\!\!\int_0^b yz\,dy\,dz=\frac{b^2c^2}{4}

These two faces give a2bca^2bc. In the same way the faces y=0,by=0,b give b2cab^2ca, and the faces z=0,cz=0,c give c2abc^2ab. Total a2bc+ab2c+abc2=abc(a+b+c).a^2bc+ab^2c+abc^2=abc(a+b+c). The two sides agree, so the divergence theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): both sides equal abc(a+b+c)abc(a+b+c).

↑ Back to the question list

State Stokes’ theorem and verify it for the vector field F⃗=xyî+yzĵ+zxk̂ over the surface S, which is the upwardly oriented part of the cylinder z=1−x2, for 0≤x≤1, −2≤y≤2.

2024 · Paper I · Q7c · 20 marks

Solution

Stokes’ theorem. If SS is an oriented surface with boundary curve CC (traversed so that SS is on the left, for the chosen normal), then ∮CF→⋅dr→=∬S(∇×F→)⋅n̂dS.\oint_C\vec F\cdot d\vec r=\iint_S(\nabla\times\vec F)\cdot\hat n\,dS .

Surface side. ∇×F→=−yî−zĵ−xk̂\nabla\times\vec F=-y\,\hat i-z\,\hat j-x\,\hat k. Parametrise SS by r→=(x,y,1−x2)\vec r=(x,\,y,\,1-x^2): the upward normal is r→x×r→y=(2x,0,1)\vec r_x\times\vec r_y=(2x,0,1). So ∬S(∇×F→)⋅n̂dS=∫−22∫01(−2xy−x)dxdy=∫−22(−y−12)dy=−2.\iint_S(\nabla\times\vec F)\cdot\hat n\,dS=\int_{-2}^{2}\!\!\int_0^1(-2xy-x)\,dx\,dy=\int_{-2}^{2}\left(-y-\tfrac12\right)dy=-2 .

Boundary side. Going counterclockwise seen from above:

  • C1C_1: (0,−2,1)→(1,−2,0)(0,-2,1)\to(1,-2,0) on y=−2y=-2, z=1−x2z=1-x^2: ∫01[−2x+x(1−x2)(−2x)]dx=−1−415=−1915\displaystyle\int_0^1\left[-2x+x(1-x^2)(-2x)\right]dx=-1-\frac{4}{15}=-\frac{19}{15}
  • C2C_2: (1,−2,0)→(1,2,0)(1,-2,0)\to(1,2,0): F→⋅dr→=yzdy=0\vec F\cdot d\vec r=yz\,dy=0
  • C3C_3: (1,2,0)→(0,2,1)(1,2,0)\to(0,2,1): ∫10[2x−2x2(1−x2)]dx=−1+415=−1115\displaystyle\int_1^0\left[2x-2x^2(1-x^2)\right]dx=-1+\frac{4}{15}=-\frac{11}{15}
  • C4C_4: (0,2,1)→(0,−2,1)(0,2,1)\to(0,-2,1): F→⋅dr→=yzdy=ydy\vec F\cdot d\vec r=yz\,dy=y\,dy, giving ∫2−2ydy=0\displaystyle\int_2^{-2}y\,dy=0

Total: −1915−1115=−2-\dfrac{19}{15}-\dfrac{11}{15}=-2. Both sides equal −2-2, so Stokes’ theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): surface integral −2-2; the four boundary edges give −1915,0,−1115,0-\frac{19}{15},0,-\frac{11}{15},0, total −2-2.

↑ Back to the question list

Using Gauss divergence theorem, evaluate the integral ∬S(y2î+xz3ĵ+(z−1)2k̂)⋅n̂dS over the region bounded by the cylinder x2+y2=16 and the planes z=1 and z=5.

2024 · Paper I · Q8b · 15 marks

Solution

∇⋅F→=∂(y2)∂x+∂(xz3)∂y+∂(z−1)2∂z=2(z−1).\nabla\cdot\vec F=\frac{\partial(y^2)}{\partial x}+\frac{\partial(xz^3)}{\partial y}+\frac{\partial(z-1)^2}{\partial z}=2(z-1). By the divergence theorem, with VV the solid cylinder x2+y2≤16x^2+y^2\le16, 1≤z≤51\le z\le5: ∬SF→⋅n̂dS=∭V2(z−1)dV=(area 16π)∫152(z−1)dz=16π⋅16=256π.\iint_S\vec F\cdot\hat n\,dS=\iiint_V2(z-1)\,dV=(\text{area }16\pi)\int_1^5 2(z-1)\,dz=16\pi\cdot16=256\pi .

✓ Checked by computer We checked by computer (SymPy): ∇⋅F→=2z−2\nabla\cdot\vec F=2z-2 and the volume integral is 256π256\pi.

↑ Back to the question list

Evaluate the integral ∬S(3y2z2î+4z2x2ĵ+z2y2k̂)⋅n̂dS, where S is the upper part of the surface 4x2+4y2+4z2=1 above the plane z=0 and bounded by the xy-plane. Hence, verify Gauss-Divergence theorem.

2023 · Paper I · Q6c · 20 marks

Solution

The sphere is x2+y2+z2=14x^2+y^2+z^2=\tfrac14 (radius 12\tfrac12). ∇⋅F→=0+0+2zy2=2y2z\nabla\cdot\vec F=0+0+2zy^2=2y^2z.

Volume integral (spherical coordinates, 0≤ρ≤120\le\rho\le\tfrac12, 0≤ϕ≤π20\le\phi\le\tfrac\pi2): ∭2y2zdV=2∫02πsin2θdθ∫0π/2sin3ϕcosϕdϕ∫01/2ρ5dρ=2⋅π⋅14⋅1384=π768.\iiint2y^2z\,dV=2\int_0^{2\pi}\!\!\sin^2\theta\,d\theta\int_0^{\pi/2}\!\!\sin^3\phi\cos\phi\,d\phi\int_0^{1/2}\!\!\rho^5\,d\rho=2\cdot\pi\cdot\frac14\cdot\frac{1}{384}=\frac{\pi}{768}.

Surface integral. The closed surface is the hemisphere SS plus the base disc z=0z=0. On the base, n̂=−k̂\hat n=-\hat k and F→⋅n̂=−z2y2=0\vec F\cdot\hat n=-z^2y^2=0. On SS, n̂=2(x,y,z)\hat n=2(x,y,z) and dS=14sinϕdϕdθdS=\tfrac14\sin\phi\,d\phi\,d\theta; the terms with odd powers of cosθ\cos\theta or sinθ\sin\theta integrate to zero, leaving ∬SF→⋅n̂dS=∬S2y2z3dS=π768.\iint_S\vec F\cdot\hat n\,dS=\iint_S 2y^2z^3\,dS=\frac{\pi}{768}. So the required integral is π768\dfrac{\pi}{768}, equal to the volume integral: the divergence theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): the surface integral over the hemisphere and the volume integral are both π/768\pi/768.

↑ Back to the question list

Verify Green’s theorem in the plane for ∮C(3x2−8y2)dx+(4y−6xy)dy, where C is the boundary curve of the region defined by x=0, y=0, x+y=1.

2022 · Paper I · Q6c · 15 marks

Solution

P=3x2−8y2P=3x^2-8y^2, Q=4y−6xyQ=4y-6xy. The region is the triangle with vertices (0,0)(0,0), (1,0)(1,0), (0,1)(0,1).

Line integral (counterclockwise).

  • OAOA: y=0y=0, x:0→1x:0\to1: ∫013x2dx=1\int_0^13x^2\,dx=1
  • ABAB: x=1−tx=1-t, y=ty=t, t:0→1t:0\to1: ∫01[−(3(1−t)2−8t2)+4t−6t(1−t)]dt=83\displaystyle\int_0^1\left[-(3(1-t)^2-8t^2)+4t-6t(1-t)\right]dt=\frac83
  • BOBO: x=0x=0, y:1→0y:1\to0: ∫104ydy=−2\int_1^04y\,dy=-2

Total: 1+83−2=531+\dfrac83-2=\dfrac53.

Double integral. Qx−Py=−6y+16y=10yQ_x-P_y=-6y+16y=10y: ∫01∫01−x10ydydx=∫015(1−x)2dx=53.\int_0^1\!\!\int_0^{1-x}10y\,dy\,dx=\int_0^15(1-x)^2\,dx=\frac53 . Both sides equal 53\dfrac53. ✓

✓ Checked by computer We checked by computer (SymPy): the edges give 1,83,−21,\frac83,-2 (total 53\frac53) and the double integral is 53\frac53.

↑ Back to the question list

Verify Stokes’ theorem for F⃗=xî+z2ĵ+y2k̂ over the plane surface : x+y+z=1 lying in the first octant.

2022 · Paper I · Q7a · 20 marks

Solution

Surface side. ∇×F→=(2y−2z)î\nabla\times\vec F=(2y-2z)\,\hat i. On z=1−x−yz=1-x-y the upward normal is (1,1,1)(1,1,1) (with dSn̂=(1,1,1)dxdydS\,\hat n=(1,1,1)\,dx\,dy): ∬(2y−2z)dxdy=∬△(2y−2(1−x−y))dxdy=∫01∫01−x(4y+2x−2)dydx=0.\iint(2y-2z)\,dx\,dy=\iint_{\triangle}\big(2y-2(1-x-y)\big)\,dx\,dy=\int_0^1\!\!\int_0^{1-x}(4y+2x-2)\,dy\,dx=0 . (Over the triangle the averages of xx and yy are 13\tfrac13, so the integrand averages 43+23−2=0\tfrac43+\tfrac23-2=0.)

Boundary side A(1,0,0)→B(0,1,0)→C(0,0,1)→AA(1,0,0)\to B(0,1,0)\to C(0,0,1)\to A:

  • ABAB: z=0z=0, F→⋅dr→=xdx\vec F\cdot d\vec r=x\,dx: ∫10xdx=−12\int_1^0x\,dx=-\tfrac12
  • BCBC: x=0x=0, y=1−ty=1-t, z=tz=t: F→⋅dr→=z2dy+y2dz=(−t2+(1−t)2)dt\vec F\cdot d\vec r=z^2dy+y^2dz=(-t^2+(1-t)^2)\,dt, giving ∫01(1−2t)dt=0\int_0^1(1-2t)\,dt=0
  • CACA: y=0y=0: F→⋅dr→=xdx\vec F\cdot d\vec r=x\,dx from 00 to 11: 12\tfrac12

Total 00. Both sides are 00, so Stokes’ theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): the surface integral is 0 and the three edges give −12,0,12-\frac12, 0, \frac12.

↑ Back to the question list

Using Gauss’ divergence theorem, evaluate ∬SF⃗⋅n⃗dS, where F⃗=xî−yĵ+(z2−1)k̂ and S is the cylinder formed by the surfaces z=0, z=1, x2+y2=4.

2022 · Paper I · Q8c · 15 marks

Solution

∇⋅F→=1−1+2z=2z\nabla\cdot\vec F=1-1+2z=2z. Over the closed cylinder x2+y2≤4x^2+y^2\le4, 0≤z≤10\le z\le1: ∬SF→⋅n̂dS=∭V2zdV=(area 4π)∫012zdz=4π.\iint_S\vec F\cdot\hat n\,dS=\iiint_V2z\,dV=(\text{area }4\pi)\int_0^12z\,dz=4\pi .

✓ Checked by computer We checked by computer (SymPy): ∇⋅F→=2z\nabla\cdot\vec F=2z and the volume integral is 4π4\pi.

↑ Back to the question list

Evaluate ∫CF⃗⋅dr⃗, where C is an arbitrary closed curve in the xy-plane and F⃗=−yî+xĵx2+y2.

2021 · Paper I · Q6c · 15 marks

Solution

F→=(−yx2+y2,xx2+y2)\vec F=\left(\dfrac{-y}{x^2+y^2},\dfrac{x}{x^2+y^2}\right). Away from the origin, ∂Q∂x−∂P∂y=y2−x2(x2+y2)2−y2−x2(x2+y2)2=0.\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}=\frac{y^2-x^2}{(x^2+y^2)^2}-\frac{y^2-x^2}{(x^2+y^2)^2}=0 .

Case 1: CC does not enclose the origin. F→\vec F is smooth inside CC, so by Green’s theorem ∮CF→⋅dr→=0\displaystyle\oint_C\vec F\cdot d\vec r=0.

Case 2: CC encloses the origin (once, counterclockwise). Draw a small circle CεC_\varepsilon: x=εcostx=\varepsilon\cos t, y=εsinty=\varepsilon\sin t inside CC. Green’s theorem on the region between them gives ∮C=∮Cε\oint_C=\oint_{C_\varepsilon}, and ∮Cεxdy−ydxx2+y2=∫02πε2(cos2t+sin2t)ε2dt=2π.\oint_{C_\varepsilon}\frac{x\,dy-y\,dx}{x^2+y^2}=\int_0^{2\pi}\frac{\varepsilon^2(\cos^2t+\sin^2t)}{\varepsilon^2}\,dt=2\pi . So the integral is 00 if the origin is outside CC and 2π2\pi if it is inside (it is −2π-2\pi for clockwise CC).

✓ Checked by computer We checked by computer (SymPy): ∇×F→=0→\nabla\times\vec F=\vec0 away from the origin, and the integral round the unit circle is 2π2\pi.

↑ Back to the question list

Verify Gauss divergence theorem for F⃗=2x2yî−y2ĵ+4xz2k̂ taken over the region in the first octant bounded by y2+z2=9 and x=2.

2021 · Paper I · Q7a · 20 marks

Solution

Volume integral. ∇⋅F→=4xy−2y+8xz\nabla\cdot\vec F=4xy-2y+8xz. Over 0≤x≤20\le x\le2 and the quarter disc y2+z2≤9y^2+z^2\le9, y,z≥0y,z\ge0 (where ∬ydA=∬zdA=9\iint y\,dA=\iint z\,dA=9 and the area is 9π4\tfrac{9\pi}{4}): ∫02[(4x−2)⋅9+8x⋅9]dx=∫02(108x−18)dx=216−36=180.\int_0^2\!\left[(4x-2)\cdot9+8x\cdot9\right]dx=\int_0^2(108x-18)\,dx=216-36=180 .

Surface integral.

  • x=0x=0: F→⋅(−î)=−2x2y=0\vec F\cdot(-\hat i)=-2x^2y=0. y=0y=0: F→⋅(−ĵ)=y2=0\vec F\cdot(-\hat j)=y^2=0. z=0z=0: F→⋅(−k̂)=−4xz2=0\vec F\cdot(-\hat k)=-4xz^2=0.
  • x=2x=2: F→⋅î=8y\vec F\cdot\hat i=8y, so ∬8ydA=8⋅9=72\iint8y\,dA=8\cdot9=72.
  • Curved face y=3cosθy=3\cos\theta, z=3sinθz=3\sin\theta (0≤θ≤π20\le\theta\le\tfrac\pi2), n̂=(0,cosθ,sinθ)\hat n=(0,\cos\theta,\sin\theta), dS=3dθdxdS=3\,d\theta\,dx: ∫02∫0π/2(−9cos3θ+36xsin3θ)3dθdx=3[−9⋅23⋅2+36⋅23⋅2]=108.\int_0^2\!\!\int_0^{\pi/2}\left(-9\cos^3\theta+36x\sin^3\theta\right)3\,d\theta\,dx=3\left[-9\cdot\tfrac23\cdot2+36\cdot\tfrac23\cdot2\right]=108 .

Total 72+108=18072+108=180, equal to the volume integral. ✓

✓ Checked by computer We checked by computer (SymPy): volume integral 180180; faces x=2x=2 give 7272, the curved face 108108, the others 00.

↑ Back to the question list

Using Stokes’ theorem, evaluate ∬S(∇×F⃗)⋅n̂dS, where F⃗=(x2+y−4)î+3xyĵ+(2xy+z2)k̂ and S is the surface of the paraboloid z=4−(x2+y2) above the xy-plane. Here, n̂ is the unit outward normal vector on S.

2021 · Paper I · Q8c · 15 marks

Solution

By Stokes’ theorem the surface integral equals the line integral round the boundary of SS: the circle x2+y2=4x^2+y^2=4, z=0z=0, taken counterclockwise (outward, i.e. upward, normal).

On z=0z=0: F→⋅dr→=(x2+y−4)dx+3xydy\vec F\cdot d\vec r=(x^2+y-4)\,dx+3xy\,dy. With x=2costx=2\cos t, y=2sinty=2\sin t: ∮=∫02π[(4cos2t+2sint−4)(−2sint)+12costsint⋅2cost]dt.\oint=\int_0^{2\pi}\left[(4\cos^2t+2\sin t-4)(-2\sin t)+12\cos t\sin t\cdot2\cos t\right]dt . Every term except −4sin2t-4\sin^2t integrates to zero over a full period, so ∬S(∇×F→)⋅n̂dS=∫02π(−4sin2t)dt=−4π.\iint_S(\nabla\times\vec F)\cdot\hat n\,dS=\int_0^{2\pi}(-4\sin^2t)\,dt=-4\pi .

✓ Checked by computer We checked by computer (SymPy): the line integral round x2+y2=4x^2+y^2=4, z=0z=0 is −4π-4\pi.

↑ Back to the question list

For the vector function A¯, where A¯=(3x2+6y)î−14yzĵ+20xz2k̂, calculate ∫CA¯⋅dr¯ from (0,0,0) to (1,1,1) along the following paths : (i) x=t,y=t2,z=t3 (ii) Straight lines joining (0,0,0) to (1,0,0), then to (1,1,0) and then to (1,1,1) (iii) Straight line joining (0,0,0) to (1,1,1) Is the result same in all the cases? Explain the reason.

2020 · Paper I · Q6b · 15 marks

Solution

(i) x=tx=t, y=t2y=t^2, z=t3z=t^3, t:0→1t:0\to1: ∫01[(3t2+6t2)⋅1−14t5⋅2t+20t7⋅3t2]dt=∫01(9t2−28t6+60t9)dt=3−4+6=5.\int_0^1\left[(3t^2+6t^2)\cdot1-14t^5\cdot2t+20t^7\cdot3t^2\right]dt=\int_0^1(9t^2-28t^6+60t^9)\,dt=3-4+6=5 .

(ii) Three segments:

  • (0,0,0)→(1,0,0)(0,0,0)\to(1,0,0): y=z=0y=z=0, ∫013x2dx=1\int_0^13x^2\,dx=1
  • (1,0,0)→(1,1,0)(1,0,0)\to(1,1,0): x=1x=1, z=0z=0, A→⋅dr→=−14yzdy=0\vec A\cdot d\vec r=-14yz\,dy=0
  • (1,1,0)→(1,1,1)(1,1,0)\to(1,1,1): ∫0120z2dz=203\int_0^120z^2\,dz=\tfrac{20}{3}

Total 1+203=2331+\tfrac{20}{3}=\tfrac{23}{3}.

(iii) x=y=z=tx=y=z=t: ∫01(3t2+6t−14t2+20t3)dt=1+3−143+5=133\displaystyle\int_0^1(3t^2+6t-14t^2+20t^3)\,dt=1+3-\tfrac{14}{3}+5=\tfrac{13}{3}.

Not the same. The values differ because the integral depends on the path. That happens because A→\vec A is not conservative: ∇×A→=14yî−20z2ĵ−6k̂≠0→\nabla\times\vec A=14y\,\hat i-20z^2\,\hat j-6\,\hat k\neq\vec 0, so A→\vec A is not the gradient of any scalar function.

✓ Checked by computer We checked by computer (SymPy): the three paths give 55, 233\frac{23}{3} and 133\frac{13}{3}; ∇×A→=(14y,−20z2,−6)≠0→\nabla\times\vec A=(14y,-20z^2,-6)\neq\vec0.

↑ Back to the question list

Verify the Stokes’ theorem for the vector field F¯=xyî+yzĵ+xzk̂ on the surface S which is the part of the cylinder z=1−x2 for 0≤x≤1, −2≤y≤2; S is oriented upwards.

2020 · Paper I · Q7a · 20 marks

Solution

Surface side. ∇×F→=−yî−zĵ−xk̂\nabla\times\vec F=-y\,\hat i-z\,\hat j-x\,\hat k. On z=1−x2z=1-x^2 the upward normal vector is r→x×r→y=(2x,0,1)\vec r_x\times\vec r_y=(2x,0,1): ∬S(∇×F→)⋅dS→=∫−22∫01(−2xy−x)dxdy=∫−22(−y−12)dy=−2.\iint_S(\nabla\times\vec F)\cdot d\vec S=\int_{-2}^{2}\!\!\int_0^1(-2xy-x)\,dx\,dy=\int_{-2}^2\left(-y-\tfrac12\right)dy=-2 .

Line side (counterclockwise from above):

  • (0,−2,1)→(1,−2,0)(0,-2,1)\to(1,-2,0), z=1−x2z=1-x^2: ∫01[−2x−2x2(1−x2)]dx=−1915\int_0^1\left[-2x-2x^2(1-x^2)\right]dx=-\tfrac{19}{15}
  • (1,−2,0)→(1,2,0)(1,-2,0)\to(1,2,0): yzdy=0yz\,dy=0
  • (1,2,0)→(0,2,1)(1,2,0)\to(0,2,1): ∫10[2x−2x2(1−x2)]dx=−1115\int_1^0\left[2x-2x^2(1-x^2)\right]dx=-\tfrac{11}{15}
  • (0,2,1)→(0,−2,1)(0,2,1)\to(0,-2,1): ∫2−2ydy=0\int_2^{-2}y\,dy=0

Total −2-2. Both sides agree, so Stokes’ theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): surface integral −2-2; boundary edges −1915,0,−1115,0-\frac{19}{15},0,-\frac{11}{15},0, total −2-2.

↑ Back to the question list

Evaluate the surface integral ∬S∇×F¯⋅n̂dS for F¯=yî+(x−2xz)ĵ−xyk̂ and S is the surface of the sphere x2+y2+z2=a2 above the xy-plane.

2020 · Paper I · Q8b · 15 marks

Solution

By Stokes’ theorem the integral equals ∮CF→⋅dr→\oint_C\vec F\cdot d\vec r, where CC is the circle x2+y2=a2x^2+y^2=a^2, z=0z=0 (counterclockwise). On z=0z=0, F→⋅dr→=ydx+xdy=d(xy).\vec F\cdot d\vec r=y\,dx+x\,dy=d(xy). This is an exact differential, so its integral round a closed curve is zero: ∬S(∇×F→)⋅n̂dS=0.\iint_S(\nabla\times\vec F)\cdot\hat n\,dS=0 . (Directly: x=acostx=a\cos t, y=asinty=a\sin t gives ∫02πa2(cos2t−sin2t)dt=0\int_0^{2\pi}a^2(\cos^2t-\sin^2t)\,dt=0.)

✓ Checked by computer We checked by computer (SymPy): the line integral round the circle x2+y2=a2x^2+y^2=a^2, z=0z=0 is 00.

↑ Back to the question list

Find the circulation of F⃗ round the curve C, where F⃗=(2x+y2)î+(3y−4x)ĵ and C is the curve y=x2 from (0,0) to (1,1) and the curve y2=x from (1,1) to (0,0).

2019 · Paper I · Q6b · 15 marks

Solution

Directly. F→⋅dr→=(2x+y2)dx+(3y−4x)dy\vec F\cdot d\vec r=(2x+y^2)\,dx+(3y-4x)\,dy.

  • y=x2y=x^2, (0,0)→(1,1)(0,0)\to(1,1): ∫01[2x+x4+(3x2−4x)2x]dx=∫01(2x−8x2+6x3+x4)dx=1−83+32+15=130\displaystyle\int_0^1\left[2x+x^4+(3x^2-4x)2x\right]dx=\int_0^1(2x-8x^2+6x^3+x^4)\,dx=1-\tfrac83+\tfrac32+\tfrac15=\tfrac{1}{30}
  • x=y2x=y^2, (1,1)→(0,0)(1,1)\to(0,0): ∫10[(2y2+y2)2y+3y−4y2]dy=−(32+32−43)=−53\displaystyle\int_1^0\left[(2y^2+y^2)2y+3y-4y^2\right]dy=-\left(\tfrac32+\tfrac32-\tfrac43\right)=-\tfrac53

Circulation =130−53=−4930=\dfrac1{30}-\dfrac53=-\dfrac{49}{30}.

Check by Green’s theorem. Qx−Py=−4−2yQ_x-P_y=-4-2y, over x2≤y≤xx^2\le y\le\sqrt x: ∫01∫x2x(−4−2y)dydx=∫01[−4x+4x2−x+x4]dx=−83+43−12+15=−4930.✓\int_0^1\!\!\int_{x^2}^{\sqrt x}(-4-2y)\,dy\,dx=\int_0^1\left[-4\sqrt x+4x^2-x+x^4\right]dx=-\tfrac83+\tfrac43-\tfrac12+\tfrac15=-\tfrac{49}{30}. \;✓

✓ Checked by computer We checked by computer (SymPy): the line integral and the Green double integral are both −4930-\frac{49}{30}.

↑ Back to the question list

State Gauss divergence theorem. Verify this theorem for F⃗=4xî−2y2ĵ+z2k̂, taken over the region bounded by x2+y2=4, z=0 and z=3.

2019 · Paper I · Q8c(i) · 15 marks

Solution

Gauss divergence theorem. If VV is a region bounded by a closed surface SS with outward unit normal n̂\hat n, and F→\vec F has continuous first derivatives, then ∬SF→⋅n̂dS=∭V∇⋅F→dV.\iint_S\vec F\cdot\hat n\,dS=\iiint_V\nabla\cdot\vec F\,dV .

Volume side. ∇⋅F→=4−4y+2z\nabla\cdot\vec F=4-4y+2z. Over the cylinder (∬ydA=0\iint y\,dA=0 by symmetry, area 4π4\pi): ∭(4−4y+2z)dV=4π∫03(4+2z)dz=4π(12+9)=84π.\iiint(4-4y+2z)\,dV=4\pi\int_0^3(4+2z)\,dz=4\pi(12+9)=84\pi .

Surface side.

  • Top z=3z=3, n̂=k̂\hat n=\hat k: F→⋅n̂=z2=9\vec F\cdot\hat n=z^2=9, giving 9⋅4π=36π9\cdot4\pi=36\pi
  • Bottom z=0z=0, n̂=−k̂\hat n=-\hat k: −z2=0-z^2=0
  • Side x=2cosθx=2\cos\theta, y=2sinθy=2\sin\theta, n̂=(cosθ,sinθ,0)\hat n=(\cos\theta,\sin\theta,0), dS=2dθdzdS=2\,d\theta\,dz: ∫03∫02π(8cos2θ−8sin3θ)2dθdz=3⋅2⋅8π=48π\int_0^3\!\!\int_0^{2\pi}(8\cos^2\theta-8\sin^3\theta)\,2\,d\theta\,dz=3\cdot2\cdot8\pi=48\pi

Total 36π+48π=84π36\pi+48\pi=84\pi. ✓

✓ Checked by computer We checked by computer (SymPy): volume integral 84π84\pi; top 36π36\pi, bottom 00, curved side 48π48\pi.

↑ Back to the question list

Evaluate by Stokes’ theorem ∮Cexdx+2ydy−dz, where C is the curve x2+y2=4, z=2.

2019 · Paper I · Q8c(ii) · 5 marks

Solution

Write the integrand as F→⋅dr→\vec F\cdot d\vec r with F→=(ex,2y,−1)\vec F=(e^x,\,2y,\,-1). ∇×F→=(∂(−1)∂y−∂(2y)∂z)î+(∂ex∂z−∂(−1)∂x)ĵ+(∂(2y)∂x−∂ex∂y)k̂=0→.\nabla\times\vec F=\left(\frac{\partial(-1)}{\partial y}-\frac{\partial(2y)}{\partial z}\right)\hat i+\left(\frac{\partial e^x}{\partial z}-\frac{\partial(-1)}{\partial x}\right)\hat j+\left(\frac{\partial(2y)}{\partial x}-\frac{\partial e^x}{\partial y}\right)\hat k=\vec0 . By Stokes’ theorem, taking SS as the disc x2+y2≤4x^2+y^2\le4 in the plane z=2z=2, ∮Cexdx+2ydy−dz=∬S0→⋅n̂dS=0.\oint_C e^x\,dx+2y\,dy-dz=\iint_S\vec0\cdot\hat n\,dS=0 . (Indeed the integrand is d(ex+y2−z)d(e^x+y^2-z), exact.)

✓ Checked by computer We checked by computer (SymPy): ∇×F→=0→\nabla\times\vec F=\vec0 and the integral round the circle is 00.

↑ Back to the question list

If S is the surface of the sphere x2+y2+z2=a2, then evaluate ∬S[(x+z)dydz+(y+z)dzdx+(x+y)dxdy] using Gauss’ divergence theorem.

2018 · Paper I · Q6d · 12 marks

Solution

The integral is ∬SF→⋅n̂dS\iint_S\vec F\cdot\hat n\,dS with F→=(x+z,y+z,x+y)\vec F=(x+z,\;y+z,\;x+y). Then ∇⋅F→=1+1+0=2.\nabla\cdot\vec F=1+1+0=2 . By the divergence theorem, ∬S=∭V2dV=2⋅43πa3=8πa33.\iint_S=\iiint_V2\,dV=2\cdot\frac43\pi a^3=\frac{8\pi a^3}{3}.

✓ Checked by computer We checked by computer (SymPy): ∇⋅F→=2\nabla\cdot\vec F=2 and the integral is 8πa33\frac{8\pi a^3}{3}.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Evaluate the line integral ∫C−y3dx+x3dy+z3dz using Stokes’ theorem. Here C is the intersection of the cylinder x2+y2=1 and the plane x+y+z=1. The orientation on C corresponds to counterclockwise motion in the xy-plane.

2018 · Paper I · Q8b · 13 marks

Solution

F→=(−y3,x3,z3)\vec F=(-y^3,\;x^3,\;z^3), so ∇×F→=(0,0,3x2+3y2)\nabla\times\vec F=(0,\;0,\;3x^2+3y^2).

Take SS as the part of the plane x+y+z=1x+y+z=1 inside the cylinder. With the upward normal (matching counterclockwise CC), n̂dS=(1,1,1)dxdy\hat n\,dS=(1,1,1)\,dx\,dy over the projection x2+y2≤1x^2+y^2\le1: ∮CF→⋅dr→=∬x2+y2≤13(x2+y2)dxdy=3∫02π∫01ρ3dρdθ=3π2.\oint_C\vec F\cdot d\vec r=\iint_{x^2+y^2\le1}3(x^2+y^2)\,dx\,dy=3\int_0^{2\pi}\!\!\int_0^1\rho^3\,d\rho\,d\theta=\frac{3\pi}{2}.

✓ Checked by computer We checked by computer (SymPy): the line integral round the ellipse of intersection is 3π2\frac{3\pi}{2}.

↑ Back to the question list

Let F⃗=xy2i⃗+(y+x)j⃗. Integrate (∇×F⃗)⋅k⃗ over the region in the first quadrant bounded by the curves y=x2 and y=x using Green’s theorem.

2018 · Paper I · Q8c · 13 marks

Solution

(∇×F→)⋅k→=∂(y+x)∂x−∂(xy2)∂y=1−2xy(\nabla\times\vec F)\cdot\vec k=\dfrac{\partial(y+x)}{\partial x}-\dfrac{\partial(xy^2)}{\partial y}=1-2xy.

The region is x2≤y≤xx^2\le y\le x, 0≤x≤10\le x\le1: ∬R(1−2xy)dA=∫01[(x−x2)−x(x2−x4)]dx=12−13−14+16=112.\iint_R(1-2xy)\,dA=\int_0^1\left[(x-x^2)-x(x^2-x^4)\right]dx=\frac12-\frac13-\frac14+\frac16=\frac1{12}.

Check with the line integral. By Green’s theorem this equals ∮Cxy2dx+(x+y)dy\oint_C xy^2\,dx+(x+y)\,dy counterclockwise:

  • along y=x2y=x^2, x:0→1x:0\to1: ∫01(x5+2x2+2x3)dx=16+23+12=43\int_0^1(x^5+2x^2+2x^3)\,dx=\tfrac16+\tfrac23+\tfrac12=\tfrac43
  • along y=xy=x, x:1→0x:1\to0: ∫10(x3+2x)dx=−54\int_1^0(x^3+2x)\,dx=-\tfrac54

Total 43−54=112\tfrac43-\tfrac54=\tfrac1{12}. ✓

✓ Checked by computer We checked by computer (SymPy): (∇×F→)⋅k̂=1−2xy(\nabla\times\vec F)\cdot\hat k=1-2xy and the integral is 112\frac1{12}.

↑ Back to the question list

Evaluate the integral : ∬SF‾⋅n̂ds where F‾=3xy2î+(yx2−y3)ĵ+3zx2k̂ and S is a surface of the cylinder y2+z2≤4, −3≤x≤3, using divergence theorem.

2017 · Paper I · Q8c(i) · 9 marks

Solution

∇⋅F‾=3y2+(x2−3y2)+3x2=4x2.\nabla\cdot\bar F=3y^2+(x^2-3y^2)+3x^2=4x^2 . By the divergence theorem, over the solid cylinder y2+z2≤4y^2+z^2\le4, −3≤x≤3-3\le x\le3 (cross-section area 4π4\pi): ∬SF‾⋅n̂dS=∫−334x2⋅4πdx=4π⋅4⋅18=288π.\iint_S\bar F\cdot\hat n\,dS=\int_{-3}^{3}4x^2\cdot4\pi\,dx=4\pi\cdot4\cdot18=288\pi .

✓ Checked by computer We checked by computer (SymPy): ∇⋅F‾=4x2\nabla\cdot\bar F=4x^2 and the volume integral is 288π288\pi.

↑ Back to the question list

Using Green’s theorem, evaluate the ∫CF(r‾)⋅dr‾ counterclockwise where F(r‾)=(x2+y2)î+(x2−y2)ĵ and dr‾=dxî+dyĵ and the curve C is the boundary of the region R={(x,y)∣1≤y≤2−x2}.

2017 · Paper I · Q8c(ii) · 8 marks

Solution

P=x2+y2P=x^2+y^2, Q=x2−y2Q=x^2-y^2, so Qx−Py=2x−2yQ_x-P_y=2x-2y. The region 1≤y≤2−x21\le y\le2-x^2 needs x2≤1x^2\le1, i.e. −1≤x≤1-1\le x\le1. ∮CF→⋅dr→=∫−11∫12−x2(2x−2y)dydx.\oint_C\vec F\cdot d\vec r=\int_{-1}^{1}\!\!\int_1^{2-x^2}(2x-2y)\,dy\,dx . The 2x2x part is odd in xx over a symmetric region, so it gives 00. The rest: −∫−11[(2−x2)2−1]dx=−∫−11(3−4x2+x4)dx=−(6−83+25)=−5615.-\int_{-1}^1\left[(2-x^2)^2-1\right]dx=-\int_{-1}^1(3-4x^2+x^4)\,dx=-\left(6-\tfrac83+\tfrac25\right)=-\frac{56}{15}.

✓ Checked by computer We checked by computer (SymPy): the double integral is −5615-\frac{56}{15}.

↑ Back to the question list

Prove that ∮Cfdr⃗=∬SdS⃗×∇f

2016 · Paper I · Q8b · 10 marks

Solution

Let c→\vec c be an arbitrary constant vector and apply Stokes’ theorem to F→=fc→\vec F=f\vec c: ∮Cfc→⋅dr→=∬S∇×(fc→)⋅dS→.\oint_C f\vec c\cdot d\vec r=\iint_S\nabla\times(f\vec c)\cdot d\vec S . Since c→\vec c is constant, ∇×(fc→)=∇f×c→\nabla\times(f\vec c)=\nabla f\times\vec c. And (∇f×c→)⋅dS→=c→⋅(dS→×∇f)(\nabla f\times\vec c)\cdot d\vec S=\vec c\cdot(d\vec S\times\nabla f) (cyclic property of the scalar triple product). So c→⋅∮Cfdr→=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 (take c→=î,ĵ,k̂\vec c=\hat i,\hat j,\hat k in turn), so ∮Cfdr→=∬SdS→×∇f.◼\oint_C f\,d\vec r=\iint_S d\vec S\times\nabla f. \qquad\blacksquare

✓ Proof checked step by step Proof checked step by step.

↑ Back to the question list

Evaluate ∫Ce−x(sinydx+cosydy), where C is the rectangle with vertices (0,0), (π,0), (π,π2), (0,π2).

2015 · Paper I · Q8c · 12 marks

Solution

Use Green’s theorem (counterclockwise): P=e−xsinyP=e^{-x}\sin y, Q=e−xcosyQ=e^{-x}\cos y, so ∂Q∂x−∂P∂y=−e−xcosy−e−xcosy=−2e−xcosy.\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}=-e^{-x}\cos y-e^{-x}\cos y=-2e^{-x}\cos y . ∮C=∫0π/2∫0π−2e−xcosydxdy=−2[1−e−π][siny]0π/2=2(e−π−1).\oint_C=\int_0^{\pi/2}\!\!\int_0^{\pi}-2e^{-x}\cos y\,dx\,dy=-2\left[1-e^{-\pi}\right]\left[\sin y\right]_0^{\pi/2}=2\left(e^{-\pi}-1\right). (Side by side: 00 along y=0y=0; e−πe^{-\pi} along x=πx=\pi; e−π−1e^{-\pi}-1 along y=π/2y=\pi/2; −1-1 along x=0x=0. Total 2e−π−22e^{-\pi}-2.)

✓ Checked by computer We checked by computer (SymPy): the four sides give 0,e−π,e−π−1,−10,\ e^{-\pi},\ e^{-\pi}-1,\ -1, total 2(e−π−1)2(e^{-\pi}-1), and Green’s double integral agrees.

↑ Back to the question list

Evaluate by Stokes’ theorem ∫Γ(ydx+zdy+xdz) where Γ is the curve given by x2+y2+z2−2ax−2ay=0, x+y=2a, starting from (2a,0,0) and then going below the z-plane.

2014 · Paper I · Q6c · 20 marks

Solution

The curve. The sphere is (x−a)2+(y−a)2+z2=2a2(x-a)^2+(y-a)^2+z^2=2a^2 (centre (a,a,0)(a,a,0), radius a2a\sqrt2). The plane x+y=2ax+y=2a passes through the centre, so Γ\Gamma is a great circle of radius a2a\sqrt2, bounding a disc SS of area 2πa22\pi a^2 in that plane.

Curl. F→=(y,z,x)\vec F=(y,z,x), so ∇×F→=(−1,−1,−1)\nabla\times\vec F=(-1,-1,-1).

Orientation. The plane’s unit normals are ±12(1,1,0)\pm\frac{1}{\sqrt2}(1,1,0). At the start (2a,0,0)(2a,0,0) the curve moves in the direction −k̂-\hat k (into z<0z<0), and the centre lies in the direction 12(−1,1,0)\frac1{\sqrt2}(-1,1,0). For a circle traversed positively about n̂\hat n, n̂=T→×(direction to centre)=(−k̂)×(−1,1,0)2=(1,1,0)2,\hat n=\vec T\times(\text{direction to centre})=(-\hat k)\times\frac{(-1,1,0)}{\sqrt2}=\frac{(1,1,0)}{\sqrt2}, so we use this normal.

Stokes: ∮Γydx+zdy+xdz=∬S(−1,−1,−1)⋅(1,1,0)2dS=−22⋅2πa2=−22πa2.\oint_\Gamma y\,dx+z\,dy+x\,dz=\iint_S(-1,-1,-1)\cdot\frac{(1,1,0)}{\sqrt2}\,dS=-\frac{2}{\sqrt2}\cdot2\pi a^2=-2\sqrt2\,\pi a^2 .

✓ Checked by computer We checked by computer (SymPy): parametrising the circle in the stated direction gives −22πa2-2\sqrt2\,\pi a^2.

↑ Back to the question list

By using Divergence Theorem of Gauss, evaluate the surface integral ∬(a2x2+b2y2+c2z2)−12dS, where S is the surface of the ellipsoid ax2+by2+cz2=1, a, b and c being all positive constants.

2013 · Paper I · Q8c · 15 marks

Solution

Choose a field. On the ellipsoid g=ax2+by2+cz2=1g=ax^2+by^2+cz^2=1 the unit outward normal is n̂=∇g|∇g|=(ax,by,cz)a2x2+b2y2+c2z2.\hat n=\frac{\nabla g}{|\nabla g|}=\frac{(ax,by,cz)}{\sqrt{a^2x^2+b^2y^2+c^2z^2}} . Take F→=r→=(x,y,z)\vec F=\vec r=(x,y,z). Then on the surface F→⋅n̂=ax2+by2+cz2a2x2+b2y2+c2z2=1a2x2+b2y2+c2z2,\vec F\cdot\hat n=\frac{ax^2+by^2+cz^2}{\sqrt{a^2x^2+b^2y^2+c^2z^2}}=\frac{1}{\sqrt{a^2x^2+b^2y^2+c^2z^2}}, which is exactly the integrand.

Divergence theorem. ∇⋅r→=3\nabla\cdot\vec r=3, and the ellipsoid has semi-axes 1a,1b,1c\tfrac1{\sqrt a},\tfrac1{\sqrt b},\tfrac1{\sqrt c}, volume 4π3abc\dfrac{4\pi}{3\sqrt{abc}}. So ∬SdSa2x2+b2y2+c2z2=3⋅4π3abc=4πabc.\iint_S\frac{dS}{\sqrt{a^2x^2+b^2y^2+c^2z^2}}=3\cdot\frac{4\pi}{3\sqrt{abc}}=\frac{4\pi}{\sqrt{abc}}.

✓ Checked by computer We checked numerically (for a=1a=1, b=2b=2, c=3c=3): the surface integral is 5.13025.1302, equal to 4π/abc4\pi/\sqrt{abc}.

↑ Back to the question list

Use Stokes’ theorem to evaluate the line integral ∫C(−y3dx+x3dy−z3dz), where C is the intersection of the cylinder x2+y2=1 and the plane x+y+z=1.

2013 · Paper I · Q8d · 15 marks

Solution

F→=(−y3,x3,−z3)\vec F=(-y^3,\;x^3,\;-z^3). The zz-part depends only on zz, so it contributes nothing to the curl: ∇×F→=(0,0,3x2+3y2).\nabla\times\vec F=(0,\;0,\;3x^2+3y^2). CC bounds the elliptical piece SS of the plane x+y+z=1x+y+z=1 inside the cylinder. Taking CC counterclockwise as seen from above, the normal is upward and n̂dS=(1,1,1)dxdy\hat n\,dS=(1,1,1)\,dx\,dy over the unit disc: ∮C=∬x2+y2≤13(x2+y2)dxdy=3∫02π∫01ρ3dρdθ=3π2.\oint_C=\iint_{x^2+y^2\le1}3(x^2+y^2)\,dx\,dy=3\int_0^{2\pi}\!\!\int_0^1\rho^3\,d\rho\,d\theta=\frac{3\pi}{2}.

✓ Checked by computer We checked by computer (SymPy): the line integral round the curve is 3π2\frac{3\pi}{2}.

↑ Back to the question list

Verify Green’s theorem in the plane for ∮C[(xy+y2)dx+x2dy] where C is the closed curve of the region bounded by y=x and y=x2.

2012 · Paper I · Q8b · 20 marks

Solution

P=xy+y2P=xy+y^2, Q=x2Q=x^2; the curves meet at (0,0)(0,0) and (1,1)(1,1), and x2≤y≤xx^2\le y\le x between them.

Line integral (counterclockwise).

  • Along y=x2y=x^2, x:0→1x:0\to1: ∫01(x3+x4+2x3)dx=34+15=1920\int_0^1(x^3+x^4+2x^3)\,dx=\tfrac34+\tfrac15=\tfrac{19}{20}
  • Along y=xy=x, x:1→0x:1\to0: ∫103x2dx=−1\int_1^0 3x^2\,dx=-1

Total −120-\tfrac{1}{20}.

Double integral. Qx−Py=2x−x−2y=x−2yQ_x-P_y=2x-x-2y=x-2y: ∫01∫x2x(x−2y)dydx=∫01(x4−x3)dx=−120.\int_0^1\!\!\int_{x^2}^{x}(x-2y)\,dy\,dx=\int_0^1(x^4-x^3)\,dx=-\frac1{20}. The two agree, so Green’s theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): line integral 1920−1\frac{19}{20}-1 and double integral both −120-\frac{1}{20}.

↑ Back to the question list

If F⃗=yi⃗+(x−2xz)j⃗−xyk⃗, evaluate ∬S(∇⃗×F⃗)⋅n⃗ds⃗ where S is the surface of the sphere x2+y2+z2=a2 above the xy-plane.

2012 · Paper I · Q8c · 20 marks

Solution

By Stokes’ theorem the surface integral over the upper hemisphere equals ∮CF→⋅dr→\oint_C\vec F\cdot d\vec r round its rim CC: x2+y2=a2x^2+y^2=a^2, z=0z=0 (counterclockwise). On z=0z=0: F→⋅dr→=ydx+xdy=d(xy),\vec F\cdot d\vec r=y\,dx+x\,dy=d(xy), an exact differential, so ∮C=0\oint_C=0. Hence ∬S(∇×F→)⋅n̂dS=0.\iint_S(\nabla\times\vec F)\cdot\hat n\,dS=0 . Check directly. ∇×F→=xî+yĵ−2zk̂\nabla\times\vec F=x\,\hat i+y\,\hat j-2z\,\hat k and on the sphere n̂=r→/a\hat n=\vec r/a, so (∇×F→)⋅n̂=x2+y2−2z2a(\nabla\times\vec F)\cdot\hat n=\dfrac{x^2+y^2-2z^2}{a}. On the upper hemisphere, by symmetry, ∬x2dS=∬y2dS=∬z2dS=13a2⋅2πa2\iint x^2\,dS=\iint y^2\,dS=\iint z^2\,dS=\tfrac13a^2\cdot2\pi a^2. So the integral is 1a⋅2πa43(1+1−2)=0\dfrac1a\cdot\dfrac{2\pi a^4}{3}(1+1-2)=0. ✓

✓ Checked by computer We checked by computer (SymPy): ∇×F→=(x,y,−2z)\nabla\times\vec F=(x,y,-2z) and the boundary integral is 00.

↑ Back to the question list

If u⃗=4yî+xĵ+2zk̂, calculate the double integral ∬(∇×u⃗)⋅ds⃗ over the hemisphere given by x2+y2+z2=a2,z≥0.

2011 · Paper I · Q8b · 15 marks

Solution

∇×u→=∣îĵk̂∂x∂y∂z4yx2z∣=(0−0)î−(0−0)ĵ+(1−4)k̂=−3k̂.\nabla\times\vec u=\begin{vmatrix}\hat i&\hat j&\hat k\\\partial_x&\partial_y&\partial_z\\4y&x&2z\end{vmatrix}=(0-0)\,\hat i-(0-0)\,\hat j+(1-4)\,\hat k=-3\,\hat k . By Stokes’ theorem the integral over the hemisphere equals the integral over any surface with the same rim, e.g. the flat disc x2+y2≤a2x^2+y^2\le a^2, z=0z=0, with n̂=k̂\hat n=\hat k: ∬(∇×u→)⋅dS→=∬disc(−3)dA=−3πa2.\iint(\nabla\times\vec u)\cdot d\vec S=\iint_{\text{disc}}(-3)\,dA=-3\pi a^2 . (Directly: ∮4ydx+xdy\oint 4y\,dx+x\,dy round the circle =∫02π(−4a2sin2t+a2cos2t)dt=−3πa2=\int_0^{2\pi}(-4a^2\sin^2t+a^2\cos^2t)\,dt=-3\pi a^2.)

✓ Checked by computer We checked by computer (SymPy): ∇×u→=−3k̂\nabla\times\vec u=-3\hat k and the integral is −3πa2-3\pi a^2.

↑ Back to the question list

Verify Gauss’ Divergence Theorem for the vector v⃗=x2î+y2ĵ+z2k̂ taken over the cube 0≤x,y,z≤1.

2011 · Paper I · Q8d · 15 marks

Solution

Volume integral. ∇⋅v→=2x+2y+2z\nabla\cdot\vec v=2x+2y+2z: ∭[0,1]3(2x+2y+2z)dV=3⋅2⋅12=3.\iiint_{[0,1]^3}(2x+2y+2z)\,dV=3\cdot2\cdot\frac12=3 .

Surface integral (outward normals).

  • x=1x=1: v→⋅î=x2=1\vec v\cdot\hat i=x^2=1, area 1, gives 11. x=0x=0: −x2=0-x^2=0.
  • Likewise y=1y=1 gives 11, z=1z=1 gives 11; y=0y=0 and z=0z=0 give 00.

Total 33. The two sides agree, so the divergence theorem is verified. ✓

✓ Checked by computer We checked by computer (SymPy): both sides equal 33.

↑ Back to the question list

Use the divergence theorem to evaluate ∬SV⃗⋅n⃗dA where V⃗=x2zi⃗+yj⃗−xz2k⃗ and S is the boundary of the region bounded by the paraboloid z=x2+y2 and the plane z=4y.

2010 · Paper I · Q7c · 20 marks

Solution

∇⋅V→=2xz+1−2xz=1.\nabla\cdot\vec V=2xz+1-2xz=1 . So the flux equals the volume of the region. The surfaces meet where x2+y2=4yx^2+y^2=4y, i.e. x2+(y−2)2=4x^2+(y-2)^2=4: a disc DD of radius 2 centred at (0,2)(0,2). Between them x2+y2≤z≤4yx^2+y^2\le z\le4y, so Volume=∬D(4y−x2−y2)dA=∬D[4−x2−(y−2)2]dA=∫02π∫02(4−ρ2)ρdρdθ=2π(8−4)=8π.\text{Volume}=\iint_D(4y-x^2-y^2)\,dA=\iint_D\left[4-x^2-(y-2)^2\right]dA=\int_0^{2\pi}\!\!\int_0^2(4-\rho^2)\rho\,d\rho\,d\theta=2\pi(8-4)=8\pi . Hence ∬SV→⋅n→dA=8π\displaystyle\iint_S\vec V\cdot\vec n\,dA=8\pi.

✓ Checked by computer We checked by computer (SymPy): ∇⋅V→=1\nabla\cdot\vec V=1 and the volume is 8π8\pi.

↑ Back to the question list

Verify Green’s theorem for e−xsinydx+e−xcosydy the path of integration being the boundary of the square whose vertices are (0,0), (π/2,0), (π/2,π/2) and (0,π/2).

2010 · Paper I · Q8c · 20 marks

Solution

P=e−xsinyP=e^{-x}\sin y, Q=e−xcosyQ=e^{-x}\cos y; the square is 0≤x,y≤π20\le x,y\le\tfrac\pi2.

Line integral (counterclockwise).

  • y=0y=0: P=0P=0, dy=0dy=0, gives 00
  • x=π2x=\tfrac\pi2: ∫0π/2e−π/2cosydy=e−π/2\int_0^{\pi/2}e^{-\pi/2}\cos y\,dy=e^{-\pi/2}
  • y=π2y=\tfrac\pi2, x:π2→0x:\tfrac\pi2\to0: ∫π/20e−xdx=e−π/2−1\int_{\pi/2}^0e^{-x}\,dx=e^{-\pi/2}-1
  • x=0x=0, y:π2→0y:\tfrac\pi2\to0: ∫π/20cosydy=−1\int_{\pi/2}^0\cos y\,dy=-1

Total 2e−π/2−22e^{-\pi/2}-2.

Double integral. Qx−Py=−2e−xcosyQ_x-P_y=-2e^{-x}\cos y: ∫0π/2∫0π/2−2e−xcosydxdy=−2(1−e−π/2)(1)=2e−π/2−2.\int_0^{\pi/2}\!\!\int_0^{\pi/2}-2e^{-x}\cos y\,dx\,dy=-2\left(1-e^{-\pi/2}\right)(1)=2e^{-\pi/2}-2 . Both sides equal 2(e−π/2−1)2\left(e^{-\pi/2}-1\right). ✓

✓ Checked by computer We checked by computer (SymPy): sides 0,e−π/2,e−π/2−1,−10,\ e^{-\pi/2},\ e^{-\pi/2}-1,\ -1 (total 2e−π/2−22e^{-\pi/2}-2) and the double integral agrees.

↑ Back to the question list

Evaluate I=∬Sxdydz+dzdx+xz2dxdy where S is the outer side of the part of the sphere x2+y2+z2=1 in the first octant.

2009 · Paper I · Q4b · 20 marks

Solution

Split II into three parts and project each onto the matching coordinate plane (on the outer side of the first-octant sphere all three normal components are positive).

  • ∬xdydz\displaystyle\iint x\,dy\,dz: project onto the quarter disc y2+z2≤1y^2+z^2\le1, with x=1−y2−z2x=\sqrt{1-y^2-z^2}: ∫0π/2∫011−ρ2ρdρdθ=π2⋅13=π6\displaystyle\int_0^{\pi/2}\!\!\int_0^1\sqrt{1-\rho^2}\,\rho\,d\rho\,d\theta=\frac\pi2\cdot\frac13=\frac\pi6
  • ∬dzdx\displaystyle\iint dz\,dx: the area of the quarter disc in the zxzx-plane, π4\dfrac\pi4
  • ∬xz2dxdy\displaystyle\iint xz^2\,dx\,dy: with z2=1−x2−y2z^2=1-x^2-y^2: ∫0π/2∫01ρcosθ(1−ρ2)ρdρdθ=1⋅(13−15)=215\displaystyle\int_0^{\pi/2}\!\!\int_0^1\rho\cos\theta(1-\rho^2)\rho\,d\rho\,d\theta=1\cdot\left(\frac13-\frac15\right)=\frac{2}{15}

I=π6+π4+215=5π12+215.I=\frac\pi6+\frac\pi4+\frac2{15}=\frac{5\pi}{12}+\frac{2}{15}.

✓ Checked by computer We checked by computer (SymPy), parametrising the octant of the sphere: I=5π12+215I=\frac{5\pi}{12}+\frac{2}{15}.

↑ Back to the question list

Find the work done in moving the particle once round the ellipse x225+y216=1, z=0 under the field of force given by F⃗=(2x−y+z)î+(x+y−z2)ĵ+(3x−2y+4z)k̂

2009 · Paper I · Q8a · 20 marks

Solution

On z=0z=0, dz=0dz=0 and F→⋅dr→=(2x−y)dx+(x+y)dy\vec F\cdot d\vec r=(2x-y)\,dx+(x+y)\,dy. By Green’s theorem (counterclockwise), W=∮(2x−y)dx+(x+y)dy=∬R[∂(x+y)∂x−∂(2x−y)∂y]dA=∬R2dA.W=\oint(2x-y)\,dx+(x+y)\,dy=\iint_R\left[\frac{\partial(x+y)}{\partial x}-\frac{\partial(2x-y)}{\partial y}\right]dA=\iint_R2\,dA . The ellipse has area π⋅5⋅4=20π\pi\cdot5\cdot4=20\pi, so W=40π.W=40\pi . (It is −40π-40\pi if the ellipse is traversed clockwise.)

✓ Checked by computer We checked by computer (SymPy): the work round the ellipse is 40π40\pi.

↑ Back to the question list

Using divergence theorem, evaluate ∬SA⃗⋅dS⃗ where A⃗=x3î+y3ĵ+z3k̂ and S is the surface of the sphere x2+y2+z2=a2.

2009 · Paper I · Q8b · 20 marks

Solution

∇⋅A→=3x2+3y2+3z2=3r2\nabla\cdot\vec A=3x^2+3y^2+3z^2=3r^2. By the divergence theorem, using spherical coordinates, ∬SA→⋅dS→=∭V3r2dV=3∫02π∫0π∫0ar2⋅r2sinϕdrdϕdθ=3⋅2π⋅2⋅a55=12πa55.\iint_S\vec A\cdot d\vec S=\iiint_V3r^2\,dV=3\int_0^{2\pi}\!\!\int_0^{\pi}\!\!\int_0^a r^2\cdot r^2\sin\phi\,dr\,d\phi\,d\theta=3\cdot2\pi\cdot2\cdot\frac{a^5}{5}=\frac{12\pi a^5}{5}.

✓ Checked by computer We checked by computer (SymPy): the volume integral is 12πa55\frac{12\pi a^5}{5}.

↑ Back to the question list

Find the value of ∬S(∇⃗×F⃗)⋅dS⃗ taken over the upper portion of the surface x2+y2−2ax+az=0 and the bounding curve lies in the plane z=0, when F⃗=(y2+z2−x2)î+(z2+x2−y2)ĵ+(x2+y2−z2)k̂

2009 · Paper I · Q8c · 20 marks

Solution

The surface is z=2ax−x2−y2az=\dfrac{2ax-x^2-y^2}{a}; its upper part (z≥0z\ge0) has rim CC: (x−a)2+y2=a2(x-a)^2+y^2=a^2 in the plane z=0z=0. By Stokes’ theorem the surface integral equals ∮CF→⋅dr→\oint_C\vec F\cdot d\vec r, counterclockwise.

On z=0z=0: F→⋅dr→=(y2−x2)dx+(x2−y2)dy\vec F\cdot d\vec r=(y^2-x^2)\,dx+(x^2-y^2)\,dy. By Green’s theorem in the plane, ∮C=∬D[∂(x2−y2)∂x−∂(y2−x2)∂y]dA=∬D(2x−2y)dA,\oint_C=\iint_D\left[\frac{\partial(x^2-y^2)}{\partial x}-\frac{\partial(y^2-x^2)}{\partial y}\right]dA=\iint_D(2x-2y)\,dA, over the disc DD of radius aa centred at (a,0)(a,0). Since ∬DxdA=a⋅πa2\iint_D x\,dA=a\cdot\pi a^2 and ∬DydA=0\iint_D y\,dA=0, ∬S(∇×F→)⋅dS→=2πa3.\iint_S(\nabla\times\vec F)\cdot d\vec S=2\pi a^3 .

✓ Checked by computer We checked by computer (SymPy): the line integral round (x−a)2+y2=a2(x-a)^2+y^2=a^2, z=0z=0 is 2πa32\pi a^3.

↑ Back to the question list

Evaluate ∫CA⃗⋅dr⃗ along the curve x2+y2=1, z=1 from (0,1,1) to (1,0,1) if A⃗=(yz+2x)î+xzĵ+(xy+2z)k̂

2008 · Paper I · Q8c · 15 marks

Solution

∇×A→=(x−x)î+(y−y)ĵ+(z−z)k̂=0→,\nabla\times\vec A=(x-x)\,\hat i+(y-y)\,\hat j+(z-z)\,\hat k=\vec0, so A→\vec A is conservative. A potential: ϕx=yz+2x⇒ϕ=xyz+x2+g(y,z)\phi_x=yz+2x\Rightarrow\phi=xyz+x^2+g(y,z); ϕy=xz\phi_y=xz gives g=g(z)g=g(z); ϕz=xy+g′(z)=xy+2z\phi_z=xy+g'(z)=xy+2z gives g=z2g=z^2. So ϕ=xyz+x2+z2\phi=xyz+x^2+z^2 and the integral depends only on the end points: ∫CA→⋅dr→=ϕ(1,0,1)−ϕ(0,1,1)=(0+1+1)−(0+0+1)=1.\int_C\vec A\cdot d\vec r=\phi(1,0,1)-\phi(0,1,1)=(0+1+1)-(0+0+1)=1 .

✓ Checked by computer We checked by computer (SymPy): ∇×A→=0→\nabla\times\vec A=\vec0 and the integral along the arc is 11.

↑ Back to the question list

Evaluate ∬SF⃗⋅n̂dS where F⃗=4xî−2y2ĵ+z2k̂ and S is the surface of the cylinder bounded by x2+y2=4, z=0 and z=3.

2008 · Paper I · Q8d · 15 marks

Solution

By the divergence theorem, with ∇⋅F→=4−4y+2z\nabla\cdot\vec F=4-4y+2z and VV the cylinder x2+y2≤4x^2+y^2\le4, 0≤z≤30\le z\le3: ∬SF→⋅n̂dS=∭V(4−4y+2z)dV.\iint_S\vec F\cdot\hat n\,dS=\iiint_V(4-4y+2z)\,dV . The −4y-4y term integrates to zero by symmetry, and the cross-section has area 4π4\pi: =4π∫03(4+2z)dz=4π(12+9)=84π.=4\pi\int_0^3(4+2z)\,dz=4\pi(12+9)=84\pi . Direct check. Top (z=3z=3): ∬9dA=36π\iint 9\,dA=36\pi. Bottom (z=0z=0): 00. Side (n̂=(cosθ,sinθ,0)\hat n=(\cos\theta,\sin\theta,0), dS=2dθdzdS=2\,d\theta\,dz): ∫03∫02π(8cos2θ−8sin3θ)2dθdz=48π\int_0^3\!\int_0^{2\pi}(8\cos^2\theta-8\sin^3\theta)\,2\,d\theta\,dz=48\pi. Total 84π84\pi. ✓

✓ Checked by computer We checked by computer (SymPy): volume integral 84π84\pi; surface pieces 36π36\pi, 00, 48π48\pi.

↑ Back to the question list

More on Vector Analysis

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper I, 2008–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted