Docsity

Lecture Notes on Homogeneous Equations with Constant Coefficients | MATH 3321, Study notes of Mathematics

Toggle sidebar
bg1
3.3 Homogeneous Equations with Constant Coefficients
We emphasized in Sections 3.1 and 3.2 that there are no general methods for solving second
(or higher) order linear differential equations. However, there are some special cases for
which solution methods do exist. In this and the following sections we consider such a case,
linear equations with constant coefficients. In this section we treat homogeneous equations;
nonhomogeneous equations will be treated in the next two sections.
Asecond order linear homogeneous differential equation with constant coefficients is an
equation which can be written in the form
y00 +ay0+by = 0 (1)
where aand bare real numbers.
You have seen that the function y=e−ax is a solution of the first-order linear equation
y0+ay =0.(the model for exponential growth and decay)
This suggests the possibility that equation (1) may also have an exponential function y=
erx as a solution.
If y=erx, then y0=re
rx and y00 =r2erx. Substitution into (1) gives
r2erx +a(re
rx)+b(erx)=erx r2+ar +b=0.
Since erx 6= 0 for all x, we conclude that y=erx is a solution of (1) if and only if
r2+ar +b=0.(2)
Thus, if ris a root of the quadratic equation (2), then y=erx is a solution of equation
(1); we can find solutions of (1) by finding the roots of the quadratic equation (2).
DEFINITION 1. Given the differential equation (1). The corresponding quadratic equa-
tion
r2+ar +b=0
is called the characteristic equation of (1); the quadratic polynomial r2+ar +bis
called the characteristic polynomial. The roots of the characteristic equation are called the
characteristic roots .
The nature of the solutions of the differential equation (1) depends on the nature of the
roots of its characteristic equation (2). There are three cases to consider:
(1) Equation (2) has two, distinct real roots, r1=α, r2=β.
(2) Equation (2) has only one real root, r=α.
76
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Lecture Notes on Homogeneous Equations with Constant Coefficients | MATH 3321 and more Study notes Mathematics in PDF only on Docsity!

3.3 Homogeneous Equations with Constant Coefficients

We emphasized in Sections 3.1 and 3.2 that there are no general methods for solving second (or higher) order linear differential equations. However, there are some special cases for which solution methods do exist. In this and the following sections we consider such a case, linear equations with constant coefficients. In this section we treat homogeneous equations; nonhomogeneous equations will be treated in the next two sections. A second order linear homogeneous differential equation with constant coefficients is an equation which can be written in the form y′′^ + ay′^ + by = 0 (1)

where a and b are real numbers. You have seen that the function y = e−ax^ is a solution of the first-order linear equation y′^ + ay = 0. (the model for exponential growth and decay) This suggests the possibility that equation (1) may also have an exponential function y = erx^ as a solution. If y = erx, then y′^ = r erx^ and y′′^ = r^2 erx. Substitution into (1) gives r^2 erx^ + a (r erx) + b (erx) = erx^ (r^2 + ar + b)^ = 0. Since erx^6 = 0 for all x, we conclude that y = erx^ is a solution of (1) if and only if r^2 + ar + b = 0. (2)

Thus, if r is a root of the quadratic equation (2), then y = erx^ is a solution of equation (1); we can find solutions of (1) by finding the roots of the quadratic equation (2). DEFINITION 1. Given the differential equation (1). The corresponding quadratic equa- tion r^2 + ar + b = 0 is called the characteristic equation of (1); the quadratic polynomial r^2 + ar + b is called the characteristic polynomial. The roots of the characteristic equation are called the characteristic roots.

The nature of the solutions of the differential equation (1) depends on the nature of the roots of its characteristic equation (2). There are three cases to consider:

(1) Equation (2) has two, distinct real roots, r 1 = α, r 2 = β. (2) Equation (2) has only one real root, r = α.

(3) Equation (2) has complex conjugate roots, r 1 = α + i β, r 2 = α − i β, β 6 = 0.

Case I: The characteristic equation has two, distinct real roots, r 1 = α, r 2 = β. In this case, y 1 (x) = eαx^ and y 2 (x) = eβx are solutions of (1). Since α 6 = β, y 1 and y 2 are not constant multiples of each other, the pair y 1 , y 2 forms a fundamental set of solutions of equation (1) and y = C 1 eαx^ + C 2 eβx is the general solution. Note: We can use the Wronskian to verify the independence of y 1 and y 2 : W (x) =

eαx^ eβx α eαx^ β eβx

∣ =^ eαx^

β eβx

−eβx^ (α eαx) = (α−β) e(α+β)x^6 = 0. 

Example 1. Find the general solution of the differential equation

y′′^ + 2y′^ − 8 y = 0.

SOLUTION The characteristic equation is

r^2 + 2r − 8 = 0 (r + 4)(r − 2) = 0

