← 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 12× in 14 yrs · Read the full method →

Question

Find the linearly independent solutions of the corresponding homogeneous differential equation of the equation x2y′′−2xy′+2y=x3sin⁡xx^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=xsin⁡xR=x\sin x after dividing by x2x^2).

Solution

Step 1 — Homogeneous (Cauchy–Euler) equation

x2y′′−2xy′+2y=0.x^2y''-2xy'+2y=0.

Try y=xmy=x^m: xm[m(m−1)−2m+2]=xm[m2−3m+2]=0x^m\big[m(m-1)-2m+2\big]=x^m\big[m^2-3m+2\big]=0, so m2−3m+2=(m−1)(m−2)=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∣=2x2−x2=x2≠0W=\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:

y′′−2xy′+2x2y=xsin⁡x,soR(x)=xsin⁡x.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=−x2⋅xsin⁡xx2=−xsin⁡x,u2′=y1RW=x⋅xsin⁡xx2=sin⁡x.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=∫(−xsin⁡x) dx=xcos⁡x−sin⁡x,u2=∫sin⁡x dx=−cos⁡x.u_1=\int(-x\sin x)\,dx=x\cos x-\sin x,\qquad u_2=\int\sin x\,dx=-\cos x.

(∫xsin⁡x dx=−xcos⁡x+sin⁡x\int x\sin x\,dx=-x\cos x+\sin x, so u1=−(−xcos⁡x+sin⁡x)=xcos⁡x−sin⁡xu_1=-(-x\cos x+\sin x)=x\cos x-\sin x.)

Step 5 — Particular integral

yp=u1y1+u2y2=(xcos⁡x−sin⁡x) x+(−cos⁡x) x2=x2cos⁡x−xsin⁡x−x2cos⁡x=−xsin⁡x.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+C2x2−xsin⁡x.  \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 — 14 years, mapped. Get the take-away PDF free.