← 2021 Paper 2
UPSC 2021 Maths Optional Paper 2 Q7a — Step-by-Step Solution
15 marks · Section B
Second-order linear PDEs with constant coefficients (CF, PI) · PDEs · asked 12× in 13 yrs · Read the full method →
Question
Find general solution of (D2−D′2−3D+3D′)z=xy+ex+2y.
Technique
Factor operator; CF from each factor; PI for ex+2y requires resonance handling; PI for xy via change of variables u=x+y,v=x−y.
Solution
Step 1 — Factor operator
D2−D′2−3D+3D′=(D−D′)(D+D′)−3(D−D′)=(D−D′)(D+D′−3).
Step 2 — Complementary function
From (D−D′): z=ϕ1(y+x).
From (D+D′−3): z=e3xϕ2(y−x) (since D+D′−3 acting on eaxf(y−x) gives (a−3)eaxf plus the f-derivative parts; for a=3, the f-derivative parts cancel because D+D′ applied to f(y−x) gives −f′+f′=0).
Verify: z=e3xϕ2(y−x), Dz=3e3xϕ2−e3xϕ2′, D′z=e3xϕ2′. (D+D′−3)z=3e3xϕ2−e3xϕ2′+e3xϕ2′−3e3xϕ2=0 ✓.
So CF =ϕ1(y+x)+e3xϕ2(y−x).
Step 3 — Particular integral for ex+2y
f(D,D′)=(D−D′)(D+D′−3).
At D=1,D′=2: f(1,2)=(1−2)(1+2−3)=(−1)(0)=0. Resonance!
The factor (D+D′−3) vanishes at (1,2). Standard resonance handling:
(D−D′)(D+D′−3)1ex+2y: apply (D−D′)−1 first (where it’s not resonant — (D−D′) at (1,2) gives −1, nonzero):
D−D′1ex+2y=−1ex+2y=−ex+2y.
Now apply (D+D′−3)−1 to −ex+2y — resonant.
For resonance with (D+D′−3): use 1/(D+D′−3)⋅ex+2y=x⋅ex+2y/[∂(D+D′−3)/∂D]=x⋅ex+2y/1=xex+2y (taking x-derivative; or y-derivative gives same).
Actually for the resonant case f(D,D′)[eax+by]=0 at (a,b), the PI is x⋅eax+by/fD′(a,b) if fD′=0, or y⋅eax+by/fD′′(a,b).
f=(D+D′−3), fD′=1.
D+D′−31ex+2y=xex+2y.
So PI for ex+2y: (D−D′)(D+D′−3)1ex+2y=(−1)⋅xex+2y=−xex+2y.
Step 4 — Particular integral for xy
(D−D′)(D+D′−3)1xy.
Expand 1/(D+D′−3)=−31⋅1−(D+D′)/31=−31∑n=0∞(D+D′)n/3n.
Acting on xy (degree 2 polynomial), only n=0,1,2 contribute.
n=0: 1⋅xy=xy.
n=1: (D+D′)xy=y+x.
n=2: (D+D′)2xy=(D+D′)(y+x)=(0+1)+(1+0)=2. (Both D(y+x)=1 and D′(y+x)=1, so (D+D′)(y+x)=2.)
n≥3: 0.
So D+D′−31xy=−31[xy+3y+x+92+0]=−3xy−9x+y−272.
Now apply 1/(D−D′) to this. Let g=−xy/3−(x+y)/9−2/27.
1/(D−D′)[g]: this involves integrating along characteristics x−y= const. For polynomial g:
1/(D−D′)[xy]: we need w such that (D−D′)w=xy, i.e., wx−wy=xy. Try w=ax2y+bxy2+⋯. wx=2axy+by2, wy=ax2+2bxy. wx−wy=−ax2+2(a−b)xy+by2. Match to xy: a=0,b=0,2(a−b)=1. Contradiction.
Try w= polynomial of higher degree. Let w=Ax2y+Bxy2. wx=2Axy+By2, wy=Ax2+2Bxy. wx−wy=−Ax2+2(A−B)xy+By2. Match xy: −A=0,2(A−B)=1,B=0⇒A=B=0, contradiction.
Try w=Ax2y+Bxy2 + lower. Doesn’t work.
Try w=(x+y)g(x,y) for some g. Actually polynomial solution requires careful matching.
Alternative: use 1/(D−D′)[xy]= (operator series). 1/(D−D′)=−1/(D′−D)=−1/D′⋅1/(1−D/D′)… not converging on polynomials.
Hmm. The structure D−D′1 on polynomials is not as simple as the constant-coefficient case.
Alternative method: substitute u=x+y,v=x−y. Then D=∂x=∂u+∂v, D′=∂y=∂u−∂v. D−D′=2∂v, D+D′=2∂u.
D+D′−3=2∂u−3.
The original operator: (D−D′)(D+D′−3)=2∂v(2∂u−3).
xy=(u2−v2)/4.
(D−D′)(D+D′−3)1[4u2−v2]=4⋅2∂v(2∂u−3)1(u2−v2).
1/(2∂u−3): standard. For polynomial f(u):
1/(2∂u−3)⋅u2: solve (2∂u−3)w=u2. Try w=au2+bu+c: 2(2au+b)−3(au2+bu+c)=u2⇒−3au2+(4a−3b)u+(2b−3c)=u2⇒a=−1/3,b=−4/9,c=−8/27.
So 1/(2∂u−3)⋅u2=−u2/3−4u/9−8/27.
1/(2∂u−3)⋅(−v2)=−v2 multiplied by 1/(2∂u−3) applied to a constant in u: 1/(2∂u−3)⋅1=−1/3 (since (2∂u−3)(−1/3)=1). Wait that’s wrong: (2∂u−3)⋅(−1/3)=0−3(−1/3)=1 ✓.
So 1/(2∂u−3)⋅(−v2)=−v2⋅(−1/3)=v2/3.
Sum: 1/(2∂u−3)⋅(u2−v2)=−u2/3−4u/9−8/27+v2/3.
Now apply 1/(2∂v) (=(1/2)∫dv):
2∂v1[−3u2−94u−278+3v2]=21[−3u2v−94uv−278v+9v3].
Multiply by 1/4 (from xy=(u2−v2)/4):
1/(4⋅2∂v(2∂u−3))[u2−v2]=81[−3u2v−94uv−278v+9v3].
Convert back u=x+y,v=x−y:
yp,1=81[−3(x+y)2(x−y)−94(x+y)(x−y)−278(x−y)+9(x−y)3].
This is messy but acceptable.
Step 5 — General solution
Answer
z=ϕ1(y+x)+e3xϕ2(y−x)+yp,1−xex+2y.