Cauchy-Euler Equation
Problem
Solve x^2 y'' - 2 x y' + 2 y = 0. Substitute y = x^r to reduce to an algebraic equation in r and show the resulting power-law solutions.
Explanation
What is a Cauchy-Euler equation?
A Cauchy-Euler equation (also equidimensional or just Euler equation) is a linear ODE where each term has matching "dimensions" of and derivative, like
The second-order case:
It is not constant-coefficient, but it has a similar clean structure because of the scaling symmetry: rescaling leaves the equation form-invariant. This symmetry is why the characteristic ansatz works so cleanly here, and why " for constant-coefficient ODEs" generalises to " for Cauchy-Euler ODEs".
Either ansatz is a special case of the observation: the solution space of a linear ODE with a continuous symmetry is spanned by functions that diagonalize that symmetry.
The given equation
Coefficients , , . Work on .
Step-by-step solution
Step 1 — Ansatz .
Compute derivatives:
Plug into the ODE:
Step 2 — Characteristic (indicial) equation.
Since on :
Step 3 — General solution.
Two distinct real roots → two power-law solutions:
Verification
, , .
Sum: . ✓
The three cases of the indicial equation
Exactly like constant-coefficient ODEs, three flavors depending on the discriminant (after rearranging the indicial equation ):
- Two real distinct roots : . (This problem.)
- Repeated real root : . The replaces the factor we saw in constant-coefficient repeated-root cases (#185).
- Complex conjugate roots : . Oscillations in the logarithm of — the spacing between zeros gets tighter as or .
Mnemonic. Replace and . The substitution (so ) literally transforms a Cauchy-Euler ODE into a constant-coefficient one — see next section.
The substitution (optional derivation)
Set , so and , i.e. .
The Cauchy-Euler ODE transforms to a constant-coefficient ODE in . Solve it by the usual characteristic equation, then substitute back.
For our problem: , characteristic roots , solutions → . Matches step 3.
For
The ansatz is problematic for non-integer when . Use instead, or consider the two half-lines separately. Solutions on are in this example.
Initial value problem
, . From , :
Where Cauchy-Euler shows up
- Spherical or cylindrical coordinates with separation of variables. The radial part of Laplace's equation is often Cauchy-Euler.
- Scaling-invariant systems in physics and economics — anytime the law of the system is invariant under , expect power-law solutions.
- Boundary layer problems in fluid dynamics (inner scaling) often reduce to Cauchy-Euler form.
Common mistakes
- Using ansatz for a Cauchy-Euler ODE. The right ansatz is — it's the scaling eigenfunction, not the translation eigenfunction.
- Forgetting the in when expanding . It's the second derivative, not the first squared.
- Missing for repeated roots. Analogous to the factor for repeated roots in constant-coefficient ODEs, but with because of the log-substitution bridge.
- Applying at . The Cauchy-Euler equation has a singularity at the origin; solutions often behave badly there. Stick to or .
Try it in the visualization
Slide the coefficients and watch the two indicial roots move. See the solution shape morph between power laws, logarithms (repeated root), and log-spaced oscillations (complex roots) — three qualitatively different regimes, all glued by the / machinery.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.