Second-Order Equations
DEFINITION 1.22 Two functions u and v are said to be linearly independent on the interval (α, β) if neither is a constant multiple of the other on that interval. If one is a constant
18. Consider carefully the phase plane plot of the spring-mass system given in Figure 4
(a) What physical configuration of the spring-mass sys-tem is represented by the points where the solution curve t→ (y(t), v(t)) crosses the y-axis?
(b) What physical configuration of the spring-mass sys-tem is represented by the points where the solution curve t→ (y(t), v(t)) crosses the v-axis?
(c) What physical significance can be attached to the fact that the solution curve t → (y(t), v(t)) spirals toward the origin with the passage of time?
If your software supports 3D capability, sketch the solution curve t→ (y(t), v(t), t) for the spring-mass system with con-stants and initial conditions given in the indicated exercise.
19. Exercise 9 20. Exercise 10 21. Exercise 15 22. Exercise 16
In Exercises 23–28, you are given the inductance, resistance,
and capacitance of a driven L RC circuit L Q+ RQ+ 1
CQ= 2 cos 2t.
You are also given initial conditions. Use a numerical solver to
(i) provide separate plots of the charge on the capacitor ver-sus time (Q vs. t) and the current in the circuit verver-sus time (I vs. t),
(ii) provide a combined plot of both charge and the current versus time, and
(iii) provide a plot of the current versus the charge (I vs. Q) in the Q I phase plane.
See Exercise 7 for aid in setting up the system. In each exer-cise, choose a viewing window that highlights the important features of the solutions.
23. L= 1 H, R = 0 , C = 1 F, Q(0) = −3 C, I (0) = −2 A 24. L= 1 H, R = 0 , C = 1/4 F, Q(0) = 1 C, I (0) = 2 A 25. L= 1 H, R = 5 , C = 1 F, Q(0) = 1 C, I (0) = 2 A 26. L= 2 H, R = 4 , C = 1 F, Q(0) = −1 C, I (0) = −2 A 27. L= 1 H, R = 0.5 , C = 1 F, Q(0) = 1 C, I (0) = 2 A 28. L = 1 H, R = 0.2 , C = 1 F, Q(0) = −1 C, I (0) =
−1 A
If your software supports 3D capability, sketch the solution curve t → (Q(t), I (t), t) for the L RC circuit with constants and initial conditions given in the indicated exercise.
29. Exercise 23 30. Exercise 24 31. Exercise 27 32. Exercises 28
4.3 Linear, Homogeneous Equations with Constant Coefficients
This is a class of equations that we can solve easily. They are equations of the form
y+ py+ qy = 0, (3.1)
where p and q are constants. If p ≥ 0 and q > 0, this is the equation for unforced harmonic motion, which we will discuss in the next section. We show there that it includes the equation for the unforced motion of a vibrating spring, and the equation for the behavior of an RLC circuit.
Remember the solution strategy we devised in Section 4.1 using Theorem 1.23.
It is only necessary to find two linearly independent solutions, which we call a fundamental set of solutions. The general solution is the general linear combination of these.
The key idea
The analogous first-order, linear, homogeneous equation with constant coefficients is the equation
y+ py = 0.
This is the exponential equation. It is separable and easily solved. Its general solu-tion is
y(t) = Ce−pt, where C is an arbitrary constant.
Motivated by the fact that the first-order equation has an exponential solution, let’s see if we can find an exponential solution to the second-order equation (3.1).
We will look for a solution of the type
y(t) = eλt,
whereλ is a constant, as yet unknown. Inserting this function into our differential equation, we obtain
y+ py+ qy = λ2eλt+ pλeλt+ qeλt
= (λ2+ pλ + q)eλt. Since eλt = 0, we will have solution to (3.1) if and only if
λ2+ pλ + q = 0. (3.2)
4.3 Linear, Homogeneous Equations with Constant Coefficients 151 This is called the characteristic equation for the differential equation in (3.1). The polynomialλ2+ pλ + q is called the characteristic polynomial for the equation. A root of the characteristic equation is called a characteristic root. Ifλ is a character-istic root, then y= eλt is a solution to the differential equation.
It is illuminating to write the differential equation and its characteristic equation in close proximity,
y+ py+ qy = 0, λ2+ pλ + q = 0.
This indicates clearly how to pass from the differential equation to its characteristic equation.
Since the characteristic equation is a quadratic equation, its roots are given by the quadratic formula
λ = −p ±
p2− 4q
2 .
Looking at the discriminant p2− 4q, we see that there are three cases to consider:
1. two distinct real roots if p2− 4q > 0;
2. two distinct complex roots if p2− 4q < 0;
3. one repeated real root if p2− 4q = 0.
We will look at each of these in what follows. Our way will be guided by Theorem 1.23 in Section 4.1. We know that if we find a fundamental set of solutions, then the general solution is the general linear combination of these. Thus we need to find two linearly independent solutions.
Distinct real roots
If λ1 and λ2 are distinct real roots of the characteristic equation, then y1 = eλ1t and y2 = eλ2t are both solutions. Since the roots are not equal, the solutions are not constant multiples of each other. Hence, they are linearly independent, and by Theorem 1.23 we have the following result.
PROPOSITION 3.3 If the characteristic equationλ2+ pλ + q = 0 has two distinct real roots λ1andλ2, then the general solution to y+ py+ qy = 0 is
y(t) = C1eλ1t+ C2eλ2t,
where C1and C2 are arbitrary constants. ●
The particular solution for an initial value problem can be found by evaluating the constants C1and C2 using the initial conditions.
E x a m p l e 3 . 4 Find the general solution to the equation
y− 3y+ 2y = 0.
Find the unique solution corresponding to the initial conditions y(0) = 2 and y(0) = 1.
Letting y= eλt and inserting this into our differential equation, we obtain 0= y− 3y+ 2y = (λ2− 3λ + 2)eλt.
Thus, the characteristic equation is
0= λ2− 3λ + 2 = (λ − 2)(λ − 1),
with solutionsλ1 = 2 and λ2 = 1. According to Proposition 3.3, the general solu-tion is
y(t) = C1e2t+ C2et. (3.5) To find the particular solution for the initial conditions y(0) = 2 and y(0) = 1, we differentiate the general solution,
y(t) = 2C1e2t+ C2et. (3.6) Then we substitute t= 0 into (3.5) and (3.6) to obtain the system of equations
2= y(0) = C1+ C2
1= y(0) = 2C1+ C2.
The solutions are C1= −1 and C2 = 3, so the solution to our initial value problem is
y(t) = −e2t+ 3et.
The solution is shown in Figure 1. ●
1 2 3
0
100 0 10y
t
Figure 1. The solution in Example 3.4 with initial conditions y(0) = 2 and y(0) = 0.
Complex roots
If the roots to the characteristic equation (3.2) are complex,1 then, since the coef-ficients of the characteristic polynomial are real, the roots are complex conjugates.
They have the formλ = a + ib and λ = a − ib. The corresponding solutions are z(t) = e(a+ib)t and z(t) = e(a−ib)t. Using Euler’s formula,2these solutions become
z(t) = e(a+ib)t = eat[cos(bt) + i sin(bt)] , and
z(t) = e(a−ib)t = eat[cos(bt) − i sin(bt)] . (3.7) Since z(t) = e−2ibtz(t), the solutions are not constant multiples of each other, so they are linearly independent. Hence using Theorem 1.23, we see that the general solution is
y(t) = C1z(t) + C2z(t). (3.8) The solutions z and z are complex valued. Such solutions are often preferred (for example, in circuit analysis). However, we are aiming for real valued solutions.
Notice from (3.7) that z and z are complex conjugates. Written in terms of their real and imaginary parts, we have
z(t) = y1(t) + iy2(t) and z(t) = y1(t) − iy2(t), (3.9) where
y1(t) = Re z(t) = eatcos(bt) and y2(t) = Im z(t) = eatsin(bt). (3.10)
1Complex numbers are discussed in detail in the Appendix near the end of this book. We refer you there for all of the facts about complex numbers used here.
2Euler’s formula tells us that eiθ= cos θ + i sin θ. See the Appendix for more details.
4.3 Linear, Homogeneous Equations with Constant Coefficients 153
Thus we have
y1(t) = 1
2(z(t) + z(t)) and y2(t) = 1
2i (z(t) − z(t)) .
Therefore, by Proposition 1.18, y1(t) and y2(t), the real and imaginary parts of z(t), are solutions. Furthermore, these are real valued solutions. Since y2(t) = tan(bt) · y1(t) they are not constant multiples of each other, so they are linearly independent. Hence by Theorem 1.23, they form a fundamental set of solutions, and the general solution can be written as
y(t) = A1y1(t) + A2y2(t) = A1eatcos(bt) + A2eatsin(bt), where A1and A2are arbitrary constants.
We summarize our discussion in the following proposition.
PROPOSITION 3.11 Suppose the characteristic equationλ2+ pλ + q = 0 has two complex conjugate roots,λ = a + ib and λ = a − ib.