书架/Thomas' Calculus

Chapter 17: Second-Order Differential Equations

教材插图

Denis Kalinichenko/Shutterstock

OVERVIEW In this chapter we extend our study of differential equations to those of second order, equations that involve second derivatives of a function. Second-order differential equations arise in many applications in the sciences and engineering. For instance, they can be applied to the study of vibrating springs and electric circuits. You will learn how to solve such differential equations by several methods in this chapter.

17.1 Second-Order Linear Equations

An equation of the form

𝑃(𝑥)𝑦′′(𝑥)+𝑄(𝑥)𝑦′(𝑥)+𝑅(𝑥)𝑦(𝑥)=𝐺(𝑥),(1)

which is linear in 𝑦 and its derivatives, is called a second-order linear differential equation. We assume that the functions P, Q, R, and G are continuous throughout some open interval I. If G x( ) is identically zero on I, the equation is said to be homogeneous; otherwise it is called nonhomogeneous. Therefore, the form of a second-order linear homogeneous differential equation is

𝑃(𝑥)𝑦′′+𝑄(𝑥)𝑦′+𝑅(𝑥)𝑦=0.(2)

We also assume that 𝑃(𝑥) is never zero for any 𝑥 ∈𝐼.

Two fundamental results are important to solving Equation (2). The first of these says that if we know two solutions 𝑦1 and 𝑦2 of the linear homogeneous equation, then any linear combination 𝑦 =𝑐1𝑦1 +𝑐2𝑦2 is also a solution for any constants 𝑐1 and 𝑐2. .

THEOREM 1—The Superposition Principle

If 𝑦1(𝑥) and 𝑦2(𝑥) are two solutions to the linear homogeneous equation (2), then for any constants 𝑐1 and 𝑐2, the function

𝑦(𝑥)=𝑐1𝑦1(𝑥)+𝑐2𝑦2(𝑥)

is also a solution to Equation (2).

Proof Substituting y into Equation (2), we have

𝑃(𝑥)𝑦′′+𝑄(𝑥)𝑦′+𝑅(𝑥)𝑦=𝑃(𝑥)(𝑐1𝑦1+𝑐2𝑦2)′′+𝑄(𝑥)(𝑐1𝑦1+𝑐2𝑦2)′+𝑅(𝑥)(𝑐1𝑦1+𝑐2𝑦2)=𝑃(𝑥)(𝑐1𝑦′′1+𝑐2𝑦′′2)+𝑄(𝑥)(𝑐1𝑦′1+𝑐2𝑦′2)+𝑅(𝑥)(𝑐1𝑦1+𝑐2𝑦2)=𝑐1(𝑃(𝑥)𝑦′′1+𝑄(𝑥)𝑦′1+𝑅(𝑥)𝑦1⏟______⏟______⏟=0,𝑦1 is a solution )+𝑐2(𝑃(𝑥)𝑦′′2+𝑄(𝑥)𝑦′2+𝑅(𝑥)𝑦2⏟______⏟______⏟=0,𝑦2 is a solution )=𝑐1(0)+𝑐2(0)=0.

Therefore, 𝑦 =𝑐1𝑦1 +𝑐2𝑦2 is a solution of Equation (2).

Theorem 1 immediately establishes the following facts concerning solutions to the linear homogeneous equation.

  1. A sum of two solutions 𝑦1 +𝑦2 to Equation (2) is also a solution. (Choose 𝑐1 =𝑐2 =1.)

  2. A constant multiple 𝑘𝑦1 of any solution 𝑦1 to Equation (2) is also a solution. (Choose 𝑐1 =𝑘and𝑐2 =0.)

  3. The trivial solution 𝑦(𝑥) ≡0 is always a solution to the linear homogeneous equation. (Choose 𝑐1 =𝑐2 =0.)

The second fundamental result about solutions to the linear homogeneous equation concerns its general solution, or solution containing all solutions. This result says that there are two solutions 𝑦1 and 𝑦2 such that any solution is some linear combination of them for suitable values of the constants 𝑐1 and 𝑐2. . However, not just any pair of solutions will do. The solutions must be linearly independent, which means that neither 𝑦1 nor 𝑦2 is a constant multiple of the other. For example, the functions 𝑓(𝑥) =𝑒𝑥and𝑔(𝑥) =𝑥𝑒𝑥 are linearly independent, whereas 𝑓(𝑥) =𝑥2 and 𝑔(𝑥) =7𝑥2 are not (they are linearly dependent). These results on linear independence and the following theorem are proved in more advanced courses.

THEOREM 2 If P, Q, and R are continuous over the open interval I and 𝑃(𝑥) is never zero on I, then the linear homogeneous equation (2) has two linearly independent solutions 𝑦1 and 𝑦2 on I. Moreover, if 𝑦1 and 𝑦2 are any two linearly independent solutions of Equation (2), then the general solution is given by

𝑦(𝑥)=𝑐1𝑦1(𝑥)+𝑐2𝑦2(𝑥),

where 𝑐1 and 𝑐2 are arbitrary constants.

We now turn our attention to finding two linearly independent solutions to the special case of Equation (2) where 𝑃,𝑄, , and R are constant functions.

Constant-Coefficient Homogeneous Equations

Suppose we wish to solve the second-order homogeneous differential equation

𝑎𝑦′′+𝑏𝑦′+𝑐𝑦=0,(3)

where 𝑎,𝑏, and c are constants. To solve Equation (3), we seek a function that, when multiplied by a constant and added to a constant times its first derivative plus a constant times its second derivative, sums identically to zero. One function that behaves this way is the exponential function 𝑦 =𝑒𝑟𝑥 , when r is a constant. Two differentiations of this exponential function give 𝑦′ =𝑟𝑒𝑟𝑥 and 𝑦′′ =𝑟2𝑒𝑟𝑥 , which are just constant multiples of the original exponential. If we substitute 𝑦 =𝑒𝑟𝑥 into Equation (3), we obtain

𝑎𝑟2𝑒𝑟𝑥+𝑏𝑟𝑒𝑟𝑥+𝑐𝑒𝑟𝑥=0.

Since the exponential function is never zero, we can divide this last equation through by 𝑒𝑟𝑥 . Thus, 𝑦 =𝑒𝑟𝑥 is a solution to Equation (3) if and only if r is a solution to the algebraic equation

𝑎𝑟2+𝑏𝑟+𝑐=0.(4)

Equation (4) is called the auxiliary equation (or characteristic equation) of the differential equation 𝑎𝑦′′ +𝑏𝑦′ +𝑐𝑦 =0 . The auxiliary equation is a quadratic equation with roots

𝑟1=−𝑏+√𝑏2−4𝑎𝑐2𝑎 and 𝑟2=−𝑏−√𝑏2−4𝑎𝑐2𝑎.

There are three cases to consider, which depend on the value of the discriminant 𝑏2  : −  :4𝑎𝑐

Case 1: 𝑏2 −4𝑎𝑐 >0. In this case the auxiliary equation has two real and unequal roots 𝑟1 and 𝑟2. . Then 𝑦1 =𝑒𝑟1𝑥 and 𝑦2  = 𝑒𝑟2𝑥 are two linearly independent solutions to Equation (3) because 𝑒𝑟2𝑥 is not a constant multiple of 𝑒𝑟1𝑥 (see Exercise 61). From Theorem 2 we conclude the following result.

THEOREM 3 If 𝑟1 and 𝑟2 are two real and unequal roots of the auxiliary equation 𝑎𝑟2 +𝑏𝑟 +𝑐 =0 , then

𝑦=𝑐1𝑒𝑟1𝑥+𝑐2𝑒𝑟2𝑥

is the general solution to 𝑎𝑦′′ +𝑏𝑦′ +𝑐𝑦 =0.

EXAMPLE 1   Find the general solution of the differential equation

𝑦′′−𝑦′−6𝑦=0.

Solution Substitution of 𝑦 =𝑒𝑟𝑥 into the differential equation yields the auxiliary equation

𝑟2−𝑟−6=0,

which factors as

(𝑟−3)(𝑟+2)=0.

The roots are 𝑟1 =3 and 𝑟2 = −2 . Thus, the general solution is

𝑦=𝑐1𝑒3𝑥+𝑐2𝑒−2𝑥.

Case 2: 𝑏2 −4𝑎𝑐 =0 . In this case 𝑟1 =𝑟2 = −𝑏/2𝑎. . To simplify the notation, let 𝑟 = −𝑏/2𝑎 . Then we have one solution 𝑦1 =𝑒𝑟𝑥 with 2𝑎𝑟 +𝑏 =0 . Since multiplication of 𝑒𝑟𝑥 by a constant fails to produce a second linearly independent solution, suppose we try multiplying by a function instead. The simplest such function would be 𝑢(𝑥) =𝑥, , so let’s see where 𝑦2  = 𝑥𝑒𝑟𝑥 is also a solution. Substituting 𝑦2 into the differential equation gives

THEOREM 4 If 𝑟 is the only (repeated) real root of the auxiliary equation 𝑎𝑟2 +𝑏𝑟 +𝑐 =0 , then 𝑦 =𝑐1𝑒𝑟𝑥 +𝑐2𝑥𝑒𝑟𝑥 is the general solution to 𝑎𝑦″ +𝑏𝑦′ +𝑐𝑦 =0 .

𝑎𝑦′′2+𝑏𝑦′2+𝑐𝑦2=𝑎(2𝑟𝑒𝑟𝑥+𝑟2𝑥𝑒𝑟𝑥)+𝑏(𝑒𝑟𝑥+𝑟𝑥𝑒𝑟𝑥)+𝑐𝑥𝑒𝑟𝑥=(2𝑎𝑟+𝑏)𝑒𝑟𝑥+(𝑎𝑟2+𝑏𝑟+𝑐)𝑥𝑒𝑟𝑥=0(𝑒𝑟𝑥)+(0)𝑥𝑒𝑟𝑥=0.

The first term is zero because 𝑟 = −𝑏/2𝑎; the second term is zero because r solves the auxiliary equation. The functions 𝑦1 =𝑒𝑟𝑥 and 𝑦2  = 𝑥𝑒𝑟𝑥 are linearly independent (see Exercise 62). From Theorem 2 we conclude the following result.

EXAMPLE 2 Find the general solution to

𝑦′′+4𝑦′+4𝑦=0.

Solution The auxiliary equation is

𝑟2+4𝑟+4=0,

which factors into

(𝑟+2)2=0.

Thus, 𝑟 = −2 is a double root. Therefore, the general solution is

𝑦=𝑐1𝑒−2𝑥+𝑐2𝑥𝑒−2𝑥.

Case 3: 𝑏2 −4𝑎𝑐 <0. In this case the auxiliary equation has two complex roots: 𝑟1 =𝛼 +𝑖𝛽 and 𝑟2 =𝛼 −𝑖𝛽: , where α and 𝛽 are real numbers and 𝑖2 = −1 . (These real numbers are 𝛼 = −𝑏/2𝑎 and 𝛽 =√4𝑎𝑐−𝑏2/2𝑎.) These two complex roots then give rise to two linearly independent solutions:

𝑦1=𝑒(𝛼+𝑖𝛽)𝑥=𝑒𝛼𝑥(cos⁡𝛽𝑥+𝑖sin⁡𝛽𝑥) and 𝑦2=𝑒(𝛼−𝑖𝛽)𝑥=𝑒𝛼𝑥(cos⁡𝛽𝑥−𝑖sin⁡𝛽𝑥).

(The expressions involving the sine and cosine terms follow from Euler’s identity, as seen in the discussion of Taylor series.) However, the solutions 𝑦1 and 𝑦2 are complex valued rather than real valued. Nevertheless, because of the superposition principle (Theorem 1), we can obtain from them the two real-valued solutions

𝑦3=12𝑦1+12𝑦2=𝑒𝛼𝑥cos⁡𝛽𝑥 and 𝑦4=12𝑖𝑦1−12𝑖𝑦2=𝑒𝛼𝑥sin⁡𝛽𝑥.

The functions 𝑦3 and 𝑦4 are linearly independent (see Exercise 63). From Theorem 2 we conclude the following result.

THEOREM 5 If 𝑟1 =𝛼 +𝑖𝛽 and 𝑟2 =𝛼 −𝑖𝛽 are two complex roots of the auxiliary equation 𝑎𝑟2 +𝑏𝑟 +𝑐 =0 , then

𝑦=𝑒𝛼𝑥(𝑐1cos⁡𝛽𝑥+𝑐2sin⁡𝛽𝑥)

is the general solution to 𝑎𝑦′′ +𝑏𝑦′ +𝑐𝑦 =0.

EXAMPLE 3 Find the general solution to the differential equation

𝑦′′−4𝑦′+5𝑦=0.

Solution The auxiliary equation is

𝑟2−4𝑟+5=0.

The roots are the complex pair 𝑟 =(4±√16−20)/2 , or 𝑟1 =2 +𝑖 and 𝑟2 =2 −𝑖. Thus, 𝛼 =2 and 𝛽 =1 give the general solution

𝑦=𝑒2𝑥(𝑐1cos⁡𝑥+𝑐2sin⁡𝑥).

Initial Value and Boundary Value Problems

To determine a unique solution to a first-order linear differential equation, it was sufficient to specify the value of the solution at a single point. Since the general solution to a secondorder equation contains two arbitrary constants, it is necessary to specify two conditions. One way of doing this is to specify the value of the solution function and the value of its derivative at a single point: 𝑦(𝑥0) =𝑦0 and 𝑦′(𝑥0) =𝑦1. These conditions are called initial conditions. The following result is proved in more advanced texts and guarantees the existence of a unique solution for both homogeneous and nonhomogeneous second-order linear initial value problems.

