← 2026 Paper 1

UPSC 2026 Maths Optional Paper 1 Q6a — Step-by-Step Solution

15 marks · Section B

Euler-Cauchy equation · ODEs · asked 9× in 14 yrs · Read the full method →

Question

Solve x2d2ydx2−3xdydx+y=sin⁡(log⁡x)+1x log⁡xx^2 \dfrac{d^2y}{dx^2} - 3x \dfrac{dy}{dx} + y = \dfrac{\sin(\log x) + 1}{x}\,\log x.

Technique

Cauchy–Euler (homogeneous linear) equation: put x=etx=e^t, t=log⁡xt=\log x, θ≡ddt\theta\equiv\dfrac{d}{dt}, so that xD→θxD\to\theta and x2D2→θ(θ−1)x^2D^2\to\theta(\theta-1). The equation becomes constant-coefficient with RHS e−t(tsin⁡t+t)e^{-t}(t\sin t + t); strip the exponential by the shift rule 1F(θ)eatu=eat1F(θ+a)u\dfrac{1}{F(\theta)}e^{at}u = e^{at}\dfrac{1}{F(\theta+a)}u, then handle tsin⁡tt\sin t by the complex-exponential form tsin⁡t=ℑ(teit)t\sin t=\Im(te^{it}) and a second shift.

Solution

The equation is posed on x>0x>0 (because of log⁡x\log x).

Step 1 — Reduce to constant coefficients.

Put x=etx=e^{t}, i.e. t=log⁡xt=\log x, and write θ=ddt\theta=\dfrac{d}{dt}. The standard Cauchy–Euler identities are

xdydx=θy,x2d2ydx2=θ(θ−1)y.x\frac{dy}{dx}=\theta y,\qquad x^{2}\frac{d^{2}y}{dx^{2}}=\theta(\theta-1)y .

The left side becomes

θ(θ−1)y−3θy+y=(θ2−4θ+1)y.\theta(\theta-1)y-3\theta y+y=\bigl(\theta^{2}-4\theta+1\bigr)y .

The right side, with x=etx=e^{t} and log⁡x=t\log x=t, becomes

sin⁡t+1et⋅t=e−t(tsin⁡t+t).\frac{\sin t+1}{e^{t}}\cdot t=e^{-t}\bigl(t\sin t+t\bigr).

So the transformed equation is

  (θ2−4θ+1)y=e−t(tsin⁡t+t).  (1)\boxed{\;\bigl(\theta^{2}-4\theta+1\bigr)y=e^{-t}\bigl(t\sin t+t\bigr).\;}\tag{1}

Step 2 — Complementary function.

Auxiliary equation m2−4m+1=0⇒m=4±16−42=2±3m^{2}-4m+1=0\Rightarrow m=\dfrac{4\pm\sqrt{16-4}}{2}=2\pm\sqrt3. Hence

yc=c1e(2+3)t+c2e(2−3)t=c1x2+3+c2x2−3.y_{c}=c_{1}e^{(2+\sqrt3)t}+c_{2}e^{(2-\sqrt3)t}=c_{1}x^{2+\sqrt3}+c_{2}x^{2-\sqrt3}.

Step 3 — Strip the exponential e−te^{-t} from the particular integral.

Write F(θ)=θ2−4θ+1F(\theta)=\theta^{2}-4\theta+1. By the exponential shift rule with a=−1a=-1,

yp=1F(θ) e−t(tsin⁡t+t)=e−t 1F(θ−1)(tsin⁡t+t),y_{p}=\frac{1}{F(\theta)}\,e^{-t}\bigl(t\sin t+t\bigr)=e^{-t}\,\frac{1}{F(\theta-1)}\bigl(t\sin t+t\bigr),

and

F(θ−1)=(θ−1)2−4(θ−1)+1=θ2−6θ+6.F(\theta-1)=(\theta-1)^{2}-4(\theta-1)+1=\theta^{2}-6\theta+6 .

So, with Φ(θ)≡θ2−6θ+6\Phi(\theta)\equiv\theta^{2}-6\theta+6,

yp=e−t[1Φ(θ) t⏟P1+1Φ(θ) tsin⁡t⏟P2].(2)y_{p}=e^{-t}\left[\underbrace{\frac{1}{\Phi(\theta)}\,t}_{P_{1}}+\underbrace{\frac{1}{\Phi(\theta)}\,t\sin t}_{P_{2}}\right].\tag{2}

Note Φ(0)=6≠0\Phi(0)=6\neq0 and Φ(±i)≠0\Phi(\pm i)\neq0, so no resonance arises and no extra factors of tt are needed.

Step 4 — The easy piece P1P_{1}.

Expand Φ(θ)−1\Phi(\theta)^{-1} in ascending powers of θ\theta and keep terms up to θ1\theta^{1} (since θ2t=0\theta^{2}t=0):

16−6θ+θ2=16[1−6θ−θ26]−1=16[1+θ+⋯ ].\frac{1}{6-6\theta+\theta^{2}}=\frac{1}{6}\left[1-\frac{6\theta-\theta^{2}}{6}\right]^{-1}=\frac{1}{6}\Bigl[1+\theta+\cdots\Bigr].

Hence

