4.5 The Cauchy–Euler Equation
Linear equations with variable coefficients are usually hard. In general there is no formula for their solutions, and Chapter 6 will need power series to make progress. There is, however, one important family that we can solve completely with what we already know. In this family, every derivative is multiplied by the matching power . A change of variable turns such an equation into one with constant coefficients, and then Sections 4.2 and 4.3 finish the job.
These equations are not a curiosity. They appear whenever a problem has radial symmetry. Steady heat conduction through the wall of a pipe gives . The radial displacement in a thick-walled cylinder under pressure satisfies . Separating variables in Laplace's equation in polar coordinates produces . In each case the radius plays the role of .
The equation
A second-order Cauchy–Euler equation (also called an equidimensional equation) has the form
where , , are constants. More generally, an equation of order of the form
with constants , is a Cauchy–Euler equation. Every term on the left is a constant times .
The name "equidimensional" comes from a scaling property. If carries a unit (say metres), then carries "per metre" and carries "per metre squared". So has the same units as for every . Stretching the -axis, , leaves the left-hand side unchanged in form.
The leading coefficient vanishes at , so the existence–uniqueness theorem of Section 4.1 does not apply on any interval containing the origin. We therefore solve on (and explain the case later).
A key observation: power functions
Why should powers of be the natural building blocks? Differentiate a few times:
Each term turns into a constant times . This is exactly how behaves for constant-coefficient equations, where each derivative turns into a constant times . The substitution makes the analogy precise.
The substitution x = et
Let and introduce a new independent variable by
We regard as a function of and express the -derivatives through -derivatives. We write , so and .
Step 1: the derivative of . From ,
Step 2: the first derivative. By the chain rule,
Step 3: the second derivative. Differentiate with respect to , using the product rule. The factor is a function of , so its -derivative needs the chain rule again:
Multiplying by :
Step 4: the third derivative (for later). Differentiate in the same way:
so .
The pattern is clear (and can be proved by induction):
Compare with the power-function computation above: the same falling products appear, with in place of .
Step 5: transform the equation. Substituting and into , and remembering that also on the right-hand side, gives
On , the substitution transforms the Cauchy–Euler equation into a linear equation with constant coefficients in the variable , with right-hand side . For the transformed equation is
The coefficient of is , not . The extra comes from the in . Students who write for get the wrong exponents.
The shortcut: try y = xm directly
For the homogeneous equation we can skip the change of variable. Substitute and use the power-function identities:
Since for , the bracket must vanish.
The indicial equation (or auxiliary equation) of is
For order it is .
The indicial polynomial is exactly the characteristic polynomial of the transformed equation in (replace by ). So the two routes always agree: a root gives in the -world, and in the -world.
The three cases for the roots
Let , be the roots of the indicial equation. Translate the three cases of Section 4.2 back with :
- ,
- ,
- and .
Let be the roots of . The general solution of on is:
- Distinct real roots : .
- Repeated real root : .
- Complex roots , : .
Each pair really is a fundamental set on , because the Wronskians never vanish there:
A complex root gives the complex solution . Since , we have by Euler's formula. The real and imaginary parts give the two real solutions. Notice that the solutions oscillate in , not in : the oscillations crowd together as and spread out as grows.
In steady state, the temperature in the wall of a long pipe (inner radius , outer radius , in some unit of length) satisfies for . The indicial equation is , a double root . So . If the inner surface is held at degrees and the outer at , then and , so
The temperature drops logarithmically through the wall, not linearly as it would in a flat slab. The repeated-root case is exactly what produces the logarithm.
- Writing instead of .
- Writing instead of in the repeated-root case (that is the constant-coefficient habit in the wrong place).
- Forgetting that requires ; see the next subsection for .
Solving on x < 0
On , put . Then and , so
The equation has exactly the same form in , with . Hence the formulas of Theorem 4.5.2 hold on if we replace by everywhere: , , , . (Equivalently, use the substitution .) The same holds for higher order, since the sign changes in always pair up. Each formula is valid on one side of the origin; a solution on and one on are separate objects.
A related remark: an equation such as is a Cauchy–Euler equation in the shifted variable . Try .
Third and higher order
For , substituting gives the cubic indicial equation
Each root contributes as in Theorem 4.5.2. A real root of multiplicity contributes (the images of ). A complex pair contributes and .
Nonhomogeneous equations
There are two routes for .
Route A: transform everything. Use the transformed equation , where a dot means . If is a UC function of , solve it by undetermined coefficients (Section 4.3), then replace by . The useful translations are:
- ,
- , and ,
- , and likewise for sine.
Route B: variation of parameters in . Write down from Theorem 4.5.2 and apply Section 4.4 directly. Remember to normalize: divide by , so that . Route B works for any continuous , including those that do not become UC functions of .
In Route A, the right-hand side must be transformed too. If , the transformed right-hand side is , not and not . Mixing variables is the most frequent error in this section.
- Check the form: every term is a constant times . Decide on the interval ( or ).
- Write the indicial equation (or its higher-order analogue) and find its roots.
- Write using Theorem 4.5.2 (with if ).
- If the equation is nonhomogeneous: either transform it to (including the right-hand side) and use undetermined coefficients, or use variation of parameters in after dividing by .
- Return to (via ), write , and apply any initial conditions.
Try it yourself
The solver forms the indicial equation, classifies the roots, writes the complementary function and, when a right-hand side is given, finds a particular solution through the transformed equation. The first preset is ; the second is the third-order equation , whose indicial equation has irrational roots. Enter your own coefficients to check your work.
Worked examples
Solve for , first with the substitution and then with the shortcut .
Solution
- Substitution. With and :
- Characteristic equation in . , so or , and .
- Back to . Since : .
- Shortcut. Substituting : , the same polynomial, with the same roots and the same answer.
Solve , , .
Solution
- Indicial equation. , so is a double root.
- General solution. . (In the -world: and .)
- Derivative. .
- Initial conditions. Since : and , so .
- Answer. , for .
Find the general solution of for .
Solution
- Indicial equation. .
- Roots. , so , .
- General solution.
- Behaviour. The zeros of occur where . As these points pile up at , so the solution oscillates infinitely often near the origin, with growing amplitude because of the factor .
Find the general solution of for .
Solution
- Indicial equation.
- Find a root. Try : . So is a factor.
- Factor. Dividing, .
- General solution. Three distinct real roots :
Find the general solution of for .
Solution
- Transform both sides. , and . So
- Complementary function. gives : .
- Trial solution. already solves the homogeneous equation (simple root), so the guess for that term is . The term is not a homogeneous solution, so its guess is .
- Find . and . Then , so .
- Find . , so .
- Back to . With , , :
Find the general solution of for .
Solution
- Why Route B? In the -world the right-hand side becomes , which is not a UC function. So we use variation of parameters in .
- Complementary function. , a double root . So , .
- Normalize. Divide by : , so .
- Wronskian. .
- The derivatives , .
- Integrate. . For , substitute , : , since for .
- Particular solution. . The first term is , so we drop it.
- General solution. , for .
Exercises
Unless stated otherwise, assume .
-
Answer
-
Answer
-
Answer
-
Answer
-
Answer
- on .
Answer
(note ) -
Answer
Indicial equation ; -
Answer
Indicial equation ; -
Answer
-
Answer
- Solve the initial-value problem , , .
Answer
- Use variation of parameters to solve . (Why does Route A not help here?)
Answer
. Route A fails because is not a UC function of .