← 2026 Paper 2

UPSC 2026 Maths Optional Paper 2 Q5d — Step-by-Step Solution

10 marks · Section B

Sources, sinks, doublets · Mechanics & Fluid Dynamics · asked 9× in 14 yrs · Read the full method →

Question

A simple source of strength mm is fixed at the origin OO in a uniform stream of incompressible fluid moving with velocity Ui^U\hat{i}. Find out the velocity potential ϕ\phi at any point PP of the stream where OP=rOP = r and θ\theta is the angle OP→\overrightarrow{OP} makes with the direction i^\hat{i}. Find the differential equation of the stream lines and show that they lie on the surface Ur2sin⁡2θ−2mcos⁡θ=constantUr^2\sin^2\theta - 2m\cos\theta = \text{constant}.

Technique

This is the Rankine half-body: superpose a three-dimensional simple source on a uniform stream. The flow is axisymmetric about the xx-axis and irrotational, so ϕ\phi is just the sum of the two elementary potentials — but the sign convention for ϕ\phi and the meaning of “strength mm” must be declared, because the printed target Ur2sin⁡2θ−2mcos⁡θUr^{2}\sin^{2}\theta-2m\cos\theta fixes both. The streamline equation dr/qr=r dθ/qθdr/q_r = r\,d\theta/q_\theta is then made exact by the integrating factor 2rsin⁡θ2r\sin\theta — which is the same thing as recognising the Stokes stream function ψ=12Ur2sin⁡2θ−mcos⁡θ\psi=\tfrac12 Ur^{2}\sin^{2}\theta-m\cos\theta.

Solution

Step 0 — Conventions (state them; the answer is not checkable without them).

(a) Sign of the potential. We use the convention standard in the Indian hydrodynamics texts,

q⃗=−∇ϕ.\vec q=-\nabla\phi .

(b) Strength of a simple source. A simple (three-dimensional, point) source of strength mm at OO produces the purely radial field qr=m/r2q_r=m/r^{2}. Its total efflux across a sphere of radius rr is

∮q⃗⋅n^ dS=4πr2⋅mr2=4πm,\oint \vec q\cdot\hat n\,dS=4\pi r^{2}\cdot\frac{m}{r^{2}}=4\pi m,

so “strength mm” here means an emission of 4πm4\pi m units of volume per unit time. Its potential is ϕsource=m/r\phi_{\text{source}}=m/r, since −∂r(m/r)=m/r2-\partial_r(m/r)=m/r^{2}. The printed answer forces this convention: the alternative reading (efflux mm, ϕ=m/4πr\phi=m/4\pi r) would produce Ur2sin⁡2θ−m2πcos⁡θ=Ur^{2}\sin^{2}\theta-\dfrac{m}{2\pi}\cos\theta= const. It is the coefficient 2m2m in the printed target that selects the first reading. Declaring which convention is in force is itself worth a mark, because without it the answer is not checkable at all.

(c) Geometry. Spherical polar coordinates (r,θ,ω)(r,\theta,\omega) with the polar axis along i^\hat i: θ\theta is the angle OP→\overrightarrow{OP} makes with i^\hat i (so x=rcos⁡θx=r\cos\theta) and ω\omega is the azimuth. Nothing depends on ω\omega and there is no swirl, so the flow is axisymmetric: qω=0q_\omega=0, ∂/∂ω≡0\partial/\partial\omega\equiv0.

Step 1 — The velocity potential.

Uniform stream. We need q⃗=Ui^\vec q=U\hat i, i.e. −∇ϕstream=Ui^-\nabla\phi_{\text{stream}}=U\hat i, so ϕstream=−Ux=−Urcos⁡θ\phi_{\text{stream}}=-Ux=-Ur\cos\theta.

Source at OO. ϕsource=mr\phi_{\text{source}}=\dfrac{m}{r}.

