← 2025 Paper 2
UPSC Maths 2025 Paper 2 Q5a — Solution
10 marks · Section B
Question
Find the solution of the equation (D2+DD′−2D′2)z=ysinx, where D≡∂x∂ and D′≡∂y∂.
Technique
This is a linear PDE with constant coefficients, homogeneous in D,D′. Get the complementary function by factorising the operator, and the particular integral by undetermined coefficients (with a polynomial-in-y factor in the trial, since the operator annihilates pure functions of x).
Solution
Factorise the operator.
D2+DD′−2D′2=(D−D′)(D+2D′).
Check: (D−D′)(D+2D′)=D2+2DD′−DD′−2D′2=D2+DD′−2D′2. ✓
Complementary function. For a factor (D−mD′), the solution is an arbitrary function ϕ(y+mx).
- Factor (D−D′): here m=1, giving f(y+x).
- Factor (D+2D′): here m=−2, giving g(y−2x).
zc=f(y+x)+g(y−2x),
with f,g arbitrary twice-differentiable functions.
Particular integral. We want zp with (D2+DD′−2D′2)zp=ysinx. To account for both the trigonometric factor and the linear factor y, take the trial
zp=y(asinx+bcosx)+(csinx+dcosx).
Compute the derivatives:
Dzp=y(acosx−bsinx)+(ccosx−dsinx),
D2zp=y(−asinx−bcosx)+(−csinx−dcosx),
D′zp=asinx+bcosx,D′2zp=0,
DD′zp=acosx−bsinx.
Therefore
(D2+DD′−2D′2)zp=y(−asinx−bcosx)+(−csinx−dcosx)+(acosx−bsinx).
Match against ysinx+0:
- Coefficient of ysinx: −a=1⇒a=−1.
- Coefficient of ycosx: −b=0⇒b=0.
- Coefficient of sinx (non-y): −c−b=0⇒c=0.
- Coefficient of cosx (non-y): −d+a=0⇒d=a=−1.
Hence
zp=−ysinx−cosx.
General solution.
z=f(y+x)+g(y−2x)−ysinx−cosx.
Answer
z=f(y+x)+g(y−2x)−ysinx−cosx
where f,g are arbitrary functions.