Euler-Cauchy equations

Most linear ODEs with variable coefficients have no closed-form solution at all — you fall back on series methods or numerical integration. The Euler-Cauchy equation is the striking exception the MA10001 syllabus singles out: a variable-coefficient equation, x2y′′+bxy′+cy=f(x)x^2y'' + bxy' + cy = f(x), that is nonetheless solvable exactly, by a single clean substitution. The trick is x=etx = e^t. It looks like an arbitrary change of variable, but it is doing something precise: it converts multiplication by xx into differentiation with respect to tt, so a power-of-xx coefficient pattern collapses into a constant-coefficient ODE — the same auxiliary-equation machinery you already know from the constant-coefficient unit. This article expands the Pass-1 treatment with a formal derivation of the operator identity x2y′′=D(D−1)yx^2y''=D(D-1)y, a fuller worked example, competitive-exam shortcuts, and a compact exam card. Every number and result below matches the Pass-1 article exactly; nothing new is claimed.

The core insight

The substitution x=etx = e^t turns the equidimensional equation x2y′′+bxy′+cy=f(x)x^2y'' + bxy' + cy = f(x) into a constant-coefficient ODE in tt, because x dydx=Dyx\,\dfrac{dy}{dx} = Dy and x2d2ydx2=D(D−1)yx^2\dfrac{d^2y}{dx^2} = D(D-1)y with D≡d/dtD \equiv d/dt.

The core idea

A second-order Euler-Cauchy (equidimensional) equation looks like

x2d2ydx2+bxdydx+cy=f(x),x>0,x^2\frac{d^2y}{dx^2} + bx\frac{dy}{dx} + cy = f(x), \qquad x > 0,

where: b,cb, c are constants and f(x)f(x) is the (possibly zero) forcing term. The defining feature is that the power of xx multiplying each derivative exactly matches its order: x2x^2 pairs with y′′y'', x1x^1 with y′y', x0x^0 with yy. That matching is what makes the equation "equidimensional" — scale xx by any constant and the equation keeps its shape.

Why x=etx = e^t works. Set t=ln⁡xt = \ln x and write D≡d/dtD \equiv d/dt. By the chain rule, dydx=dydt⋅dtdx=1xDy\dfrac{dy}{dx} = \dfrac{dy}{dt}\cdot\dfrac{dt}{dx} = \dfrac{1}{x}Dy, so

xdydx=Dy.x\frac{dy}{dx} = Dy.

Differentiating again and simplifying (done in full below) gives the second-order identity

x2d2ydx2=D(D−1)y=D2y−Dy.x^2\frac{d^2y}{dx^2} = D(D-1)y = D^2y - Dy.

where: D(D−1)D(D-1) means "apply DD, then apply (D−1)(D-1)" — it is a product of operators, not of numbers, but algebraically it expands the same way. Substituting both identities into the Euler-Cauchy equation removes every explicit xx, leaving a constant-coefficient linear ODE in tt:

D2y+(b−1)Dy+cy=f(et).D^2y + (b-1)Dy + cy = f(e^t).

