← 2019 Paper 1

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

15 marks · Section B

Method of variation of parameters · ODEs · asked 11× in 13 yrs · Read the full method →

Question

Find the linearly independent solutions of the corresponding homogeneous differential equation of the equation x2y2xy+2y=x3sinxx^2y''-2xy'+2y=x^3\sin x and then find the general solution of the given equation by the method of variation of parameters.

Technique

Cauchy–Euler indicial equation for the CF; variation of parameters using the standard form (R=xsinxR=x\sin x after dividing by x2x^2).

Solution

Step 1 — Homogeneous (Cauchy–Euler) equation

x2y2xy+2y=0.x^2y''-2xy'+2y=0.

Try y=xmy=x^m: xm[m(m1)2m+2]=xm[m23m+2]=0x^m\big[m(m-1)-2m+2\big]=x^m\big[m^2-3m+2\big]=0, so m23m+2=(m1)(m2)=0m^2-3m+2=(m-1)(m-2)=0, giving m=1,2m=1,2. The linearly independent homogeneous solutions are

  y1=x,y2=x2.  \boxed{\;y_1=x,\qquad y_2=x^2.\;}

(Their Wronskian W=xx212x=2x2x2=x20W=\begin{vmatrix}x&x^2\\1&2x\end{vmatrix}=2x^2-x^2=x^2\neq0, confirming independence.)

Step 2 — Standard form for variation of parameters

Divide the full equation by x2x^2 to make the leading coefficient 11:

y2xy+2x2y=xsinx,soR(x)=xsinx.y''-\frac2x y'+\frac{2}{x^2}y=x\sin x,\qquad\text{so}\quad R(x)=x\sin x.

Step 3 — Variation of parameters formulas

With yp=u1y1+u2y2y_p=u_1y_1+u_2y_2,

u1=y2RW=x2xsinxx2=xsinx,u2=y1RW=xxsinxx2=sinx.u_1'=-\frac{y_2R}{W}=-\frac{x^2\cdot x\sin x}{x^2}=-x\sin x,\qquad u_2'=\frac{y_1R}{W}=\frac{x\cdot x\sin x}{x^2}=\sin x.

Step 4 — Integrate

u1=(xsinx)dx=xcosxsinx,u2=sinxdx=cosx.u_1=\int(-x\sin x)\,dx=x\cos x-\sin x,\qquad u_2=\int\sin x\,dx=-\cos x.

(xsinxdx=xcosx+sinx\int x\sin x\,dx=-x\cos x+\sin x, so u1=(xcosx+sinx)=xcosxsinxu_1=-(-x\cos x+\sin x)=x\cos x-\sin x.)

Step 5 — Particular integral

yp=u1y1+u2y2=(xcosxsinx)x+(cosx)x2=x2cosxxsinxx2cosx=xsinx.y_p=u_1y_1+u_2y_2=(x\cos x-\sin x)\,x+(-\cos x)\,x^2=x^2\cos x-x\sin x-x^2\cos x=-x\sin x.

Step 6 — General solution

Answer

  y=C1x+C2x2xsinx.  \boxed{\;y=C_1x+C_2x^2-x\sin x.\;}
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.