The characteristic roots are: r 1 = − 4 , r 2 = 2. The functions y 1 (x) = e−^4 x, y 2 (x) = e^2 x form a fundamental set of solutions of the differential equation and

y = C 1 e−^4 x^ + C 2 e^2 x

is the general solution of the equation.  Example 2. Find a linearly independent pair of solutions of

y′′^ + 3y′^ = 0.

and give the general solution of the equation. SOLUTION The characteristic equation is r^2 + 3r = r(r + 3) = 0, and the characteristic roots are r 1 = 0, r 2 = −3. Therefore the functions y 1 (x) = e^0 x^ ≡ 1 and y 2 (x) = e−^3 x are linearly independent solutions of the differential equation.

The general solution is y = C 1 (1) + C 2 e−^3 x^ = C 1 + C 2 e−^3 x. 

are solutions of (∗). In particular, y 2 = x eαx^ is a solution of (∗) which is independent of y 1 = eαx. That is, y 1 and y 2 form a fundamental set of solutions of (∗). This can also be checked by using the Wronskian: W (x) =

eαx^ xeαx α eαx^ eαx^ + α xeαx

∣ =^ e αx (^) [eαx (^) + α x eαx] − α x eαx (^) = e 2 αx (^6) = 0.

Finally, the general solution of (∗) is y = C 1 eαx^ + C 2 x eαx. Note: The solution y 2 (x) = xeαx^ can also be obtained by using Problem 15 in Exercises 3.2. 

Example 3. Find the general solution of the differential equation

y′′^ − 6 y′^ + 9y = 0.

SOLUTION The characteristic equation is

r^2 − 6 r + 9 = 0 (r − 3)^2 = 0

There is only one characteristic root: r 1 = r 2 = 3. The functions y 1 (x) = e^3 x, y 2 (x) = x e^3 x are linearly independent solutions of the differential equation and

y = C 1 e^3 x^ + C 2 x e^3 x

is the general solution. 

Case III: The characteristic equation has complex conjugate roots: r 1 = α + i β, r 2 = α − i β, β 6 = 0 In this case y 1 (x) = eαx^ cos βx and y 2 (x) = eαx^ sin βx are linearly independent solutions of equation (1) and y = C 1 eαx^ cos βx + C 2 eαx^ sin βx = eαx^ [C 1 cos βx + C 2 sin βx] is the general solution. Proof: It is true that the functions z 1 (x) = e(α+iβ)x^ and z 2 (x) = e(α−iβ)x are linearly independent solutions of (1), but these are complex-valued functions

and we are not equipped to handle such functions in this course. We want real- valued solutions of (1). The characteristic equation in this case is r^2 + ar + b = (r − [α + i β])(r − [α − i β]) = r^2 − 2 α r + α^2 + β^2 = 0 and the differential equation (1) has the form y′′^ − 2 α y′^ + (α^2 + β^2 )^ y = 0. () We’ll proceed in a manner similar to Case II. Set y = u eαx^ where u is to be determined (if possible) so that y is a solution of (). Calculating the derivatives of y, we have y = u eαx y′^ = α u eαx^ + u′^ eαx y′′^ = α^2 u eαx^ + 2α u′^ eαx^ + u′′^ eαx Substitution into () gives α^2 u eαx^ + 2α u′^ eαx^ + u′′^ eαx^ − 2 α [α u eαx^ + u′^ eαx]^ + (α^2 + β^2 )^ u eαx^ = 0. This reduces to u′′^ eαx^ + β^2 u eαx^ = 0 which implies u′′^ + β^2 u = 0 since eαx^6 = 0. Now, u′′^ + β^2 u = 0 is the equation of simple harmonic motion (for example, it models the oscillatory motion of a weight suspended on a spring). The functions u 1 (x) = cos βx and u 2 (x) = sin βx form a fundamental set of solutions. (Verify this.) Since y = u eαx, we conclude that y 1 (x) = eαx^ cos βx and y 2 (x) = eαx^ sin βx are solutions of (). It’s easy to see that y 1 and y 2 form a fundamental set of solutions. This can also be checked by using the Wronskian Finally, we conclude that the general solution of equation (1) is: y = C 1 eαx^ cos βx + C 2 eαx^ sin βx = eαx^ [C 1 cos βx + C 2 sin βx]. 

Example 4. Find the general solution of the differential equation

y′′^ − 4 y′^ + 13y = 0.

The solution of this pair of equations is: C 1 = 32 , C 2 = 12 and the solution of the initial- value problem is y = 32 e−^5 x^ + 12 e^3 x. 

Recovering a Differential Equation from Solutions