THEOREM 6 If P Q,   ,  R, and G are continuous throughout an open interval I, then there exists one and only one function 𝑦(𝑥) satisfying both the differential equation

𝑃(𝑥)𝑦′′(𝑥)+𝑄(𝑥)𝑦′(𝑥)+𝑅(𝑥)𝑦(𝑥)=𝐺(𝑥)

on the interval I, and the initial conditions

𝑦(𝑥0)=𝑦0 and 𝑦′(𝑥0)=𝑦1

at the specified point 𝑥0 ∈𝐼.

It is important to realize that any real values can be assigned to 𝑦0 and 𝑦1, and Theorem 6 applies. Here is an example of an initial value problem for a homogeneous equation.

EXAMPLE 4 Find the particular solution to the initial value problem

𝑦′′−2𝑦′+𝑦=0,𝑦(0)=1,𝑦′(0)=−1.

Solution The auxiliary equation is

𝑟2−2𝑟+1=(𝑟−1)2=0.

The repeated real root is 𝑟 =1. , giving the general solution

𝑦=𝑐1𝑒𝑥+𝑐2𝑥𝑒𝑥.

Then

𝑦′=𝑐1𝑒𝑥+𝑐2(𝑥+1)𝑒𝑥.

From the initial conditions we have

1=𝑐1+𝑐2⋅0 and −1=𝑐1+𝑐2⋅1.

教材插图

FIGURE 17.1 Particular solution curve for Example 4.

Thus, 𝑐1 =1and𝑐2 = −2 . The unique solution satisfying the initial conditions is

The solution curve is shown in Figure 17.1.

𝑦=𝑒𝑥−2𝑥𝑒𝑥.

Another approach to determine the values of the two arbitrary constants in the general solution to a second-order differential equation is to specify the values of the solution function at two different points in the interval I. That is, we solve the differential equation subject to the boundary values

𝑦(𝑥1)=𝑦1 and 𝑦(𝑥2)=𝑦2,

where 𝑥1 and 𝑥2 both belong to I. Here again the values for 𝑦1 and 𝑦2 can be any real numbers. The differential equation together with specified boundary values is called a boundary value problem. Unlike the result stated in Theorem 6, boundary value problems do not always possess a solution, or more than one solution may exist (see Exercise 65). These problems are studied in more advanced texts, but here is an example for which there is a unique solution.

EXAMPLE 5 Solve the boundary value problem

𝑦′′+4𝑦=0,𝑦(0)=0,𝑦(𝜋12)=1.

Solution The auxiliary equation is 𝑟2 +4 =0. which has the complex roots 𝑟 = ±2𝑖. The general solution to the differential equation is

𝑦=𝑐1cos⁡2𝑥+𝑐2sin⁡2𝑥.

The boundary conditions are satisfied if

𝑦(0)=𝑐1⋅1+𝑐2⋅0=0 𝑦(𝜋12)=𝑐1cos⁡(𝜋6)+𝑐2sin⁡(𝜋6)=1.

It follows that 𝑐1 =0 and 𝑐2 =2. . The solution to the boundary value problem is

𝑦=2sin⁡2𝑥.

Exercises 17.1

In Exercises 1–30, find the general solution of the given equation.

  1. 𝑦′′ −𝑦′ −12𝑦 =0

  2. 3𝑦′′ −𝑦′ =0

  3. 𝑦′′ +3𝑦′ −4𝑦 =0

  4. 𝑦′′ −9𝑦 =0

  5. 𝑦′′ −4𝑦 =0

  6. 𝑦′′ −64𝑦 =0

  7. 2𝑦′′ −𝑦′ −3𝑦 =0

  8. 9𝑦′′ −𝑦 =0

  9. 8𝑦′′ −10𝑦′ −3𝑦 =0

  10. 3𝑦′′ −20𝑦′ +12𝑦 =0

  11. 𝑦′′ +9𝑦 =0

  12. 𝑦′′ +4𝑦′ +5𝑦 =0

  13. 𝑦′′ +25𝑦 =0

  14. 𝑦′′ +𝑦 =0

  15. 𝑦′′ −2𝑦′ +5𝑦 =0

  16. 𝑦′′ +16𝑦 =0

  17. 𝑦′′ +2𝑦′ +4𝑦 =0

  18. 𝑦′′ −2𝑦′ +3𝑦 =0

  19. 𝑦′′ +4𝑦′ +9𝑦 =0

  20. 4𝑦′′ −4𝑦′ +13𝑦 =0

  21. 𝑦′′ =0

  22. 𝑦′′ +8𝑦′ +16𝑦 =0

  23. 𝑑2𝑦𝑑𝑥2 +4𝑑𝑦𝑑𝑥 +4𝑦 =0

  24. 𝑑2𝑦𝑑𝑥2 −6𝑑𝑦𝑑𝑥 +9𝑦 =0

  25. 𝑑2𝑦𝑑𝑥2 +6𝑑𝑦𝑑𝑥 +9𝑦 =0

  26. 4𝑑2𝑦𝑑𝑥2 −12𝑑𝑦𝑑𝑥 +9𝑦 =0

  27. 4𝑑2𝑦𝑑𝑥2 +4𝑑𝑦𝑑𝑥 +𝑦 =0

  28. 4𝑑2𝑦𝑑𝑥2 −4𝑑𝑦𝑑𝑥 +𝑦 =0

  29. 9𝑑2𝑦𝑑𝑥2 +6𝑑𝑦𝑑𝑥 +𝑦 =0

  30. 9𝑑2𝑦𝑑𝑥2 −12𝑑𝑦𝑑𝑥 +4𝑦 =0

In Exercises 31–40, find the unique solution of the second-order initial value problem.

  1. 𝑦′′ +6𝑦′ +5𝑦 =0,𝑦(0) =0,𝑦′(0) =3

  2. 𝑦′′ +16𝑦 =0,𝑦(0) =2,𝑦′(0) = −2

  3. 𝑦′′ +12𝑦 =0,𝑦(0) =0,𝑦′(0) =1

  4. 12𝑦′′ +5𝑦′ −2𝑦 =0,𝑦(0) =1,𝑦′(0) = −1

  5. y y ′′ + = 8 0, ( y y 0) = −1,   (′ 0) = 2

  6. y y′′ + 4 4′ + =y y0, (0) 0= , y′(0) 1=

  7. 𝑦′′ −4𝑦′ +4𝑦 =0,𝑦(0) =1,𝑦′(0) =0

  8. 4𝑦′′ −4𝑦′ +𝑦 =0,𝑦(0) =4,𝑦′(0) =4

4𝑑2𝑦𝑑𝑥2+12𝑑𝑦𝑑𝑥+9𝑦=0,𝑦(0)=2,𝑑𝑦𝑑𝑥(0)=1 9𝑑2𝑦𝑑𝑥2−12𝑑𝑦𝑑𝑥+4𝑦=0,𝑦(0)=−1,𝑑𝑦𝑑𝑥(0)=1

In Exercises 41–55, find the general solution.

  1. 𝑦′′ −2𝑦′ −3𝑦 =0

  2. 6𝑦′′ −𝑦′ −𝑦 =0

  3. 4𝑦′′ +4𝑦′ +𝑦 =0

  4. 9𝑦′′ +12𝑦′ +4𝑦 =0

  5. 4𝑦′′ +20𝑦 =0

  6. 𝑦′′ +2𝑦′ +2𝑦 =0

  7. 25𝑦′′ +10𝑦′ +𝑦 =0

  8. 6𝑦′′ +13𝑦′ −5𝑦 =0

  9. 4𝑦′′ +4𝑦′ +5𝑦 =0

𝟓𝟎.𝑦′′+4𝑦′+6𝑦=051.$$16𝑦′′−24𝑦′+9𝑦=0$$52.6𝑦′′−5𝑦′−6𝑦=053.$$9𝑦′′+24𝑦′+16𝑦=0$$54.4𝑦′′+16𝑦′+52𝑦=0
  1. 6𝑦′′ −5𝑦′ −4𝑦 =0

In Exercises 56–60, solve the initial value problem.

  1. 𝑦′′ −2𝑦′ +2𝑦 =0,𝑦(0) =0,𝑦′(0) =2

  2. 𝑦′′ +2𝑦′ +𝑦 =0,𝑦(0) =1,𝑦′(0) =1

  3. 4𝑦′′ −4𝑦′ +𝑦 =0,𝑦(0) = −1,𝑦′(0) =2

  4. 3𝑦′′ +𝑦′ −14𝑦 =0,𝑦(0) =2,𝑦′(0) = −1

  5. 4𝑦′′ +4𝑦′ +5𝑦 =0,𝑦(𝜋) =1,𝑦′(𝜋) =0

  6. Prove that the two solution functions in Theorem 3 are linearly independent.

  7. Prove that the two solution functions in Theorem 4 are linearly independent.

  8. Prove that the two solution functions in Theorem 5 are linearly independent.

  9. Prove that if 𝑦1 and 𝑦2 are linearly independent solutions to the homogeneous equation (2), then the functions 𝑦3 =𝑦1 +𝑦2 and 𝑦4 =𝑦1 −𝑦2 are also linearly independent solutions.

  10. a. Show that there is no solution to the boundary value problem

𝑦′′+4𝑦=0,𝑦(0)=0,𝑦(𝜋)=1.

b. Show that there are infinitely many solutions to the boundary value problem

𝑦′′+4𝑦=0,𝑦(0)=0,𝑦(𝜋)=0.66.$𝑆ℎ𝑜𝑤𝑡ℎ𝑎𝑡$f𝑎,𝑏,$𝑎𝑛𝑑𝑐𝑎𝑟𝑒𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡𝑠,𝑡ℎ𝑒𝑛𝑎𝑙𝑙𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛𝑠𝑜𝑓𝑡ℎ𝑒ℎ𝑜𝑚𝑜𝑔𝑒𝑛𝑒𝑜𝑢𝑠𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡𝑖𝑎𝑙𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛$𝑎𝑦′′+𝑏𝑦′+𝑐𝑦=0

approach zero as 𝑥  ⟶ ∞.

17.2 Nonhomogeneous Linear Equations

In this section we study two methods for solving second-order linear nonhomogeneous differential equations with constant coefficients. These are the methods of undetermined coefficients and variation of parameters. We begin by considering the form of the general solution.

Form of the General Solution

Suppose we wish to solve the nonhomogeneous equation

𝑎𝑦′′+𝑏𝑦′+𝑐𝑦=𝐺(𝑥),(1)

where 𝑎,𝑏, and c are constants and G is continuous over some open interval I. Let 𝑦c =𝑐1𝑦1 +𝑐2𝑦2 be the general solution to the associated complementary equation

𝑎𝑦′′+𝑏𝑦′+𝑐𝑦=0.(2)

(We learned how to find 𝑦c in Section 17.1.) Now suppose we could somehow come up with a particular function 𝑦𝔭 that solves the nonhomogeneous equation (1). Then the sum

𝑦=𝑦c+𝑦p(3)

also solves the nonhomogeneous equation (1) because

𝑎(𝑦c+𝑦p)′′+𝑏(𝑦c+𝑦p)′+𝑐(𝑦c+𝑦p)=(𝑎𝑦′′c+𝑏𝑦′c+𝑐𝑦c)+(𝑎𝑦′′p+𝑏𝑦′p+𝑐𝑦p)=0+𝐺(𝑥)𝑦csolves Eq. (2) and y_{p} solves Eq. (1)=𝐺(𝑥).

Moreover, if 𝑦 =𝑦(𝑥) is the general solution to the nonhomogeneous equation (1), it must have the form of Equation (3). The reason for this last statement follows from the observation that for any function 𝑦p satisfying Equation (1), we have

𝑎(𝑦−𝑦p)′′+𝑏(𝑦−𝑦p)′+𝑐(𝑦−𝑦p)=(𝑎𝑦′′+𝑏𝑦′+𝑐𝑦)−(𝑎𝑦′′p+𝑏𝑦′p+𝑐𝑦p)=𝐺(𝑥)−𝐺(𝑥)=0.

Thus, 𝑦c =𝑦 −𝑦p is the general solution to the homogeneous equation (2). We have established the following result.

THEOREM 7 The general solution 𝑦 =𝑦(𝑥) to the nonhomogeneous differential equation (1) has the form

𝑦=𝑦c+𝑦p,

where the complementary solution 𝑦c is the general solution to the associated homogeneous equation (2), and 𝑦p is any particular solution to the nonhomogeneous equation (1).

The Method of Undetermined Coefficients

This method for finding a particular solution 𝑦p to the nonhomogeneous equation (1) applies to special cases for which G x( ) is a sum of terms of various polynomials 𝑝(𝑥) multiplying an exponential with possibly sine or cosine factors. That is,𝐺(𝑥) is a sum of terms of the following forms:

𝑝1(𝑥)𝑒𝑟𝑥,𝑝2(𝑥)𝑒𝛼𝑥cos⁡𝛽𝑥,𝑝3(𝑥)𝑒𝛼𝑥sin⁡𝛽𝑥.

For instance, 1 −𝑥,𝑒2𝑥,𝑥𝑒𝑥. ,   cos 𝑥, and 5𝑒𝑥  −  s x in 2 represent functions in this category. (Essentially these are functions solving homogeneous linear differential equations with constant coefficients, but the equations may be of order higher than two.) We now present several examples illustrating the method.