Both are harmonic (∇2ϕ=0\nabla^{2}\phi=0 away from OO) and the problem is linear, so they superpose:

 ϕ(r,θ)=mr−Urcos⁡θ (r>0).(1)\boxed{\ \phi(r,\theta)=\frac{m}{r}-Ur\cos\theta\ }\qquad (r>0). \tag{1}

Step 2 — The velocity components (and a check that (1) is right).

qr=−∂ϕ∂r=−(−mr2−Ucos⁡θ)=Ucos⁡θ+mr2,q_r=-\frac{\partial\phi}{\partial r}=-\left(-\frac{m}{r^{2}}-U\cos\theta\right)=U\cos\theta+\frac{m}{r^{2}}, qθ=−1r∂ϕ∂θ=−1r(Ursin⁡θ)=−Usin⁡θ,qω=0.(2)q_\theta=-\frac{1}{r}\frac{\partial\phi}{\partial\theta}=-\frac{1}{r}\bigl(Ur\sin\theta\bigr)=-U\sin\theta,\qquad q_\omega=0. \tag{2}

Check. As r→∞r\to\infty, (qr,qθ)→(Ucos⁡θ, −Usin⁡θ)(q_r,q_\theta)\to(U\cos\theta,\,-U\sin\theta), which is exactly Ui^U\hat i resolved in spherical polars ✓. As r→0r\to0, qr∼m/r2q_r\sim m/r^{2}, the source ✓. And the continuity equation for axisymmetric incompressible flow,

∇⋅q⃗=1r2∂∂r(r2qr)+1rsin⁡θ∂∂θ(sin⁡θ qθ),\nabla\cdot\vec q=\frac{1}{r^{2}}\frac{\partial}{\partial r}\bigl(r^{2}q_r\bigr)+\frac{1}{r\sin\theta}\frac{\partial}{\partial\theta}\bigl(\sin\theta\,q_\theta\bigr),

is satisfied: with r2qr=Ur2cos⁡θ+mr^{2}q_r=Ur^{2}\cos\theta+m and sin⁡θ qθ=−Usin⁡2θ\sin\theta\,q_\theta=-U\sin^{2}\theta,

1r2∂∂r(Ur2cos⁡θ+m)=2Urcos⁡θr2=2Ucos⁡θr,1rsin⁡θ∂∂θ(−Usin⁡2θ)=−2Usin⁡θcos⁡θrsin⁡θ=−2Ucos⁡θr,\frac{1}{r^{2}}\frac{\partial}{\partial r}\bigl(Ur^{2}\cos\theta+m\bigr)=\frac{2Ur\cos\theta}{r^{2}}=\frac{2U\cos\theta}{r},\qquad \frac{1}{r\sin\theta}\frac{\partial}{\partial\theta}\bigl(-U\sin^{2}\theta\bigr)=\frac{-2U\sin\theta\cos\theta}{r\sin\theta}=-\frac{2U\cos\theta}{r},

whose sum is 00 for r>0r>0 ✓ (the source is a singularity at r=0r=0, where continuity necessarily fails).

Step 3 — The differential equation of the streamlines.

A streamline is a curve everywhere tangent to q⃗\vec q. In spherical polars the element of arc has components (dr, r dθ, rsin⁡θ dω)(dr,\ r\,d\theta,\ r\sin\theta\,d\omega), so tangency reads

drqr=r dθqθ=rsin⁡θ dωqω.\frac{dr}{q_r}=\frac{r\,d\theta}{q_\theta}=\frac{r\sin\theta\,d\omega}{q_\omega}.

Since qω=0q_\omega=0, the last ratio forces dω=0d\omega=0: every streamline lies in a meridian plane ω=\omega= const. Within that plane, substituting (2),

 dr Ucos⁡θ+mr2 =r dθ−Usin⁡θ i.e.drdθ=− r(Ur2cos⁡θ+m)Ur2sin⁡θ.(3)\boxed{\ \frac{dr}{\,U\cos\theta+\dfrac{m}{r^{2}}\,}=\frac{r\,d\theta}{-U\sin\theta}\ }\qquad\text{i.e.}\qquad \frac{dr}{d\theta}=-\,\frac{r\bigl(Ur^{2}\cos\theta+m\bigr)}{Ur^{2}\sin\theta}. \tag{3}