That is solved with the standard toolkit: form the auxiliary equation in mm (treat D→mD \to m), find the complementary function, add a particular integral if f≠0f \neq 0, then substitute back t=ln⁡xt = \ln x. Because emt=emln⁡x=xme^{mt} = e^{m\ln x} = x^m, the root types translate directly: real distinct roots m1,m2m_1, m_2 give xm1,xm2x^{m_1}, x^{m_2}; a repeated root mm gives xmx^m and xmln⁡xx^m\ln x; complex roots α±iβ\alpha \pm i\beta give xαcos⁡(βln⁡x)x^\alpha\cos(\beta\ln x) and xαsin⁡(βln⁡x)x^\alpha\sin(\beta\ln x). Third- and higher-order Euler-Cauchy equations extend the same pattern, with x3y′′′→D(D−1)(D−2)yx^3y''' \to D(D-1)(D-2)y and so on. There is a second, equivalent route that skips tt altogether: try y=xmy = x^m directly in the homogeneous equation x2y′′+bxy′+cy=0x^2y'' + bxy' + cy = 0. Substituting gives xm[m(m−1)+bm+c]=0x^m[m(m-1) + bm + c] = 0, so m(m−1)+bm+c=0m(m-1) + bm + c = 0 — identical to the auxiliary equation obtained via D(D−1)+bD+cD(D-1) + bD + c. Either derivation is acceptable on this course, but the x=etx = e^t substitution is preferred here because it also carries the nonhomogeneous case cleanly into the constant-coefficient particular-integral machinery.

Figure
Diagram of the Euler-Cauchy substitution mapping x squared y double prime plus b x y prime plus c y equals f of x through x equals e to the t into a constant coefficient equation D squared y plus b minus 1 D y plus c y equals f of e to the t, then back through t equals ln x to the final solution in x
The x = e^t substitution turns variable coefficients into constant ones Euler-Cauchy in x x²y'' + bxy' + cy = f(x) variable coefficients x = e^t constant-coeff. in t D²y+(b-1)Dy+cy=f(e^t) solve with auxiliary eqn. t = ln x solution y(x) e^mt = x^m Real root m gives x^m · repeated root m gives x^m and x^m ln x Complex roots alpha ± i beta give x^alpha cos(beta ln x) and x^alpha sin(beta ln x)

Derivation of the operator identity

Derivation ADeriving x squared y double prime equals D of D minus one y

The goal is to prove, starting only from the substitution t=ln⁡xt = \ln x and the ordinary chain rule, that xdydx=Dyx\dfrac{dy}{dx} = Dy and x2d2ydx2=D(D−1)y=D2y−Dyx^2\dfrac{d^2y}{dx^2} = D(D-1)y = D^2y - Dy, so that every Euler-Cauchy equation converts exactly into a constant-coefficient equation in tt with no approximation anywhere in the argument.

Step 1. Set t=ln⁡xt = \ln x, so dtdx=1x\dfrac{dt}{dx} = \dfrac{1}{x}. By the chain rule, dydx=dydt⋅dtdx=1xdydt=1xDy\dfrac{dy}{dx} = \dfrac{dy}{dt}\cdot\dfrac{dt}{dx} = \dfrac{1}{x}\dfrac{dy}{dt} = \dfrac{1}{x}Dy. Multiplying both sides by xx gives the first-derivative identity immediately: xdydx=Dyx\dfrac{dy}{dx} = Dy.

Step 2. Differentiate dydx=1xDy\dfrac{dy}{dx} = \dfrac{1}{x}Dy once more with respect to xx, treating DyDy (a function of tt, hence of xx) with the product rule. d2ydx2=ddx(1xDy)=−1x2Dy+1xd(Dy)dx\dfrac{d^2y}{dx^2} = \dfrac{d}{dx}\left(\dfrac{1}{x}Dy\right) = -\dfrac{1}{x^2}Dy + \dfrac{1}{x}\dfrac{d(Dy)}{dx}.

Step 3. Expand d(Dy)dx\dfrac{d(Dy)}{dx} by the chain rule again, exactly as in Step 1 but applied to the function DyDy instead of yy: d(Dy)dx=1xd(Dy)dt=1xD(Dy)=1xD2y\dfrac{d(Dy)}{dx} = \dfrac{1}{x}\dfrac{d(Dy)}{dt} = \dfrac{1}{x}D(Dy) = \dfrac{1}{x}D^2y.

Step 4. Substitute back into Step 2: d2ydx2=−1x2Dy+1x⋅1xD2y=1x2(D2y−Dy)\dfrac{d^2y}{dx^2} = -\dfrac{1}{x^2}Dy + \dfrac{1}{x}\cdot\dfrac{1}{x}D^2y = \dfrac{1}{x^2}\big(D^2y - Dy\big). Multiplying both sides by x2x^2 clears the fraction and gives x2d2ydx2=D2y−Dy=D(D−1)yx^2\dfrac{d^2y}{dx^2} = D^2y - Dy = D(D-1)y, exactly the identity used to convert the Euler-Cauchy equation. Every x2y′′x^2y'' term in the original equation can now be replaced by D(D−1)yD(D-1)y, and every xy′xy' term by DyDy, turning the whole left side into a polynomial in DD with constant coefficients.

Worked example

Solve the homogeneous Euler-Cauchy equation x2y′′−2xy′−4y=0x^2y'' - 2xy' - 4y = 0, then verify the solution directly.

Step 1. Substitute x=etx = e^t. Using x2y′′=D(D−1)yx^2y'' = D(D-1)y and xy′=Dyxy' = Dy, the equation becomes D(D−1)y−2Dy−4y=0D(D-1)y - 2Dy - 4y = 0, which expands to D2y−Dy−2Dy−4y=0D^2y - Dy - 2Dy - 4y = 0, i.e. D2y−3Dy−4y=0D^2y - 3Dy - 4y = 0 — a constant-coefficient equation in tt.

Step 2. Form the auxiliary equation in mm: m2−3m−4=0m^2 - 3m - 4 = 0. Factoring, (m−4)(m+1)=0(m-4)(m+1) = 0, so m=4m = 4 or m=−1m = -1 — two real, distinct roots.

Step 3. Write the general solution in tt using the two real roots: y=C1e4t+C2e−ty = C_1e^{4t} + C_2e^{-t}, where C1,C2C_1, C_2 are arbitrary constants fixed by initial or boundary conditions.

Step 4. Substitute back t=ln⁡xt = \ln x, using emt=xme^{mt} = x^m: e4t=x4e^{4t} = x^4 and e−t=x−1e^{-t} = x^{-1}, so y=C1x4+C2x−1y = C_1x^4 + C_2x^{-1}.

Step 5 — verify by direct substitution. For y=x4y = x^4: y′=4x3y' = 4x^3, y′′=12x2y'' = 12x^2. Then x2(12x2)−2x(4x3)−4x4=12x4−8x4−4x4=0x^2(12x^2) - 2x(4x^3) - 4x^4 = 12x^4 - 8x^4 - 4x^4 = 0, confirming y=x4y = x^4 solves the equation; a matching check on y=x−1y = x^{-1} confirms the second term. The general solution is y=C1x4+C2x−1y = C_1x^4 + C_2x^{-1}.

Competitive stretch

For the nonhomogeneous case x2y′′+xy′−y=x2x^2y'' + xy' - y = x^2 (x>0x>0), the same machine runs with an extra particular-integral step: x=etx=e^t turns the left side into D2y−yD^2y - y and the right side f(x)=x2f(x)=x^2 into f(et)=(et)2=e2tf(e^t)=(e^t)^2=e^{2t}, giving D2y−y=e2tD^2y-y=e^{2t}. The auxiliary equation m2−1=0m^2-1=0 gives m=±1m=\pm1, so yc=C1et+C2e−ty_c=C_1e^t+C_2e^{-t}. Since e2te^{2t} does not clash with the roots ±1\pm1, try yp=Ae2ty_p=Ae^{2t}: substituting, 4Ae2t−Ae2t=3Ae2t=e2t4Ae^{2t}-Ae^{2t}=3Ae^{2t}=e^{2t}, so A=13A=\tfrac13. The full solution in tt is y=C1et+C2e−t+13e2ty=C_1e^t+C_2e^{-t}+\tfrac13e^{2t}, and substituting back t=ln⁡xt=\ln x (so et=xe^t=x, e−t=1/xe^{-t}=1/x, e2t=x2e^{2t}=x^2) gives y=C1x+C2x+x23y = C_1x + \dfrac{C_2}{x} + \dfrac{x^2}{3}. A JEE-style question will often just ask for the particular integral, so recognizing f(et)=e2tf(e^t)=e^{2t} and checking it against the roots of the auxiliary equation is the fast path — no need to re-derive the complementary function from scratch if it is already given.

Common traps

  • Using x2y′′→D2yx^2y'' \to D^2y instead of the correct D(D−1)y=D2y−DyD(D-1)y = D^2y - Dy. The missing −Dy-Dy term, traced in the derivation above, is the single most common Euler-Cauchy slip.
  • Forgetting to convert f(x)f(x) into a function of tt. f(x)=x3f(x)=x^3 becomes f(et)=e3tf(e^t)=e^{3t}; leaving it as x3x^3 on the right side of a DD-operator equation is inconsistent and makes undetermined coefficients unusable.
  • Forgetting to substitute back t=ln⁡xt = \ln x at the end, leaving the final answer as a function of tt instead of xx.
  • Mishandling repeated or complex roots after transforming back. A repeated root mm gives xmx^m and xmln⁡xx^m\ln x — not xmx^m and x⋅xmx\cdot x^m; complex roots α±iβ\alpha\pm i\beta give xαcos⁡(βln⁡x)x^\alpha\cos(\beta\ln x) and xαsin⁡(βln⁡x)x^\alpha\sin(\beta\ln x), with ln⁡x\ln x inside the trig functions.
  • Applying the method to a non-equidimensional equation. It only works when the power of xx exactly matches the derivative order at every term; x3y′′+xy′+y=0x^3y''+xy'+y=0 is not Euler-Cauchy and needs a different (out-of-syllabus) approach.

Ask the tutor: unsure how to identify whether a given ODE is genuinely Euler-Cauchy, or want a step-by-step check of your D(D−1)D(D-1) substitution on a new problem — ask the AI tutor to walk through it with you.

Why does x = e^t work instead of some other substitution?

Because it exactly cancels the pattern of the equation. Each Euler-Cauchy term xky(k)x^ky^{(k)} has its power of xx matched to its derivative order, and under x=etx=e^t every derivative with respect to xx picks up a compensating 1/x1/x factor that combines with the xkx^k coefficient to leave a pure operator in D=d/dtD=d/dt with no xx or tt left explicitly. No other simple substitution produces this exact cancellation for all orders at once, which is why x=etx=e^t is the standard choice rather than, say, x=t2x=t^2 or x=sin⁡tx=\sin t.

Do I have to go through t, or can I just guess y = x^m directly?

Both routes are valid and give the same auxiliary equation. Trying y=xmy=x^m in the homogeneous equation directly gives xm[m(m−1)+bm+c]=0x^m[m(m-1)+bm+c]=0, so m(m−1)+bm+c=0m(m-1)+bm+c=0 — identical to what D(D−1)+bD+cD(D-1)+bD+c produces via x=etx=e^t. The direct guess is faster for homogeneous equations, but the x=etx=e^t route is preferred once the equation is nonhomogeneous, because it lets you reuse the full undetermined-coefficients or variation-of-parameters toolkit you already know for constant-coefficient equations, applied to f(et)f(e^t) on the right side.

What if the coefficient powers of x don't line up with the derivative orders?

Then the equation is not Euler-Cauchy and this substitution will not fully clear the xx-dependence. For example, x3y′′+xy′+y=0x^3y''+xy'+y=0 has x3x^3 multiplying y′′y'' instead of the required x2x^2, so x=etx=e^t leaves a residual xx term behind. Equations like this need a different method (often a series solution about x=0x=0), which lies outside this unit's scope — recognizing the mismatched powers before attempting the substitution is the key skill, not memorizing the alternative method.

Before this

Where this leads