You can also work backwards using the results above. That is, we can determine a second order, linear, homogeneous differential equation with constant coefficients that has given functions u and v as solutions. Here are some examples. Example 7. Find a second order, linear, homogeneous differential equation with constant coefficients that has the functions u(x) = e^2 x, v(x) = e−^3 x^ as solutions. SOLUTION Since e^2 x^ is a solution, 2 must be a root of the characteristic equation and r − 2 must be a factor of the characteristic polynomial. Similarly, e−^3 x^ a solution means that − 3 is a root and r − (−3) = r + 3 is a factor of the characteristic polynomial. Thus the characteristic equation must be (r − 2)(r + 3) = 0 which expands to r^2 + r − 6 = 0. Therefore, the differential equation is y′′^ + y′^ − 6 y = 0.  Example 8. Find a second order, linear, homogeneous differential equation with constant coefficients that has y = C 1 e−^4 x^ + C 2 x e−^4 x^ as its general solution.

SOLUTION Since e−^4 x^ and xe−^4 x^ are solutions, − 4 must be a double root of the characteristic equation. Therefore, the characteristic equation is (r − [−4])^2 = (r + 4)^2 = 0 which expands to r^2 + 8r + 16 = 0 and the differential equation is y′′^ + 8y′^ + 16y = 0.  Example 9. Find a second order, linear, homogeneous differential equation with constant coefficients that has y(x) = ex^ cos 2x as a solution. SOLUTION Since ex^ cos 2x is a solution, the characteristic equation must have the complex numbers 1 + 2i and 1 − 2 i as roots. (Although we didn’t state it explicitly, ex^ sin 2x must also be a solution.) The characteristic equation must be (r − [1 + 2i])(r − [1 − 2 i]) = 0 which expands to r^2 − 2 r + 5 = 0 and the differential equation is y′′^ − 2 y′^ + 5y = 0. 

Exercises 3.

Find the general solution of the given differential equation.

  1. y′′^ + 2y′^ − 8 y = 0.
  2. y′′^ − 13 y′^ + 42y = 0.
  3. y′′^ − 10 y′^ + 25y = 0.
  4. y′′^ + 2y′^ + 5y = 0.
  5. y′′^ + 4y′^ + 13y = 0.
  6. y′′^ = 0.
  7. y′′^ + 2y′^ = 0.
  8. 2y′′^ + 5y′^ − 3 y = 0.
  9. y′′^ − 12 y = 0.
  10. y′′^ + 12y = 0.
  11. y′′^ − 2 y′^ + 2y = 0.
  12. y′′^ − 3 y′^ + 94 y = 0.
  13. y′′^ − y′^ − 30 y = 0.
  14. 2y′′^ + 3y′^ = 0.
  15. 2y′′^ + 2y′^ + y = 0.
  16. y′′^ + 2y′^ + 3y = 0.
  17. y′′^ − 8 y′^ + 16y = 0.
  18. 5y′′^ + 114 y′^ − 34 y = 0. Find the solution of the initial-value problem.
  19. y′′^ − 5 y′^ + 6y = 0; y(0) = 1, y′(0) = 1.
  20. y′′^ + 4y′^ + 3y = 0; y(0) = 2, y′(0) = −1.
  21. y′′^ + 2y′^ + y = 0; y(0) = − 3 , y′(0) = 1.
  22. y′′^ + 14 y = 0; y(π) = 1, y′(π) = −1.
  23. y′′^ − 2 y′^ + 2y = 0; y(0) = − 1 , y′(0) = −1.
  1. Prove: (a) If a = 0 and b > 0, then all solutions of the equation are bounded. (b) If a > 0 and b = 0, and y = y(x) is a solution, then xlim→∞ y(x) =^ k^ for some constant^ k. Determine k for the solution that satisfies the initial conditions y(0) = α, y′(0) = β.
  2. Show that the general solution of the differential equation

y′′^ − ω^2 y = 0, ω a positive constant, can be written y = C 1 cosh ωx + C 2 sinh ωx.

  1. Suppose that the roots r 1 , r 2 of the characteristic equation (2) are real and distinct. Then they can be written as r 1 = α + β, r 2 = α − β where α and β are real. Show that the general solution of equation (1) in this case can be expressed in the form y = eαx^ (C 1 cosh βx + C 2 sinh βx).

Euler Equations A second order linear homogeneous equation of the form x^2 dxd^2 y 2 + αx dy dx + βy = 0 (E) where α and β are constants, is called an Euler equation.

  1. Prove that the Euler equation (E) can be transformed into the second order equation with constant coefficients (^) d (^2) y dz^2 +^ a

dy dz +^ by^ = 0 where a and b are constants, by means of the change of independent variable z = ln x. Find the general solution of the Euler equations.

  1. x^2 y′′^ − xy′^ − 8 y = 0.
  2. x^2 y′′^ − 2 xy′^ + 2y = 0.
  3. x^2 y′′^ − 3 xy′^ + 4y = 0.
  4. x^2 y′′^ − xy′^ + 5y = 0.