











































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












































Any second order differential equation can be written as
F (x, y, y′, y′′) = 0
This chapter is concerned with special yet very important second order equations, namely linear equations.
Recall that a first order linear differential equation is an equation which can be written in the form y′^ + p(x)y = q(x)
where p and q are continuous functions on some interval I. A second order, linear differential equation has an analogous form.
DEFINITION 1. A second order linear differential equation is an equation which can be written in the form
y′′^ + p(x)y′^ + q(x)y = f (x) (1)
where p, q, and f are continuous functions on some interval I.
The functions p and q are called the coefficients of the equation; the function f on the right-hand side is called the forcing function or the nonhomogeneous term. The term “forcing function” comes from applications of second-order linear equations; the description “nonhomogeneous” is given below.
A second order equation which is not linear is said to be nonlinear.
Examples
(a) y′′^ − 5 y′^ + 6y = 3 cos 2x. Here p(x) = − 5 , q(x) = 6, f (x) = 3 cos 2x are continuous functions on (−∞, ∞).
(b) x^2 y′′^ − 2 x y′^ + 2y = 0. This equation is linear because it can be written in the form (1) as y′′^ − 2 x y′^ +^2 x^2 y = 0 where p(x) = 2/x, q(x) = 2/x^2 , f (x) = 0 are continuous on any interval that does not contain x = 0. For example, we could take I = (0, ∞).
(c) y′′^ + xy^2 y′^ − y^3 = exy^ is a nonlinear equation; this equation cannot be written in the form (1).
Remarks on “Linear.” Intuitively, a second order differential equation is linear if y′′ appears in the equation with exponent 1 only, and if either or both of y and y′^ appear in the equation, then they do so with exponent 1 only. Also, there are no so-called “cross- product” terms, y y′, y y′′, y′^ y′′. In this sense, it is easy to see that the equations in (a) and (b) are linear, and the equation in (c) is nonlinear.
Set L[y] = y′′^ + p(x)y′^ + q(x)y. If we view L as an “operator” that transforms a twice differentiable function y = y(x) into the continuous function
L[y(x)] = y′′(x) + p(x)y′(x) + q(x)y(x),
then, for any two twice differentiable functions y 1 (x) and y 2 (x),
L[y 1 (x) + y 2 (x)] = [y 1 (x) + y 2 (x)]′′^ + p(x)[y 1 (x) + y 2 (x)]′^ + q(x)[y 1 (x) + y 2 (x)]
= y 1 ′′ (x) + y 2 ′′ (x) + p(x)[y′ 1 (x) + y′ 2 (x)] + q(x)[y 1 (x) + y 2 (x)] = y 1 ′′ (x) + p(x)y′ 1 (x) + q(x)y 1 (x) + y′′ 2 (x) + p(x)y′ 2 (x) + q(x) + y 2 (x)
= L[y 1 (x)] + L[y 2 (x)]
and, for any constant c,
L[cy(x)] = [cy(x)]′′^ + p(x)[cy(x)]′^ + q(x)[cy(x)] = cy′′(x) + p(x)[cy′(x)] + cq(x)y(x)
= c[y′′(x) + p(x)y′(x) + q(x)y(x)] = cL[y(x)].
Therefore, as introduced in Section 2.1, L is a linear differential operator. This is the real reason that equation (1) is said to be a linear differential equation.
The first thing we need to know is that an initial-value problem has a solution, and that it is unique.
THEOREM 1. (Existence and Uniqueness Theorem) Given the second order linear equation (1). Let a be any point on the interval I, and let α and β be any two real numbers. Then the initial-value problem
y′′^ + p(x) y′^ + q(x) y = f (x), y(a) = α, y′(a) = β
has a unique solution.
As defined in the previous section, a second order linear homogeneous differential equation is an equation that can be written in the form
y′′^ + p(x) y′^ + q(x) y = 0 (H)
where p and q are continuous functions on some interval I.
The trivial solution The first thing to note is that the zero function, y(x) = 0 for all x ∈ I, (also denoted by y ≡ 0) is a solution of (H) (y ≡ 0 implies y′^ ≡ 0 and y′′^ ≡ 0). The zero solution is called the trivial solution. Obviously our main interest is in finding nontrivial solutions. Unless specified otherwise, the term “solution” will mean “nontrivial solution.”
First we establish some essential facts about homogeneous equations.
THEOREM 1. If y = y(x) is a solution of (H) and if C is any real number, then u(x) = Cy(x) is also a solution of (H).
Proof Let y = y(x) be a solution of (H). Then
y′′(x) + p(x)y′(x) + q(x)y(x) = 0.
Let C be any real number, and set u(x) = Cy(x). Then u(x) = Cy(x)
u′(x) = Cy′(x) u′′(x) = Cy′′(x)
Substituting u into (H), we get
u′′(x) + p(x) u′(x) + q(x) u(x) = Cy′′(x) + p(x)[Cy′(x)] + q(x)[Cy(x)]
= C[y′′(x) + p(x) y′(x) + q(x) y(x)] = C[0]
= 0.
Alternate Proof Consider the linear differential operator L[y] = y′′^ + p(x)y′^ + q(x)y. Since y = y(x) is a solution of (H), L[y(x)] = 0. Since L is a linear operator,
L[Cy(x)] = C L[y(x)] = C(0) = 0.
Thus, u(x) = Cy(x) is a solution of (H).
In words, Theorem 1 says that any constant multiple of a solution of (H) is also a solution of (H).
THEOREM 2. If y = y 1 (x) and y = y 2 (x) are any two solutions of (H), then u(x) = y 1 (x) + y 2 (x) is also a solution of (H).
Proof Let y = y 1 (x) and y = y 2 (x) be any two solutions of (H). Then
y 1 ′′ (x) + p(x)y 1 ′(x) + q(x)y 1 (x) = 0 and y 2 ′′ (x) + p(x)y′ 2 (x) + q(x)y 2 (x) = 0.
Now set u(x) = y 1 (x) + y 2 (x). Then u(x) = y 1 (x) + y 2 (x)
u′(x) = y 1 ′(x) + y 2 ′(x) u′′(x) = y 1 ′′ (x) + y 2 ′′ (x)
Substituting u into (H), we get
u′′(x) + p(x) u′(x) + q(x) u(x) = y′′ 1 (x) + y′′ 2 (x) + p(x)[y 1 ′(x) + y 2 ′(x)] + q(x)[y 1 (x) + y 2 (x)]
= [y 1 ′′ (x) + p(x)y 1 ′(x) + q(x)y 1 (x)] + [y′′ 2 (x) + p(x)y′ 2 (x) + q(x)y 2 (x)]
= 0 + 0
= 0.
Alternate Proof Set L[y] = y′′^ + p(x)y′^ + q(x)y; L is a linear operator. Since y = y 1 (x) and y = y 2 (x) are solutions of (H), L[y 1 (x)] = L[y 2 (x)] = 0. Since L is linear,
L[y 1 (x) + y 2 (x)] = L[y 1 (x)] + L[y 2 (x)] = 0 + 0 = 0.
Thus, u(x) = y 1 (x) + y 2 (x) is a solution of (H).
Theorem 2 says that the sum of any two solutions of (H) is also a solution of (H). (Some authors call this property the superposition principle. )
Combining Theorems 1 and 2, we get
THEOREM 3. If y = y 1 (x) and y = y 2 (x) are any two solutions of (H), and if C 1 and C 2 are any two real numbers, then
y(x) = C 1 y 1 (x) + C 2 y 2 (x)
is also a solution of (H).
DEFINITION 1. (Linear Combinations) Let f = f (x) and g = g(x) be functions defined on some interval I, and let C 1 and C 2 be real numbers. The expression
C 1 f (x) + C 2 g(x)
is called a linear combination of f and g.
We want to determine whether or not the two-parameter family
y = C 1 x^2 + C 2 (5x^2 ) (b)
is the general solution of (a).
By the Existence and Uniqueness Theorem there exists a unique solution u of (a) such that u(1) = 1, u′(1) = 0. If we try to find values for C 1 , C 2 such that y(1) = 1, y′(1) = 0 we obtain the pair of equations:
y(1) = C 1 + 5C 2 = 1
y′(1) = 2C 1 + 10C 2 = 0
There is no solution to this pair of equations. Therefore u is not a member of the two- parameter family (b) and (b) is not the general solution of (a)
The problem here is that y 1 and y 2 are constant multiples of each other (y 2 = 5 y 1 ; or y 1 = y 2 /5). Notice that while (b) “appears” to be a two-parameter family, it is, in fact, a one-parameter family:
y = C 1 x^2 + C 2 (5x^2 ) = (C 1 + 5C 2 )x^2 = Kx^2.
You can verify that y 3 (x) = x is a solution of (a) which is “different” from y 1 (i.e., not a constant multiple of y 1 ), and that
y = C 1 x + C 2 x^2
is the general solution of (a).
Let’s consider the problem in general. Suppose that y = y 1 (x) and y = y 2 (x) are solutions of equation (H). Under what conditions is (1) the general solution of (H)?
Let u = u(x) be any solution of (H) and choose any point a ∈ I. Suppose that α = u(a), β = u′(a). Then u is a member of the two-parameter family (1) if and only if there are values for C 1 and C 2 such that
C 1 y 1 (a) + C 2 y 2 (a) = α
C 1 y′ 1 (a) + C 2 y′ 2 (a) = β
If we multiply the first equation by y 2 ′(a), the second equation by −y 2 (a), and add, we get [y 1 (a)y′ 2 (a) − y 2 (a)y 1 ′(a)]C 1 = αy′ 2 (a) − βy 2 (a).
Similarly, if we multiply the first equation by −y′ 1 (a), the second equation by y 1 (a), and add, we get [y 1 (a)y 2 ′(a) − y 2 (a)y 1 ′(a)]C 2 = −αy′ 1 (a) + βy 1 (a).
We are guaranteed that this pair of equations has solutions C 1 , C 2 if and only if
y 1 (a)y 2 ′(a) − y 2 (a)y 1 ′(a) 6 = 0
in which case
C 1 = αy′ 2 (a) − βy 2 (a) y 1 (a)y′ 2 (a) − y 2 (a)y′ 1 (a) and^ C^2 =^
−αy 1 ′(a) + βy 1 (a) y 1 (a)y 2 ′(a) − y 2 (a)y 1 ′(a).
Since a was chosen to be any point on I, we conclude that (2) is the general solution of (H) if y 1 (x)y′ 2 (x) − y 2 (x)y′ 1 (x) 6 = 0 for all x ∈ I.
DEFINITION 2. (Wronskian) Let y = y 1 (x) and y = y 2 (x) be solutions of (H). The function W defined by
W y 1 , y 2 = y 1 (x)y 2 ′(x) − y 2 (x)y′ 1 (x)
is called the Wronskian of y 1 , y 2.
We use the notation W y 1 , y 2 to emphasize that the Wronskian is a function of x that is determined by two solutions y 1 , y 2 of equation (H). When there is no danger of confusion, we’ll shorten the notation to W (x).
Remark There is a short-hand way to represent the Wronskian of two solutions of equation (H) using a 2 × 2 determinant. Determinants will be defined and discussed in general in Chapter 5. For now
W (x) =
y 1 (x) y 2 (x) y′ 1 (x) y′ 2 (x)
= y 1 (x)y′ 2 (x) − y 2 (x)y 1 ′(x).
Example 3. From Example 1, the functions y 1 (x) = ex^ and y 2 (x) = e^2 x^ are each solutions of y′′^ − 3 y′^ + 2y = 0.
Their Wronskian is:
W (x) =
ex^ e^2 x ex^2 e^2 x
∣ =^ e
x(2e 2 x) − e 2 x(ex) = e 3 x (^6) = 0 for all x ∈ (−∞, ∞).
From Example 2, the functions y 1 (x) = x^2 and y 2 (x) = 5x^2 are solutions of
y′′^ −
x y
x^2 y^ = 0.
Their Wronskian is:
W (x) =
x^2 5 x^2 2 x 10 x
∣ =^ x
(^2) (10x) − 2 x(5x (^2) ) = 10x (^2) − 10 x (^2) ≡ 0.
Example 4. Finishing Example 3, y = C 1 ex^ + C 2 e^2 x^ is the general solution of
y′′^ − 3 y′^ + 2y = 0;
y = C 1 x^2 + C 2 x is the general solution of
y′′^ − 2 x y′^ +^2 x^2 y = 0.
DEFINITION 3. (Fundamental Set) A pair of solutions y = y 1 (x), y = y 2 (x) of equation (H) forms a fundamental set of solutions if
W y 1 , y 2 6 = 0 for all x ∈ I.
By Theorem 4, if y 1 and y 2 are solutions of equation (H) such that W [y 1 , y 2 ] ≡ 0, then y 1 is a constant multiple of y 2. The question as to whether or not one function is a multiple of another function and the consequences of this are of fundamental importance in differential equations and in linear algebra. We introduce the concept here; we will deal with it in more generality later.
In this sub-section we are dealing with functions in general, not just solutions of the differential equation (H)
DEFINITION 4. (Linear Dependence; Linear Independence) Given two functions f = f (x), g = g(x) defined on an interval I. The functions f and g are linearly dependent on I if one of the functions is a constant multiple of the other. That is, f and g are linearly dependent on I if there exists a number λ such that g(x) = λf (x) for all x ∈ I, or if there is a number γ such that f (x) = γ g(x) for all x ∈ I. The functions f and g are linearly independent on I if they are not linearly dependent.
Remark The case where one of the functions is 0 is special: If either f or g is the zero function, then f and g are linearly dependent. For example, suppose g ≡ 0, then g = 0 · f is a multiple of f.
The term Wronskian defined above for two solutions of equation (H) can be extended to any two differentiable functions f and g. Let f = f (x) and g = g(x) be differentiable functions on an interval I. The function W [f, g] defined by
W f, g = f (x)g′(x) − g(x)f ′(x)
is called the Wronskian of f, g.
There is a connection between linear dependence/independence and Wronskian.
THEOREM 5. Let f = f (x) and g = g(x) be differentiable functions on an interval I. If f and g are linearly dependent on I, then W (x) = 0 for all x ∈ I (W ≡ 0 on I).
Proof If f and g are linearly dependent on I, then there exists a number λ such that g(x) = λ f (x) on I. Since g′(x) = λ f ′(x), we have
W (x) = f (x)g′(x) − g(x)f ′(x) = f (x)[λ f ′(x)] − [λ f (x)]f ′(x)
= λ f (x)f ′(x) − λ f (x)f ′(x) = 0 for all x ∈ I.
This theorem can be stated equivalently as: Let f = f (x) and g = g(x) be differentiable functions on an interval I. If W (x) 6 = 0 for at least one x ∈ I, then f and g are linearly independent on I.
Going back to differential equations, Theorem 4 can be restated as
Theorem 4 ′^ Let y = y 1 (x) and y = y 2 (x) be solutions of equation (H). Exactly one of the following holds:
(i) W (x) = 0 for all x ∈ I; y 1 and y 2 are linear dependent.
(ii) W (x) 6 = 0 for all x ∈ I; y 1 and y 2 are linearly independent and y = C 1 y 1 (x) + C 2 y 2 (x) is the general solution of (H).
The statements “y 1 (x), y 2 (x) form a fundamental set of solutions of (H)” and “y 1 (x), y 2 (x) are linearly independent solutions of (H)” are synonymous.
Exercises 3.
Verify that the functions y 1 and y 2 are solutions of the given differential equation. Do they constitute a fundamental set of solutions of the equation?
x y
x^2 y^ = 0;^ y^1 (x) =^ x.
x y
x^2 y^ = 0;^ y^1 (x) =^ x.
x y
′ (^) − 4 x (^2) y = 0; y 1 (x) = ex^2.
y 1 (a) = α, y′ 1 (a) = β and y 2 (a) = γ, y′ 2 (a) = δ.
Under what conditions on α, β, γ, δ will the functions y 1 and y 2 be linearly independent on I?
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
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 = α.
Case II: The characteristic equation has only one real root, r = α.^2 Then
y 1 (x) = eαx^ and y 2 (x) = x eαx
are linearly independent solutions of equation (1) and
y = C 1 eαx^ + C 2 x eαx
is the general solution. Proof: We know that y 1 (x) = eαx^ is one solution of the differential equa- tion; we need to find another solution which is independent of y 1. Since the characteristic equation has only one real root, α, the equation must be
r^2 + ar + b = (r − α)^2 = r^2 − 2 αr + α^2 = 0
and the differential equation (1) must have the form
y′′^ − 2 α y′^ + α^2 y = 0. (∗)
Now, z = C eαx, C any constant, is also a solution of (∗), but z is not independent of y 1 since it is simply a multiple of y 1. We replace C by a function u which is to be determined (if possible) so that y = ueαx^ is a solution of (∗).^3 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
This reduces to
u′′^ eαx^ = 0 which implies u′′^ = 0 since eαx^6 = 0.
Now, u′′^ = 0 is the simplest second order, linear differential equation with constant coefficients; the general solution is u = C 1 + C 2 x = C 1 · 1 + C 2 · x , and u 1 (x) = 1 and u 2 (x) = x form a fundamental set of solutions. Since y = u eαx, we conclude that
y 1 (x) = 1 · eαx^ = eαx^ and y 2 (x) = x eαx (^2) In this case, α is said to be a double root of the characteristic equation. (^3) This is an application of a general method called variation of parameters. We will use the method several times in the work that follows.
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
SOLUTION The characteristic equation is: r^2 − 4 r + 13. By the quadratic formula, the roots are
r 1 , r 2 = −(−4)^ ±^
=^4 ±^6 i 2 = 2 ± 3 i.
The characteristic roots are the complex numbers: r 1 = 2 + 3 i, r 2 = 2 − 3 i. The functions y 1 (x) = e^2 x^ cos 3x, y 2 (x) = e^2 x^ sin 3x are linearly independent solutions of the differential equation and
y = C 1 e^2 x^ cos 3x + C 2 e^2 x^ sin 3x = e^2 x^ [C 1 cos 3x + C 2 sin 3x]
is the general solution.
Example 5. Find two linearly independent solutions of y′′^ + 16y = 0.
SOLUTION The characteristic equation is r^2 + 16 = 0 and the complex numbers r 1 = 0 + 4i = 4i, r 2 = 0 − 4 i = − 4 i are the characteristic roots. The functions
y 1 (x) = e^0 x^ cos 4x = cos 4x, y 2 (x) = e^0 x^ sin 4x = sin 4x
are linearly independent solutions of the differential equation.
In our next example we find the solution of an initial-value problem.
Example 6. Find the solution of the initial-value problem:
y′′^ + 2y′^ − 15 y = 0, y(0) = 2, y′(0) = − 6.
SOLUTION The characteristic equation is
r^2 + 2r − 15 = 0 (r + 5)(r − 3) = 0
The characteristic roots are: r 1 = − 5 , r 2 = 3. The functions y 1 (x) = e−^5 x, y 2 (x) = e^3 x are linearly independent solutions of the differential equation and
y = C 1 e−^5 x^ + C 2 e^3 x
is the general solution.
Before applying the initial conditions we need to calculate y′: y′(x) = − 5 C 1 e−^5 x^ + 3C 2 e^3 x
Now, the conditions y(0) = 2, y′(0) = − 6 are satisfied if and only if C 1 + C 2 = 2 − 5 C 1 + 3C 2 = − 6.
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.
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.