← 2014 Paper 1

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

15 marks · Section B

Reduction of order with one solution known · ODEs · asked 3× in 13 yrs · Read the full method →

Question

Solve the following differential equation:

xd2ydx22(x+1)dydx+(x+2)y=(x2)e2x,x\dfrac{d^{2}y}{dx^{2}}-2(x+1)\dfrac{dy}{dx}+(x+2)y=(x-2)e^{2x},

when exe^{x} is a solution to its corresponding homogeneous differential equation.

Technique

Reduction of order via y=exvy=e^{x}v; first-order ODE in w=vw=v'; integrating factor; recognise antiderivative.

Solution

Strategy. Reduction of order: substitute y=exv(x)y=e^{x}v(x) to convert the second-order equation into a first-order ODE in vv'.

Step 1 — Substitute y=exvy=e^{x}v

y=ex(v+v)y'=e^{x}(v+v'), y=ex(v+2v+v)y''=e^{x}(v+2v'+v'').

LHS:

xex(v+2v+v)2(x+1)ex(v+v)+(x+2)exv=ex[collect].x e^{x}(v+2v'+v'')-2(x+1)e^{x}(v+v')+(x+2)e^{x}v=e^{x}\bigl[\underbrace{}_{\text{collect}}\bigr].

Collect terms:

So LHS =ex(xv2v)=e^{x}(xv''-2v').

Setting == RHS =(x2)e2x=(x-2)e^{2x} and dividing by exe^{x}:

xv2v=(x2)ex.xv''-2v'=(x-2)e^{x}.

Step 2 — Substitute w=vw=v'

This becomes first-order in ww:

xw2w=(x2)ex    w2xw=(x2)exx= ⁣(12x)ex.xw'-2w=(x-2)e^{x}\;\Longleftrightarrow\;w'-\dfrac{2}{x}w=\dfrac{(x-2)e^{x}}{x}=\!\left(1-\dfrac{2}{x}\right)e^{x}.

Step 3 — Integrating factor

μ=exp ⁣(2xdx)=x2\mu=\exp\!\left(-\int\dfrac{2}{x}\,dx\right)=x^{-2}.

ddx ⁣(wx2)=1x2 ⁣(12x)ex= ⁣(1x22x3)ex.\dfrac{d}{dx}\!\left(\dfrac{w}{x^{2}}\right)=\dfrac{1}{x^{2}}\!\left(1-\dfrac{2}{x}\right)e^{x}=\!\left(\dfrac{1}{x^{2}}-\dfrac{2}{x^{3}}\right)e^{x}.

Recognise ddx ⁣(exx2)=exx22exx3= ⁣(1x22x3)ex\dfrac{d}{dx}\!\left(\dfrac{e^{x}}{x^{2}}\right)=\dfrac{e^{x}}{x^{2}}-\dfrac{2e^{x}}{x^{3}}=\!\left(\dfrac{1}{x^{2}}-\dfrac{2}{x^{3}}\right)e^{x}.

So wx2=exx2+C\dfrac{w}{x^{2}}=\dfrac{e^{x}}{x^{2}}+C, hence w=ex+Cx2w=e^{x}+Cx^{2}.

Step 4 — Integrate back

v=w=ex+Cx2v'=w=e^{x}+Cx^{2}. Integrate:

v=ex+Cx33+D.v=e^{x}+\dfrac{Cx^{3}}{3}+D.

Therefore

y=exv=ex ⁣(ex+Cx33+D)=e2x+C3x3ex+Dex.y=e^{x}v=e^{x}\!\left(e^{x}+\dfrac{Cx^{3}}{3}+D\right)=e^{2x}+\dfrac{C}{3}x^{3}e^{x}+De^{x}.

Renaming constants (c1=Dc_1=D, c2=C/3c_2=C/3):

Answer

  y=c1ex+c2x3ex+e2x.  \boxed{\;y=c_1\,e^{x}+c_2\,x^{3}e^{x}+e^{2x}.\;}
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.