Menu Close

Vector differentiation: UPSC Maths Optional PYQ Solutions (2008–2026)

All 34 questions UPSC has asked on vector differentiation 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 · 8c(i) 2026 · 8c(ii) 2025 · 5e 2025 · 6c(i) 2025 · 6c(ii) 2024 · 5c 2023 · 5e 2023 · 8c 2022 · 5e 2021 · 5e 2020 · 5c 2019 · 5e 2018 · 8a 2017 · 5d 2017 · 5e 2016 · 5b 2016 · 8a 2015 · 5e 2015 · 6c 2015 · 7c 2013 · 8a 2012 · 5e 2011 · 5e 2011 · 5f 2011 · 8a 2011 · 8c 2010 · 5e 2010 · 5f 2010 · 6c 2009 · 5e 2009 · 5f 2008 · 5e 2008 · 5f 2008 · 8a

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

For a scalar point function ϕ and a vector point function F⃗, prove that ∇×(ϕF⃗)=(∇ϕ)×F⃗+ϕ(∇×F⃗) If r⃗=xî+yĵ+zk̂ and r=|r⃗|, then verify the above identity for ϕ=1r and F⃗=r⃗.

2026 · Paper I · Q8c(i) · 10 marks

Solution

Proof. Let F→=F1î+F2ĵ+F3k̂\vec F=F_1\hat i+F_2\hat j+F_3\hat k. The î\hat i-component of ∇×(ϕF→)\nabla\times(\phi\vec F) is ∂(ϕF3)∂y−∂(ϕF2)∂z=(∂ϕ∂yF3−∂ϕ∂zF2)+ϕ(∂F3∂y−∂F2∂z),\frac{\partial(\phi F_3)}{\partial y}-\frac{\partial(\phi F_2)}{\partial z}=\left(\frac{\partial\phi}{\partial y}F_3-\frac{\partial\phi}{\partial z}F_2\right)+\phi\left(\frac{\partial F_3}{\partial y}-\frac{\partial F_2}{\partial z}\right), which is the î\hat i-component of (∇ϕ)×F→+ϕ(∇×F→)(\nabla\phi)\times\vec F+\phi(\nabla\times\vec F). The ĵ\hat j– and k̂\hat k-components follow in the same way (cyclically), so ∇×(ϕF→)=(∇ϕ)×F→+ϕ(∇×F→).◼\nabla\times(\phi\vec F)=(\nabla\phi)\times\vec F+\phi(\nabla\times\vec F). \qquad\blacksquare

Verification for ϕ=1r\phi=\frac1r, F→=r→\vec F=\vec r.

  • LHS: ∇×(r→r)\nabla\times\left(\dfrac{\vec r}{r}\right). Its î\hat i-component is ∂∂y(zr)−∂∂z(yr)=−zyr3+yzr3=0\dfrac{\partial}{\partial y}\!\left(\dfrac zr\right)-\dfrac{\partial}{\partial z}\!\left(\dfrac yr\right)=-\dfrac{zy}{r^3}+\dfrac{yz}{r^3}=0, and similarly for the others, so LHS =0→=\vec 0.
  • RHS: ∇(1r)=−r→r3\nabla\left(\dfrac1r\right)=-\dfrac{\vec r}{r^3}, so (∇ϕ)×r→=−r→×r→r3=0→(\nabla\phi)\times\vec r=-\dfrac{\vec r\times\vec r}{r^3}=\vec0. Also ∇×r→=0→\nabla\times\vec r=\vec0. So RHS =0→=\vec0.

Both sides are 0→\vec 0, so the identity holds. ✓

✓ Proof checked step by step A proof (componentwise), checked by computer (SymPy) for general ϕ\phi and F→\vec F; the verification for ϕ=1/r\phi=1/r, F→=r→\vec F=\vec r was also recomputed.

↑ Back to the question list

If r⃗=acostî+asintĵ+btk̂, then show that |r⃗′×r⃗″|2=a2(a2+b2)and[r⃗′r⃗″r⃗‴]=a2b

2026 · Paper I · Q8c(ii) · 10 marks

Solution

