← 2014 Paper 1

UPSC 2014 Maths Optional Paper 1 Q5a — Step-by-Step Solution

10 marks · Section B

Exact equations · ODEs · asked 9× in 13 yrs · Read the full method →

Question

Justify that a differential equation of the form

[y+xf(x2+y2)]dx+[yf(x2+y2)x]dy=0,[y+x\,f(x^2+y^2)]\,dx+[y\,f(x^2+y^2)-x]\,dy=0,

where f(x2+y2)f(x^{2}+y^{2}) is an arbitrary function of (x2+y2)(x^{2}+y^{2}), is not an exact differential equation and 1x2+y2\dfrac{1}{x^{2}+y^{2}} is an integrating factor for it. Hence solve this differential equation for f(x2+y2)=(x2+y2)2f(x^{2}+y^{2})=(x^{2}+y^{2})^{2}.

Technique

Show MyNxM_y\ne N_x for non-exactness; verify exactness after multiplying by μ=1/r2\mu=1/r^{2}; integrate potential function.

Solution

Write r2=x2+y2r^{2}=x^{2}+y^{2}, f=f(r2)f=f(r^{2}), f=f(r2)f'=f'(r^{2}) (derivative w.r.t. its argument).

M=y+xf,N=yfx.M=y+xf,\qquad N=yf-x.

Part 1 — Not exact

My=1+xf2y=1+2xyf.M_y=1+x\,f'\cdot 2y=1+2xyf'.

Nx=yf2x1=2xyf1.N_x=y\,f'\cdot 2x-1=2xyf'-1.

So MyNx=1(1)=20M_y-N_x=1-(-1)=2\ne 0. Not exact.

Part 2 — 1/r21/r^{2} is an integrating factor

After multiplying through by μ=1/r2\mu=1/r^{2}:

M=yr2+xfr2,N=yfr2xr2.M'=\dfrac{y}{r^{2}}+\dfrac{xf}{r^{2}},\qquad N'=\dfrac{yf}{r^{2}}-\dfrac{x}{r^{2}}.

Compute MyM'_y and NxN'_x using /y[r2]=2y\partial/\partial y[r^{2}]=2y and similar:

My=(x2y2)r4+2xy(fr2f)r4=(x2y2)+2xy(fr2f)r4,M'_y=\dfrac{(x^{2}-y^{2})}{r^{4}}+\dfrac{2xy(f'r^{2}-f)}{r^{4}}=\dfrac{(x^{2}-y^{2})+2xy(f'r^{2}-f)}{r^{4}}, Nx=2xy(fr2f)r4+(x2y2)r4=(x2y2)+2xy(fr2f)r4.N'_x=\dfrac{2xy(f'r^{2}-f)}{r^{4}}+\dfrac{(x^{2}-y^{2})}{r^{4}}=\dfrac{(x^{2}-y^{2})+2xy(f'r^{2}-f)}{r^{4}}.

So My=NxM'_y=N'_x. The multiplied equation is exact, confirming μ=1/r2\mu=1/r^{2} is an integrating factor.

Part 3 — Solve for f(r2)=r4f(r^{2})=r^{4}

Then f=r4f=r^{4}, f(u)=2uf'(u)=2u where u=r2u=r^{2}. Multiplied equation:

y+xr4r2dx+yr4xr2dy=0,\dfrac{y+xr^{4}}{r^{2}}\,dx+\dfrac{yr^{4}-x}{r^{2}}\,dy=0,

i.e.

[yr2+xr2]dx+[yr2xr2]dy=0.\left[\dfrac{y}{r^{2}}+xr^{2}\right]dx+\left[yr^{2}-\dfrac{x}{r^{2}}\right]dy=0.

Find potential F(x,y)F(x,y) with Fx=MF_x=M', Fy=NF_y=N'. Integrate FxF_x w.r.t. xx:

 ⁣[yx2+y2+x(x2+y2)]dx=arctan ⁣xy+x44+x2y22+g(y).\int\!\left[\dfrac{y}{x^{2}+y^{2}}+x(x^{2}+y^{2})\right]dx=\arctan\!\dfrac{x}{y}+\dfrac{x^{4}}{4}+\dfrac{x^{2}y^{2}}{2}+g(y).

Differentiate this w.r.t. yy and match NN':

Fy=xx2+y2+x2y+g(y).F_y=-\dfrac{x}{x^{2}+y^{2}}+x^{2}y+g'(y).

N=yr2x/r2=x2y+y3x/(x2+y2)N'=yr^{2}-x/r^{2}=x^{2}y+y^{3}-x/(x^{2}+y^{2}). Match:

xr2+x2y+g(y)=x2y+y3xr2    g(y)=y3.-\dfrac{x}{r^{2}}+x^{2}y+g'(y)=x^{2}y+y^{3}-\dfrac{x}{r^{2}}\;\Longrightarrow\;g'(y)=y^{3}.

Integrate: g(y)=y4/4g(y)=y^{4}/4.

So

F=arctan ⁣xy+x44+x2y22+y44=arctan ⁣xy+(x2+y2)24.F=\arctan\!\dfrac{x}{y}+\dfrac{x^{4}}{4}+\dfrac{x^{2}y^{2}}{2}+\dfrac{y^{4}}{4}=\arctan\!\dfrac{x}{y}+\dfrac{(x^{2}+y^{2})^{2}}{4}.

General solution: F=F= const:

Answer

  arctan ⁣xy+(x2+y2)24=C.  \boxed{\;\arctan\!\dfrac{x}{y}+\dfrac{(x^{2}+y^{2})^{2}}{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 — 13 years, mapped. Get the take-away PDF free.