DifferentialEquations
Chapter 4 · Section 4.5

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

Definition 4.5.1 (Cauchy–Euler 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

Theorem 4.5.1 (Reduction to constant coefficients)

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

Common mistake: the middle coefficient

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.

Definition 4.5.2 (Indicial equation)

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 .
Theorem 4.5.2 (Solutions of the homogeneous Cauchy–Euler equation, x > 0)

Let be the roots of . The general solution of on is:

  1. Distinct real roots : .
  2. Repeated real root : .
  3. Complex roots , : .

Each pair really is a fundamental set on , because the Wronskians never vanish there:

Where does the complex case come from?

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.

Engineering check: heat flow through a pipe wall

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.

Common mistakes
  • 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 .

Common mistake: transforming only the left side

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.

Method in a nutshell
  1. Check the form: every term is a constant times . Decide on the interval ( or ).
  2. Write the indicial equation (or its higher-order analogue) and find its roots.
  3. Write using Theorem 4.5.2 (with if ).
  4. 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 .
  5. 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

Example 4.5.1

Solve for , first with the substitution and then with the shortcut .

Solution
  1. Substitution. With and :
  2. Characteristic equation in . , so or , and .
  3. Back to . Since : .
  4. Shortcut. Substituting : , the same polynomial, with the same roots and the same answer.
Figure 4.5.1. The two basic solutions of Example 4.5.1. Power functions take the place of the exponentials of Section 4.2: the root gives , which vanishes at and grows; the root gives , which blows up as and decays as grows.
Example 4.5.2 (repeated root)

Solve , , .

Solution
  1. Indicial equation. , so is a double root.
  2. General solution. . (In the -world: and .)
  3. Derivative. .
  4. Initial conditions. Since : and , so .
  5. Answer. , for .
Figure 4.5.2. Repeated root (Example 4.5.2): the basic solutions and , and the solution of the initial-value problem, which passes through with slope . The factor plays the role that the factor plays for a double root in Section 4.2.
Example 4.5.3 (complex roots)

Find the general solution of for .

Solution
  1. Indicial equation. .
  2. Roots. , so , .
  3. General solution.
  4. 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 .
Figure 4.5.3. The basic solutions of Example 4.5.3. On an ordinary axis (left) the oscillations crowd together and grow like as . On a logarithmic axis (right) the zeros are equally spaced, apart in : in the variable these functions are just and .
Example 4.5.4 (third order)

Find the general solution of for .

Solution
  1. Indicial equation.
  2. Find a root. Try : . So is a factor.
  3. Factor. Dividing, .
  4. General solution. Three distinct real roots :
Example 4.5.5 (nonhomogeneous, Route A)

Find the general solution of for .

Solution
  1. Transform both sides. , and . So
  2. Complementary function. gives : .
  3. 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 .
  4. Find . and . Then , so .
  5. Find . , so .
  6. Back to . With , , :
Example 4.5.6 (nonhomogeneous, Route B)

Find the general solution of for .

Solution
  1. Why Route B? In the -world the right-hand side becomes , which is not a UC function. So we use variation of parameters in .
  2. Complementary function. , a double root . So , .
  3. Normalize. Divide by : , so .
  4. Wronskian. .
  5. The derivatives , .
  6. Integrate. . For , substitute , : , since for .
  7. Particular solution. . The first term is , so we drop it.
  8. General solution. , for .

Exercises

Unless stated otherwise, assume .

  1. Answer
  2. Answer
  3. Answer
  4. Answer
  5. Answer
  6. on .
    Answer (note )
  7. Answer Indicial equation ;
  8. Answer Indicial equation ;
  9. Answer
  10. Answer
  11. Solve the initial-value problem , , .
    Answer
  12. Use variation of parameters to solve . (Why does Route A not help here?)
    Answer . Route A fails because is not a UC function of .