r→′=(−asint,acost,b),r→″=(−acost,−asint,0),r→‴=(asint,−acost,0).\vec r\,'=(-a\sin t,\;a\cos t,\;b),\quad \vec r\,''=(-a\cos t,\;-a\sin t,\;0),\quad \vec r\,'''=(a\sin t,\;-a\cos t,\;0). r→′×r→″=∣îĵk̂−asintacostb−acost−asint0∣=absintî−abcostĵ+a2k̂.\vec r\,'\times\vec r\,''=\begin{vmatrix}\hat i&\hat j&\hat k\\-a\sin t&a\cos t&b\\-a\cos t&-a\sin t&0\end{vmatrix}=ab\sin t\,\hat i-ab\cos t\,\hat j+a^2\,\hat k . |r→′×r→″|2=a2b2sin2t+a2b2cos2t+a4=a2(a2+b2).|\vec r\,'\times\vec r\,''|^2=a^2b^2\sin^2t+a^2b^2\cos^2t+a^4=a^2(a^2+b^2). [r→′r→″r→‴]=(r→′×r→″)⋅r→‴=a2bsin2t+a2bcos2t+0=a2b.◼[\vec r\,'\;\vec r\,''\;\vec r\,''']=(\vec r\,'\times\vec r\,'')\cdot\vec r\,'''=a^2b\sin^2t+a^2b\cos^2t+0=a^2b. \qquad\blacksquare

✓ Checked by computer We checked by computer (SymPy): |r→′×r→″|2=a2(a2+b2)|\vec r\,'\times\vec r\,''|^2=a^2(a^2+b^2) and the triple product is a2ba^2b.

↑ Back to the question list

If u=x+y+z, v=x2+y2+z2 and w=xy+yz+zx, then show that gradu, gradv and gradw are coplanar.

2025 · Paper I · Q5e · 10 marks

Solution

∇u=(1,1,1),∇v=(2x,2y,2z),∇w=(y+z,z+x,x+y).\nabla u=(1,1,1),\qquad \nabla v=(2x,2y,2z),\qquad \nabla w=(y+z,\;z+x,\;x+y). Three vectors are coplanar when their scalar triple product is zero: [∇u∇v∇w]=∣1112x2y2zy+zz+xx+y∣.[\nabla u\;\nabla v\;\nabla w]=\begin{vmatrix}1&1&1\\2x&2y&2z\\y+z&z+x&x+y\end{vmatrix}. Row 3 + 12\tfrac12 row 2 gives (x+y+z,x+y+z,x+y+z)(x+y+z,\;x+y+z,\;x+y+z), which is (x+y+z)(x+y+z) times row 1. So the rows are dependent and the determinant is 00.

Hence ∇u\nabla u, ∇v\nabla v, ∇w\nabla w are coplanar. ◼\blacksquare

✓ Checked by computer We checked by computer (SymPy): the determinant of the three gradients is identically 0.

↑ Back to the question list

Find the absolute value of the directional derivative of ϕ(x,y,z)=x2y2z2 at the point (1,1,−1) in the direction of the tangent to the curve x=et,y=2sint+1,z=t−cost, at t=0.

2025 · Paper I · Q6c(i) · 10 marks

Solution

Point. At t=0t=0: x=1x=1, y=1y=1, z=−1z=-1, which is the given point.

Tangent. dr→dt=(et,2cost,1+sint)\dfrac{d\vec r}{dt}=(e^t,\;2\cos t,\;1+\sin t), so at t=0t=0 the tangent is T→=(1,2,1)\vec T=(1,2,1), with |T→|=6|\vec T|=\sqrt6.

Gradient. ∇ϕ=(2xy2z2,2x2yz2,2x2y2z)\nabla\phi=(2xy^2z^2,\;2x^2yz^2,\;2x^2y^2z), so at (1,1,−1)(1,1,-1): ∇ϕ=(2,2,−2)\nabla\phi=(2,2,-2).

Directional derivative. ∇ϕ⋅T→|T→|=2+4−26=46=263.\nabla\phi\cdot\frac{\vec T}{|\vec T|}=\frac{2+4-2}{\sqrt6}=\frac{4}{\sqrt6}=\frac{2\sqrt6}{3}. Its absolute value is 263≈1.633\dfrac{2\sqrt6}{3}\approx1.633.

✓ Checked by computer We checked by computer (SymPy): tangent (1,2,1)(1,2,1), gradient (2,2,−2)(2,2,-2), directional derivative 26/32\sqrt6/3.

↑ Back to the question list

If ∇⋅E⃗=0, ∇⋅H⃗=0, ∇×E⃗=−∂H⃗∂t and ∇×H⃗=∂E⃗∂t, then show that ∇2H⃗=∂2H⃗∂t2 and ∇2E⃗=∂2E⃗∂t2.

2025 · Paper I · Q6c(ii) · 10 marks

Solution

We use the identity ∇×(∇×A→)=∇(∇⋅A→)−∇2A→\nabla\times(\nabla\times\vec A)=\nabla(\nabla\cdot\vec A)-\nabla^2\vec A.

For H→\vec H. Take curl of ∇×H→=∂E→∂t\nabla\times\vec H=\dfrac{\partial\vec E}{\partial t}: ∇×(∇×H→)=∂∂t(∇×E→)=∂∂t(−∂H→∂t)=−∂2H→∂t2.\nabla\times(\nabla\times\vec H)=\frac{\partial}{\partial t}(\nabla\times\vec E)=\frac{\partial}{\partial t}\left(-\frac{\partial\vec H}{\partial t}\right)=-\frac{\partial^2\vec H}{\partial t^2}. The left side is ∇(∇⋅H→)−∇2H→=−∇2H→\nabla(\nabla\cdot\vec H)-\nabla^2\vec H=-\nabla^2\vec H, since ∇⋅H→=0\nabla\cdot\vec H=0. So ∇2H→=∂2H→∂t2.\nabla^2\vec H=\frac{\partial^2\vec H}{\partial t^2}.

For E→\vec E. Take curl of ∇×E→=−∂H→∂t\nabla\times\vec E=-\dfrac{\partial\vec H}{\partial t}: ∇(∇⋅E→)−∇2E→=−∂∂t(∇×H→)=−∂2E→∂t2.\nabla(\nabla\cdot\vec E)-\nabla^2\vec E=-\frac{\partial}{\partial t}(\nabla\times\vec H)=-\frac{\partial^2\vec E}{\partial t^2}. With ∇⋅E→=0\nabla\cdot\vec E=0 this gives ∇2E→=∂2E→∂t2\nabla^2\vec E=\dfrac{\partial^2\vec E}{\partial t^2}. ◼\blacksquare

(We used that ∇×\nabla\times and ∂/∂t\partial/\partial t commute, since space and time derivatives act on independent variables.)

✓ Proof checked step by step Proof checked step by step; the identity ∇×(∇×A→)=∇(∇⋅A→)−∇2A→\nabla\times(\nabla\times\vec A)=\nabla(\nabla\cdot\vec A)-\nabla^2\vec A was checked by computer (SymPy).

↑ Back to the question list

At any time t (in seconds), the coterminous edges of a variable parallelepiped are represented by the vectors α‾=tî+(t+1)ĵ+(2t+1)k̂β‾=2tî+(3t−1)ĵ+tk̂γ‾=î+3tĵ+k̂ What is the rate of change of the vectorial area of the parallelogram, whose coterminous edges are α‾ and γ‾? Also find the rate of change of the volume of the parallelepiped at t=1 second.

2024 · Paper I · Q5c · 10 marks

Solution

Vectorial area. The parallelogram with edges α‾,γ‾\bar\alpha,\bar\gamma has vector area α‾×γ‾\bar\alpha\times\bar\gamma: α‾×γ‾=∣îĵk̂tt+12t+113t1∣=(t+1−6t2−3t)î−(t−2t−1)ĵ+(3t2−t−1)k̂,\bar\alpha\times\bar\gamma=\begin{vmatrix}\hat i&\hat j&\hat k\\t&t+1&2t+1\\1&3t&1\end{vmatrix}=(t+1-6t^2-3t)\,\hat i-(t-2t-1)\,\hat j+(3t^2-t-1)\,\hat k, i.e. α‾×γ‾=(1−2t−6t2)î+(t+1)ĵ+(3t2−t−1)k̂\bar\alpha\times\bar\gamma=(1-2t-6t^2)\,\hat i+(t+1)\,\hat j+(3t^2-t-1)\,\hat k. Its rate of change is ddt(α‾×γ‾)=−(12t+2)î+ĵ+(6t−1)k̂,\frac{d}{dt}(\bar\alpha\times\bar\gamma)=-(12t+2)\,\hat i+\hat j+(6t-1)\,\hat k, which at t=1t=1 is −14î+ĵ+5k̂-14\,\hat i+\hat j+5\,\hat k.

Volume. V=[α‾β‾γ‾]=∣tt+12t+12t3t−1t13t1∣V=[\bar\alpha\;\bar\beta\;\bar\gamma]=\begin{vmatrix}t&t+1&2t+1\\2t&3t-1&t\\1&3t&1\end{vmatrix}. Expanding, V=t(3t−1−3t2)−(t+1)(2t−t)+(2t+1)(6t2−3t+1)=9t3+2t2−3t+1.V=t(3t-1-3t^2)-(t+1)(2t-t)+(2t+1)(6t^2-3t+1)=9t^3+2t^2-3t+1 . dVdt=27t2+4t−3,dVdt|t=1=28 cubic units per second.\frac{dV}{dt}=27t^2+4t-3,\qquad \left.\frac{dV}{dt}\right|_{t=1}=28 \text{ cubic units per second.}

✓ Checked by computer We checked by computer (SymPy): ddt(α‾×γ‾)=(−12t−2,1,6t−1)\frac{d}{dt}(\bar\alpha\times\bar\gamma)=(-12t-2,\,1,\,6t-1) and dVdt=28\frac{dV}{dt}=28 at t=1t=1.

↑ Back to the question list

If a⃗=sinθî+cosθĵ+θk̂b⃗=cosθî−sinθĵ−3k̂c⃗=2î+3ĵ−3k̂ then find the values of the derivative of the vector function a⃗×(b⃗×c⃗) w.r.t. θ at θ=π2 and θ=π.

2023 · Paper I · Q5e · 10 marks

Solution

Use a→×(b→×c→)=(a→⋅c→)b→−(a→⋅b→)c→\vec a\times(\vec b\times\vec c)=(\vec a\cdot\vec c)\vec b-(\vec a\cdot\vec b)\vec c.

  • a→⋅c→=2sinθ+3cosθ−3θ\vec a\cdot\vec c=2\sin\theta+3\cos\theta-3\theta
  • a→⋅b→=sinθcosθ−sinθcosθ−3θ=−3θ\vec a\cdot\vec b=\sin\theta\cos\theta-\sin\theta\cos\theta-3\theta=-3\theta

So P→=a→×(b→×c→)=(2sinθ+3cosθ−3θ)b→+3θc→\vec P=\vec a\times(\vec b\times\vec c)=(2\sin\theta+3\cos\theta-3\theta)\,\vec b+3\theta\,\vec c, and dP→dθ=(2cosθ−3sinθ−3)b→+(2sinθ+3cosθ−3θ)b→′+3c→,\frac{d\vec P}{d\theta}=(2\cos\theta-3\sin\theta-3)\,\vec b+(2\sin\theta+3\cos\theta-3\theta)\,\vec b\,'+3\vec c, with b→′=(−sinθ,−cosθ,0)\vec b\,'=(-\sin\theta,-\cos\theta,0).

At θ=π/2\theta=\pi/2: b→=(0,−1,−3)\vec b=(0,-1,-3), b→′=(−1,0,0)\vec b\,'=(-1,0,0), coefficients −6-6 and 2−3π22-\tfrac{3\pi}2: dP→dθ=−6(0,−1,−3)+(2−3π2)(−1,0,0)+(6,9,−9)=(4+3π2)î+15ĵ+9k̂.\frac{d\vec P}{d\theta}=-6(0,-1,-3)+\left(2-\tfrac{3\pi}{2}\right)(-1,0,0)+(6,9,-9)=\left(4+\tfrac{3\pi}{2}\right)\hat i+15\,\hat j+9\,\hat k .

At θ=π\theta=\pi: b→=(−1,0,−3)\vec b=(-1,0,-3), b→′=(0,1,0)\vec b\,'=(0,1,0), coefficients −5-5 and −3−3π-3-3\pi: dP→dθ=−5(−1,0,−3)+(−3−3π)(0,1,0)+(6,9,−9)=11î+(6−3π)ĵ+6k̂.\frac{d\vec P}{d\theta}=-5(-1,0,-3)+(-3-3\pi)(0,1,0)+(6,9,-9)=11\,\hat i+(6-3\pi)\,\hat j+6\,\hat k .

✓ Checked by computer We checked by computer (SymPy): the derivative is (4+3π2,15,9)(4+\tfrac{3\pi}2,15,9) at θ=π/2\theta=\pi/2 and (11,6−3π,6)(11,6-3\pi,6) at θ=π\theta=\pi.

↑ Back to the question list

For a scalar point function ϕ and vector point function f⃗, prove the identity ∇⋅(ϕf⃗)=∇ϕ⋅f⃗+ϕ(∇⋅f⃗). Also find the value of ∇⋅(f(r)rr⃗) and then verify stated identity.

2023 · Paper I · Q8c · 15 marks

Solution

Proof. With f→=(f1,f2,f3)\vec f=(f_1,f_2,f_3), ∇⋅(ϕf→)=∑∂(ϕfi)∂xi=∑∂ϕ∂xifi+ϕ∑∂fi∂xi=∇ϕ⋅f→+ϕ(∇⋅f→).◼\nabla\cdot(\phi\vec f)=\sum\frac{\partial(\phi f_i)}{\partial x_i}=\sum\frac{\partial\phi}{\partial x_i}f_i+\phi\sum\frac{\partial f_i}{\partial x_i}=\nabla\phi\cdot\vec f+\phi(\nabla\cdot\vec f). \qquad\blacksquare

Value. Take ϕ=f(r)r\phi=\dfrac{f(r)}{r} and f→=r→\vec f=\vec r. Since ∇r=r→r\nabla r=\dfrac{\vec r}{r}, ∇ϕ=ddr(fr)r→r=(f′r−fr2)r→r,∇ϕ⋅r→=(f′r−fr2)r=f′−fr.\nabla\phi=\frac{d}{dr}\!\left(\frac{f}{r}\right)\frac{\vec r}{r}=\left(\frac{f'}{r}-\frac{f}{r^2}\right)\frac{\vec r}{r},\qquad \nabla\phi\cdot\vec r=\left(\frac{f'}{r}-\frac{f}{r^2}\right)r=f'-\frac fr . Also ∇⋅r→=3\nabla\cdot\vec r=3, so ϕ(∇⋅r→)=3fr\phi(\nabla\cdot\vec r)=\dfrac{3f}{r}. Hence ∇⋅(f(r)rr→)=f′(r)+2f(r)r.\nabla\cdot\left(\frac{f(r)}{r}\vec r\right)=f'(r)+\frac{2f(r)}{r}.

Direct verification. The xx-term is ∂∂x(frx)=fr+x(f′r−fr2)xr\dfrac{\partial}{\partial x}\left(\dfrac{f}{r}x\right)=\dfrac fr+x\left(\dfrac{f'}{r}-\dfrac f{r^2}\right)\dfrac xr. Adding the three terms and using x2+y2+z2=r2x^2+y^2+z^2=r^2: 3fr+r2(f′r2−fr3)=f′+2fr,\frac{3f}{r}+r^2\left(\frac{f'}{r^2}-\frac{f}{r^3}\right)=f'+\frac{2f}{r}, the same value, so the identity is verified. ✓

✓ Proof checked step by step Proof checked step by step; ∇⋅(f(r)rr→)=f′(r)+2f(r)r\nabla\cdot\left(\frac{f(r)}{r}\vec r\right)=f'(r)+\frac{2f(r)}{r} was checked by computer (SymPy).

↑ Back to the question list

Show that A⃗=(6xy+z3)î+(3x2−z)ĵ+(3xz2−y)k̂ is irrotational. Also find ϕ such that A⃗=∇ϕ.

2022 · Paper I · Q5e · 10 marks

Solution

Curl. ∇×A→=∣îĵk̂∂x∂y∂z6xy+z33x2−z3xz2−y∣=(−1+1)î−(3z2−3z2)ĵ+(6x−6x)k̂=0→,\nabla\times\vec A=\begin{vmatrix}\hat i&\hat j&\hat k\\\partial_x&\partial_y&\partial_z\\6xy+z^3&3x^2-z&3xz^2-y\end{vmatrix}=(-1+1)\,\hat i-(3z^2-3z^2)\,\hat j+(6x-6x)\,\hat k=\vec 0, so A→\vec A is irrotational.

Potential. We need ϕx=6xy+z3\phi_x=6xy+z^3, ϕy=3x2−z\phi_y=3x^2-z, ϕz=3xz2−y\phi_z=3xz^2-y.

  • From ϕx\phi_x: ϕ=3x2y+xz3+g(y,z)\phi=3x^2y+xz^3+g(y,z).
  • Then ϕy=3x2+gy=3x2−z\phi_y=3x^2+g_y=3x^2-z, so g=−yz+h(z)g=-yz+h(z).
  • Then ϕz=3xz2−y+h′(z)=3xz2−y\phi_z=3xz^2-y+h'(z)=3xz^2-y, so hh is constant.

ϕ=3x2y+xz3−yz+C.\phi=3x^2y+xz^3-yz+C .

✓ Checked by computer We checked by computer (SymPy): ∇×A→=0→\nabla\times\vec A=\vec0 and ∇(3x2y+xz3−yz)=A→\nabla(3x^2y+xz^3-yz)=\vec A.

↑ Back to the question list

Show that ∇2[∇⋅(r⃗r)]=2r4, where r⃗=xî+yĵ+zk̂.

2021 · Paper I · Q5e · 10 marks

Solution

Note on the question. As printed, ∇⋅(r→/r)=2/r\nabla\cdot(\vec r/r)=2/r and ∇2(2/r)=0\nabla^2(2/r)=0 for r≠0r\neq0, so the stated answer cannot hold. The standard question (and the intended one) has r→/r2\vec r/r^{2}. We solve that.

For a function of rr only, ∇2g(r)=g″+2rg′\nabla^2 g(r)=g''+\dfrac2r g' (see the 2008 question in this set).

Step 1. ∇⋅(r→r2)=∇(r−2)⋅r→+r−2(∇⋅r→)=−2r−4r→⋅r→+3r−2=1r2.\nabla\cdot\left(\dfrac{\vec r}{r^2}\right)=\nabla\left(r^{-2}\right)\cdot\vec r+r^{-2}(\nabla\cdot\vec r)=-2r^{-4}\vec r\cdot\vec r+3r^{-2}=\dfrac{1}{r^2}.

Step 2. With g=r−2g=r^{-2}: g′=−2r−3g'=-2r^{-3}, g″=6r−4g''=6r^{-4}, so ∇2(1r2)=6r4−4r4=2r4.◼\nabla^2\left(\frac{1}{r^2}\right)=\frac{6}{r^4}-\frac{4}{r^4}=\frac{2}{r^4}. \qquad\blacksquare

✓ Checked by computer We checked by computer (SymPy): with r→/r\vec r/r the expression is 0; with r→/r2\vec r/r^2 (the standard form of this question) it is 2/r42/r^4.

↑ Back to the question list

For what value of a, b, c is the vector field V¯=(−4x−3y+az)î+(bx+3y+5z)ĵ+(4x+cy+3z)k̂ irrotational? Hence, express V¯ as the gradient of a scalar function ϕ. Determine ϕ.

2020 · Paper I · Q5c · 10 marks

Solution

Irrotational. ∇×V→=(∂y(4x+cy+3z)−∂z(bx+3y+5z))î+⋯=(c−5)î+(a−4)ĵ+(b+3)k̂.\nabla\times\vec V=\left(\partial_y(4x+cy+3z)-\partial_z(bx+3y+5z)\right)\hat i+\cdots=(c-5)\,\hat i+(a-4)\,\hat j+(b+3)\,\hat k . So ∇×V→=0→\nabla\times\vec V=\vec 0 when a=4a=4, b=−3b=-3, c=5c=5.

Potential. Now V→=(−4x−3y+4z,−3x+3y+5z,4x+5y+3z)\vec V=(-4x-3y+4z,\;-3x+3y+5z,\;4x+5y+3z).

  • ϕx=−4x−3y+4z⇒ϕ=−2x2−3xy+4xz+g(y,z)\phi_x=-4x-3y+4z\Rightarrow\phi=-2x^2-3xy+4xz+g(y,z)
  • ϕy=−3x+gy=−3x+3y+5z⇒g=32y2+5yz+h(z)\phi_y=-3x+g_y=-3x+3y+5z\Rightarrow g=\tfrac32y^2+5yz+h(z)
  • ϕz=4x+5y+h′(z)=4x+5y+3z⇒h=32z2\phi_z=4x+5y+h'(z)=4x+5y+3z\Rightarrow h=\tfrac32z^2

ϕ=−2x2+32y2+32z2−3xy+5yz+4xz+C.\phi=-2x^2+\tfrac32y^2+\tfrac32z^2-3xy+5yz+4xz+C .

✓ Checked by computer We checked by computer (SymPy): ∇×V→=0→\nabla\times\vec V=\vec0 exactly when a=4a=4, b=−3b=-3, c=5c=5, and ∇ϕ=V→\nabla\phi=\vec V.

↑ Back to the question list

Find the directional derivative of the function xy2+yz2+zx2 along the tangent to the curve x=t, y=t2, z=t3 at the point (1,1,1).

2019 · Paper I · Q5e · 10 marks

Solution

(1,1,1)(1,1,1) is the point t=1t=1. The tangent is dr→dt=(1,2t,3t2)=(1,2,3)\dfrac{d\vec r}{dt}=(1,2t,3t^2)=(1,2,3), with length 14\sqrt{14}.

∇f=(y2+2zx,2xy+z2,2yz+x2)=(3,3,3)\nabla f=(y^2+2zx,\;2xy+z^2,\;2yz+x^2)=(3,3,3) at (1,1,1)(1,1,1). dfds=(3,3,3)⋅(1,2,3)14=1814=9147≈4.81.\frac{df}{ds}=\frac{(3,3,3)\cdot(1,2,3)}{\sqrt{14}}=\frac{18}{\sqrt{14}}=\frac{9\sqrt{14}}{7}\approx4.81 .

✓ Checked by computer We checked by computer (SymPy): ∇f=(3,3,3)\nabla f=(3,3,3) at (1,1,1)(1,1,1) and the directional derivative is 914/79\sqrt{14}/7.

↑ Back to the question list

Let v⃗=v1i⃗+v2j⃗+v3k⃗. Show that curl(curlv⃗)=grad(divv⃗)−∇2v⃗.

2018 · Paper I · Q8a · 12 marks

Solution

Write ∂1=∂/∂x\partial_1=\partial/\partial x, etc. Then curlv→=(∂2v3−∂3v2,∂3v1−∂1v3,∂1v2−∂2v1)\operatorname{curl}\vec v=(\partial_2v_3-\partial_3v_2,\;\partial_3v_1-\partial_1v_3,\;\partial_1v_2-\partial_2v_1).

The î\hat i-component of curl(curlv→)\operatorname{curl}(\operatorname{curl}\vec v) is ∂2(∂1v2−∂2v1)−∂3(∂3v1−∂1v3)=∂1(∂2v2+∂3v3)−(∂22+∂32)v1.\partial_2(\partial_1v_2-\partial_2v_1)-\partial_3(\partial_3v_1-\partial_1v_3)=\partial_1(\partial_2v_2+\partial_3v_3)-(\partial_2^2+\partial_3^2)v_1 . Add and subtract ∂12v1\partial_1^2v_1: =∂1(∂1v1+∂2v2+∂3v3)−(∂12+∂22+∂32)v1=∂1(divv→)−∇2v1.=\partial_1(\partial_1v_1+\partial_2v_2+\partial_3v_3)-(\partial_1^2+\partial_2^2+\partial_3^2)v_1=\partial_1(\operatorname{div}\vec v)-\nabla^2v_1 . This is the î\hat i-component of grad(divv→)−∇2v→\operatorname{grad}(\operatorname{div}\vec v)-\nabla^2\vec v. The other two components follow cyclically, so curl(curlv→)=grad(divv→)−∇2v→.◼\operatorname{curl}(\operatorname{curl}\vec v)=\operatorname{grad}(\operatorname{div}\vec v)-\nabla^2\vec v. \qquad\blacksquare

✓ Proof checked step by step A proof (componentwise), checked by computer (SymPy) for general v1,v2,v3v_1,v_2,v_3.

↑ Back to the question list

For what values of the constants a, b and c the vector V‾=(x+y+az)î+(bx+2y−z)ĵ+(−x+cy+2z)k̂ is irrotational. Find the divergence in cylindrical coordinates of this vector with these values.

2017 · Paper I · Q5d · 10 marks

Solution

Irrotational. ∇×V→=(c+1)î+(a+1)ĵ+(b−1)k̂,\nabla\times\vec V=(c+1)\,\hat i+(a+1)\,\hat j+(b-1)\,\hat k, so V→\vec V is irrotational when a=−1a=-1, b=1b=1, c=−1c=-1.

Divergence. Then V→=(x+y−z,x+2y−z,−x−y+2z)\vec V=(x+y-z,\;x+2y-z,\;-x-y+2z) and ∇⋅V→=1+2+2=5\nabla\cdot\vec V=1+2+2=5.

In cylindrical coordinates (x=ρcosφx=\rho\cos\varphi, y=ρsinφy=\rho\sin\varphi, z=zz=z) the components are Vρ=Vxcosφ+Vysinφ,Vφ=−Vxsinφ+Vycosφ,Vz,V_\rho=V_x\cos\varphi+V_y\sin\varphi,\qquad V_\varphi=-V_x\sin\varphi+V_y\cos\varphi,\qquad V_z, and ∇⋅V→=1ρ∂(ρVρ)∂ρ+1ρ∂Vφ∂φ+∂Vz∂z\nabla\cdot\vec V=\dfrac1\rho\dfrac{\partial(\rho V_\rho)}{\partial\rho}+\dfrac1\rho\dfrac{\partial V_\varphi}{\partial\varphi}+\dfrac{\partial V_z}{\partial z}. Divergence is a scalar, so it does not depend on the coordinate system; working this formula through gives the same value: ∇⋅V→=5.\nabla\cdot\vec V=5 .

✓ Checked by computer We checked by computer (SymPy): ∇×V→=0→\nabla\times\vec V=\vec0 exactly when a=−1a=-1, b=1b=1, c=−1c=-1, and then ∇⋅V→=5\nabla\cdot\vec V=5.

↑ Back to the question list

The position vector of a moving point at time t is r‾=sintî+cos2tĵ+(t2+2t)k̂. Find the components of acceleration a‾ in the directions parallel to the velocity vector v‾ and perpendicular to the plane of r‾ and v‾ at time t=0.

2017 · Paper I · Q5e · 10 marks

Solution

v‾=dr‾dt=(cost,−2sin2t,2t+2),a‾=dv‾dt=(−sint,−4cos2t,2).\bar v=\frac{d\bar r}{dt}=(\cos t,\;-2\sin 2t,\;2t+2),\qquad \bar a=\frac{d\bar v}{dt}=(-\sin t,\;-4\cos2t,\;2). At t=0t=0: r‾=(0,1,0)\bar r=(0,1,0), v‾=(1,0,2)\bar v=(1,0,2), a‾=(0,−4,2)\bar a=(0,-4,2).

Along the velocity. v̂=(1,0,2)5\hat v=\dfrac{(1,0,2)}{\sqrt5}, so a∥=a‾⋅v̂=0+0+45=45.a_{\parallel}=\bar a\cdot\hat v=\frac{0+0+4}{\sqrt5}=\frac{4}{\sqrt5}.

Perpendicular to the plane of r‾\bar r and v‾\bar v. The normal is r‾×v‾=(0,1,0)×(1,0,2)=(2,0,−1)\bar r\times\bar v=(0,1,0)\times(1,0,2)=(2,0,-1), with length 5\sqrt5. So a⊥=a‾⋅(2,0,−1)5=−25.a_{\perp}=\bar a\cdot\frac{(2,0,-1)}{\sqrt5}=\frac{-2}{\sqrt5}. The component has magnitude 25\dfrac{2}{\sqrt5}, directed along −(2î−k̂)-(2\hat i-\hat k).

✓ Checked by computer We checked by computer (SymPy): at t=0t=0, v‾=(1,0,2)\bar v=(1,0,2), a‾=(0,−4,2)\bar a=(0,-4,2); components 4/54/\sqrt5 and −2/5-2/\sqrt5.

↑ Back to the question list

Prove that the vectors a⃗=3î+ĵ−2k̂, b⃗=−î+3ĵ+4k̂, c⃗=4î−2ĵ−6k̂ can form the sides of a triangle. Find the lengths of the medians of the triangle.

2016 · Paper I · Q5b · 10 marks

Solution

Triangle. b→+c→=(−1+4)î+(3−2)ĵ+(4−6)k̂=3î+ĵ−2k̂=a→\vec b+\vec c=(-1+4)\hat i+(3-2)\hat j+(4-6)\hat k=3\hat i+\hat j-2\hat k=\vec a. So placing b→\vec b and then c→\vec c head to tail, a→\vec a closes the figure, and the three vectors form a triangle (they are not parallel, so it is a genuine triangle).

Take vertices OO, B=b→B=\vec b, A=b→+c→=a→A=\vec b+\vec c=\vec a. Side lengths: |a→|=14|\vec a|=\sqrt{14}, |b→|=26|\vec b|=\sqrt{26}, |c→|=56|\vec c|=\sqrt{56}.

Medians. By m=122p2+2q2−s2m=\tfrac12\sqrt{2p^2+2q^2-s^2} (median to side ss):

  • to side a→\vec a: 1252+112−14=12150=562\tfrac12\sqrt{52+112-14}=\tfrac12\sqrt{150}=\dfrac{5\sqrt6}{2}
  • to side b→\vec b: 1228+112−26=1142\tfrac12\sqrt{28+112-26}=\dfrac{\sqrt{114}}{2}
  • to side c→\vec c: 1228+52−56=1224=6\tfrac12\sqrt{28+52-56}=\tfrac12\sqrt{24}=\sqrt6

(Check with vectors: the median from OO to the midpoint of ABAB is b→+12c→=(1,2,1)\vec b+\tfrac12\vec c=(1,2,1), length 6\sqrt6. ✓)

✓ Checked by computer We checked by computer: b→+c→=a→\vec b+\vec c=\vec a, and the median lengths are 6\sqrt6, 562\frac{5\sqrt6}{2}, 1142\frac{\sqrt{114}}{2}.

↑ Back to the question list

Find f(r) such that ∇f=r⃗r5 and f(1)=0.

2016 · Paper I · Q8a · 10 marks

Solution

For f=f(r)f=f(r), ∇f=f′(r)r→r\nabla f=f'(r)\,\dfrac{\vec r}{r}. So we need f′(r)r=1r5⇒f′(r)=r−4⇒f(r)=−13r3+C.\frac{f'(r)}{r}=\frac{1}{r^5}\;\Rightarrow\;f'(r)=r^{-4}\;\Rightarrow\;f(r)=-\frac{1}{3r^3}+C . f(1)=0f(1)=0 gives C=13C=\tfrac13: f(r)=13−13r3=r3−13r3.f(r)=\frac13-\frac{1}{3r^3}=\frac{r^3-1}{3r^3}.