P1=16(t+1).P_{1}=\frac{1}{6}(t+1).

(Check on the spot: with Y=16(t+1)Y=\tfrac{1}{6}(t+1),  θ2Y−6θY+6Y=0−1+(t+1)=t\ \theta^{2}Y-6\theta Y+6Y=0-1+(t+1)=t. ✓)

Step 5 — The hard piece P2P_{2}: 1Φ(θ) tsin⁡t\dfrac{1}{\Phi(\theta)}\,t\sin t.

Write tsin⁡t=ℑ ⁣(teit)t\sin t=\Im\!\left(te^{it}\right) and shift again, this time with a=ia=i:

P2=ℑ[1Φ(θ) t eit]=ℑ[eit 1Φ(θ+i) t].P_{2}=\Im\left[\frac{1}{\Phi(\theta)}\,t\,e^{it}\right]=\Im\left[e^{it}\,\frac{1}{\Phi(\theta+i)}\,t\right].

Compute the shifted operator:

Φ(θ+i)=(θ+i)2−6(θ+i)+6=θ2+(2i−6)θ+(5−6i).\Phi(\theta+i)=(\theta+i)^{2}-6(\theta+i)+6=\theta^{2}+(2i-6)\theta+(5-6i).

Since θt=1\theta t=1 and θ2t=0\theta^{2}t=0, only the first two terms of the binomial expansion survive:

1Φ(θ+i) t=15−6i[1+(2i−6)θ+θ25−6i]−1t=15−6i[t−2i−65−6i]=15−6i[t+6−2i5−6i].\frac{1}{\Phi(\theta+i)}\,t=\frac{1}{5-6i}\left[1+\frac{(2i-6)\theta+\theta^{2}}{5-6i}\right]^{-1}t =\frac{1}{5-6i}\left[t-\frac{2i-6}{5-6i}\right]=\frac{1}{5-6i}\left[t+\frac{6-2i}{5-6i}\right].

Rationalise, using 15−6i=5+6i61\dfrac{1}{5-6i}=\dfrac{5+6i}{61}:

6−2i5−6i=(6−2i)(5+6i)61=30+36i−10i+1261=42+26i61,\frac{6-2i}{5-6i}=\frac{(6-2i)(5+6i)}{61}=\frac{30+36i-10i+12}{61}=\frac{42+26i}{61}, 1Φ(θ+i)t=5+6i61[t+42+26i61]=(5+6i)t61+(5+6i)(42+26i)3721,\frac{1}{\Phi(\theta+i)}t=\frac{5+6i}{61}\left[t+\frac{42+26i}{61}\right]=\frac{(5+6i)t}{61}+\frac{(5+6i)(42+26i)}{3721},

and (5+6i)(42+26i)=210+130i+252i−156=54+382i(5+6i)(42+26i)=210+130i+252i-156=54+382i, with 612=372161^{2}=3721. Therefore

1Φ(θ+i)t=(5t61+543721)⏟A+i(6t61+3823721)⏟B.\frac{1}{\Phi(\theta+i)}t=\underbrace{\left(\frac{5t}{61}+\frac{54}{3721}\right)}_{A}+i\underbrace{\left(\frac{6t}{61}+\frac{382}{3721}\right)}_{B}.

Finally, ℑ[(cos⁡t+isin⁡t)(A+iB)]=Asin⁡t+Bcos⁡t\Im\bigl[(\cos t+i\sin t)(A+iB)\bigr]=A\sin t+B\cos t, so

P2=(5t61+543721)sin⁡t+(6t61+3823721)cos⁡t=(305t+54)sin⁡t+(366t+382)cos⁡t3721.P_{2}=\left(\frac{5t}{61}+\frac{54}{3721}\right)\sin t+\left(\frac{6t}{61}+\frac{382}{3721}\right)\cos t =\frac{(305t+54)\sin t+(366t+382)\cos t}{3721}.

Step 6 — Assemble and return to xx.

From (2),

yp=e−t[t+16+(305t+54)sin⁡t+(366t+382)cos⁡t3721].y_{p}=e^{-t}\left[\frac{t+1}{6}+\frac{(305t+54)\sin t+(366t+382)\cos t}{3721}\right].

Substituting back e−t=1xe^{-t}=\dfrac1x and t=log⁡xt=\log x, and adding the complementary function:

y=c1x2+3+c2x2−3+1x[1+log⁡x6+(305log⁡x+54)sin⁡(log⁡x)+(366log⁡x+382)cos⁡(log⁡x)3721].y=c_{1}x^{2+\sqrt3}+c_{2}x^{2-\sqrt3}+\frac{1}{x}\left[\frac{1+\log x}{6}+\frac{(305\log x+54)\sin(\log x)+(366\log x+382)\cos(\log x)}{3721}\right].

Answer

  y=c1x2+3+c2x2−3+1+log⁡x6x+(305log⁡x+54)sin⁡(log⁡x)+(366log⁡x+382)cos⁡(log⁡x)3721 x  \boxed{\;y=c_{1}x^{2+\sqrt3}+c_{2}x^{2-\sqrt3}+\frac{1+\log x}{6x}+\frac{(305\log x+54)\sin(\log x)+(366\log x+382)\cos(\log x)}{3721\,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.