Euler-Cauchy equation

At a Glance

Why This Chapter Matters

The Cauchy-Euler (equidimensional) equation appears in 9 of the last 14 years — no year with a known UPSC result is missing it entirely. The method is a single substitution (x=etx=e^t) that converts a variable-coefficient ODE into a constant-coefficient one, then the full machinery of operator methods applies. Three variants appear: standard xnx^n, shifted (a+bx)n(a+bx)^n, and order-reduction when the yy term is absent. Mastering one set of operator identities covers all of them.

Minimum Theory

Cauchy-Euler operator identities. Under x=etx=e^t, t=ln⁡xt=\ln x, D=d/dtD=d/dt: xdydx=Dy,x2d2ydx2=D(D−1)y,x3d3ydx3=D(D−1)(D−2)y.x\frac{dy}{dx}=Dy,\qquad x^2\frac{d^2y}{dx^2}=D(D-1)y,\qquad x^3\frac{d^3y}{dx^3}=D(D-1)(D-2)y. In general: xny(n)=D(D−1)⋯(D−n+1)yx^n y^{(n)}=D(D-1)\cdots(D-n+1)y. After substitution, the ODE has constant coefficients in tt.

Generalised Cauchy-Euler. If the equation has (ax+b)(ax+b) instead of xx: substitute ax+b=etax+b=e^t (equivalently, t=ln⁡(ax+b)t=\ln(ax+b)). The operators become (ax+b)y′=aDy(ax+b)y'=aDy and (ax+b)2y′′=a2D(D−1)y(ax+b)^2y''=a^2D(D-1)y — note the factors of aa.

Order reduction. If the yy term (zero-th order) is absent and the lowest term is xy′xy', substitute p=y′p=y' to convert to a second-order Cauchy-Euler in pp, then integrate once.

Resonance in the PI. After the x=etx=e^t substitution, if the RHS is emte^{mt} and mm is a root of the auxiliary equation: multiply the trial PI by tt. If mm is a double root: multiply by t2t^2. This is the standard resonance rule.

Operator formula for PI. For yp=1f(D)eaty_p=\frac{1}{f(D)}e^{at}: if f(a)≠0f(a)\ne0, then yp=eat/f(a)y_p=e^{at}/f(a). For cos⁡bt\cos bt or sin⁡bt\sin bt: replace D2→−b2D^2\to-b^2 (if no cancellation). For resonance: yp=t⋅eat/f′(a)y_p=t\cdot e^{at}/f'(a).

Question Archetypes

One procedure covers all questions.

ArchetypeYou are seeing this when…
cauchy-eulerxny(n)+…x^n y^{(n)}+\ldots form (or with shifted base (ax+b)n(ax+b)^n)

cauchy-euler (8 question(s); 2013, 2014, 2015, 2016, 2018, 2020, 2022, 2025)

Recognition Cues

Solution Template

  1. If the equation has (ax+b)(ax+b) instead of xx: substitute u=ax+bu=ax+b, noting dy/dx=a dy/dudy/dx=a\,dy/du, d2y/dx2=a2 d2y/du2d^2y/dx^2=a^2\,d^2y/du^2.
  2. Substitute u=etu=e^t (or x=etx=e^t for the standard case). Write uDuk=D(D−1)⋯(D−k+1)uD^k_u=D(D-1)\cdots(D-k+1) where D=d/dtD=d/dt.
  3. Expand the operator polynomial; find CF by solving the auxiliary equation.
  4. Find PI using operator methods. Check for resonance (RHS = CF mode): multiply by tt.
  5. Back-substitute: t=ln⁡xt=\ln x (or t=ln⁡(ax+b)t=\ln(ax+b)); et=xe^t=x (or et=ax+be^t=ax+b).

Worked Example(s)

2014 Paper 1, 2014-P1-Q6b (20 marks)

Solve x3y′′′+3x2y′′+xy′+8y=65cos⁡(log⁡x)x^3y'''+3x^2y''+xy'+8y=65\cos(\log x).

Substitute. x=etx=e^t: x3y′′′=D(D−1)(D−2)yx^3y'''=D(D-1)(D-2)y; 3x2y′′=3D(D−1)y3x^2y''=3D(D-1)y; xy′=Dyxy'=Dy. Operator sum: D3−3D2+2D+3D2−3D+D+8=D3+8.D^3-3D^2+2D+3D^2-3D+D+8=D^3+8.

CF. D3+8=0D^3+8=0: roots D=−2,  1±i3D=-2,\;1\pm i\sqrt3. yc=c1e−2t+et(c2cos⁡3 t+c3sin⁡3 t).y_c=c_1e^{-2t}+e^t(c_2\cos\sqrt3\,t+c_3\sin\sqrt3\,t).