✓ Checked by computer We checked by computer (SymPy): f=13−13r3f=\frac13-\frac{1}{3r^3} has ∇f=r→/r5\nabla f=\vec r/r^5 and f(1)=0f(1)=0.

↑ 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

Find the angle between the surfaces x2+y2+z2−9=0 and z=x2+y2−3 at (2,−1,2).

2015 · Paper I · Q5e · 10 marks

Solution

The angle between surfaces is the angle between their normals.

  • ϕ1=x2+y2+z2−9\phi_1=x^2+y^2+z^2-9: ∇ϕ1=(2x,2y,2z)=(4,−2,4)\nabla\phi_1=(2x,2y,2z)=(4,-2,4) at (2,−1,2)(2,-1,2), length 66
  • ϕ2=x2+y2−z−3\phi_2=x^2+y^2-z-3: ∇ϕ2=(2x,2y,−1)=(4,−2,−1)\nabla\phi_2=(2x,2y,-1)=(4,-2,-1), length 21\sqrt{21}

cosθ=16+4−4621=8321⇒θ=cos−1(8321)≈54.4∘.\cos\theta=\frac{16+4-4}{6\sqrt{21}}=\frac{8}{3\sqrt{21}}\;\Rightarrow\;\theta=\cos^{-1}\!\left(\frac{8}{3\sqrt{21}}\right)\approx54.4^\circ .

