← 2018 Paper 1

UPSC 2018 Maths Optional Paper 1 Q7d — Step-by-Step Solution

12 marks · Section B

Exact equations · ODEs · asked 10× in 14 yrs · Read the full method →

Question

Find α\alpha and β\beta such that xαyβx^\alpha y^\beta is an integrating factor of (4y2+3xy) dx−(3xy+2x2) dy=0(4y^2+3xy)\,dx-(3xy+2x^2)\,dy=0 and solve the equation.

Technique

Multiply by xαyβx^\alpha y^\beta, impose My∗=Nx∗M^\ast_y=N^\ast_x, match monomial coefficients to get a 2×22\times2 linear system for α,β\alpha,\beta; then integrate the now-exact equation.

Solution

Write M dx+N dy=0M\,dx+N\,dy=0 with M=4y2+3xyM=4y^2+3xy and N=−(3xy+2x2)N=-(3xy+2x^2).

Step 1 — Multiply by the trial factor and impose exactness

Let μ=xαyβ\mu=x^\alpha y^\beta. Set M∗=xαyβ(4y2+3xy)M^\ast=x^\alpha y^\beta(4y^2+3xy) and N∗=−xαyβ(3xy+2x2)N^\ast=-x^\alpha y^\beta(3xy+2x^2). Expand:

M∗=4xαyβ+2+3xα+1yβ+1,N∗=−3xα+1yβ+1−2xα+2yβ.M^\ast=4x^\alpha y^{\beta+2}+3x^{\alpha+1}y^{\beta+1},\qquad N^\ast=-3x^{\alpha+1}y^{\beta+1}-2x^{\alpha+2}y^{\beta}.

Exactness requires My∗=Nx∗M^\ast_y=N^\ast_x:

My∗=4(β+2)xαyβ+1+3(β+1)xα+1yβ,M^\ast_y=4(\beta+2)x^\alpha y^{\beta+1}+3(\beta+1)x^{\alpha+1}y^{\beta}, Nx∗=−3(α+1)xαyβ+1−2(α+2)xα+1yβ.N^\ast_x=-3(\alpha+1)x^{\alpha}y^{\beta+1}-2(\alpha+2)x^{\alpha+1}y^{\beta}.

Step 2 — Match coefficients

Equate the coefficients of like monomials.

Coefficient of xαyβ+1x^\alpha y^{\beta+1}:   4(β+2)=−3(α+1)⇒3α+4β+11=0.\;4(\beta+2)=-3(\alpha+1)\Rightarrow 3\alpha+4\beta+11=0.

Coefficient of xα+1yβx^{\alpha+1}y^{\beta}:   3(β+1)=−2(α+2)⇒2α+3β+7=0.\;3(\beta+1)=-2(\alpha+2)\Rightarrow 2\alpha+3\beta+7=0.

Solve the linear system:

{3α+4β=−112α+3β=−7⇒α=−5, β=1.\begin{cases}3\alpha+4\beta=-11\\ 2\alpha+3\beta=-7\end{cases}\Rightarrow \alpha=-5,\ \beta=1.   α=−5,β=1.  μ=x−5y.\boxed{\;\alpha=-5,\qquad \beta=1.\;}\qquad \mu=x^{-5}y.

Step 3 — Make exact and integrate

With μ=x−5y\mu=x^{-5}y:

M∗=4x−5y3+3x−4y2,N∗=−3x−4y2−2x−3y.M^\ast=4x^{-5}y^{3}+3x^{-4}y^{2},\qquad N^\ast=-3x^{-4}y^{2}-2x^{-3}y.

Find FF with Fx=M∗F_x=M^\ast. Integrate M∗M^\ast in xx:

F=∫(4x−5y3+3x−4y2) dx=−x−4y3−x−3y2+g(y).F=\int\big(4x^{-5}y^{3}+3x^{-4}y^{2}\big)\,dx=-x^{-4}y^{3}-x^{-3}y^{2}+g(y).

Then Fy=−3x−4y2−2x−3y+g′(y)F_y=-3x^{-4}y^{2}-2x^{-3}y+g'(y), which must equal N∗=−3x−4y2−2x−3yN^\ast=-3x^{-4}y^{2}-2x^{-3}y, forcing g′(y)=0g'(y)=0.

Step 4 — General solution

F=−y3x4−y2x3=const,F=-\frac{y^{3}}{x^{4}}-\frac{y^{2}}{x^{3}}=\text{const},

so

  y2x3+y3x4=C  equivalentlyx y2+y3=C x4.\boxed{\;\frac{y^{2}}{x^{3}}+\frac{y^{3}}{x^{4}}=C\;}\qquad\text{equivalently}\qquad x\,y^{2}+y^{3}=C\,x^{4}.

Verification

$ python3 -c "import sympy as sp; x,y=sp.symbols('x y'); M=x**-5*y*(4*y**2+3*x*y); N=x**-5*y*(-(3*x*y+2*x**2)); print(sp.simplify(sp.diff(M,y)-sp.diff(N,x))); F=sp.integrate(M,x); print(sp.simplify(F), sp.simplify(sp.diff(F,y)-N))"
# 0
# y**2*(-x - y)/x**4    0

With α=−5,β=1\alpha=-5,\beta=1 the equation is exact (My∗−Nx∗=0M^\ast_y-N^\ast_x=0) and the potential is F=−y2(x+y)x4F=-\dfrac{y^2(x+y)}{x^4}, giving y2x3+y3x4=C\dfrac{y^2}{x^3}+\dfrac{y^3}{x^4}=C. ✓

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.