EXAMPLE 1   Solve the nonhomogeneous equation 𝑦′′ −2𝑦′ −3𝑦 =1 −𝑥2

Solution The auxiliary equation for the complementary equation 𝑦′′ −2𝑦′ −3𝑦 =0 is

𝑟2−2𝑟−3=(𝑟+1)(𝑟−3)=0.

It has the roots 𝑟 = −1 and 𝑟 =3, giving the complementary solution

𝑦c=𝑐1𝑒−𝑥+𝑐2𝑒3𝑥.

Now 𝐺(𝑥) =1 −𝑥2 is a polynomial of degree 2. It would be reasonable to assume that a particular solution to the given nonhomogeneous equation is also a polynomial of degree 2 because if y is a polynomial of degree 2, then 𝑦′′ −2𝑦′ −3𝑦 is also a polynomial of degree 2. So we seek a particular solution of the form

𝑦p=𝐴𝑥2+𝐵𝑥+𝐶.

We need to determine the unknown coefficients A, B, and C. When we substitute the polynomial 𝑦p and its derivatives into the given nonhomogeneous equation, we obtain

2𝐴−2(2𝐴𝑥+𝐵)−3(𝐴𝑥2+𝐵𝑥+𝐶)=1−𝑥2,

or, collecting terms with like powers of 𝑥,

−3𝐴𝑥2+(−4𝐴−3𝐵)𝑥+(2𝐴−2𝐵−3𝐶)=1−𝑥2.

This last equation holds for all values of x if its two sides are identical polynomials of degree 2. Thus, we equate corresponding powers of x to get

−3𝐴=−1,−4𝐴−3𝐵=0, and 2𝐴−2𝐵−3𝐶=1.

These equations imply in turn that 𝐴 =1/3,𝐵 = −4/9 , and 𝐶 =5/27 . Substituting these values into the quadratic expression for our particular solution gives

𝑦p=13𝑥2−49𝑥+527.

By Theorem 7, the general solution to the nonhomogeneous equation is

𝑦=𝑦c+𝑦p=𝑐1𝑒−𝑥+𝑐2𝑒3𝑥+13𝑥2−49𝑥+527.

EXAMPLE 2 Find a particular solution of 𝑦′′ −𝑦′ =2 sin x.

Solution If we try to find a particular solution of the form

𝑦p=𝐴sin⁡𝑥

and substitute the derivatives of 𝑦p in the given equation, we find that A must satisfy the equation

−𝐴sin⁡𝑥+𝐴cos⁡𝑥=2sin⁡𝑥

for all values of x. Since this requires A to equal both −2 and 0 at the same time, we conclude that the nonhomogeneous differential equation has no solution of the form A x sin .

It turns out that the required form is the sum

𝑦𝑝=𝐴sin⁡𝑥+𝐵cos⁡𝑥.

The result of substituting the derivatives of this new trial solution into the differential equation is

−𝐴sin⁡𝑥−𝐵cos⁡𝑥−(𝐴cos⁡𝑥−𝐵sin⁡𝑥)=2sin⁡𝑥,

or

(𝐵−𝐴)sin⁡𝑥−(𝐴+𝐵)cos⁡𝑥=2sin⁡𝑥.

This last equation must be an identity. Equating the coefficients for like terms on each side then gives

𝐵−𝐴=2 and 𝐴+𝐵=0.

Simultaneous solution of these two equations gives A = −1 and B = 1. Our particular solution is

𝑦p=cos⁡𝑥−sin⁡𝑥.

EXAMPLE 3 Find a particular solution of 𝑦′′ −3𝑦′ +2𝑦 =5𝑒𝑥

Solution If we substitute

𝑦p=𝐴𝑒𝑥

and its derivatives into the differential equation, we find that

𝐴𝑒𝑥−3𝐴𝑒𝑥+2𝐴𝑒𝑥=5𝑒𝑥,

or

0=5𝑒𝑥.

However, the exponential function is never zero. The trouble can be traced to the fact that 𝑦  = 𝑒𝑥 is already a solution of the related homogeneous equation

𝑦′′−3𝑦′+2𝑦=0.

The auxiliary equation is

𝑟2−3𝑟+2=(𝑟−1)(𝑟−2)=0,

which has 𝑟 =1 as a root. So we would expect 𝐴𝑒𝑥 to become zero when substituted into the left-hand side of the differential equation.

The appropriate way to modify the trial solution in this case is to multiply 𝐴𝑒𝑥 by x. Thus, our new trial solution is

𝑦p=𝐴𝑥𝑒𝑥.

The result of substituting the derivatives of this new candidate into the differential equation is

(𝐴𝑥𝑒𝑥+2𝐴𝑒𝑥)−3(𝐴𝑥𝑒𝑥+𝐴𝑒𝑥)+2𝐴𝑥𝑒𝑥=5𝑒𝑥,

or

−𝐴𝑒𝑥=5𝑒𝑥.

Thus, 𝐴 = −5 gives our sought-after particular solution

𝑦p=−5𝑥𝑒𝑥.

EXAMPLE 4 Find a particular solution of 𝑦′′ −6𝑦′ +9𝑦 =𝑒3𝑥

Solution The auxiliary equation for the complementary equation

𝑟2−6𝑟+9=(𝑟−3)2=0

has 𝑟 =3 as a repeated root. The appropriate choice for 𝑦p in this case is neither 𝐴𝑒3𝑥 nor 𝐴𝑥𝑒3𝑥 because the complementary solution contains both of those terms already. Thus, we choose a term containing the next higher power of x as a factor. When we substitute

𝑦p=𝐴𝑥2𝑒3𝑥

and its derivatives into the given differential equation, we get

(9𝐴𝑥2𝑒3𝑥+12𝐴𝑥𝑒3𝑥+2𝐴𝑒3𝑥)−6(3𝐴𝑥2𝑒3𝑥+2𝐴𝑥𝑒3𝑥)+9𝐴𝑥2𝑒3𝑥=𝑒3𝑥,

or

2𝐴𝑒3𝑥=𝑒3𝑥.

Thus, 𝐴 =1/2, and the particular solution is

𝑦p=12𝑥2𝑒3𝑥.

When we wish to find a particular solution of Equation (1) and the function 𝐺(𝑥) is the sum of two or more terms, we choose a trial function for each term in 𝐺(𝑥) and add them.

EXAMPLE 5 Find the general solution to 𝑦′′ −𝑦′ =5𝑒𝑥 −sin⁡2𝑥

Solution We first check the auxiliary equation

𝑟2−𝑟=0.

Its roots are 𝑟 =1 and 𝑟 =0 . Therefore, the complementary solution to the associated homogeneous equation is

𝑦c=𝑐1𝑒𝑥+𝑐2.

We now seek a particular solution 𝑦p. That is, we seek a function that will produce 5𝑒𝑥 −sin⁡2𝑥 when substituted into the left-hand side of the given differential equation. One part of 𝑦p is to produce 5𝑒𝑥 , the other −sin 2x.

Since any function of the form 𝑐1𝑒𝑥 is a solution of the associated homogeneous equation, we choose our trial solution 𝑦p to be the sum

𝑦p=𝐴𝑥𝑒𝑥+𝐵cos⁡2𝑥+𝐶sin⁡2𝑥,

including 𝑥𝑒𝑥 where we might otherwise have included only 𝑒𝑥 . When the derivatives of 𝑦p are substituted into the differential equation, the resulting equation is

(𝐴𝑥𝑒𝑥+2𝐴𝑒𝑥−4𝐵cos⁡2𝑥−4𝐶sin⁡2𝑥)−(𝐴𝑥𝑒𝑥+𝐴𝑒𝑥−2𝐵sin⁡2𝑥+2𝐶cos⁡2𝑥)=5𝑒𝑥−sin⁡2𝑥,

or

𝐴𝑒𝑥−(4𝐵+2𝐶)cos⁡2𝑥+(2𝐵−4𝐶)sin⁡2𝑥=5𝑒𝑥−sin⁡2𝑥.

This equation will hold if

𝐴=5,4𝐵+2𝐶=0,2𝐵−4𝐶=−1,

or 𝐴 =5,𝐵 = −1/10 , and 𝐶 =1/5 . Our particular solution is

𝑦p=5𝑥𝑒𝑥−110cos⁡2𝑥+15sin⁡2𝑥.

The general solution to the differential equation is

𝑦=𝑦c+𝑦p=𝑐1𝑒𝑥+𝑐2+5𝑥𝑒𝑥−110cos⁡2𝑥+15sin⁡2𝑥.

You may find the following table helpful in solving the problems at the end of this section.

TABLE 17.1 The method of undetermined coefficients for selected equations of the form

𝑎𝑦′′+𝑏𝑦′+𝑐𝑦=𝐺(𝑥).
If 𝐺(𝑥) has a term that is a constant multiple of...And if...Then include this expression in the trial function for 𝑦𝑝
𝑒𝑟𝑥r is not a root of the auxiliary equation𝐴𝑒𝑟𝑥
r is a single root of the auxiliary equation𝐴𝑥𝑒𝑟𝑥
r is a double root of the auxiliary equation𝐴𝑥2𝑒𝑟𝑥
sin kx, cos kxki is not a root of the auxiliary equationB cos kx + C sin kx
𝑝𝑥2 +𝑞𝑥 +𝑚0 is not a root of the auxiliary equation𝐷𝑥2 +𝐸𝑥 +𝐹
0 is a single root of the auxiliary equation𝐷𝑥3 +𝐸𝑥2 +𝐹𝑥
0 is a double root of the auxiliary equation𝐷𝑥4 +𝐸𝑥3 +𝐹𝑥2

The Method of Variation of Parameters

This is a general method for finding a particular solution of the nonhomogeneous equation (1) once the general solution of the associated homogeneous equation is known. The method consists of replacing the constants 𝑐1 and 𝑐2 in the complementary solution by functions 𝑣1 =𝑣1(𝑥) and 𝑣2 =𝑣2(𝑥) and requiring (in a way to be explained) that the resulting expression satisfy the nonhomogeneous equation (1). There are two functions to be determined, and requiring that Equation (1) be satisfied is only one condition. As a second condition, we also require that

𝑣′1𝑦1+𝑣′2𝑦2=0.(4)

Then we have

𝑦=𝑣1𝑦1+𝑣2𝑦2,𝑦′=𝑣1𝑦′1+𝑣2𝑦′2,𝑦′′=𝑣1𝑦′′1+𝑣2𝑦′′2+𝑣′1𝑦′1+𝑣′2𝑦′2.

If we substitute these expressions into the left-hand side of equation (1), we obtain

𝑣1(𝑎𝑦′′1+𝑏𝑦′1+𝑐𝑦1)+𝑣2(𝑎𝑦′′2+𝑏𝑦′2+𝑐𝑦2)+𝑎(𝑣′1𝑦′1+𝑣′2𝑦′2)=𝐺(𝑥).

The first two parenthetical terms are zero since 𝑦1 and 𝑦2 are solutions of the associated homogeneous equation (2). So the nonhomogeneous equation (1) is satisfied if, in addition to equation (4), we require that

𝑎(𝑣′1𝑦′1+𝑣′2𝑦′2)=𝐺(𝑥).(5)

Equations (4) and (5) can be solved together as a pair

𝑣′1𝑦1+𝑣′2𝑦2=0,𝑣′1𝑦′1+𝑣′2𝑦′2=𝐺(𝑥)𝑎

for the unknown functions 𝑣1′ and 𝑣2′. . The usual procedure for solving this simple system is to use the method of determinants (also known as Cramer’s Rule), which will be demonstrated in the examples to follow. Once the derivative functions 𝑣1′ and 𝑣2′ are known, the two functions 𝑣1 =𝑣1(𝑥) and 𝑣2 =𝑣2(𝑥) can be found by integration. Here is a summary of the method.

Variation of Parameters Procedure

To use the method of variation of parameters to find a particular solution to the nonhomogeneous equation

𝑎𝑦′′+𝑏𝑦′+𝑐𝑦=𝐺(𝑥),

we can work directly with Equations (4) and (5). It is not necessary to rederive them. The steps are as follows.

  1. Solve the associated homogeneous equation
𝑎𝑦′′+𝑏𝑦′+𝑐𝑦=0

to find the functions 𝑦1 and 𝑦2 .

  1. Solve the equations
𝑣′1𝑦1+𝑣′2𝑦2=0, 𝑣′1𝑦′1+𝑣′2𝑦′2=𝐺(𝑥)𝑎

simultaneously for the derivative functions 𝑣1′ and 𝑣2′.

  1. Integrate 𝑣1′ and 𝑣2′ to find the functions 𝑣1 =𝑣1(𝑥) and 𝑣2 =𝑣2(𝑥)

  2. Write down the particular solution to the nonhomogeneous equation (1) as

𝑦p=𝑣1𝑦1+𝑣2𝑦2.

EXAMPLE 6 Find the general solution to the equation

𝑦′′+𝑦=tan⁡𝑥.

Solution The solution of the homogeneous equation

𝑦′′+𝑦=0

is given by

𝑦c=𝑐1cos⁡𝑥+𝑐2sin⁡𝑥.

Since 𝑦1(𝑥) =cos⁡𝑥 and 𝑦2(𝑥) =sin⁡𝑥 , the conditions to be satisfied in Equations (4) and (5) are

𝑣′1cos⁡𝑥+𝑣′2sin⁡𝑥=0,−𝑣′1sin⁡𝑥+𝑣′2cos⁡𝑥=tan⁡𝑥.𝑎=1

Solving this system gives