✓ Checked by computer We checked by computer (SymPy): normals (4,−2,4)(4,-2,4) and (4,−2,−1)(4,-2,-1), cosθ=8321\cos\theta=\frac{8}{3\sqrt{21}}.

↑ Back to the question list

Find the value of λ and μ so that the surfaces λx2−μyz=(λ+2)x and 4x2y+z3=4 may intersect orthogonally at (1,−1,2).

2015 · Paper I · Q6c · 12 marks

Solution

Let ϕ1=λx2−μyz−(λ+2)x\phi_1=\lambda x^2-\mu yz-(\lambda+2)x and ϕ2=4x2y+z3−4\phi_2=4x^2y+z^3-4.

Point on the first surface. At (1,−1,2)(1,-1,2): λ+2μ−(λ+2)=0⇒μ=1\lambda+2\mu-(\lambda+2)=0\Rightarrow\mu=1. (It is on the second: −4+8−4=0-4+8-4=0.)

Normals.

  • ∇ϕ1=(2λx−λ−2,−μz,−μy)=(λ−2,−2,1)\nabla\phi_1=(2\lambda x-\lambda-2,\;-\mu z,\;-\mu y)=(\lambda-2,\;-2,\;1)
  • ∇ϕ2=(8xy,4x2,3z2)=(−8,4,12)\nabla\phi_2=(8xy,\;4x^2,\;3z^2)=(-8,\;4,\;12)

