The math optional, made finite. Daily Practice

Euler-Cauchy equation

At a Glance

Why This Chapter Matters

The Cauchy-Euler (equidimensional) equation appears in 8 of the last 13 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=lnxt=\ln x, D=d/dtD=d/dt: xdydx=Dy,x2d2ydx2=D(D1)y,x3d3ydx3=D(D1)(D2)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(D1)(Dn+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(D1)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 xyxy', substitute p=yp=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 cosbt\cos bt or sinbt\sin bt: replace D2b2D^2\to-b^2 (if no cancellation). For resonance: yp=teat/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=ady/dudy/dx=a\,dy/du, d2y/dx2=a2d2y/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(D1)(Dk+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=lnxt=\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(logx)x^3y'''+3x^2y''+xy'+8y=65\cos(\log x).

Substitute. x=etx=e^t: x3y=D(D1)(D2)yx^3y'''=D(D-1)(D-2)y; 3x2y=3D(D1)y3x^2y''=3D(D-1)y; xy=Dyxy'=Dy. Operator sum: D33D2+2D+3D23D+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=c1e2t+et(c2cos3t+c3sin3t).y_c=c_1e^{-2t}+e^t(c_2\cos\sqrt3\,t+c_3\sin\sqrt3\,t).

PI. 65costD3+8\frac{65\cos t}{D^3+8}. Replace D21D^2\to-1, so D3DD^3\to-D: D3+88DD^3+8\to8-D. yp=65(8cost+Dcost)(8D)(8+D)=65(8costsint)64+1=8costsint.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=logxt=\log x):   y=c1x2+x(c2cos3logx+c3sin3logx)+8cos(logx)sin(logx).  \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=lnxsin(lnx)x^2y''+xy'+y=\ln x\sin(\ln x).

Substitute. D2+1=0D^2+1=0: CF yc=C1cost+C2sinty_c=C_1\cos t+C_2\sin t (resonant!). RHS =tsint=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=uv=u': IF e2ite^{2it} gives v=it/2+1/4v=-it/2+1/4. yp=Im ⁣[eit ⁣(t4it24)]=tsintt2cost4.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(lnx)+C2sin(lnx)+lnxsin(lnx)(lnx)2cos(lnx)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=xlogxx^3y'''+3x^2y''+xy'+y=x\log x.

Operator. D(D1)(D2)+3D(D1)+D+1=D3+1=(D+1)(D2D+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 ⁣(32lnx)+C3sin ⁣(32lnx)].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+1ett=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=et12 ⁣(132D+)t=et12 ⁣(t32)=xlogx23x4.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 ⁣(32lnx)+C3sin ⁣(32lnx)]+xlnx23x4.  \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+4x2y2xy4y=x2+2cos(logx)x^4y^{(4)}+6x^3y'''+4x^2y''-2xy'-4y=x^2+2\cos(\log x).

Operator. D43D24=(D24)(D2+1)=(D2)(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 cost\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 2cost2\cos t (resonance with D2+1D^2+1, solve z+z=2costz=tsintz''+z=2\cos t\Rightarrow z=t\sin t, then (D24)yp2=tsint(D^2-4)y_{p2}=t\sin t): yp2=tsint/5y_{p2}=-t\sin t/5.

  y=c1x2+c2x2+c3cos(lnx)+c4sin(lnx)+x2lnx20lnxsin(lnx)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 x2y4xy+6y=4x^2y'''-4xy''+6y'=4.

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

Indicial equation (from x=etx=e^t): D25D+6=(D2)(D3)=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(D1)+D+1=D2+1D(D-1)+D+1=D^2+1. CF =C1cost+C2sint=C_1\cos t+C_2\sin t.

RHS =4cost=4\cos t — resonant. PI: 1D2+1cost=t2sint\frac{1}{D^2+1}\cos t=\frac{t}{2}\sin t, so yp=2tsinty_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)2y4(x+1)y+6y=6(x+1)2+sinlog(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 D25D+6=(D2)(D3)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 sint\sin t: D21D^2\to-1 gives f(D)55Df(D)\to5-5D; yp2=sint5(1D)=1+D10sint=sint+cost10y_{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)36(x+1)2ln(x+1)+110[sinln(x+1)+cosln(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)y3y=x2+x+1(3x+2)^2y''+5(3x+2)y'-3y=x^2+x+1.

Substitute u=3x+2u=3x+2: dy/dx=3dy/dudy/dx=3\,dy/du, d2y/dx2=9d2y/du2d^2y/dx^2=9\,d^2y/du^2. Then u=etu=e^t; operator 3D2+2D1=(3D1)(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=(u2)/3x=(u-2)/3, so x2+x+1=(u2u+7)/9x^2+x+1=(u^2-u+7)/9; the tt-form is (e2tet+7)/27(e^{2t}-e^t+7)/27. PI for each exponential: e2t/(2715)e^{2t}/(27\cdot15), et/(274)-e^t/(27\cdot4), 7/(27(1))7/(27\cdot(-1)).

  y=C1(3x+2)1/3+C23x+2+(3x+2)24053x+2108727.  \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 ff' 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=yp=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)(D2D+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+2D13D^2+2D-1
2020P1-Q8a-i10shifted (x+1)(x+1)t=ln(x+1)t=\ln(x+1); D25D+6=(D2)(D3)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; 4cost4\cos t resonates; PI =2tsint=2t\sin t
2016P1-Q6c15order reductionNo yy term; p=yp=y'; 2nd-order CE; roots 2,3; integrate to get x3,x4x^3,x^4; c1c_1 from integration
2015P1-Q8d134th order, double resonanceFactor D43D24=(D24)(D2+1)D^4-3D^2-4=(D^2-4)(D^2+1); both e2te^{2t} and cost\cos t resonate
2014P1-Q6b203rd orderD3+8=0D^3+8=0: roots 2,1±i3-2,1\pm i\sqrt3; operator on cost\cos t: D3DD^3\to-D; PI =8costsint=8\cos t-\sin t
2013P1-Q6c15resonant tsintt\sin tD2+1=0D^2+1=0; tsintt\sin t: complex method y=eituy=e^{it}u; u+2iu=tu''+2iu'=t; PI =(tsintt2cost)/4=(t\sin t-t^2\cos t)/4

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.