← 2025 Paper 2

UPSC 2025 Maths Optional Paper 2 Q5a — Step-by-Step Solution

10 marks · Section B

Second-order linear PDEs with constant coefficients (CF, PI) · PDEs · asked 13× in 14 yrs · Read the full method →

Question

Find the solution of the equation (D2+DD′−2D′2)z=ysin⁡x(D^2 + DD' - 2D'^2)z = y\sin x, where D≡∂∂xD \equiv \dfrac{\partial}{\partial x} and D′≡∂∂yD' \equiv \dfrac{\partial}{\partial y}.

Technique

This is a linear PDE with constant coefficients, homogeneous in D,D′D, D'. Get the complementary function by factorising the operator, and the particular integral by undetermined coefficients (with a polynomial-in-yy factor in the trial, since the operator annihilates pure functions of xx).

Solution

Factorise the operator.

D2+DD′−2D′2=(D−D′)(D+2D′).D^2 + DD' - 2D'^2 = (D - D')(D + 2D').

Check: (D−D′)(D+2D′)=D2+2DD′−DD′−2D′2=D2+DD′−2D′2.(D-D')(D+2D') = D^2 + 2DD' - DD' - 2D'^2 = D^2 + DD' - 2D'^2. ✓

Complementary function. For a factor (D−mD′)(D - mD'), the solution is an arbitrary function ϕ(y+mx)\phi(y + mx).

zc=f(y+x)+g(y−2x),z_c = f(y + x) + g(y - 2x),

with f,gf, g arbitrary twice-differentiable functions.

Particular integral. We want zpz_p with (D2+DD′−2D′2)zp=ysin⁡x(D^2 + DD' - 2D'^2)z_p = y\sin x. To account for both the trigonometric factor and the linear factor yy, take the trial

zp=y(asin⁡x+bcos⁡x)+(csin⁡x+dcos⁡x).z_p = y(a\sin x + b\cos x) + (c\sin x + d\cos x).

Compute the derivatives:

Dzp=y(acos⁡x−bsin⁡x)+(ccos⁡x−dsin⁡x),D z_p = y(a\cos x - b\sin x) + (c\cos x - d\sin x), D2zp=y(−asin⁡x−bcos⁡x)+(−csin⁡x−dcos⁡x),D^2 z_p = y(-a\sin x - b\cos x) + (-c\sin x - d\cos x), D′zp=asin⁡x+bcos⁡x,D′2zp=0,D' z_p = a\sin x + b\cos x,\qquad D'^2 z_p = 0, DD′zp=acos⁡x−bsin⁡x.DD' z_p = a\cos x - b\sin x.

Therefore

(D2+DD′−2D′2)zp=y(−asin⁡x−bcos⁡x)+(−csin⁡x−dcos⁡x)+(acos⁡x−bsin⁡x).(D^2 + DD' - 2D'^2)z_p = y(-a\sin x - b\cos x) + (-c\sin x - d\cos x) + (a\cos x - b\sin x).

Match against ysin⁡x+0y\sin x + 0:

Hence

zp=−ysin⁡x−cos⁡x.z_p = -y\sin x - \cos x.

General solution.

z=f(y+x)+g(y−2x)−ysin⁡x−cos⁡x.z = f(y + x) + g(y - 2x) - y\sin x - \cos x.

Answer

 z=f(y+x)+g(y−2x)−ysin⁡x−cos⁡x \boxed{\,z = f(y + x) + g(y - 2x) - y\sin x - \cos x\,}

where f,gf, g are arbitrary functions.

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.