Orthogonal: −8(λ−2)−8+12=0⇒λ=52-8(\lambda-2)-8+12=0\Rightarrow\lambda=\tfrac52.

So λ=52\lambda=\dfrac52, μ=1\mu=1.

✓ Checked by computer We checked by computer (SymPy): λ=52\lambda=\frac52, μ=1\mu=1.

↑ Back to the question list

A vector field is given by F⃗=(x2+xy2)î+(y2+x2y)ĵ Verify that the field F⃗ is irrotational or not. Find the scalar potential.

2015 · Paper I · Q7c · 12 marks

Solution

∇×F→=(∂(y2+x2y)∂x−∂(x2+xy2)∂y)k̂=(2xy−2xy)k̂=0→\nabla\times\vec F=\left(\frac{\partial(y^2+x^2y)}{\partial x}-\frac{\partial(x^2+xy^2)}{\partial y}\right)\hat k=(2xy-2xy)\hat k=\vec 0 (the î,ĵ\hat i,\hat j parts vanish as there is no zz). So F→\vec F is irrotational.

Scalar potential. ϕx=x2+xy2⇒ϕ=x33+x2y22+g(y)\phi_x=x^2+xy^2\Rightarrow\phi=\tfrac{x^3}3+\tfrac{x^2y^2}2+g(y); then ϕy=x2y+g′(y)=y2+x2y⇒g=y33\phi_y=x^2y+g'(y)=y^2+x^2y\Rightarrow g=\tfrac{y^3}{3}. ϕ=x3+y33+x2y22+C.\phi=\frac{x^3+y^3}{3}+\frac{x^2y^2}{2}+C .

