← 2025 Paper 1

UPSC 2025 Maths Optional Paper 1 Q7c-ii — Step-by-Step Solution

10 marks · Section B

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

Question

Find the complete solution of x3d3ydx3+3x2d2ydx2+xdydx+y=xlog⁡xx^3\dfrac{d^3 y}{dx^3} + 3x^2\dfrac{d^2 y}{dx^2} + x\dfrac{dy}{dx} + y = x\log x.

Technique

This is a Cauchy–Euler equation. Substitute x=etx = e^t (so t=log⁡xt=\log x) to convert it to a constant-coefficient ODE in tt, using xkDk=θ(θ−1)⋯(θ−k+1)x^k D^k = \theta(\theta-1)\cdots(\theta-k+1) with θ=ddt\theta = \dfrac{d}{dt}.

Solution

With x=etx=e^t, θ=ddt\theta=\dfrac{d}{dt}, the standard operator identities are

xD=θ,x2D2=θ(θ−1),x3D3=θ(θ−1)(θ−2).xD = \theta,\quad x^2D^2 = \theta(\theta-1),\quad x^3D^3 = \theta(\theta-1)(\theta-2).

The left side becomes

θ(θ−1)(θ−2)+3θ(θ−1)+θ+1.\theta(\theta-1)(\theta-2) + 3\theta(\theta-1) + \theta + 1.

Expand:

θ(θ−1)(θ−2)=θ3−3θ2+2θ,3θ(θ−1)=3θ2−3θ,\theta(\theta-1)(\theta-2) = \theta^3 - 3\theta^2 + 2\theta,\qquad 3\theta(\theta-1) = 3\theta^2 - 3\theta, sum=θ3−3θ2+2θ+3θ2−3θ+θ+1=θ3+1.\text{sum} = \theta^3 - 3\theta^2 + 2\theta + 3\theta^2 - 3\theta + \theta + 1 = \theta^3 + 1.

So the equation transforms to (RHS: xlog⁡x=et tx\log x = e^t\,t)

(θ3+1) y=t et.(\theta^3 + 1)\,y = t\,e^t.

Complementary function. Auxiliary equation m3+1=0⇒(m+1)(m2−m+1)=0m^3 + 1 = 0 \Rightarrow (m+1)(m^2 - m + 1)=0, roots

m=−1,m=1±i32.m = -1,\qquad m = \frac{1 \pm i\sqrt3}{2}.

Thus

yc=C1e−t+et/2 ⁣[C2cos⁡ ⁣32t+C3sin⁡ ⁣32t].y_c = C_1 e^{-t} + e^{t/2}\!\left[C_2\cos\!\frac{\sqrt3}{2}t + C_3\sin\!\frac{\sqrt3}{2}t\right].

Back to xx (et=xe^t=x, t=log⁡xt=\log x):

yc=C1x+x[C2cos⁡ ⁣(32log⁡x)+C3sin⁡ ⁣(32log⁡x)].y_c = \frac{C_1}{x} + \sqrt{x}\left[C_2\cos\!\Bigl(\tfrac{\sqrt3}{2}\log x\Bigr) + C_3\sin\!\Bigl(\tfrac{\sqrt3}{2}\log x\Bigr)\right].

Particular integral. yp=1θ3+1 t ety_p = \dfrac{1}{\theta^3+1}\,t\,e^t. Shift: 1θ3+1et t=et 1(θ+1)3+1 t\dfrac{1}{\theta^3+1}e^t\,t = e^t\,\dfrac{1}{(\theta+1)^3 + 1}\,t. Now (θ+1)3+1=θ3+3θ2+3θ+2(\theta+1)^3 + 1 = \theta^3 + 3\theta^2 + 3\theta + 2; applied to tt keep terms up to first order (θ2t=θ3t=0\theta^2 t=\theta^3 t=0):

12+3θ+⋯ t=12 11+32θ+⋯ t=12(1−32θ+⋯ )t=12(t−32).\frac{1}{2 + 3\theta + \cdots}\,t = \frac{1}{2}\,\frac{1}{1 + \tfrac{3}{2}\theta + \cdots}\,t = \frac{1}{2}\Bigl(1 - \tfrac{3}{2}\theta + \cdots\Bigr)t = \frac{1}{2}\Bigl(t - \tfrac{3}{2}\Bigr).

So

yp=et⋅12(t−32)=x2(log⁡x−32)=xlog⁡x2−3x4.y_p = e^t\cdot\frac{1}{2}\Bigl(t - \frac{3}{2}\Bigr) = \frac{x}{2}\Bigl(\log x - \frac{3}{2}\Bigr) = \frac{x\log x}{2} - \frac{3x}{4}.

Complete solution.

y=C1x+x[C2cos⁡ ⁣(32log⁡x)+C3sin⁡ ⁣(32log⁡x)]+xlog⁡x2−3x4.y = \frac{C_1}{x} + \sqrt{x}\left[C_2\cos\!\Bigl(\tfrac{\sqrt3}{2}\log x\Bigr) + C_3\sin\!\Bigl(\tfrac{\sqrt3}{2}\log x\Bigr)\right] + \frac{x\log x}{2} - \frac{3x}{4}.

Answer

  y=C1x+x[C2cos⁡(32log⁡x)+C3sin⁡(32log⁡x)]+xlog⁡x2−3x4.  \boxed{\;y = \frac{C_1}{x} + \sqrt{x}\Bigl[C_2\cos\bigl(\tfrac{\sqrt3}{2}\log x\bigr) + C_3\sin\bigl(\tfrac{\sqrt3}{2}\log x\bigr)\Bigr] + \frac{x\log x}{2} - \frac{3x}{4}.\;}
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.