𝑣′1=∣0sin⁡𝑥tan⁡𝑥cos⁡𝑥∣∣cos⁡𝑥sin⁡𝑥−sin⁡𝑥cos⁡𝑥∣=−tan⁡𝑥sin⁡𝑥cos2⁡𝑥+sin2⁡𝑥=−sin2⁡𝑥cos⁡𝑥.

Likewise,

𝑣′2=∣cos⁡𝑥0−sin⁡𝑥tan⁡𝑥∣∣cos⁡𝑥sin⁡𝑥−sin⁡𝑥cos⁡𝑥∣=sin⁡𝑥.

After integrating 𝑣1′ and 𝑣2′, , we have

𝑣1(𝑥)=∫−sin2⁡𝑥cos⁡𝑥𝑑𝑥=−∫(sec⁡𝑥−cos⁡𝑥)𝑑𝑥=−ln⁡|sec⁡𝑥+tan⁡𝑥|+sin⁡𝑥,

and

𝑣2(𝑥)=∫sin⁡𝑥𝑑𝑥=−cos⁡𝑥.

Note that we have omitted the constants of integration in determining 𝜐1 and 𝜐2. . They would merely be absorbed into the arbitrary constants in the complementary solution.

Substituting 𝜐1 and 𝜐2 into the expression for 𝑦p in Step 4 gives

𝑦𝑝=[−ln⁡|sec⁡𝑥+tan⁡𝑥|+sin⁡𝑥]cos⁡𝑥+(−cos⁡𝑥)sin⁡𝑥=(−cos⁡𝑥)ln⁡|sec⁡𝑥+tan⁡𝑥|.

The general solution is

𝑦=𝑐1cos⁡𝑥+𝑐2sin⁡𝑥−(cos⁡𝑥)ln⁡|sec⁡𝑥+tan⁡𝑥|.

EXAMPLE 7 Solve the nonhomogeneous equation

𝑦′′+𝑦′−2𝑦=𝑥𝑒𝑥.

Solution The auxiliary equation is

𝑟2+𝑟−2=(𝑟+2)(𝑟−1)=0,

giving the complementary solution

𝑦𝑐=𝑐1𝑒−2𝑥+𝑐2𝑒𝑥.

The conditions to be satisfied in Equations (4) and (5) are

𝑣′1𝑒−2𝑥+𝑣′2𝑒𝑥=0,−2𝑣′1𝑒−2𝑥+𝑣′2𝑒𝑥=𝑥𝑒𝑥.𝑎=1

Solving the above system for 𝑣1′ and 𝑣2′ gives

𝑣′1=∣0𝑒𝑥𝑥𝑒𝑥𝑒𝑥∣∣𝑒−2𝑥𝑒𝑥−2𝑒−2𝑥𝑒𝑥∣=−𝑥𝑒2𝑥3𝑒−𝑥=−13𝑥𝑒3𝑥.

Likewise,

𝑣′2=∣𝑒−2𝑥0−2𝑒−2𝑥𝑥𝑒𝑥∣3𝑒−𝑥=𝑥𝑒−𝑥3𝑒−𝑥=𝑥3.

Integrating to obtain the parameter functions, we have

𝑣1(𝑥)=∫−13𝑥𝑒3𝑥𝑑𝑥=−13(𝑥𝑒3𝑥3−∫𝑒3𝑥3𝑑𝑥)=127(1−3𝑥)𝑒3𝑥

and

𝑣2(𝑥)=∫𝑥3𝑑𝑥=𝑥26.

Therefore,

𝑦p=[(1−3𝑥)𝑒3𝑥27]𝑒−2𝑥+(𝑥26)𝑒𝑥=127𝑒𝑥−19𝑥𝑒𝑥+16𝑥2𝑒𝑥.

The general solution to the differential equation is

𝑦=𝑐1𝑒−2𝑥+𝑐2𝑒𝑥−19𝑥𝑒𝑥+16𝑥2𝑒𝑥,

where the term (1/27)𝑒𝑥 in 𝑦p has been absorbed into the term 𝑐2𝑒𝑥 in the complementary solution.

Exercises 17.2

Solve the equations in Exercises 1–16 by the method of undetermined coefficients.

  1. 𝑦′′ −3𝑦′ −10𝑦 = −3

  2. 𝑦′′ −3𝑦′ −10𝑦 =2𝑥 −3

  3. y y ′′ − ′ = sin x

  4. 𝑦′′ +2𝑦′ +𝑦 =𝑥2

  5. 𝑦′′ +𝑦 =cos⁡3𝑥

  6. 𝑦′′ +𝑦 =𝑒2𝑥

  7. 7′′ −𝑦′ −2𝑦 =20cos⁡𝑥 8.𝑦′′ +𝑦 =2𝑥 +3𝑒𝑥

  8. 𝑦′′ −𝑦 =𝑒𝑥 +𝑥2 10.𝑦′′ +2𝑦′ +𝑦 =6sin⁡2𝑥

  9. 𝑦′′ −𝑦′ −6𝑦 =𝑒−𝑥 −7cos⁡𝑥

  10. 𝑦′′ +3𝑦′ +2𝑦 =𝑒−𝑥 +𝑒−2𝑥 −𝑥

  11. 𝑑2𝑦𝑑𝑥2 +5𝑑𝑦𝑑𝑥 =15𝑥2

  12. 𝑑2𝑦𝑑𝑥2 −𝑑𝑦𝑑𝑥 = −8𝑥 +3

  13. 𝑑2𝑦𝑑𝑥2 −3𝑑𝑦𝑑𝑥 =𝑒3𝑥 −12𝑥

  14. 𝑑2𝑦𝑑𝑥2 +7𝑑𝑦𝑑𝑥 =42𝑥2 +5𝑥 +1

Solve the equations in Exercises 17–28 by variation of parameters.

  1. 𝑦′′ +𝑦′ =𝑥

  2. 𝑦′′ +𝑦 =tan⁡𝑥, −𝜋2 <𝑥 <𝜋2

  3. 𝑦′′ +𝑦 =sin⁡𝑥

  4. 𝑦′′ +2𝑦′ +𝑦 =𝑒𝑥

  5. 𝑦′′ +2𝑦′ +𝑦 =𝑒−𝑥

  6. 𝑦′′ −𝑦 =𝑥

  7. 𝑦′′ −𝑦 =𝑒𝑥

  8. 𝑦′′ −𝑦 =sin⁡𝑥

  9. 𝑦′′ +4𝑦′ +5𝑦 =10

  10. 𝑦′′ −𝑦′ =2𝑥

  11. 𝑑2𝑦𝑑𝑥2 +𝑦 =sec⁡𝑥, −𝜋2 <𝑥 <𝜋2

  12. 𝑑2𝑦𝑑𝑥2 −𝑑𝑦𝑑𝑥 =𝑒𝑥cos⁡𝑥, 𝑥 >0

In each of Exercises 29–32, the given differential equation has a particular solution 𝑦p of the form given. Determine the coefficients in 𝑦𝔭. . Then solve the differential equation.

  1. 𝑦′′ −5𝑦′ =𝑥𝑒5𝑥,𝑦p =𝐴𝑥2𝑒5𝑥 +𝐵𝑥𝑒5𝑥

  2. 𝑦′′ −𝑦′ =cos⁡𝑥 +sin⁡𝑥, 𝑦p =𝐴cos⁡𝑥 +𝐵sin⁡𝑥

  3. 𝑦′′ +𝑦 =2cos⁡𝑥 +sin⁡𝑥, 𝑦p =𝐴𝑥cos⁡𝑥 + sBx in x

  4. 𝑦′′ +𝑦′ −2𝑦 =𝑥𝑒𝑥, 𝑦p =𝐴𝑥2𝑒𝑥 +𝐵𝑥𝑒𝑥

In Exercises 33–36, solve the given differential equations (a) by variation of parameters and (b) by the method of undetermined coefficients.

  1. 𝑑2𝑦𝑑𝑥2 −𝑑𝑦𝑑𝑥 =𝑒𝑥 +𝑒−𝑥 34.𝑑2𝑦𝑑𝑥2 −4𝑑𝑦𝑑𝑥 +4𝑦 =2𝑒2𝑥

  2. 𝑑2𝑦𝑑𝑥2 −4𝑑𝑦𝑑𝑥 −5𝑦 =𝑒𝑥 +4 36.𝑑2𝑦𝑑𝑥2 −9𝑑𝑦𝑑𝑥 =9𝑒9𝑥

Solve the differential equations in Exercises 37–46. Some of the equations can be solved by the method of undetermined coefficients, but others cannot.

  1. 𝑦′′ +𝑦 =cot⁡𝑥,0 <𝑥 <𝜋

  2. 𝑦′′ +𝑦 =csc⁡𝑥,0 <𝑥 <𝜋

  3. 𝑦′′ −8𝑦′ =𝑒8𝑥

  4. 𝑦′′ +4𝑦 =sin⁡𝑥

  5. 𝑦′′ −𝑦′ =𝑥3 42.𝑦′′ +4𝑦′ +5𝑦 =𝑥 +2

17.3 Applications

43.𝑦′′+2𝑦′=𝑥2−𝑒𝑥44.𝑦′′+9𝑦=9𝑥−cos⁡𝑥 𝑦′′+𝑦=sec⁡𝑥tan⁡𝑥,−𝜋2<𝑥<𝜋2

Vibrations

  1. 𝑦′′ −3𝑦′ +2𝑦 =𝑒𝑥 −𝑒2𝑥

The method of undetermined coefficients can sometimes be used to solve first-order ordinary differential equations. Use the method to solve the equations in Exercises 47–50.

47.𝑦′−3𝑦=𝑒𝑥 48.𝑦′+4𝑦=𝑥 49.𝑦′−3𝑦=5𝑒3𝑥 𝟓𝟎.𝑦′+𝑦=sin⁡𝑥

Solve the differential equations in Exercises 51 and 52 subject to the given initial conditions.

𝟓𝟏.𝑑2𝑦𝑑𝑥2+𝑦=sec2⁡𝑥,−𝜋2<𝑥<𝜋2;𝑦(0)=𝑦′(0)=1 52.𝑑2𝑦𝑑𝑥2+𝑦=𝑒2𝑥;𝑦(0)=0,𝑦′(0)=25

In Exercises 53–58, verify that the given function is a particular solution to the specified nonhomogeneous equation. Find the general solution, and evaluate its arbitrary constants to find the unique solution satisfying the equation and the given initial conditions.

53.𝑦′′+𝑦′=𝑥,𝑦𝑝=𝑥22−𝑥,𝑦(0)=0,𝑦′(0)=0 54.𝑦′′+𝑦=𝑥,𝑦𝑝=2sin⁡𝑥+𝑥,𝑦(0)=0,𝑦′(0)=0 12𝑦′′+𝑦′+𝑦=4𝑒𝑥(cos⁡𝑥−sin⁡𝑥),(55.) 𝑦𝑝=2𝑒𝑥cos⁡𝑥,𝑦(0)=0,𝑦′(0)=1 𝑦′′−𝑦′−2𝑦=1−2𝑥,𝑦𝑝=𝑥−1,𝑦(0)=0,𝑦′(0)=1 57.𝑦′′−2𝑦′+𝑦=2𝑒𝑥,𝑦𝑝=𝑥2𝑒𝑥,𝑦(0)=1,𝑦′(0)=0 𝑦′′−2𝑦′+𝑦=𝑥−1𝑒𝑥,𝑥>0,(58) 𝑦𝑝=𝑥𝑒𝑥ln⁡𝑥,𝑦(1)=𝑒,𝑦′(1)=0

In Exercises 59 and 60, two linearly independent solutions 𝑦1 and 𝑦2 are given to the associated homogeneous equation of the variablecoefficient nonhomogeneous equation. Use the method of variation of parameters to find a particular solution to the nonhomogeneous equation. Assume 𝑥 >0 in each exercise.

𝑥2𝑦′′+2𝑥𝑦′−2𝑦=𝑥2,𝑦1=𝑥−2,𝑦2=𝑥 𝟔𝟎.𝑥2𝑦′′+𝑥𝑦′−𝑦=𝑥,𝑦1=𝑥−1,𝑦2=𝑥

In this section we apply second-order differential equations to the study of vibrating springs and electric circuits.

A spring has its upper end fastened to a rigid support, as shown in Figure 17.2. An object of mass m is suspended from the spring and stretches it a length s when the spring comes to rest in an equilibrium position. According to Hooke’s Law (Section 6.5), the tension force in the spring is 𝑘𝑠, where k is the spring constant. The force due to gravity pulling down on the spring is mg, and equilibrium requires that

教材插图

FIGURE 17.2 Mass m stretches a spring by length s to the equilibrium position at 𝑦 =0.

教材插图

(weight) 𝐹p pulls the mass downward, but the spring restoring force 𝐹s and frictional force 𝐹r pull the mass upward. The motion starts at 𝑦 =𝑦0 with the mass vibrating up and down.

𝑘𝑠=𝑚𝑔.(1)

Suppose that the object is pulled down an additional amount 𝑦0 beyond the equilibrium position and then released. We want to study the object’s motion, that is, the vertical position of its center of mass at any future time.

Let 𝑦, with positive direction downward, denote the displacement position of the object away from the equilibrium position 𝑦 =0 at any time t after the motion has started. Then the forces acting on the object are (see Figure 17.3)

𝐹p=𝑚𝑔, the propulsion force due to gravity ,𝐹s=𝑘(𝑠+𝑦), the restoring force of the spring's tension ,𝐹r=𝛿𝑑𝑦𝑑𝑡, a frictional force assumed proportional to velocity .

