← 2026 Paper 1
UPSC 2026 Maths Optional Paper 1 Q7c-i — Step-by-Step Solution
10 marks · Section B
Exact equations · ODEs · asked 10× in 14 yrs · Read the full method →
Question
Show that (x+y+1)−4 is an integrating factor of
(2x−y−1)ydx+(2y−x−1)xdy=0.
Hence solve it.
Technique
Multiply through by the proposed factor and verify exactness (∂M~/∂y=∂N~/∂x) directly; then recover the potential u from ux=M~, fixing the y-dependent constant by uy=N~, and write u= const.
Solution
The equation is not exact as given
Write M=(2x−y−1)y, N=(2y−x−1)x. Then
∂y∂M=2x−2y−1,∂x∂N=2y−2x−1,
which differ (by 4x−4y), so the equation is not exact.
(x+y+1)−4 is an integrating factor
Put s=x+y+1 (so sx=sy=1) and multiply the equation by s−4:
M~=s4y(2x−y−1),N~=s4x(2y−x−1).
Compute ∂M~/∂y. By the quotient rule,
∂y∂M~=s8(2x−2y−1)s4−y(2x−y−1)⋅4s3=s5(2x−2y−1)s−4y(2x−y−1).
Expand the numerator:
(2x−2y−1)(x+y+1)=2x2−2y2+x−3y−1,
4y(2x−y−1)=8xy−4y2−4y,
⟹ numerator=2x2−2y2+x−3y−1−8xy+4y2+4y=2x2+2y2−8xy+x+y−1.
Hence
∂y∂M~=(x+y+1)52x2+2y2−8xy+x+y−1.(1)
Compute ∂N~/∂x. The interchange x↔y sends M~↦N~ and ∂y↦∂x (note s is symmetric in x,y). Applying that swap to (1):
∂x∂N~=(x+y+1)52y2+2x2−8xy+y+x−1,(2)
which is identical to (1), the numerator being symmetric in x and y.
∴∂y∂M~=∂x∂N~⟹(x+y+1)−4 is an integrating factor.
Solving the exact equation
Seek u(x,y) with ux=M~, uy=N~; the solution is then u= const.
Integrate ux=M~ with respect to x (holding y fixed). Split the numerator against s:
2x−y−1=2(x+y+1)−3(y+1)=2s−3(y+1),
so
M~=y[s32−s43(y+1)].
Since ∂s/∂x=1,
∫s32dx=−s21,∫s43(y+1)dx=−s3y+1,
giving
u=y[−s21+s3y+1]+ϕ(y)=s3−ys+y(y+1)+ϕ(y).
Now −ys+y2+y=−y(x+y+1)+y2+y=−xy, so
u=−(x+y+1)3xy+ϕ(y).
Fix ϕ from uy=N~:
∂y∂(−s3xy)=−s6xs3−xy⋅3s2=s4−xs+3xy=s4x(−(x+y+1)+3y)=s4x(2y−x−1)=N~.
So ϕ′(y)=0, i.e. ϕ is a constant, which we absorb.
General solution
u=−(x+y+1)3xy=const⟺(x+y+1)3xy=c.
Check by differentiating back. From xy=c(x+y+1)3,
ydx+xdy=3c(x+y+1)2(dx+dy)=x+y+13xy(dx+dy)(using c=s3xy).
Multiplying by s=x+y+1:
y(s−3x)dx+x(s−3y)dy=0 ⟹ y(y+1−2x)dx+x(x+1−2y)dy=0,
which is −1 times the given equation. ✓
Answer
∂y∂[(x+y+1)4M]=∂x∂[(x+y+1)4N],and the general solution is(x+y+1)3xy=c.