✓ Checked by computer We checked by computer (SymPy): ∇×F→=0→\nabla\times\vec F=\vec0 and ∇ϕ=F→\nabla\phi=\vec F.

↑ Back to the question list

Calculate ∇2(rn) and find its expression in terms of r and n, r being the distance of any point (x,y,z) from the origin, n being a constant and ∇2 being the Laplace operator.

2013 · Paper I · Q8a · 10 marks

Solution

∇rn=nrn−1r→r=nrn−2r→\nabla r^n=nr^{n-1}\dfrac{\vec r}{r}=nr^{n-2}\vec r. Then ∇2rn=∇⋅(nrn−2r→)=n[∇(rn−2)⋅r→+rn−2∇⋅r→]=n[(n−2)rn−4r2+3rn−2].\nabla^2r^n=\nabla\cdot(nr^{n-2}\vec r)=n\left[\nabla(r^{n-2})\cdot\vec r+r^{n-2}\nabla\cdot\vec r\right]=n\left[(n-2)r^{n-4}r^2+3r^{n-2}\right]. ∇2(rn)=n(n+1)rn−2.\nabla^2(r^n)=n(n+1)\,r^{n-2}. (For example n=−1n=-1 gives 00: 1/r1/r is harmonic away from the origin.)

✓ Checked by computer We checked by computer (SymPy): ∇2rn=n(n+1)rn−2\nabla^2r^n=n(n+1)r^{n-2}.

↑ Back to the question list

If A⃗=x2yzi⃗−2xz3j⃗+xz2k⃗B⃗=2zi⃗+yj⃗−x2k⃗ find the value of ∂2∂x∂y(A⃗×B⃗) at (1,0,−2).

2012 · Paper I · Q5e · 12 marks

Solution

A→×B→=∣îĵk̂x2yz−2xz3xz22zy−x2∣=(2x3z3−xyz2)î+(2xz3+x4yz)ĵ+(x2y2z+4xz4)k̂.\vec A\times\vec B=\begin{vmatrix}\hat i&\hat j&\hat k\\x^2yz&-2xz^3&xz^2\\2z&y&-x^2\end{vmatrix}=(2x^3z^3-xyz^2)\,\hat i+(2xz^3+x^4yz)\,\hat j+(x^2y^2z+4xz^4)\,\hat k . Differentiate with respect to yy, then xx:

  • î\hat i: ∂y=−xz2\partial_y=-xz^2, then ∂x=−z2\partial_x=-z^2
  • ĵ\hat j: ∂y=x4z\partial_y=x^4z, then ∂x=4x3z\partial_x=4x^3z
  • k̂\hat k: ∂y=2x2yz\partial_y=2x^2yz, then ∂x=4xyz\partial_x=4xyz

At (1,0,−2)(1,0,-2): ∂2∂x∂y(A→×B→)=−4î−8ĵ+0k̂.\frac{\partial^2}{\partial x\,\partial y}(\vec A\times\vec B)=-4\,\hat i-8\,\hat j+0\,\hat k .

✓ Checked by computer We checked by computer (SymPy): ∂2∂x∂y(A→×B→)=−4î−8ĵ\frac{\partial^2}{\partial x\partial y}(\vec A\times\vec B)=-4\hat i-8\hat j at (1,0,−2)(1,0,-2).

↑ Back to the question list

For two vectors a⃗ and b⃗ given respectively by a⃗=5t2î+tĵ−t3k̂ and b⃗=sintî−costĵ determine : (i) ddt(a⃗⋅b⃗) and (ii) ddt(a⃗×b⃗).

2011 · Paper I · Q5e · 10 marks

Solution

(i) a→⋅b→=5t2sint−tcost\vec a\cdot\vec b=5t^2\sin t-t\cos t, so ddt(a→⋅b→)=10tsint+5t2cost−cost+tsint=5t2cost+11tsint−cost.\frac{d}{dt}(\vec a\cdot\vec b)=10t\sin t+5t^2\cos t-\cos t+t\sin t=5t^2\cos t+11t\sin t-\cos t .

