← 2015 Paper 1
UPSC 2015 Maths Optional Paper 1 Q6a — Step-by-Step Solution
12 marks · Section B
Exact equations · ODEs · asked 9× in 13 yrs · Read the full method →
Question
Find the constant a so that (x+y)a is the integrating factor of (4x2+2xy+6y)dx+(2x2+9y+3x)dy=0, and hence solve the differential equation.
Technique
Find a by equating My=Nx after multiplying by μ=(x+y)a — the structural identity (4x2+2xy+6y)−(2x2+9y+3x)=(2x−3)(x+y) and (2x+6)−(4x+3)=−(2x−3) make the equation collapse to a single condition a=1. Then standard exact-equation procedure.
Solution
Let M0=4x2+2xy+6y, N0=2x2+9y+3x. Multiply by μ=(x+y)a:
M=(x+y)a(4x2+2xy+6y),N=(x+y)a(2x2+9y+3x).
Exactness requires My=Nx.
Step 1 — Compute My
My=a(x+y)a−1⋅1⋅(4x2+2xy+6y)+(x+y)a(2x+6).
Step 2 — Compute Nx
Nx=a(x+y)a−1⋅1⋅(2x2+9y+3x)+(x+y)a(4x+3).
Step 3 — Equate My=Nx
a(x+y)a−1[(4x2+2xy+6y)−(2x2+9y+3x)]+(x+y)a[(2x+6)−(4x+3)]=0.
Simplify the bracket on the first term:
(4x2+2xy+6y)−(2x2+9y+3x)=2x2+2xy−3y−3x=2x(x+y)−3(x+y)=(2x−3)(x+y).
Simplify the bracket on the second term:
(2x+6)−(4x+3)=−2x+3=−(2x−3).
So
a(x+y)a−1(2x−3)(x+y)+(x+y)a⋅(−(2x−3))=0,
(2x−3)(x+y)a[a−1]=0.
Wait: (x+y)a−1⋅(x+y)=(x+y)a — yes. So a(2x−3)(x+y)a−(2x−3)(x+y)a=(a−1)(2x−3)(x+y)a=0.
For this to hold identically (for all x,y), a−1=0, so a=1.
Step 4 — Solve with μ=x+y
M=(x+y)(4x2+2xy+6y) and N=(x+y)(2x2+9y+3x).
Expand M: (x+y)(4x2+2xy+6y)=4x3+2x2y+6xy+4x2y+2xy2+6y2
=4x3+6x2y+6xy+2xy2+6y2.
Expand N: (x+y)(2x2+9y+3x)=2x3+9xy+3x2+2x2y+9y2+3xy
=2x3+3x2+2x2y+12xy+9y2.
Check exactness:
My=6x2+6x+4xy+12y(differentiating each term in M w.r.t. y).
Let me redo My term by term. M=4x3+6x2y+6xy+2xy2+6y2:
My=0+6x2+6x+4xy+12y ✓.
Nx=6x2+6x+4xy+12y(from N).
N=2x3+3x2+2x2y+12xy+9y2:
Nx=6x2+6x+4xy+12y ✓.
My=Nx ✓ (confirms a=1).
Step 5 — Find potential F with Fx=M, Fy=N
Integrate Fx=M=4x3+6x2y+6xy+2xy2+6y2 w.r.t. x:
F=x4+2x3y+3x2y+x2y2+6xy2+g(y).
Wait, let me integrate term by term carefully:
- ∫4x3dx=x4.
- ∫6x2ydx=2x3y.
- ∫6xydx=3x2y.
- ∫2xy2dx=x2y2.
- ∫6y2dx=6xy2.
So F=x4+2x3y+3x2y+x2y2+6xy2+g(y).
Step 6 — Differentiate w.r.t. y and compare to N
Fy=2x3+3x2+2x2y+12xy+g′(y).
Compare with N=2x3+3x2+2x2y+12xy+9y2: g′(y)=9y2, so g(y)=3y3.
Step 7 — General solution
Answer
x4+2x3y+3x2y+x2y2+6xy2+3y3=C.