Step 4 — Integrate (3).

Cross-multiplying (3),

−Usin⁡θ dr=r(Ucos⁡θ+mr2)dθ⟹Usin⁡θ dr+Urcos⁡θ dθ+mr dθ=0.-U\sin\theta\,dr=r\left(U\cos\theta+\frac{m}{r^{2}}\right)d\theta \quad\Longrightarrow\quad U\sin\theta\,dr+Ur\cos\theta\,d\theta+\frac{m}{r}\,d\theta=0 .

This is not exact as it stands. Multiply by the integrating factor 2rsin⁡θ2r\sin\theta:

2Ursin⁡2θ dr+2Ur2sin⁡θcos⁡θ dθ+2msin⁡θ dθ=0.2Ur\sin^{2}\theta\,dr+2Ur^{2}\sin\theta\cos\theta\,d\theta+2m\sin\theta\,d\theta=0 .

Now recognise the two exact differentials

d(Ur2sin⁡2θ)=2Ursin⁡2θ dr+2Ur2sin⁡θcos⁡θ dθ,d(−2mcos⁡θ)=2msin⁡θ dθ,d\bigl(Ur^{2}\sin^{2}\theta\bigr)=2Ur\sin^{2}\theta\,dr+2Ur^{2}\sin\theta\cos\theta\,d\theta,\qquad d\bigl(-2m\cos\theta\bigr)=2m\sin\theta\,d\theta,

so the equation is

d(Ur2sin⁡2θ−2mcos⁡θ)=0.d\Bigl(Ur^{2}\sin^{2}\theta-2m\cos\theta\Bigr)=0 .

Integrating,

 Ur2sin⁡2θ−2mcos⁡θ=constant (4)\boxed{\ Ur^{2}\sin^{2}\theta-2m\cos\theta=\text{constant}\ } \tag{4}

which is the required result. Because each streamline lies in a meridian plane and (4) is independent of ω\omega, each constant in (4) determines a surface of revolution about the xx-axis, generated by rotating the corresponding streamline; the streamlines therefore lie on these surfaces, exactly as the question phrases it. ■\qquad\blacksquare

Step 5 — The same result via the Stokes stream function (the structural reason, worth two lines).

For axisymmetric incompressible flow the Stokes stream function ψ(r,θ)\psi(r,\theta) is defined by

qr=1r2sin⁡θ∂ψ∂θ,qθ=−1rsin⁡θ∂ψ∂r,q_r=\frac{1}{r^{2}\sin\theta}\frac{\partial\psi}{\partial\theta},\qquad q_\theta=-\frac{1}{r\sin\theta}\frac{\partial\psi}{\partial r},

which satisfies continuity identically. From (2),

∂ψ∂θ=r2sin⁡θ(Ucos⁡θ+mr2)=Ur2sin⁡θcos⁡θ+msin⁡θ ⟹ ψ=12Ur2sin⁡2θ−mcos⁡θ+h(r),\frac{\partial\psi}{\partial\theta}=r^{2}\sin\theta\left(U\cos\theta+\frac{m}{r^{2}}\right)=Ur^{2}\sin\theta\cos\theta+m\sin\theta \ \Longrightarrow\ \psi=\tfrac12Ur^{2}\sin^{2}\theta-m\cos\theta+h(r),