The frictional force tends to slow the motion of the object. The resultant of these forces is 𝐹 =𝐹p −𝐹s −𝐹r , and by Newton’s second law 𝐹 =𝑚𝑎 , we must then have

𝑚𝑑2𝑦𝑑𝑡2=𝑚𝑔−𝑘𝑠−𝑘𝑦−𝛿𝑑𝑦𝑑𝑡.

By Equation (1), 𝑚𝑔  − 𝑘𝑠 =0 , so this last equation becomes

𝑚𝑑2𝑦𝑑𝑡2+𝛿𝑑𝑦𝑑𝑡+𝑘𝑦=0,(2)

subject to the initial conditions 𝑦(0) =𝑦0 and 𝑦′(0) =0 . (Here we use the prime notation to denote differentiation with respect to time t.)

You might expect that the motion predicted by Equation (2) will be oscillatory about the equilibrium position 𝑦 =0 and eventually damp to zero because of the frictional force. This is indeed the case, and we will show how the constants 𝑚,𝛿, and k determine the nature of the damping. You will also see that if there is no friction (so 𝛿 =0) , then the object will simply oscillate indefinitely.

Simple Harmonic Motion

Suppose first that there is no frictional force. Then 𝛿 =0 and there is no damping. If we substitute 𝜔 =√𝑘/𝑚 to simplify our calculations, then the second-order equation (2) becomes

𝑦′′+𝜔2𝑦=0, with 𝑦(0)=𝑦0 and 𝑦′(0)=0.

The auxiliary equation is

𝑟2+𝜔2=0,

which has the imaginary roots 𝑟 = ±𝜔𝑖. The general solution to the differential equation in (2) is

𝑦=𝑐1cos⁡𝜔𝑡+𝑐2sin⁡𝜔𝑡.(3)

To fit the initial conditions, we compute

𝑦′=−𝑐1𝜔sin⁡𝜔𝑡+𝑐2𝜔cos⁡𝜔𝑡 𝑦=𝑦0cos⁡𝜔𝑡

and then substitute the conditions. This yields 𝑐1 =𝑦0 and 𝑐2 =0 . The particular solution

(4)

教材插图

FIGURE 17.4 𝑐1 =𝐶sin⁡𝜙 and 𝑐2 =𝐶 cos . φ

describes the motion of the object. Equation (4) represents simple harmonic motion of amplitude 𝑦0 and period 𝑇 =2𝜋/𝜔

The general solution given by Equation (3) can be combined into a single term by using the trigonometric identity

sin⁡(𝜔𝑡+𝜙)=cos⁡𝜔𝑡sin⁡𝜙+sin⁡𝜔𝑡cos⁡𝜙.

To apply the identity, we take (see Figure 17.4)

𝑐1=𝐶sin⁡𝜙 and 𝑐2=𝐶cos⁡𝜙,

where

𝐶=√𝑐21+𝑐22 and 𝜙=tan−1⁡𝑐1𝑐2.

Then the general solution in Equation (3) can be written in the alternative form

𝑦=𝐶sin⁡(𝜔𝑡+𝜙).(5)

Here C and 𝜙 may be taken as two new arbitrary constants, replacing the two constants 𝑐1 and 𝑐2. . Equation (5) represents simple harmonic motion of amplitude C and period 𝑇 =2𝜋/𝜔 . The angle 𝜔𝑡 +𝜙 is called the phase angle, and φ may be interpreted as its initial value. A graph of the simple harmonic motion represented by Equation (5) is given in Figure 17.5.

教材插图

FIGURE 17.5 Simple harmonic motion of amplitude C and period T with initial phase angle φ (Equation 5).

Damped Motion

Assume now that there is friction in the spring system, so 𝛿 ≠0 . If we substitute 𝜔 =√𝑘/𝑚 and 2𝑏 =𝛿/𝑚, then the differential equation (2) is

𝑦′′+2𝑏𝑦′+𝜔2𝑦=0.(6)

The auxiliary equation is

𝑟2+2𝑏𝑟+𝜔2=0,

with roots 𝑟 = −𝑏 ±√𝑏2−𝜔2 . Three cases now present themselves, depending on the relative sizes of b and ω.

Case 1: ∇ ⋅𝐛 =𝜔 . The double root of the auxiliary equation is real and equals 𝑟  = 𝜔. The general solution to Equation (6) is

𝑦=(𝑐1+𝑐2𝑡)𝑒−𝜔𝑡.

This situation of motion is called critical damping and is not oscillatory. Figure 17.6a shows an example of this kind of damped motion.

Case 2: 𝑏 >𝜔. The roots of the auxiliary equation are real and unequal, and they are given by 𝑟1 = −𝑏 +√𝑏2−𝜔2 and 𝑟2 = −𝑏 −√𝑏2−𝜔2 . The general solution to Equation (6) is given by

𝑦=𝑐1𝑒(−𝑏+√𝑏2−𝜔2)𝑡+𝑐2𝑒(−𝑏−√𝑏2−𝜔2)𝑡.

Here again the motion is not oscillatory and both 𝑟1 and 𝑟2 are negative. Thus y approaches zero as time goes on. This motion is referred to as overdamping (see Figure 17.6b).

Case 3: 𝑏 <𝜔. The roots to the auxiliary equation are complex and are given by 𝑟 = −𝑏 ±𝑖√𝜔2−𝑏2 . The general solution to Equation (6) is given by

𝑦=𝑒−𝑏𝑡(𝑐1cos⁡√𝜔2−𝑏2𝑡+𝑐2sin⁡√𝜔2−𝑏2𝑡).

This situation, called underdamping, represents damped oscillatory motion. It is analogous to simple harmonic motion of period 𝑇 =2𝜋/√𝜔2−𝑏2 except that the amplitude is not constant but damped by the factor 𝑒−𝑏𝑡 . Therefore, the motion tends to zero as t increases, so the vibrations tend to die out as time goes on. Notice that the period 𝑇 =2𝜋/√𝜔2−𝑏2 is larger than the period 𝑇0 =2𝜋/𝜔 in the friction-free system. Moreover, the larger the value of 𝑏 =𝛿/(2𝑚) in the exponential damping factor, the more quickly the vibrations tend to become unnoticeable. A curve illustrating underdamped motion is shown in Figure 17.6c.

教材插图

(a) Critical damping

教材插图

(b) Overdamping

教材插图

(c) Underdamping

FIGURE 17.6 Three examples of damped vibratory motion for a spring system with friction, so 𝛿 ≠0

An external force 𝐹(𝑡) can also be added to the spring system modeled by Equation (2). The forcing function may represent an external disturbance on the system. For instance, if the equation models an automobile suspension system, the forcing function might represent periodic bumps or potholes in the road affecting the performance of the suspension system. Or it might represent the effects of winds when modeling the vertical motion of a suspension bridge. Inclusion of a forcing function results in the second-order nonhomogeneous equation

𝑚𝑑2𝑦𝑑𝑡2+𝛿𝑑𝑦𝑑𝑡+𝑘𝑦=𝐹(𝑡).(7)

Such equations are studied in the theory of Differential Equations.

Electric Circuits

The basic quantity in electricity is the charge q (analogous to the idea of mass). In an electric field we use the flow of charge, or current 𝐼 =𝑑𝑞/𝑑𝑡 , as we might use velocity in a gravitational field. There are many similarities between motion in a gravitational field and the flow of electrons (the carriers of charge) in an electric field.

Consider the electric circuit shown in Figure 17.7. It consists of four components: voltage source, resistor, inductor, and capacitor. Think of electrical flow as being like a fluid flow, where the voltage source is the pump and the resistor, inductor, and capacitor tend to block the flow. A battery or generator is an example of a source, producing a voltage that causes the current to flow through the circuit when the switch is closed. An electric light bulb or appliance would provide resistance. The inductance is due to a magnetic field that opposes any change in the current as it flows through a coil. The capacitance is normally created by two metal plates that alternate charges and thus reverse the current flow. The following symbols specify the quantities relevant to the circuit.

教材插图

FIGURE 17.7 An electric circuit.

q: charge at a cross section of a conductor, measured in coulombs (abbreviated c)

I: current or rate of change of charge dq dt (flow of electrons) at a cross section of a conductor, measured in amperes (abbreviated A)

E: electric (potential) source, measured in volts (abbreviated V)

V: difference in potential between two points along the conductor, measured in volts (V)

Ohm observed that the current I flowing through a resistor, caused by a potential difference across it, is (approximately) proportional to the potential difference (voltage drop). He named his constant of proportionality 1 R and called R the resistance. So Ohm’s law is

𝐼=1𝑅𝑉.

Similarly, it is known from physics that the voltage drops across an inductor and a capacitor are, respectively,

𝐿𝑑𝐼𝑑𝑡 and 𝑞𝐶,

where L is the inductance and C is the capacitance (with q the charge on the capacitor).

The German physicist Gustav R. Kirchhoff (1824–1887) formulated the law that the sum of the voltage drops in a closed circuit is equal to the supplied voltage E ( )t . Symbolically, this says that

𝑅𝐼+𝐿𝑑𝐼𝑑𝑡+𝑞𝐶=𝐸(𝑡).

Since 𝐼 =𝑑𝑞/𝑑𝑡 , Kirchhoff’s law becomes

𝐿𝑑2𝑞𝑑𝑡2+𝑅𝑑𝑞𝑑𝑡+1𝐶𝑞=𝐸(𝑡).(8)

The second-order differential equation (8), which models an electric circuit, has exactly the same form as Equation (7) modeling vibratory motion. Both models can be solved using the methods developed in Section 17.2.

Summary

The following chart summarizes our analogies between the physics of motion of an object in a spring system and the flow of charged particles in an electric circuit.

Linear Second-Order Constant-Coefficient Models
Mechanical SystemElectrical System
𝑚𝑦″ +𝛿𝑦′ +𝑘𝑦 =𝐹(𝑡)𝐿𝑞″ +𝑅𝑞′ +1𝐶𝑞 =𝐸(𝑡)
ydisplacementq charge
𝑦′velocity𝑞′ current
𝑦″acceleration𝑞″ change in current
mmassL inductance
δdamping constantR resistance
kspring constant1/𝐶 where C is the capacitance
𝐹(𝑡)forcing function𝐸(𝑡) voltage source

EXERCISES 17.3

  1. A 70-N weight is attached to the lower end of a coil spring suspended from the ceiling and having a spring constant of 15  :N/m. The resistance in the spring–mass system is numerically equal to 15 times the instantaneous velocity. 𝐀𝔱 :=0 , the weight is set in motion from a position 0.6 m below its equilibrium position by giving it a downward velocity of 0.6 m/s. Write an initial value problem that models the given situation.

  2. A 36-N weight stretches a spring 1.2 m. The spring–mass system resides in a medium offering a resistance to the motion that is numerically equal to 20 times the instantaneous velocity. If the weight is released at a position 0.6 m above its equilibrium position with a downward velocity of 0.9 m/s, write an initial value problem modeling the given situation.

  3. A 90-N weight is hung on a 0.4-m spring and stretches it 0.15 m. The weight is pulled down 0.1 m and 30 N are added to the weight. If the weight is now released with a downward velocity of 𝑣0 m/s , write an initial value problem modeling the vertical displacement.

  4. A 49-N weight is suspended by a spring that is stretched 0.05 m by the weight. Assume a resistance whose magnitude is 300/√𝑔 N times the instantaneous velocity υ in meters per second. If the weight is pulled down 0.08 m below its equilibrium position and released, formulate an initial value problem modeling the behavior of the spring–mass system.

  5. An (open) electric circuit consists of an inductor, a resistor, and a capacitor. There is an initial charge of 2 coulombs on the capacitor. At the instant the circuit is closed, a current of 3 amperes is present and a voltage of 𝐸(𝑡) =20 cos t is applied. In this circuit the voltage drop across the resistor is 4 times the instantaneous change in the charge, the voltage drop across the capacitor is 10 times the charge, and the voltage drop across the inductor is 2 times the instantaneous change in the current. Write an initial value problem to model the circuit.

  6. An inductor of 2 henrys is connected in series with a resistor of 12 ohms, a capacitor of 1 16 farad, and a 300-volt battery.

