The Cauchy-Euler equation is the one important family of variable-coefficient linear equations that can be solved in closed form. Its defining feature is that in each term the power of matches the order of differentiation. Two substitutions unlock it: , which converts it into a constant-coefficient equation, and , which turns it directly into a polynomial equation in .
Quick Reference
| Item | Statement |
|---|---|
| General form | , |
| Second-order form | ax^{2}y'' + bxy' + cy = 0, |
| Substitution 1 | , that is, ; gives constant coefficients |
| Substitution 2 | ; gives an algebraic equation in |
| Characteristic equation | , that is, |
| Distinct real roots | |
| Repeated real root | |
| Complex roots | |
| Root of multiplicity | |
| For | Replace by throughout |
Definition
An equation of the form
where are constants, is called the Cauchy-Euler equation, or Euler's equidimensional equation.
This is one of the few linear differential equations with variable coefficients that has a closed-form solution.
Where the name "equidimensional" comes from. In each term , the degree of the monomial matches the order of differentiation. So if are dimensionless, the physical dimension of is immaterial and every term has the dimensions of . Equivalently, the equation is unchanged under the rescaling , which is exactly the invariance that makes power functions the natural trial solutions.
For the rest of this section we take , which loses no generality since the substitution recovers the general case.
How to Solve the Cauchy-Euler Equation
- By making the substitution the Cauchy-Euler equation is transformed into a linear differential equation with constant coefficients, which we already know how to solve.
- Alternatively, try a solution of the form with to be determined. This substitution leads to an algebraic equation in . If is a -fold root of that equation, then the linearly independent solutions corresponding to it are
Note the parallel with constant coefficients: there, a repeated root produced extra factors of ; here it produces extra factors of . The substitution explains why, since in the -world is in the -world.
Method 1: Substituting
Consider the second-order equation
ax^{2}y'' + bxy' + cy = 0, \qquad (x > 0) . \tag{iv}
Introduce a new independent variable by , equivalently , so that and .
By the chain rule,
y' = \frac{dy}{dx} = \frac{dy}{dz}\frac{dz}{dx} = \frac{1}{x}\frac{dy}{dz}and, differentiating again with the product and chain rules,
\begin{aligned} y'' = \frac{d^{2}y}{dx^{2}} &= \frac{d}{dx}\left(\frac{dy}{dz}\frac{dz}{dx}\right) \\ &= \left(\frac{d}{dx}\frac{dy}{dz}\right)\frac{dz}{dx} + \frac{dy}{dz}\frac{d^{2}z}{dx^{2}} \\ &= \frac{d^{2}y}{dz^{2}}\left(\frac{dz}{dx}\right)^{2} + \frac{dy}{dz}\frac{d^{2}z}{dx^{2}} \\ &= \frac{1}{x^{2}}\frac{d^{2}y}{dz^{2}} - \frac{1}{x^{2}}\frac{dy}{dz} \end{aligned}Substituting these expressions into (iv), the factors of and cancel exactly against the coefficients, which is the whole point of the equidimensional structure:
a linear differential equation with constant coefficients. Its characteristic equation is
This may have two distinct real roots and , a double root , or complex roots .
The Three Cases
1. Two distinct real roots. Two linearly independent solutions are
2. Repeated real root. Two linearly independent solutions are
The extra factor from the constant-coefficient theory becomes on translating back.
3. Complex roots . Two linearly independent solutions are
Method 2: Substituting
We may instead assume the solution has the form and find directly. Substituting , y' = rx^{r-1}, y'' = r(r-1)x^{r-2} into (iv),
\begin{aligned} L\left[x^{r}\right] &= ax^{2}\cdot r(r-1)x^{r-2} + bx\cdot rx^{r-1} + cx^{r} \\ &= \left[ar(r-1) + br + c\right]x^{r} = 0 \end{aligned}Every term produced , again because the powers of match the orders of differentiation. Since for , we conclude that is a solution of (iv) whenever is a root of the characteristic equation
Write the characteristic equation as , not . The factor comes from differentiating twice, and forgetting it is the most common error with Cauchy-Euler equations. For third order the pattern continues: x^{3}y''' contributes .
The Three Cases Again
1. Two distinct real roots. If are the roots, then
are two linearly independent solutions of (iv).
2. Repeated real root. If , one solution is . To construct the second, differentiate both sides of with respect to :
\frac{\partial}{\partial r}L\left[x^{r}\right] = L\left[\frac{\partial}{\partial r}x^{r}\right] = L\left[x^{r}\ln x\right] = p'(r)x^{r} + p(r)x^{r}\ln x .Recall that ; in the variable is and is held fixed, so the derivative is .
For we have p(r_1) = p'(r_1) = 0, since is a double root, and therefore
L\left[x^{r_1}\ln x\right] = p'(r_1)x^{r_1} + p(r_1)x^{r_1}\ln x = 0 .This means is a solution. So the two linearly independent solutions are
3. Complex roots. If the roots of are the conjugate pair and , the general solution is
where and are constants. Because
\begin{aligned} x^{\alpha+i\beta} &= e^{\ln x^{\alpha+i\beta}} \\ &= e^{(\alpha+i\beta)\ln x} = e^{\alpha\ln x + i\beta\ln x} \qquad \left(\ln A^{B} = B\ln A\right) \\ &= e^{\alpha\ln x}\left[\cos(\beta\ln x) + i\sin(\beta\ln x)\right] \qquad \left(e^{i\theta} = \cos\theta + i\sin\theta\right) \\ &= x^{\alpha}\left[\cos(\beta\ln x) + i\sin(\beta\ln x)\right] \end{aligned}and similarly
the general solution of (iv) can be written as
where and .
In summary, the two linearly independent solutions are
What If ?
So far we have considered . When , is undefined. In that case start with the change of independent variable , so that . Then
\begin{aligned} \frac{dy}{dx} &= \frac{dy}{dt}\frac{dt}{dx} = -\frac{dy}{dt} \\ \frac{d^{2}y}{dx^{2}} &= \frac{d^{2}y}{dt^{2}}\left(\frac{dt}{dx}\right)^{2} + \frac{dy}{dt}\frac{d^{2}t}{dx^{2}} = \frac{d^{2}y}{dt^{2}} \end{aligned}since and . Substituting, and noting that while , the differential equation becomes
which is the same equation in the new variable. Its solution is already known, and replacing by expresses the answer in terms of .
Combining the results for and , the solution of
on any interval not containing the origin depends on the roots , of :
In short: put absolute value bars around every . The origin is a singular point of the equation, so solutions are never guaranteed to extend across it.
Worked Examples
Solve x^{2}y'' + 2xy' - 6y = 0 for .
Solution
Here , , . The characteristic equation is
with distinct real roots and . Therefore
Solve x^{2}y'' - 3xy' + 4y = 0 for .
Solution
The characteristic equation is
a double root at . Therefore
This confirms the answer found by reduction of order in Section 4.1, where the logarithm appeared through the integral .
Solve x^{2}y'' + xy' + 4y = 0 for .
Solution
The characteristic equation is
with roots , so and . Therefore
The solution oscillates in , so the oscillations stretch out as grows and crowd together as approaches the origin. This slowing-down behavior is characteristic of Cauchy-Euler equations with complex roots.
Solve the third-order equation x^{3}y''' + 2x^{2}y'' - xy' + y = 0 for .
Solution
Substituting , the derivatives contribute , , and respectively:
Expanding,
Factoring by grouping,
So is a double root and is simple, giving
Solve the initial value problem x^{2}y'' - 2xy' + 2y = 0, , y'(1) = 5.
Solution
The characteristic equation is , so
y = c_1x + c_2x^{2}, \qquad y' = c_1 + 2c_2x .Applying the conditions at ,
Subtracting gives , hence , and
The interval of validity is , since the initial point is and the origin is a singular point.
Exercises
Solve x^{2}y'' - 5xy' + 9y = 0 for .
Solution
a double root at , so
Solve x^{2}y'' + 3xy' + 5y = 0 for .
Solution
Therefore
Solve x^{2}y'' - xy' + y = x for . Combine the Cauchy-Euler method with variation of parameters.
Solution
Homogeneous part. , a double root at , so and .
Wronskian. With y_2' = \ln x + 1,
Standard form. Dividing by gives .
u_1' = \frac{-x\ln x\cdot\dfrac{1}{x}}{x} = -\frac{\ln x}{x} \quad \Longrightarrow \quad u_1 = -\frac{(\ln x)^{2}}{2}u_2' = \frac{x\cdot\dfrac{1}{x}}{x} = \frac{1}{x} \quad \Longrightarrow \quad u_2 = \ln xThe general solution is
The extra power of is the Cauchy-Euler analogue of the Modification Rule.
Solve x^{2}y'' + 5xy' + 4y = 0 on .
Solution
a double root at . Since , write the answer with absolute values:
using for even powers.
Frequently Asked Questions
How do I recognize a Cauchy-Euler equation?
Each term pairs with : the power of equals the order of the derivative. So x^{2}y'', xy', and all fit, while x^{3}y'' or x^{2}y' do not. The powers must match term by term.
Why does work?
Because the equation is invariant under rescaling , and power functions are the functions that transform simply under rescaling. Concretely, is always a constant times , so every term produces and the equation collapses to a polynomial condition on .
Why is the characteristic equation rather than ?
Because , so the second-derivative term contributes , not . Substituting the trial solution rather than writing down a memorized formula avoids this error entirely.
Why does a repeated root produce instead of ?
The substitution turns the equation into a constant-coefficient one, where a repeated root produces the extra factor . Translating back, is . Equivalently, differentiating with respect to produces , since .
What happens at ?
It is a singular point: dividing by to reach standard form produces coefficients that blow up there. Solutions such as or misbehave at the origin, and no solution is guaranteed to extend across it. Always solve on an interval that excludes .
Which method should I use, or ?
For a homogeneous equation, is faster: one substitution and a polynomial to factor. The substitution is preferable when the equation is nonhomogeneous, because it converts the problem to a constant-coefficient one where undetermined coefficients becomes available. Alternatively, keep for the homogeneous part and finish with variation of parameters.
Does the method extend to higher order?
Yes, unchanged. Substituting into gives , so the characteristic equation is a polynomial of degree in . Roots contribute the same way: , , , and so on for multiplicities.