PI. 65cos⁡tD3+8\frac{65\cos t}{D^3+8}. Replace D2→−1D^2\to-1, so D3→−DD^3\to-D: D3+8→8−DD^3+8\to8-D. yp=65(8cos⁡t+Dcos⁡t)(8−D)(8+D)=65(8cos⁡t−sin⁡t)64+1=8cos⁡t−sin⁡t.y_p=\frac{65(8\cos t+D\cos t)}{(8-D)(8+D)}=\frac{65(8\cos t-\sin t)}{64+1}=8\cos t-\sin t.

General solution (back-substitute t=log⁡xt=\log x):   y=c1x2+x(c2cos⁡3log⁡x+c3sin⁡3log⁡x)+8cos⁡(log⁡x)−sin⁡(log⁡x).  \boxed{\;y=\frac{c_1}{x^2}+x\big(c_2\cos\sqrt3\log x+c_3\sin\sqrt3\log x\big)+8\cos(\log x)-\sin(\log x).\;}


2013 Paper 1, 2013-P1-Q6c (15 marks)

Solve x2y′′+xy′+y=ln⁡xsin⁡(ln⁡x)x^2y''+xy'+y=\ln x\sin(\ln x).

Substitute. D2+1=0D^2+1=0: CF yc=C1cos⁡t+C2sin⁡ty_c=C_1\cos t+C_2\sin t (resonant!). RHS =tsin⁡t=Im⁡(teit)=t\sin t=\operatorname{Im}(te^{it}).

PI via complex method. Substitute y=eituy=e^{it}u: u′′+2iu′=tu''+2iu'=t. Let v=u′v=u': IF e2ite^{2it} gives v=−it/2+1/4v=-it/2+1/4. yp=Im⁡ ⁣[eit ⁣(t4−it24)]=tsin⁡t−t2cos⁡t4.y_p=\operatorname{Im}\!\left[e^{it}\!\left(\tfrac t4-\tfrac{it^2}4\right)\right]=\frac{t\sin t-t^2\cos t}{4}.

Back-substitute:   y=C1cos⁡(ln⁡x)+C2sin⁡(ln⁡x)+ln⁡xsin⁡(ln⁡x)−(ln⁡x)2cos⁡(ln⁡x)4.  \boxed{\;y=C_1\cos(\ln x)+C_2\sin(\ln x)+\frac{\ln x\sin(\ln x)-(\ln x)^2\cos(\ln x)}{4}.\;}


2025 Paper 1, 2025-P1-Q7c-ii (10 marks)

Solve x3y′′′+3x2y′′+xy′+y=xlog⁡xx^3y'''+3x^2y''+xy'+y=x\log x.

Operator. D(D−1)(D−2)+3D(D−1)+D+1=D3+1=(D+1)(D2−D+1)D(D-1)(D-2)+3D(D-1)+D+1=D^3+1=(D+1)(D^2-D+1).

CF. Roots D=−1,1±i32D=-1,\frac{1\pm i\sqrt3}{2}: yc=C1x+x ⁣[C2cos⁡ ⁣(32ln⁡x)+C3sin⁡ ⁣(32ln⁡x)].y_c=\frac{C_1}{x}+\sqrt{x}\!\left[C_2\cos\!\left(\tfrac{\sqrt3}{2}\ln x\right)+C_3\sin\!\left(\tfrac{\sqrt3}{2}\ln x\right)\right].

PI. RHS =tet=te^t. Shift: 1D3+1et⋅t=et1(D+1)3+1t\frac{1}{D^3+1}e^t\cdot t=e^t\frac{1}{(D+1)^3+1}t. Expand (D+1)3+1=D3+3D2+3D+2(D+1)^3+1=D^3+3D^2+3D+2; keep first order: ≈2+3D\approx 2+3D: yp=et⋅12 ⁣(1−32D+…)t=et⋅12 ⁣(t−32)=xlog⁡x2−3x4.y_p=e^t\cdot\tfrac12\!\left(1-\tfrac32 D+\ldots\right)t=e^t\cdot\tfrac12\!\left(t-\tfrac32\right)=\frac{x\log x}{2}-\frac{3x}{4}.

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


2015 Paper 1, 2015-P1-Q8d (13 marks) — Fourth-order with double resonance

Solve x4y(4)+6x3y′′′+4x2y′′−2xy′−4y=x2+2cos⁡(log⁡x)x^4y^{(4)}+6x^3y'''+4x^2y''-2xy'-4y=x^2+2\cos(\log x).

Operator. D4−3D2−4=(D2−4)(D2+1)=(D−2)(D+2)(D2+1)D^4-3D^2-4=(D^2-4)(D^2+1)=(D-2)(D+2)(D^2+1). Roots: ±2,±i\pm2,\pm i.