Initially, the charge on the capacitor is zero and the current is zero. Formulate an initial value problem modeling this electric circuit.

  1. A 49-N weight is attached to the lower end of a coil spring suspended from the ceiling and having a spring constant of 10  :N/m. The resistance in the spring–mass system is numerically equal to 10 times the instantaneous velocity. At t = 0, the weight is set in motion from a position 0.6 m below its equilibrium position by giving it a downward velocity of 0.6 m/s. At the end of π s, determine whether the mass is above or below the equilibrium position and by what distance.

  2. A 29.4-N weight stretches a spring 1.225 m. The spring–mass system resides in a medium offering a resistance to the motion equal to 18 times the instantaneous velocity. If the weight is released at a position 0.6 m above its equilibrium position with a downward velocity of 0.9 m/s, find its position relative to the equilibrium position 2 s later.

  3. A 98-N weight is hung on a 0.6 m spring stretching it 0.2 m. The weight is pulled down 0.15 m and 49 N are added to the weight. If the weight is now released with a downward velocity of 𝑣0 m/s, find the position of mass relative to the equilibrium in terms of 𝑣0 and valid for any time 𝑡 ≥0

  4. A mass of 15 kg is attached to a spring whose constant is 375/4  N/m. Initially the mass is released 1 m above the equilibrium position with a downward velocity of 3 m/s, and the subsequent motion takes place in a medium that offers a damping force numerically equal to 45 times the instantaneous velocity. An external force 𝑓(𝑡) is driving the system, but assume that initially 𝑓(𝑡) ≡0 . Formulate and solve an initial value problem that models the given system. Interpret your results.

  5. A 50-N weight is suspended by a spring that is stretched 0.05 m by the weight. Assume a resistance whose magnitude is 100 N times the instantaneous velocity in meters per second. If the weight is pulled down 0.1 m below its equilibrium position and released, find the time required to reach the equilibrium position for the first time.

  6. A weight stretches a spring 0.2 m. It is set in motion at a point 0.05 m below its equilibrium position with a downward velocity of 0.05 m/s. a. When does the weight return to its equilibrium position? b. When does it reach its highest point? c. Show that the maximum velocity is 0.05√10𝑔 m/s

  7. A weight of 50 N stretches a spring 0.25 m. The weight is drawn down 0.05 m below its equilibrium position and given an initial velocity of 0.1 m/s. An identical spring has a different weight attached to it. This second weight is drawn down from its equilibrium position a distance equal to the amplitude of the first motion and then given an initial velocity of 0.6 m/s. If the amplitude of the second motion is twice that of the first, what weight is attached to the second spring?

  8. A weight stretches one spring 0.05 m and a second weight stretches another spring 0.15 m. If both weights are simultaneously pulled down 0.02 m below their respective equilibrium positions and then released, find the first time after t = 0 when their velocities are equal.

  9. A weight of 80 N stretches a spring 1 m. The weight is pulled down 1.5 m below the equilibrium position and then released. What initial velocity 𝑣0 given to the weight would have the effect of doubling the amplitude of the vibration?

  10. A mass weighing 40 N stretches a spring 0.1 m. The spring– mass system resides in a medium with a damping constant of 32 N-s/m. If the mass is released from its equilibrium position with a velocity of 0.1 m/s in the downward direction, find the time required for the mass to return to its equilibrium position for the first time.

  11. A weight suspended from a spring executes damped vibrations with a period of 2 s. If the damping factor decreases by 90% in 10 s, find the acceleration of the weight when it is 0.1 m below its equilibrium position and is moving upward with a speed of 0.8 m/s.

  12. A 50-N weight stretches a spring 0.6 m. If the weight is pulled down 0.15 m below its equilibrium position and released, find the highest point reached by the weight. Assume the spring–mass system resides in a medium offering a resistance of 30 N times the instantaneous velocity in meters per second.

  13. An LRC circuit is set up with an inductance of 1 5 henry, a resistance of 1 ohm, and a capacitance of 5 6 farad. Assuming the initial charge is 2 coulombs and the initial current is 4 amperes, find the solution function describing the charge on the capacitor at any time. What is the charge on the capacitor after a long period of time?

  14. An (open) electric circuit consists of an inductor, a resistor, and a capacitor. There is an initial charge of 2 coulombs on the capacitor. At the instant the circuit is closed, a current of 3 amperes is present but no external voltage is being applied. In this circuit the voltage drops at three points are numerically related as follows: across the capacitor, 10 times the charge; across the resistor, 4 times the instantaneous change in the charge; and across the inductor, 2 times the instantaneous change in the current. Find the charge on the capacitor as a function of time.

  15. A 78.4-N weight stretches a spring 1.225 m. This spring–mass system is in a medium with a damping constant of 72 N−s/m and an external force given by 𝑓(𝑡) =25.6 +6.4𝑒−2𝑡 (in newtons) is being applied. What is the solution function describing the position of the mass at any time if the mass is released from 0.6 m below the equilibrium position with an initial velocity of 1.2 m/s downward?

  16. A 10-kg mass is attached to a spring having a spring constant of 140 N m. The mass is started in motion from the equilibrium position with an initial velocity of 1 m s in the upward direction and with an applied external force given by f( )t t= 5 sin (in newtons). The mass is in a viscous medium with a coefficient of resistance equal to 90 N-s m. Formulate an initial value problem that models the given system; solve the model and interpret the results.

  17. A 2-kg mass is attached to the lower end of a coil spring suspended from the ceiling. The mass comes to rest in its equilibrium position thereby stretching the spring 1.96 m. The mass is in a viscous medium that offers a resistance in newtons numerically equal to 4 times the instantaneous velocity measured in meters per second. The mass is then pulled down 2 m below its equilibrium position and released with a downward velocity of 3 m s. At this same instant an external force given by f( )t = 20 cos t (in newtons) is applied to the system. At the end of π s determine if the mass is above or below its equilibrium position and by how much.

  18. A 39.2-N weight stretches a spring 1.225 m. The spring–mass system resides in a medium offering a resistance to the motion equal to 24 times the instantaneous velocity, and an external force given by 𝑓(𝑡) =28.8 +19.2𝑒−𝑡 (in newtons) is being applied. If the weight is released at a position 0.6 m above its equilibrium position with downward velocity of 0.9 m/s, find its position relative to the equilibrium after 2 s have elapsed.

  19. Suppose L = 10 henrys, R = 10 ohms, C = 1 500 farads, E = 100 volts, q(0) 1= 0 coulombs, and 𝑞′(0) =𝑖(0) =0. Formulate and solve an initial value problem that models the given LRC circuit. Interpret your results.

  20. A series circuit consisting of an inductor, a resistor, and a capacitor is open. There is an initial charge of 2 coulombs on the capacitor, and 3 amperes of current is present in the circuit at the instant the circuit is closed. A voltage given by E ( )t = 20 cos t is applied. In this circuit the voltage drops are numerically equal to the following: across the resistor, to 4 times the instantaneous change in the charge; across the capacitor, to 10 times the charge; and across the inductor, to 2 times the instantaneous change in the current. Find the charge on the capacitor as a function of time. Determine the charge on the capacitor and the current at time t = 10.

17.4 Euler Equations

In Section 17.1 we introduced the second-order linear homogeneous differential equation

𝑃(𝑥)𝑦′′(𝑥)+𝑄(𝑥)𝑦′(𝑥)+𝑅(𝑥)𝑦(𝑥)=0

and showed how to solve this equation when the coefficients 𝑃,𝑄, , and R are constants. If the coefficients are not constant, we cannot generally solve this differential equation in terms of elementary functions we have studied in calculus. In this section you will learn how to solve the equation when the coefficients have the special forms

𝑃(𝑥)=𝑎𝑥2,𝑄(𝑥)=𝑏𝑥, and 𝑅(𝑥)=𝑐,

where 𝑎,𝑏, and c are constants. These special types of equations are called Euler equations in honor of Leonhard Euler, who studied them and showed how to solve them. Such equations arise in the study of mechanical vibrations.

The General Solution of Euler Equations

Consider the Euler equation

𝑎𝑥2𝑦′′+𝑏𝑥𝑦′+𝑐𝑦=0,𝑥>0.(1)

To solve Equation (1), we first make the change of variables

𝑧=ln⁡𝑥 and 𝑦(𝑥)=𝑌(𝑧).

We next use the chain rule to find the derivatives 𝑦′(𝑥) and 𝑦′′(𝑥) :

𝑦′(𝑥)=𝑑𝑑𝑥𝑌(𝑧)=𝑑𝑑𝑧𝑌(𝑧)𝑑𝑧𝑑𝑥=𝑌′(𝑧)1𝑥

and

𝑦′′(𝑥)=𝑑𝑑𝑥𝑦′(𝑥)=𝑑𝑑𝑥𝑌′(𝑧)1𝑥=−1𝑥2𝑌′(𝑧)+1𝑥𝑌′′(𝑧)𝑑𝑧𝑑𝑥=−1𝑥2𝑌′(𝑧)+1𝑥2𝑌′′(𝑧).

Substituting these two derivatives into the left-hand side of Equation (1), we find

𝑎𝑥2𝑦′′+𝑏𝑥𝑦′+𝑐𝑦=𝑎𝑥2(−1𝑥2𝑌′(𝑧)+1𝑥2𝑌′′(𝑧))+𝑏𝑥(1𝑥𝑌′(𝑧))+𝑐𝑌(𝑧)=𝑎𝑌′′(𝑧)+(𝑏−𝑎)𝑌′(𝑧)+𝑐𝑌(𝑧).

Therefore, the substitutions give us the second-order linear differential equation with constant coefficients

𝑎𝑌′′(𝑧)+(𝑏−𝑎)𝑌′(𝑧)+𝑐𝑌(𝑧)=0.(2)

We can solve Equation (2) using the method of Section 17.1. That is, we find the roots of the associated auxiliary equation

𝑎𝑟2+(𝑏−𝑎)𝑟+𝑐=0(3)

to find the general solution for 𝑌(𝑧) . After finding 𝑌(𝑧) , we can determine 𝑦(𝑥) from the substitution 𝑧  = ln⁡𝑥.

EXAMPLE 1 Find the general solution of the equation 𝑥2𝑦′′ +2𝑥𝑦′ −2𝑦 =0

Solution This is an Euler equation with 𝑎 =1,𝑏 =2, and 𝑐 = −2 . The auxiliary equation (3) for 𝑌(𝑧) is

𝑟2+(2−1)𝑟−2=(𝑟−1)(𝑟+2)=0,

with roots 𝑟 = −2 and r = 1. The solution for 𝑌(𝑧) is given by

𝑌(𝑧)=𝑐1𝑒−2𝑧+𝑐2𝑒𝑧.

Substituting z = ln x gives the general solution for y x( ):

𝑦(𝑥)=𝑐1𝑒−2ln⁡𝑥+𝑐2𝑒ln⁡𝑥=𝑐1𝑥−2+𝑐2𝑥.

EXAMPLE 2 Solve the Euler equation 𝑥2𝑦′′ −5𝑥𝑦′ +9𝑦 =0

Solution Since 𝑎 =1,𝑏 = −5. , and 𝑐 =9, , the auxiliary equation (3) for 𝑌(𝑧) is

𝑟2+(−5−1)𝑟+9=(𝑟−3)2=0.

The auxiliary equation has the double root 𝑟 =3, giving

𝑌(𝑧)=𝑐1𝑒3𝑧+𝑐2𝑧𝑒3𝑧.

Substituting z = ln x into this expression gives the general solution

𝑦(𝑥)=𝑐1𝑒3ln⁡𝑥+𝑐2ln⁡𝑥𝑒3ln⁡𝑥=𝑐1𝑥3+𝑐2𝑥3ln⁡𝑥.

EXAMPLE 3 Find the particular solution to 𝑥2𝑦′′ −3𝑥𝑦′ +68𝑦 =0 that satisfies the initial conditions 𝑦(1) =0and𝑦′(1) =1

Solution Here 𝑎 =1,𝑏 = −3 , and 𝑐 =68 substituted into the auxiliary equation (3) give

𝑟2−4𝑟+68=0.

The roots are 𝑟 =2 +8𝑖 and 𝑟 =2 −8𝑖. , giving the solution

𝑌(𝑧)=𝑒2𝑧(𝑐1cos⁡8𝑧+𝑐2sin⁡8𝑧).

Substituting z = ln x into this expression gives

𝑦(𝑥)=𝑒2ln⁡𝑥(𝑐1cos⁡(8ln⁡𝑥)+𝑐2sin⁡(8ln⁡𝑥)).

From the initial condition 𝑦(1) =0 , we see that 𝑐1 =0 and

𝑦(𝑥)=𝑐2𝑥2sin⁡(8ln⁡𝑥).

教材插图

To fit the second initial condition, we need the derivative

FIGURE 17.8 Graph of the solution to Example 3.

𝑦′(𝑥)=𝑐2(8𝑥cos⁡(8ln⁡𝑥)+2𝑥sin⁡(8ln⁡𝑥)).

Since 𝑦′(1) =1 , we immediately obtain 𝑐2  = 1/8 . Therefore, the particular solution satisfying both initial conditions is

𝑦(𝑥)=18𝑥2sin⁡(8ln⁡𝑥).

Since −1 ≤sin⁡(8ln⁡𝑥) ≤1 , the solution satisfies

−𝑥28≤𝑦(𝑥)≤𝑥28.

A graph of the solution is shown in Figure 17.8.

Exercises 17.4

In Exercises 1–24, find the general solution to the given Euler equation.

Assume 𝑥 >0 throughout.

  1. 𝑥2𝑦′′ +2𝑥𝑦′ −2𝑦 =0

  2. 𝑥2𝑦′′ +𝑥𝑦′ −4𝑦 =0

  3. 𝑥2𝑦′′ −6𝑦 =0

  4. 𝑥2𝑦′′ +𝑥𝑦′ −𝑦 =0

  5. 𝑥2𝑦′′ −5𝑥𝑦′ +8𝑦 =0

  6. 2 7 x y′′ + xy′ + = 2 0 y 2

  7. 3𝑥2𝑦′′ +4𝑥𝑦′ =0

  8. 𝑥2𝑦′′ +6𝑥𝑦′ +4𝑦 =0

  9. 𝑥2𝑦′′ −𝑥𝑦′ +𝑦 =0

  10. 𝑥2𝑦′′ −𝑥𝑦′ +2𝑦 =0

  11. 𝑥2𝑦′′ −𝑥𝑦′ +5𝑦 =0

  12. 𝑥2𝑦′′ +7𝑥𝑦′ +13𝑦 =0

  13. 𝑥2𝑦′′ +3𝑥𝑦′ +10𝑦 =0

  14. 𝑥2𝑦′′ −5𝑥𝑦′ +10𝑦 =0

  15. 4𝑥2𝑦′′ +8𝑥𝑦′ +5𝑦 =0

  16. 4𝑥2𝑦′′ −4𝑥𝑦′ +5𝑦 =0

  17. 𝑥2𝑦′′ +3𝑥𝑦′ +𝑦 =0

  18. 𝑥2𝑦′′ −3𝑥𝑦′ +9𝑦 =0

  19. 𝑥2𝑦′′ +𝑥𝑦′ =0

  20. 4𝑥2𝑦′′ +𝑦 =0

  21. 9𝑥2𝑦′′ +15𝑥𝑦′ +𝑦 =0

  22. 16𝑥2𝑦′′ −8𝑥𝑦′ +9𝑦 =0

  23. 16𝑥2𝑦′′ +56𝑥𝑦′ +25𝑦 =0

  24. 4𝑥2𝑦′′ −16𝑥𝑦′ +25𝑦 =0