and qθ=−1rsin⁡θ(Ursin⁡2θ+h′(r))=−Usin⁡θq_\theta=-\dfrac{1}{r\sin\theta}\bigl(Ur\sin^{2}\theta+h'(r)\bigr)=-U\sin\theta forces h′(r)=0h'(r)=0. Taking h≡0h\equiv0,

ψ=12 Ur2sin⁡2θ−mcos⁡θ.(5)\psi=\tfrac12\,Ur^{2}\sin^{2}\theta-m\cos\theta . \tag{5}

Streamlines are ψ=\psi= const, and 2ψ=Ur2sin⁡2θ−2mcos⁡θ2\psi=Ur^{2}\sin^{2}\theta-2m\cos\theta: the printed surface is 2ψ=2\psi= const. (The integrating factor 2rsin⁡θ2r\sin\theta of Step 4 is precisely the factor that converts the tangency condition into dψ=0d\psi=0 — the two routes are the same computation.)

Step 6 — Stagnation point, and what the surfaces physically are.

Stagnation. qθ=−Usin⁡θ=0⇒θ=0q_\theta=-U\sin\theta=0\Rightarrow\theta=0 or π\pi. With qr=Ucos⁡θ+m/r2q_r=U\cos\theta+m/r^{2}:

Stagnation point S:(r,θ)=(mU, π),i.e. x=−m/U on the upstream axis.\text{Stagnation point } S:\quad \left(r,\theta\right)=\left(\sqrt{\tfrac{m}{U}},\ \pi\right),\quad\text{i.e. }x=-\sqrt{m/U}\ \text{on the upstream axis}.

This is where the source, pushing out radially, exactly balances the oncoming stream.

The dividing surface. Evaluating (5) at SS: ψS=12U⋅mU⋅sin⁡2π−mcos⁡π=m\psi_S=\tfrac12U\cdot\tfrac{m}{U}\cdot\sin^{2}\pi-m\cos\pi=m. So the streamline through the stagnation point is

Ur2sin⁡2θ−2mcos⁡θ=2m.(6)Ur^{2}\sin^{2}\theta-2m\cos\theta=2m . \tag{6}

(Consistency: on the upstream axis θ=π\theta=\pi the left side of (4) equals +2m+2m for every rr — so the whole upstream axis up to SS belongs to this same streamline, as it must.)

Surface (6) is the Rankine half-body: it separates the fluid emitted by the source (which stays inside, forever) from the oncoming stream (which stays outside). Being a stream surface, no fluid crosses it, so it may be replaced by a rigid boundary without altering the exterior flow — that is what makes the construction useful. Its asymptotic radius follows from (6) as θ→0\theta\to0 with R=rsin⁡θR=r\sin\theta held finite: UR2−2m=2mUR^{2}-2m=2m, so

R∞=2mU,R_\infty=2\sqrt{\frac{m}{U}},

which agrees with a pure flux balance (UπR∞2=4πmU\pi R_\infty^{2}=4\pi m, the source output carried away downstream) — an independent confirmation of the "4πm4\pi m" reading of the strength.

Answer

  ϕ=mr−Urcos⁡θ  (q⃗=−∇ϕ);drUcos⁡θ+mr2=r dθ−Usin⁡θ,  dω=0;Ur2sin⁡2θ−2mcos⁡θ=const  \boxed{\;\phi=\frac{m}{r}-Ur\cos\theta\ \ (\vec q=-\nabla\phi);\qquad \frac{dr}{U\cos\theta+\dfrac{m}{r^{2}}}=\frac{r\,d\theta}{-U\sin\theta},\ \ d\omega=0;\qquad Ur^{2}\sin^{2}\theta-2m\cos\theta=\text{const}\;}

with ψ=12Ur2sin⁡2θ−mcos⁡θ\psi=\tfrac12Ur^{2}\sin^{2}\theta-m\cos\theta, stagnation point at (m/U, π)\bigl(\sqrt{m/U},\,\pi\bigr) and dividing (Rankine half-body) surface Ur2sin⁡2θ−2mcos⁡θ=2mUr^{2}\sin^{2}\theta-2m\cos\theta=2m.

(Under the opposite convention q⃗=+∇ϕ\vec q=+\nabla\phi the potential is ϕ=Urcos⁡θ−mr\phi=Ur\cos\theta-\dfrac{m}{r}; the velocity field, ψ\psi, the streamline equation and the printed surface are all unchanged.)

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.