Both e2te^{2t} and cos⁡t\cos t resonate with the CF.

PI for e2te^{2t} (resonance, f′(2)=20f'(2)=20): yp1=te2t/20y_{p1}=te^{2t}/20.

PI for 2cos⁡t2\cos t (resonance with D2+1D^2+1, solve z′′+z=2cos⁡t⇒z=tsin⁡tz''+z=2\cos t\Rightarrow z=t\sin t, then (D2−4)yp2=tsin⁡t(D^2-4)y_{p2}=t\sin t): yp2=−tsin⁡t/5y_{p2}=-t\sin t/5.

  y=c1x2+c2x2+c3cos⁡(ln⁡x)+c4sin⁡(ln⁡x)+x2ln⁡x20−ln⁡xsin⁡(ln⁡x)5.  \boxed{\;y=c_1x^2+\frac{c_2}{x^2}+c_3\cos(\ln x)+c_4\sin(\ln x)+\frac{x^2\ln x}{20}-\frac{\ln x\sin(\ln x)}{5}.\;}


2016 Paper 1, 2016-P1-Q6c (15 marks) — Order reduction (yy absent)

Solve x2y′′′−4xy′′+6y′=4x^2y'''-4xy''+6y'=4.

Reduce. No yy term — let p=y′p=y'. Then x2p′′−4xp′+6p=4x^2p''-4xp'+6p=4 (Cauchy-Euler in pp).

Indicial equation (from x=etx=e^t): D2−5D+6=(D−2)(D−3)=0D^2-5D+6=(D-2)(D-3)=0; roots m=2,3m=2,3.

CF: pc=Ax2+Bx3p_c=Ax^2+Bx^3. PI: p=2/3p=2/3 (constant trial). So p=Ax2+Bx3+2/3p=Ax^2+Bx^3+2/3.

Integrate: y=c1+c2x3+c3x4+23xy=c_1+c_2x^3+c_3x^4+\frac23x.

  y=c1+c2x3+c3x4+2x3.  \boxed{\;y=c_1+c_2x^3+c_3x^4+\frac{2x}{3}.\;}


2018 Paper 1, 2018-P1-Q7a (13 marks) — Shifted base (1+x)(1+x)

Solve (1+x)2y′′+(1+x)y′+y=4cos⁡(log⁡(1+x))(1+x)^2y''+(1+x)y'+y=4\cos(\log(1+x)).

Substitute t=ln⁡(1+x)t=\ln(1+x), D=d/dtD=d/dt. Operator: D(D−1)+D+1=D2+1D(D-1)+D+1=D^2+1. CF =C1cos⁡t+C2sin⁡t=C_1\cos t+C_2\sin t.

RHS =4cos⁡t=4\cos t — resonant. PI: 1D2+1cos⁡t=t2sin⁡t\frac{1}{D^2+1}\cos t=\frac{t}{2}\sin t, so yp=2tsin⁡ty_p=2t\sin t.

  y=C1cos⁡ ⁣(ln⁡(1+x))+C2sin⁡ ⁣(ln⁡(1+x))+2ln⁡(1+x)sin⁡ ⁣(ln⁡(1+x)).  \boxed{\;y=C_1\cos\!\big(\ln(1+x)\big)+C_2\sin\!\big(\ln(1+x)\big)+2\ln(1+x)\sin\!\big(\ln(1+x)\big).\;}


2020 Paper 1, 2020-P1-Q8a-i (10 marks) — Shifted base (x+1)(x+1)

Solve (x+1)2y′′−4(x+1)y′+6y=6(x+1)2+sin⁡log⁡(x+1)(x+1)^2y''-4(x+1)y'+6y=6(x+1)^2+\sin\log(x+1).

t=ln⁡(x+1)t=\ln(x+1); operator D2−5D+6=(D−2)(D−3)D^2-5D+6=(D-2)(D-3). CF =C1e2t+C2e3t=C_1e^{2t}+C_2e^{3t}.

PI for 6e2t6e^{2t} (resonance, f′(2)=−1f'(2)=-1): yp1=−6te2ty_{p1}=-6te^{2t}.

PI for sin⁡t\sin t: D2→−1D^2\to-1 gives f(D)→5−5Df(D)\to5-5D; yp2=sin⁡t5(1−D)=1+D10sin⁡t=sin⁡t+cos⁡t10y_{p2}=\frac{\sin t}{5(1-D)}=\frac{1+D}{10}\sin t=\frac{\sin t+\cos t}{10}.

  y=C1(x+1)2+C2(x+1)3−6(x+1)2ln⁡(x+1)+110[sin⁡ln⁡(x+1)+cos⁡ln⁡(x+1)].  \boxed{\;y=C_1(x+1)^2+C_2(x+1)^3-6(x+1)^2\ln(x+1)+\tfrac{1}{10}\big[\sin\ln(x+1)+\cos\ln(x+1)\big].\;}


2022 Paper 1, 2022-P1-Q8a-ii (10 marks) — Shifted base (3x+2)(3x+2)

Solve (3x+2)2y′′+5(3x+2)y′−3y=x2+x+1(3x+2)^2y''+5(3x+2)y'-3y=x^2+x+1.

Substitute u=3x+2u=3x+2: dy/dx=3 dy/dudy/dx=3\,dy/du, d2y/dx2=9 d2y/du2d^2y/dx^2=9\,d^2y/du^2. Then u=etu=e^t; operator 3D2+2D−1=(3D−1)(D+1)3D^2+2D-1=(3D-1)(D+1). Roots D=1/3,−1D=1/3,-1.

CF: C1u1/3+C2/u=C1(3x+2)1/3+C2/(3x+2)C_1u^{1/3}+C_2/u=C_1(3x+2)^{1/3}+C_2/(3x+2).

Express RHS in uu: x=(u−2)/3x=(u-2)/3, so x2+x+1=(u2−u+7)/9x^2+x+1=(u^2-u+7)/9; the tt-form is (e2t−et+7)/27(e^{2t}-e^t+7)/27. PI for each exponential: e2t/(27⋅15)e^{2t}/(27\cdot15), −et/(27⋅4)-e^t/(27\cdot4), 7/(27⋅(−1))7/(27\cdot(-1)).

  y=C1(3x+2)1/3+C23x+2+(3x+2)2405−3x+2108−727.  \boxed{\;y=C_1(3x+2)^{1/3}+\frac{C_2}{3x+2}+\frac{(3x+2)^2}{405}-\frac{3x+2}{108}-\frac{7}{27}.\;}

Common Traps


Marks-Aware Writing

10-mark questions (2020, 2022, 2025): State the substitution; write the constant-coefficient ODE; state roots; write CF; compute PI (show the operator calculation); state general solution with back-substitution. Four to five steps; don’t expand operator products in full — just state the result.

13-mark questions (2015-Q8d, 2018): Full operator expansion showing how the coefficients combine; roots; CF; PI with resonance handling shown (state f(m)=0f(m)=0 and use f′f' formula); general solution in xx.

15-mark questions (2013, 2014, 2016, 2025): Same as 13-mark plus one of: complex-method PI (2013), third-order CF with cube roots (2014), order-reduction via p=y′p=y' (2016), shift operator for PI (2025).

20-mark questions (2014): Full operator expansion for a third-order equation, all three cube roots computed, two-step PI (operator method including the ii computation), full back-substitution.

Practice Set

YearPaper/QMarksSub-typeOne-line hint
2025P1-Q7c-ii103rd orderOperator D3+1=(D+1)(D2−D+1)D^3+1=(D+1)(D^2-D+1); roots −1,12±i32-1,\frac12\pm i\frac{\sqrt3}2; shift PI for tette^t
2022P1-Q8a-ii10shifted (3x+2)(3x+2)u=3x+2u=3x+2; multiply dy/dxdy/dx by 33 and d2y/dx2d^2y/dx^2 by 99; operator 3D2+2D−13D^2+2D-1
2020P1-Q8a-i10shifted (x+1)(x+1)t=ln⁡(x+1)t=\ln(x+1); D2−5D+6=(D−2)(D−3)D^2-5D+6=(D-2)(D-3); e2te^{2t} resonates; PI =−6te2t=-6te^{2t}
2018P1-Q7a13shifted (1+x)(1+x)t=ln⁡(1+x)t=\ln(1+x); D2+1D^2+1; 4cos⁡t4\cos t resonates; PI =2tsin⁡t=2t\sin t
2016P1-Q6c15order reductionNo yy term; p=y′p=y'; 2nd-order CE; roots 2,3; integrate to get x3,x4x^3,x^4; c1c_1 from integration
2015P1-Q8d134th order, double resonanceFactor D4−3D2−4=(D2−4)(D2+1)D^4-3D^2-4=(D^2-4)(D^2+1); both e2te^{2t} and cos⁡t\cos t resonate
2014P1-Q6b203rd orderD3+8=0D^3+8=0: roots −2,1±i3-2,1\pm i\sqrt3; operator on cos⁡t\cos t: D3→−DD^3\to-D; PI =8cos⁡t−sin⁡t=8\cos t-\sin t
2013P1-Q6c15resonant tsin⁡tt\sin tD2+1=0D^2+1=0; tsin⁡tt\sin t: complex method y=eituy=e^{it}u; u′′+2iu′=tu''+2iu'=t; PI =(tsin⁡t−t2cos⁡t)/4=(t\sin t-t^2\cos t)/4

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.