In Exercises 25–30, solve the given initial value problem.

  1. 𝑥2𝑦′′ +3𝑥𝑦′ −3𝑦 =0,𝑦(1) =1,𝑦′(1) = −1

  2. 6𝑥2𝑦′′ +7𝑥𝑦′ −2𝑦 =0,𝑦(1) =0,𝑦′(1) =1

  3. 𝑥2𝑦′′ −𝑥𝑦′ +𝑦 =0,𝑦(1) =1,𝑦′(1) =1

  4. x y x ′′ + 7 9 y y ′ + = 0, y y (1) 1 = , (′ 1) = 0 2

  5. 𝑥2𝑦′′ −𝑥𝑦′ +2𝑦 =0,𝑦(1) = −1,𝑦′(1) =1

𝑥2𝑦′′+3𝑥𝑦′+5𝑦=0,𝑦(1)=1,𝑦′(1)=0

17.5 Power-Series Solutions

In this section we extend our study of second-order linear homogeneous equations with variable coefficients. With the Euler equations in Section 17.4, the power of the variable x in the nonconstant coefficient had to match the order of the derivative with which it was paired: 𝑥2 with 𝑦′′,𝑥1 with 𝑦′, and 𝑥0( =1) with y. Here we drop that requirement so we can solve more general equations.

Method of Solution

The power-series method for solving a second-order homogeneous differential equation consists of finding the coefficients of a power series

𝑦(𝑥)=∞∑𝑛=0𝑐𝑛𝑥𝑛=𝑐0+𝑐1𝑥+𝑐2𝑥2+…(1)

which solves the equation. To apply the method we substitute the series and its derivatives into the differential equation to determine the coefficients 𝑐0,𝑐1,𝑐2,… The technique for finding the coefficients is similar to that used in the method of undetermined coefficients presented in Section 17.2.

In our first example we demonstrate the method in the setting of a simple equation whose general solution we already know. This is to help you become more comfortable with solutions expressed in series form.

EXAMPLE 1   Solve the equation 𝑦′′ +𝑦 =0 by the power-series method.

Solution We assume the series solution takes the form of

𝑦=∞∑𝑛=0𝑐𝑛𝑥𝑛

and calculate the derivatives

𝑦′=∞∑𝑛=1𝑛𝑐𝑛𝑥𝑛−1 and 𝑦′′=∞∑𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−2.

Substitution of these forms into the second-order equation gives us

∞∑𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−2+∞∑𝑛=0𝑐𝑛𝑥𝑛=0.

Next, we equate the coefficients of each power of x to zero as summarized in the following table.

Power of xCoefficient equation
𝑥02(1)𝑐2 +𝑐0 =0or𝑐2 = −12𝑐0
𝑥13(2)𝑐3 +𝑐1 =0or𝑐3 = −13⋅2𝑐1
𝑥24(3)𝑐4 +𝑐2 =0or𝑐4 = −14⋅3𝑐2
𝑥35(4)𝑐5 +𝑐3 =0or𝑐5 = −15⋅4𝑐3
𝑥46(5)𝑐6 +𝑐4 =0or𝑐6 = −16⋅5𝑐4
⋮⋮⋮
𝑥𝑛−2𝑛(𝑛 −1)𝑐𝑛 +𝑐𝑛−2 =0or𝑐𝑛 = −1𝑛(𝑛−1)𝑐𝑛−2

From the table we notice that the coefficients with even indices (𝑛 =2𝑘,𝑘 =1,2,3,...) are related to each other and the coefficients with odd indices (𝑛 =2𝑘 +1) are also interrelated. We treat each group in turn.

Even indices: Here 𝑛 =2𝑘 , so the power is 𝑥2𝑘−2 . From the last line of the table, we have

2𝑘(2𝑘−1)𝑐2𝑘+𝑐2𝑘−2=0

or

𝑐2𝑘=−12𝑘(2𝑘−1)𝑐2𝑘−2.

From this recursive relation we find

𝑐2𝑘=[−12𝑘(2𝑘−1)][−1(2𝑘−2)(2𝑘−3)]…[−14(3)][−12]𝑐0=(−1)𝑘(2𝑘)!𝑐0.

Odd indices: Here 𝑛 =2𝑘 +1 , so the power is 𝑥2𝑘− .1 Substituting this into the last line of the table yields

(2𝑘+1)(2𝑘)𝑐2𝑘+1+𝑐2𝑘−1=0

or

𝑐2𝑘+1=−1(2𝑘+1)(2𝑘)𝑐2𝑘−1.

Thus,

𝑐2𝑘+1=[−1(2𝑘+1)(2𝑘)][−1(2𝑘−1)(2𝑘−2)]…[−15(4)][−13(2)]𝑐1=(−1)𝑘(2𝑘+1)!𝑐1.

Writing the power series by grouping its even and odd powers together and substituting for the coefficients yields

𝑦=∑∞𝑛=0𝑐𝑛𝑥𝑛=∑∞𝑘=0𝑐2𝑘𝑥2𝑘+∑∞𝑘=0𝑐2𝑘+1𝑥2𝑘+1=𝑐0∑∞𝑘=0(−1)𝑘(2𝑘)!𝑥2𝑘+𝑐1∑∞𝑘=0(−1)𝑘(2𝑘+1)!𝑥2𝑘+1.

From our study of Taylor series, we see that the first series on the right-hand side of the last equation represents the cosine function, and the second series represents the sine. Thus, the general solution to 𝑦′′ +𝑦 =0 is

𝑦=𝑐0cos⁡𝑥+𝑐1sin⁡𝑥.

EXAMPLE 2 Find the general solution to 𝑦′′ +𝑥𝑦′ +𝑦 =0

Solution We assume the series solution form

𝑦=∞∑𝑛=0𝑐𝑛𝑥𝑛

and calculate the derivatives

𝑦′=∞∑𝑛=1𝑛𝑐𝑛𝑥𝑛−1 and 𝑦′′=∞∑𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−2.

Substitution of these forms into the second-order equation yields

∞∑𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−2+∞∑𝑛=1𝑛𝑐𝑛𝑥𝑛+∞∑𝑛=0𝑐𝑛𝑥𝑛=0.

We equate the coefficients of each power of x to zero as summarized in the following table.

Power of xCoefficient equation
𝑥02(1)𝑐2 +𝑐0 =0or𝑐2 = −12𝑐0
𝑥13(2)𝑐3 +𝑐1 +𝑐1 =0or𝑐3 = −13𝑐1
𝑥24(3)𝑐4 +2𝑐2 +𝑐2 =0or𝑐4 = −14𝑐2
𝑥35(4)𝑐5 +3𝑐3 +𝑐3 =0or𝑐5 = −15𝑐3
𝑥46(5)𝑐6 +4𝑐4 +𝑐4 =0or𝑐6 = −16𝑐4
⋮⋮⋮
𝑥𝑛(𝑛 +2)(𝑛 +1)𝑐𝑛+2 +(𝑛 +1)𝑐𝑛 =0or𝑐𝑛+2 = −1𝑛+2𝑐𝑛

From the table notice that the coefficients with even indices are interrelated and the coefficients with odd indices are also interrelated.

Even indices: Here 𝑛 =2𝑘 −2 , so the power is 𝑥2𝑘−2 . From the last line in the table, we have

𝑐2𝑘=−12𝑘𝑐2𝑘−2.

From this recurrence relation we obtain

𝑐2𝑘=(−12𝑘)(−12𝑘−2)…(−16)(−14)(−12)𝑐0=(−1)𝑘(2)(4)(6)⋯(2𝑘)𝑐0.

Odd indices: Here 𝑛 =2𝑘 −1 , so the power is 𝑥2𝑘−1 . From the last line in the table, we have

𝑐2𝑘+1=−12𝑘+1𝑐2𝑘−1.

From this recurrence relation we obtain

𝑐2𝑘+1=(−12𝑘+1)(−12𝑘−1)…(−15)(−13)𝑐1=(−1)𝑘(3)(5)⋯(2𝑘+1)𝑐1.

Writing the power series by grouping its even and odd powers and substituting for the coefficients yields

𝑦=∑∞𝑘=0𝑐2𝑘𝑥2𝑘+∑∞𝑘=0𝑐2𝑘+1𝑥2𝑘+1=𝑐0∑∞𝑘=0(−1)𝑘(2)(4)⋯(2𝑘)𝑥2𝑘+𝑐1∑∞𝑘=0(−1)𝑘(3)(5)⋯(2𝑘+1)𝑥2𝑘+1.

EXAMPLE 3   Find the general solution to

(1−𝑥2)𝑦′′−6𝑥𝑦′−4𝑦=0,|𝑥|<1.

Solution Notice that the leading coefficient is zero when 𝑥 = ±1 . Thus, we assume the solution interval 𝐼: −1 <𝑥 <1 . Substitution of the series form

𝑦=∞∑𝑛=0𝑐𝑛𝑥𝑛

and its derivatives gives us

(1−𝑥2)∑∞𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−2−6∑∞𝑛=1𝑛𝑐𝑛𝑥𝑛−4∑∞𝑛=0𝑐𝑛𝑥𝑛=0,∑∞𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−2−∑∞𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−6∑∞𝑛=1𝑛𝑐𝑛𝑥𝑛−4∑∞𝑛=0𝑐𝑛𝑥𝑛=0.

Next, we equate the coefficients of each power of x to zero as summarized in the following table.

Power of xCoefficient equation
𝑥02(1)𝑐2−4𝑐0 =0or 𝑐2 =42𝑐0
𝑥13(2)𝑐3−6(1)𝑐1 −4𝑐1 =0or 𝑐3 =53𝑐1
𝑥24(3)𝑐4 −2(1)𝑐2 −6(2)𝑐2 −4𝑐2 =0or 𝑐4 =64𝑐2
𝑥35(4)𝑐5 −3(2)𝑐3 −6(3)𝑐3 −4𝑐3 =0or 𝑐5 =75𝑐3
⋮⋮⋮
𝑥𝑛(𝑛 +2)(𝑛 +1)𝑐𝑛+2 −[𝑛(𝑛 −1) +6𝑛 +4]𝑐𝑛 =0
(𝑛 +2)(𝑛 +1)𝑐𝑛+2 −(𝑛 +4)(𝑛 +1)𝑐𝑛 =0or𝑐𝑛+2 =𝑛+4𝑛+2𝑐𝑛

Again we notice that the coefficients with even indices are interrelated and those with odd indices are interrelated.

Even indices: Here 𝑛 =2𝑘 −2 , so the power is 𝑥2𝑘 . From the right-hand column and the last line of the table, we get

𝑐2𝑘=2𝑘+22𝑘𝑐2𝑘−2=(2𝑘+22𝑘)(2𝑘2𝑘−2)(2𝑘−22𝑘−4)…64(42)𝑐0=(𝑘+1)𝑐0.

Odd indices: Here 𝑛 =2𝑘 −1, so the power is 𝑥2𝑘+1 . The right-hand column and the last line of the table give us

𝑐2𝑘+1=2𝑘+32𝑘+1𝑐2𝑘−1=(2𝑘+32𝑘+1)(2𝑘+12𝑘−1)(2𝑘−12𝑘−3)…75(53)𝑐1=2𝑘+33𝑐1.

The general solution is

𝑦=∑∞𝑛=0𝑐𝑛𝑥𝑛=∑∞𝑘=0𝑐2𝑘𝑥2𝑘+∑∞𝑘=0𝑐2𝑘+1𝑥2𝑘+1=𝑐0∑∞𝑘=0(𝑘+1)𝑥2𝑘+𝑐1∑∞𝑘=02𝑘+33𝑥2𝑘+1.

EXAMPLE 4 Find the general solution to 𝑦′′ −2𝑥𝑦′ +𝑦 =0

Solution Assuming that

𝑦=∞∑𝑛=0𝑐𝑛𝑥𝑛,

substitution into the differential equation gives us

∞∑𝑛=2𝑛(𝑛−1)𝑐𝑛𝑥𝑛−2−2∞∑𝑛=1𝑛𝑐𝑛𝑥𝑛+∞∑𝑛=0𝑐𝑛𝑥𝑛=0.

We next determine the coefficients, listing them in the following table.

Power of x

𝑥0

Coefficient equation

2(1)𝑐2 𝑥1 +𝑐0=0 or 𝑐2=−12𝑐0 3(2)𝑐3−2𝑐1+𝑐1=0 or 𝑐3=13⋅2𝑐1 𝑥2 4(3)𝑐4−4𝑐2+𝑐2=0 or 𝑐4=34⋅3𝑐2 𝑥3 5(4)𝑐5−6𝑐3+𝑐3=0 or 𝑐5=55⋅4𝑐3 𝑥4 6(5)𝑐6−8𝑐4+𝑐4=0or𝑐6=76⋅5𝑐4⋮⋮ 𝑥𝑛 (𝑛+2)(𝑛+1)𝑐𝑛+2−(2𝑛−1)𝑐𝑛=0 or 𝑐𝑛+2=2𝑛−1(𝑛+2)(𝑛+1)𝑐𝑛