(ii) a→×b→=∣îĵk̂5t2t−t3sint−cost0∣=−t3costî−t3sintĵ−(5t2cost+tsint)k̂.\vec a\times\vec b=\begin{vmatrix}\hat i&\hat j&\hat k\\5t^2&t&-t^3\\\sin t&-\cos t&0\end{vmatrix}=-t^3\cos t\,\hat i-t^3\sin t\,\hat j-(5t^2\cos t+t\sin t)\,\hat k . ddt(a→×b→)=(t3sint−3t2cost)î−(3t2sint+t3cost)ĵ+(5t2sint−11tcost−sint)k̂.\frac{d}{dt}(\vec a\times\vec b)=(t^3\sin t-3t^2\cos t)\,\hat i-(3t^2\sin t+t^3\cos t)\,\hat j+(5t^2\sin t-11t\cos t-\sin t)\,\hat k .

✓ Checked by computer We checked both derivatives by computer (SymPy).

↑ Back to the question list

If u and v are two scalar fields and f⃗ is a vector field, such that uf⃗=gradv, find the value of f⃗⋅curlf⃗

2011 · Paper I · Q5f · 10 marks

Solution

From uf→=∇vu\vec f=\nabla v we get f→=1u∇v\vec f=\dfrac1u\nabla v (where u≠0u\neq0). Then curlf→=∇(1u)×∇v+1u∇×∇v=∇(1u)×∇v,\operatorname{curl}\vec f=\nabla\left(\frac1u\right)\times\nabla v+\frac1u\,\nabla\times\nabla v=\nabla\left(\frac1u\right)\times\nabla v, since curl grad =0→=\vec 0. This vector is perpendicular to ∇v\nabla v, and f→\vec f is parallel to ∇v\nabla v. So f→⋅curlf→=1u∇v⋅(∇1u×∇v)=0.\vec f\cdot\operatorname{curl}\vec f=\frac1u\,\nabla v\cdot\left(\nabla\tfrac1u\times\nabla v\right)=0 .

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

↑ Back to the question list

Examine whether the vectors ∇u, ∇v and ∇w are coplanar, where u, v and w are the scalar functions defined by : u=x+y+z,v=x2+y2+z2andw=yz+zx+xy.

2011 · Paper I · Q8a · 15 marks

Solution

∇u=(1,1,1),∇v=(2x,2y,2z),∇w=(y+z,z+x,x+y).\nabla u=(1,1,1),\quad\nabla v=(2x,2y,2z),\quad\nabla w=(y+z,\;z+x,\;x+y). [∇u∇v∇w]=∣1112x2y2zy+zz+xx+y∣.[\nabla u\;\nabla v\;\nabla w]=\begin{vmatrix}1&1&1\\2x&2y&2z\\y+z&z+x&x+y\end{vmatrix}. Apply R3→R3+12R2R_3\to R_3+\tfrac12R_2: row 3 becomes (x+y+z)(1,1,1)(x+y+z)(1,1,1), a multiple of row 1. So the determinant is 00 for all x,y,zx,y,z.

Hence ∇u\nabla u, ∇v\nabla v, ∇w\nabla w are coplanar. (In fact w=12(u2−v)w=\tfrac12(u^2-v), so ∇w=u∇u−12∇v\nabla w=u\nabla u-\tfrac12\nabla v is a combination of the other two.)

✓ Checked by computer We checked by computer (SymPy): the scalar triple product is identically 0.

↑ Back to the question list

If r⃗ be the position vector of a point, find the value(s) of n for which the vector rnr⃗ is (i) irrotational, (ii) solenoidal.

2011 · Paper I · Q8c · 15 marks

Solution

(i) Curl. ∇×(rnr→)=∇(rn)×r→+rn(∇×r→)=nrn−2r→×r→+0→=0→.\nabla\times(r^n\vec r)=\nabla(r^n)\times\vec r+r^n(\nabla\times\vec r)=nr^{n-2}\,\vec r\times\vec r+\vec0=\vec0 . So rnr→r^n\vec r is irrotational for every nn.

(ii) Divergence. ∇⋅(rnr→)=∇(rn)⋅r→+rn(∇⋅r→)=nrn−2r2+3rn=(n+3)rn.\nabla\cdot(r^n\vec r)=\nabla(r^n)\cdot\vec r+r^n(\nabla\cdot\vec r)=nr^{n-2}r^2+3r^n=(n+3)r^n . This is zero only for n=−3n=-3. So rnr→r^n\vec r is solenoidal when n=−3n=-3.

✓ Checked by computer We checked by computer (SymPy): ∇×(rnr→)=0→\nabla\times(r^n\vec r)=\vec0 for all nn, and ∇⋅(rnr→)=(n+3)rn\nabla\cdot(r^n\vec r)=(n+3)r^n.

↑ Back to the question list

Find the directional derivative of f(x,y)=x2y3+xy at the point (2,1) in the direction of a unit vector which makes an angle of π/3 with the x-axis.

2010 · Paper I · Q5e · 12 marks

Solution

∇f=(2xy3+y,3x2y2+x)=(5,14)\nabla f=(2xy^3+y,\;3x^2y^2+x)=(5,14) at (2,1)(2,1). The unit vector is û=(cosπ3,sinπ3)=(12,32)\hat u=(\cos\tfrac\pi3,\sin\tfrac\pi3)=\left(\tfrac12,\tfrac{\sqrt3}2\right). Dûf=5⋅12+14⋅32=52+73≈14.62.D_{\hat u}f=5\cdot\frac12+14\cdot\frac{\sqrt3}{2}=\frac52+7\sqrt3\approx14.62 .

✓ Checked by computer We checked by computer (SymPy): ∇f=(5,14)\nabla f=(5,14) at (2,1)(2,1), directional derivative 52+73\frac52+7\sqrt3.

↑ Back to the question list

Show that the vector field defined by the vector function V⃗=xyz(yzi⃗+xzj⃗+xyk⃗) is conservative.

2010 · Paper I · Q5f · 12 marks

Solution

V→=(xy2z2,x2yz2,x2y2z)\vec V=(xy^2z^2,\;x^2yz^2,\;x^2y^2z). ∇×V→=(2x2yz−2x2yz)î+(2xy2z−2xy2z)ĵ+(2xyz2−2xyz2)k̂=0→.\nabla\times\vec V=(2x^2yz-2x^2yz)\,\hat i+(2xy^2z-2xy^2z)\,\hat j+(2xyz^2-2xyz^2)\,\hat k=\vec0 . So V→\vec V is irrotational, and on all of space this means conservative. Indeed V→=∇ϕ\vec V=\nabla\phi with ϕ=12x2y2z2.\phi=\tfrac12x^2y^2z^2 .

✓ Checked by computer We checked by computer (SymPy): ∇×V→=0→\nabla\times\vec V=\vec0 and ∇(12x2y2z2)=V→\nabla\left(\tfrac12x^2y^2z^2\right)=\vec V.

↑ Back to the question list

Prove that div(fV⃗)=f(divV⃗)+(gradf)⋅V⃗ where f is a scalar function.

2010 · Paper I · Q6c · 20 marks

Solution

Let V→=V1î+V2ĵ+V3k̂\vec V=V_1\hat i+V_2\hat j+V_3\hat k. By the product rule, div(fV→)=∂(fV1)∂x+∂(fV2)∂y+∂(fV3)∂z\operatorname{div}(f\vec V)=\frac{\partial(fV_1)}{\partial x}+\frac{\partial(fV_2)}{\partial y}+\frac{\partial(fV_3)}{\partial z} =f(∂V1∂x+∂V2∂y+∂V3∂z)+(∂f∂xV1+∂f∂yV2+∂f∂zV3)=f\left(\frac{\partial V_1}{\partial x}+\frac{\partial V_2}{\partial y}+\frac{\partial V_3}{\partial z}\right)+\left(\frac{\partial f}{\partial x}V_1+\frac{\partial f}{\partial y}V_2+\frac{\partial f}{\partial z}V_3\right) =f(divV→)+(gradf)⋅V→.◼=f(\operatorname{div}\vec V)+(\operatorname{grad}f)\cdot\vec V. \qquad\blacksquare

