← 2018 Paper 1

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

12 marks · Section B

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

Question

Find f(y)f(y) such that (2xey+3y2) dy+(3x2+f(y)) dx=0(2xe^y+3y^2)\,dy+(3x^2+f(y))\,dx=0 is exact and hence solve.

Technique

Impose Py=QxP_y=Q_x to solve f′(y)=2eyf'(y)=2e^y; then integrate the exact equation (F=∫P dxF=\int P\,dx, match Fy=QF_y=Q).

Solution

Write the equation in the standard order P dx+Q dy=0P\,dx+Q\,dy=0 with

P=3x2+f(y),Q=2xey+3y2.P=3x^2+f(y),\qquad Q=2xe^{y}+3y^2.

Step 1 — Exactness condition

The equation is exact iff ∂P∂y=∂Q∂x\dfrac{\partial P}{\partial y}=\dfrac{\partial Q}{\partial x}:

∂P∂y=f′(y),∂Q∂x=2ey.\frac{\partial P}{\partial y}=f'(y),\qquad \frac{\partial Q}{\partial x}=2e^{y}.

So we need

f′(y)=2ey  ⇒  f(y)=2eyf'(y)=2e^{y}\;\Rightarrow\;f(y)=2e^{y}

(taking the integration constant to be 00, since any constant added to ff just shifts PP by a constant and can be absorbed).

  f(y)=2ey.  \boxed{\;f(y)=2e^{y}.\;}

Step 2 — The now-exact equation

P=3x2+2ey,Q=2xey+3y2,Py=2ey=Qx. ✓P=3x^2+2e^{y},\qquad Q=2xe^{y}+3y^2,\qquad P_y=2e^{y}=Q_x.\ \checkmark

Step 3 — Find the potential FF

Integrate PP in xx:

F=∫(3x2+2ey) dx=x3+2xey+g(y).F=\int(3x^2+2e^{y})\,dx=x^{3}+2xe^{y}+g(y).

Differentiate in yy and match QQ:

Fy=2xey+g′(y)=Q=2xey+3y2  ⇒  g′(y)=3y2  ⇒  g(y)=y3.F_y=2xe^{y}+g'(y)=Q=2xe^{y}+3y^2\;\Rightarrow\;g'(y)=3y^2\;\Rightarrow\;g(y)=y^{3}.

Step 4 — General solution

Answer

  x3+2xey+y3=C.  \boxed{\;x^{3}+2xe^{y}+y^{3}=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.