From the recursive relation

𝑐𝑛+2=2𝑛−1(𝑛+2)(𝑛+1)𝑐𝑛,

we write out the first few terms of each series for the general solution:

𝑦=𝑐0(1−12𝑥2−34!𝑥4−216!𝑥6−…)+𝑐1(𝑥+13!𝑥3+55!𝑥5+457!𝑥7+…).

Exercises 17.5

In Exercises 1–18, use power series to find the general solution of the differential equation.

  1. 𝑦′′ +2𝑦′ =0

  2. 𝑦′′ +2𝑦′ +𝑦 =0

  3. 𝑦′′ +4𝑦 =0

  4. 𝑦′′ −3𝑦′ +2𝑦 =0

  5. 𝑥2𝑦′′ −2𝑥𝑦′ +2𝑦 =0

  6. 𝑦′′ −𝑥𝑦′ +𝑦 =0

  7. (1 +𝑥)𝑦′′ −𝑦 =0

  8. (1 −𝑥2)𝑦′′ −4𝑥𝑦′ +6𝑦 =0

  9. (𝑥2 −1)𝑦′′ +2𝑥𝑦′ −2𝑦 =0

  10. 𝑦′′ +𝑦′ −𝑥2𝑦 =0

  11. (𝑥2 −1)𝑦′′ −6𝑦 =0

  12. 𝑥𝑦′′ −(𝑥 +2)𝑦′ +2𝑦 =0

  13. (𝑥2 −1)𝑦′′ +4𝑥𝑦′ +2𝑦 =0

  14. 𝑦′′ −2𝑥𝑦′ +4𝑦 =0

  15. 𝑦′′ −2𝑥𝑦′ +3𝑦 =0

  16. (1 −𝑥2)𝑦′′ −𝑥𝑦′ +4𝑦 =0

  17. 𝑦′′ −𝑥𝑦′ +3𝑦 =0

  18. 𝑥2𝑦′′ −4𝑥𝑦′ +6𝑦 =0

Chapter 17

SECTION 17.1, pp. 17-6–17-7

  1. 𝑦 =𝑐1𝑒−3𝑥 +𝑐2𝑒4𝑥 3. 𝑦 =𝑐1𝑒−4𝑥 +𝑐2𝑒𝑥

  2. 𝑦 =𝑐1𝑒−2𝑥 +𝑐2𝑒2𝑥 7. 𝑦 =𝑐1𝑒−𝑥 +𝑐2𝑒3𝑥/2

  3. 𝑦 =𝑐1𝑒−𝑥/4 +𝑐2𝑒3𝑥/2 𝟏𝟏. 𝑦 =𝑐1cos⁡3𝑥 +𝑐2sin⁡3𝑥

  4. 𝑦=𝑐1cos⁡5𝑥+𝑐2sin⁡5𝑥15. 𝑦=𝑒𝑥(𝑐1cos⁡2𝑥+𝑐2sin⁡2𝑥)

  5. 𝑦 =𝑒−𝑥(𝑐1cos⁡√3𝑥 +𝑐2sin⁡√3𝑥)

  6. 𝑦 =𝑒−2𝑥(𝑐1cos⁡√5𝑥 +𝑐2sin⁡√5𝑥)

  7. 𝑦 =𝑐1 +𝑐2𝑥 23. 𝑦 =𝑐1𝑒−2𝑥 +𝑐2𝑥𝑒−2𝑥

  8. 𝑦 =𝑐1𝑒−3𝑥 +𝑐2𝑥𝑒−3𝑥 27. 𝑦 =𝑐1𝑒−𝑥/2 +𝑐2𝑥𝑒−𝑥/2

  9. 𝑦 =𝑐1𝑒−𝑥/3 +𝑐2𝑥𝑒−𝑥/3 31. 𝑦 = −34𝑒−5𝑥 +34𝑒−𝑥

  10. 𝑦 =12√3sin⁡2√3𝑥

  11. 𝑦 = −cos⁡2√2𝑥 +1√2sin⁡2√2𝑥

  12. 𝑦 =(1 −2𝑥)𝑒2𝑥 39. 𝑦 =2(1 +2𝑥)𝑒−3𝑥/2

  13. 𝑦 =𝑐1𝑒−𝑥 +𝑐2𝑒3𝑥 43. 𝑦 =𝑐1𝑒−𝑥/2 +𝑐2𝑥𝑒−𝑥/2

  14. 𝑦 =𝑐1cos⁡√5𝑥 +𝑐2sin⁡√5𝑥 47. 𝑦 =𝑐1𝑒−𝑥/5 +𝑐2𝑥𝑒−𝑥/5

  15. 𝑦 =𝑒−𝑥/2(𝑐1cos⁡𝑥 +𝑐2sin⁡𝑥) 51. 𝑦 =𝑐1𝑒3𝑥/4 +𝑐2𝑥𝑒3𝑥/4

  16. 𝑦 =𝑐1𝑒−4𝑥/3 +𝑐2𝑥𝑒−4𝑥/3 55. 𝑦 =𝑐1𝑒−𝑥/2 +𝑐2𝑒4𝑥/3

  17. 𝑦 =(1 +2𝑥)𝑒−𝑥 59. 𝑦 =1513𝑒−7𝑥/3 +1113𝑒2𝑥

SECTION 17.2, pp. 17-14–17-15

  1. 𝑦 =𝑐1𝑒5𝑥 +𝑐2𝑒−2𝑥 +310

1 1 3. y c = + c e +x 1 2 −x2 cos x 2 sin

1 5. y c = + cos s x c in x − 1 2 x 8 cos 3

  1. 𝑦 =𝑐1𝑒2𝑥 +𝑐2𝑒−𝑥 −6cos⁡𝑥 −2sin⁡𝑥

  2. y c = + e c e x − − − 2 + x x 2 12 xe x

𝑦=𝑐1𝑒3𝑥+𝑐2𝑒−2𝑥−14𝑒−𝑥+4950cos⁡𝑥+750sin⁡𝑥
  1. y c = + c e− + + x 35x 1 2 5 3 x 2 − 6 x 25

  2. 𝑦 =𝑐1 +𝑐2𝑒3𝑥 +2𝑥2 +43𝑥 +13𝑥𝑒3𝑥

  3. 𝑦 =𝑐1 +𝑐2𝑒−𝑥 +12𝑥2 −𝑥

  4. 𝑦 =𝑐1cos⁡𝑥 +𝑐2sin⁡𝑥 −12𝑥cos⁡𝑥

  5. 𝑦 =(𝑐1 +𝑐2𝑥)𝑒−𝑥 +12𝑥2𝑒−𝑥

  6. 𝑦 =𝑐1𝑒𝑥 +𝑐2𝑒−𝑥 +12𝑥𝑒𝑥

  7. 𝑦 =𝑒−2𝑥(𝑐1cos⁡𝑥 +𝑐2sin⁡𝑥) +2

  8. 𝑦 =𝐴cos⁡𝑥 + s B in x x + + sin c x x os ln co ( ) s x

  9. 𝑦 =𝑐1 +𝑐2𝑒5𝑥 +110𝑥2𝑒5𝑥 −125𝑥𝑒5𝑥

  10. 𝑦 =𝑐1cos⁡𝑥 +𝑐2sin⁡𝑥 −12𝑥cos⁡𝑥 +𝑥sin⁡𝑥

  11. 𝑦 =𝑐1 +𝑐2𝑒𝑥 +12𝑒−𝑥 +𝑥𝑒𝑥

  12. 𝑦 =𝑐1𝑒5𝑥 +𝑐2𝑒−𝑥 −18𝑒𝑥 −45

  13. 𝑦 =𝑐1cos⁡𝑥 +𝑐2sin⁡𝑥 −(sin⁡𝑥)[ln⁡(csc⁡𝑥 +cot⁡𝑥)]

  14. 𝑦 =𝑐1 +𝑐2𝑒8𝑥 +18𝑥𝑒8𝑥

  15. 𝑦 =𝑐1 +𝑐2𝑒𝑥 −𝑥4/4 −𝑥3 −3𝑥2 −6𝑥

  16. 𝑦 =𝑐1 +𝑐2𝑒−2𝑥 −13𝑒𝑥 +𝑥3/6 −𝑥2/4 +𝑥/4

  17. 𝑦=𝑐1cos⁡𝑥+𝑐2sin⁡𝑥+(𝑥−tan⁡𝑥)cos𝑥−sin⁡𝑥ln⁡(cos⁡𝑥)=𝑐1cos⁡𝑥+𝑐2′sin⁡𝑥+𝑥cos⁡𝑥−(sin⁡𝑥)ln(cos⁡𝑥)

  18. 𝑦 =𝑐𝑒3𝑥 −12𝑒𝑥

  19. 𝑦 =𝑐𝑒3𝑥 +5𝑥𝑒3𝑥

  20. y x = + 2 cos sin 1 x x − + sin ln s( ) ec ta x x + n

  21. 𝑦 = −𝑒−𝑥 +1 +12𝑥2 −𝑥

  22. 𝑦 =2(𝑒𝑥 −𝑒−𝑥)cos⁡𝑥 −3𝑒−𝑥sin⁡𝑥

  23. 𝑦 =(1 −𝑥 +𝑥2)𝑒𝑥

  24. 𝑦𝚙 =14𝑥2

SeCtion 17.3, pp. 17-20–17-21

. 12 y″ + y′ + y = 0, y(0) = 0.6, y′(0) = 0.6 1 1

  1. 120𝑦′′+600𝑦=0, y(0) = 0.05, y′(0) = y0

  2. 2𝑞′′ +4𝑞′ +10𝑞 =20cos⁡𝑡, q(0) = 2, 𝑞′(0) =3

  3. 0.0259 m (above equilibrium)

  4. 𝑦(𝑡) =0.05cos⁡(5.715𝑡) +𝜐05.715sin⁡(5.715𝑡) (in meters)

  5. 1.806 s 13. 45 N 15. 8.13 m/s

  6. 0.6238 m/s2(acceleration upward)

  7. 𝑞(𝑡) = −8𝑒−3𝑡 +10𝑒−2𝑡, lim𝑡⟶∼∼⁡𝑞(𝑡) =0

  8. 𝑦(𝑡) =0.3 +0.6𝑒−𝑡 −0.1𝑒−2𝑡 −0.2𝑒−8𝑡

  9. y(p) = -2 m (above equilibrium)1 1

  10. 𝑞(𝑡) =15 +(49√199sin⁡√1992𝑡+495cos⁡√1992𝑡𝑒−𝑡/2)

SECTION 17.4, p. 17-24

  1. 𝑦 =𝑐1𝑥2 +𝑐2𝑥 3. 𝑦 =𝑐1𝑥2 +𝑐2𝑥3

  2. 𝑦 =𝑐1𝑥2 +𝑐2𝑥4 7. 𝑦 =𝑐1𝑥−1/3 +𝑐2

  3. 𝑦 =𝑥(𝑐1 +𝑐2ln⁡𝑥)

  4. 𝑦 =𝑥[𝑐1cos⁡(2ln⁡𝑥) +𝑐2sin⁡(2ln⁡𝑥)]

  5. y = + [ ] ( ) ( ) c x c x 1 1 2cos 3 ln sin 3 ln x

  6. 𝑦 =1√𝑥[𝑐1cos⁡(ln⁡𝑥) +𝑐2sin⁡(ln⁡𝑥)]

  7. 𝑦 =1𝑥(𝑐1 +𝑐2ln⁡𝑥) 19. 𝑦 =𝑐1 +𝑐2ln⁡𝑥

  8. 𝑦 =13√𝑥(𝑐1 +𝑐2ln⁡𝑥) 23. 𝑦 =𝑥−5/4(𝑐1 +𝑐2ln⁡𝑥)

  9. 𝑦 =12𝑥3 +𝑥2 27. 𝑦 =𝑥

  10. 𝑦 =𝑥[ −cos⁡(ln⁡𝑥) +2sin⁡(ln⁡𝑥)]

SECTION 17.5, p. 17-29

𝑦=𝑐0+𝑐1(𝑥−𝑥2+23𝑥3−…)=𝑐0−𝑐12𝑒−2𝑥
  1. 𝑦 =𝑐0(1 −2𝑥2 +⋯) +𝑐1(𝑥 −23𝑥3 +⋯) = +c x c xcos 2 sin 20 1

  2. 𝑦 =𝑐1𝑥 +𝑐2𝑥2

𝑦=𝑐0(1+12𝑥2−16𝑥3+…)+𝑐1(𝑥+16𝑥3+…)
  1. 𝑦 =𝑐0(1 −𝑥2 +512𝑥4 −⋯) +𝑐1𝑥

  2. 𝑦 =𝑐0(1 −3𝑥2 +⋯) +𝑐1(𝑥 −𝑥3)

13.𝑦=𝑐0(1+𝑥2+23𝑥4+…)+𝑐1(𝑥+𝑥3+35𝑥5+…)
  1. 𝑦 =𝑐0(1 −32𝑥2 +⋯) +𝑐1(𝑥 −12𝑥3 +⋯)

  2. 𝑦 =𝑐0(1 −32𝑥2 +18𝑥4 +⋯) +𝑐1(𝑥 −13𝑥3)