✓ Proof checked step by step A proof (componentwise), checked by computer (SymPy) for general ff and V→\vec V.

↑ Back to the question list

Show that div(gradrn)=n(n+1)rn−2 where r=x2+y2+z2.

2009 · Paper I · Q5e · 12 marks

Solution

gradrn=nrn−1∇r=nrn−1r→r=nrn−2r→\operatorname{grad}r^n=nr^{n-1}\nabla r=nr^{n-1}\dfrac{\vec r}{r}=nr^{n-2}\vec r. div(nrn−2r→)=n[∇(rn−2)⋅r→+rn−2(∇⋅r→)]=n[(n−2)rn−4r2+3rn−2]=n(n+1)rn−2.◼\operatorname{div}(nr^{n-2}\vec r)=n\left[\nabla(r^{n-2})\cdot\vec r+r^{n-2}(\nabla\cdot\vec r)\right]=n\left[(n-2)r^{n-4}\,r^2+3r^{n-2}\right]=n(n+1)r^{n-2}. \qquad\blacksquare

✓ Checked by computer We checked by computer (SymPy): ∇2rn=n(n+1)rn−2\nabla^2r^n=n(n+1)r^{n-2}.

↑ Back to the question list

Find the directional derivative of— (i) 4xz3−3x2y2z2 at (2,−1,2) along z-axis; (ii) x2yz+4xz2 at (1,−2,1) in the direction of 2î−ĵ−2k̂.

2009 · Paper I · Q5f · 12 marks

Solution

(i) Along the zz-axis the directional derivative is ∂f/∂z\partial f/\partial z: ∂∂z(4xz3−3x2y2z2)=12xz2−6x2y2z=96−48=48 at (2,−1,2).\frac{\partial}{\partial z}(4xz^3-3x^2y^2z^2)=12xz^2-6x^2y^2z=96-48=48 \text{ at }(2,-1,2).

(ii) ∇(x2yz+4xz2)=(2xyz+4z2,x2z,x2y+8xz)=(0,1,6)\nabla(x^2yz+4xz^2)=(2xyz+4z^2,\;x^2z,\;x^2y+8xz)=(0,1,6) at (1,−2,1)(1,-2,1). The unit direction is (2,−1,−2)3\dfrac{(2,-1,-2)}{3}: 0−1−123=−133.\frac{0-1-12}{3}=-\frac{13}{3}.

✓ Checked by computer We checked by computer (SymPy): (i) 4848; (ii) ∇f=(0,1,6)\nabla f=(0,1,6), directional derivative −133-\frac{13}{3}.

↑ Back to the question list

Find the constant a and b so that the surface ax2−byz=(a+2)x will be orthogonal to the surface 4x2y+z3=4 at the point (1,−1,2).

2008 · Paper I · Q5e · 12 marks

Solution

Let ϕ1=ax2−byz−(a+2)x\phi_1=ax^2-byz-(a+2)x, ϕ2=4x2y+z3−4\phi_2=4x^2y+z^3-4.

The point lies on the first surface: a+2b−(a+2)=0⇒b=1a+2b-(a+2)=0\Rightarrow b=1.

Normals at (1,−1,2)(1,-1,2):

  • ∇ϕ1=(2ax−(a+2),−bz,−by)=(a−2,−2,1)\nabla\phi_1=(2ax-(a+2),\;-bz,\;-by)=(a-2,\;-2,\;1)
  • ∇ϕ2=(8xy,4x2,3z2)=(−8,4,12)\nabla\phi_2=(8xy,\;4x^2,\;3z^2)=(-8,\;4,\;12)

Orthogonality: −8(a−2)−8+12=0⇒a=52-8(a-2)-8+12=0\Rightarrow a=\tfrac52.

So a=52a=\dfrac52 and b=1b=1.

✓ Checked by computer We checked by computer (SymPy): a=52a=\frac52, b=1b=1.

↑ Back to the question list

Show that F⃗=(2xy+z3)î+x2ĵ+3xz2k̂ is a conservative force field. Find the scalar potential for F⃗ and the work done in moving an object in this field from (1,−2,1) to (3,1,4).

2008 · Paper I · Q5f · 12 marks

Solution

Conservative. ∇×F→=(0−0)î+(3z2−3z2)ĵ+(2x−2x)k̂=0→.\nabla\times\vec F=(0-0)\,\hat i+(3z^2-3z^2)\,\hat j+(2x-2x)\,\hat k=\vec 0 .

Potential. ϕx=2xy+z3⇒ϕ=x2y+xz3+g(y,z)\phi_x=2xy+z^3\Rightarrow\phi=x^2y+xz^3+g(y,z); ϕy=x2+gy=x2⇒g=g(z)\phi_y=x^2+g_y=x^2\Rightarrow g=g(z); ϕz=3xz2+g′(z)=3xz2⇒g\phi_z=3xz^2+g'(z)=3xz^2\Rightarrow g constant. ϕ=x2y+xz3+C.\phi=x^2y+xz^3+C .

Work. For a conservative field, work =ϕ(B)−ϕ(A)=\phi(B)-\phi(A): ϕ(3,1,4)−ϕ(1,−2,1)=(9+192)−(−2+1)=201+1=202.\phi(3,1,4)-\phi(1,-2,1)=(9+192)-(-2+1)=201+1=202 .

✓ Checked by computer We checked by computer (SymPy): curl =0→=\vec0, potential x2y+xz3x^2y+xz^3, work 202202.

↑ Back to the question list

Prove that ∇2f(r)=d2fdr2+2rdfdr where r=(x2+y2+z2)1/2. Hence find f(r) such that ∇2f(r)=0.

2008 · Paper I · Q8a · 12 marks

Solution

∇f=f′(r)r→r\nabla f=f'(r)\dfrac{\vec r}{r}. Then ∇2f=∇⋅(f′rr→)=ddr(f′r)r→r⋅r→+f′r⋅3=r(f″r−f′r2)+3f′r=f″+2rf′.◼\nabla^2f=\nabla\cdot\left(\frac{f'}{r}\vec r\right)=\frac{d}{dr}\left(\frac{f'}{r}\right)\frac{\vec r}{r}\cdot\vec r+\frac{f'}{r}\cdot3=r\left(\frac{f''}{r}-\frac{f'}{r^2}\right)+\frac{3f'}{r}=f''+\frac2rf'. \qquad\blacksquare

Solving ∇2f=0\nabla^2f=0. f″+2rf′=0⇒1r2ddr(r2f′)=0⇒r2f′=−Bf''+\dfrac2rf'=0\Rightarrow\dfrac{1}{r^2}\dfrac{d}{dr}(r^2f')=0\Rightarrow r^2f'=-B. Integrating, f(r)=A+Br,f(r)=A+\frac{B}{r}, with AA, BB arbitrary constants.

✓ Checked by computer We checked by computer (SymPy): ∇2f(r)=f″+2rf′\nabla^2f(r)=f''+\frac2rf'; the general radial solution is A+B/rA+B/r.

↑ 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