Second-Order Differential Equations: General Solutions
Second-Order Differential Equations: General Solutions
Second-Order Differential Equations: General Solutions
Step 1. The first step is to find two solutions of a particular form. For linear homogeneous
equations with constant coefficients, experience has shown the following:
k = -2 or k = 1.
Hence one solution is y = e-2t and another solution is y = e1t = et.
Step 2. We find more solutions by combining the solutions found in Step 1 with
constants:
Example. (continued) Note that e-2t is not a constant multiple of et. In fact, if you had to
write e-2t as a multiple of et, you would be forced to write
e-2t = e-3t et
so e-2t is the e-3t multiple of et.
But e-3t is not constant since it contains t nontrivially.
So e-2t is not a constant multiple of et.
Similarly et is not a constant multiple of e-2t.
Hence y = A e-2t + B e t
is the general solution to
y'' + y' - 2y= 0
k2 ekt - 3 ekt = 0
ekt ( k2 -3) = 0
k2 - 3 = 0
k = √3 or k = -√3.
One solution is e(√3)t and another solution is e-(√3)t .
The general solution is
y = A e(√3)t + B e -(√3)t .
y = A e2t + B e t
Since y(0) = 7 we know, by replacing t by 0, that
7=A+B
Now y ' = 2A e2t + B e t.
Since y '(0) = 10 we know
10 = 2 A + B
A=3-B
6 = 2(3 - B) -2B
6=6-4B
B=0
A=3-0=3
The solution is
y = 3 e2t
6
We thus have two solutions to the equation--namely sin(t) and cos(t). Neither is a constant
multiple of the other. Hence
the general solution is
y = A sin(t) + B cos(t)
Proof. Note that y1(t) = sin(bt) satisfies the differential equation. Similarly y2(t) = cos(bt)
satisfies the differential equation. Since neither is a multiple of the other we have the
general solution
A sin(bt) + B cos(bt).
It would be convenient not to have to remember the special form for equations
y '' + b 2 y = 0, but instead to use the standard procedure that starts by letting
y = ekt. This is made possible by the following amazing result:
Proof. It is not clear at first what to make of the expression eit. But for now we assume
that it is a meaningful formula that obeys the usual laws of algebra and calculus. But what
is its interpretation?
y = A sin(bt) + B cos(bt)
In summary, when the guess ekt leads to the solutions k = ±bi, then the general solution is
written y = A sin(bt) + B cos(bt).
Similar considerations apply more generally. Suppose that we make a guess that y = ekt
solves the differential equation. Here are all the possible cases:
Case 1. The solutions are k = a and k = b with a and b real and distinct. Then the
general solution is
y = A eat + B e bt
Case 3. The solutions are k = a±bi with b nonzero. Then the general solution is
y = A eat sin(bt) + B eat cos(bt)
Case 4. The solution is k = a where a is a double root. Then the general solution is
y = A eat + B t e at.
k = -1 ± i
By Case 3, the general solution is
y = A e-t sin(t) + B e -t cos(t)
To justify Case 3, suppose that when we substitute y = ekt, we find that k = a±bi.
Then the general solution is
y = C1 e(a+bi)t + C2 e(a-bi)t
= C1 eat+bit + C2 eat-bit
= C1 eat ebit + C2 eat e-bit
= C1 eat (cos(bt) + i sin(bt))+ C2 eat (cos(-bt) + i sin(-bt))
= C1 eat (cos(bt) + i sin(bt))+ C2 eat (cos(bt) - i sin(bt))
[since cos(-bt) = cos(bt) and sin(-bt) = - sin(bt)]
= C1 e cos(bt) + i C 1 eat sin(bt)+ C 2 eat cos(bt) - i C2 eat sin(bt)
at
= i C1 eat sin(bt) - i C2 eat sin(bt)+ C 1 eat cos(bt) + C 2 eat cos(bt)
= (i C1 - i C2 ) eat sin(bt) + (C 1 + C2 ) eat cos(bt)
= A eat sin(bt) + B e at cos(bt)
where A = (i C1 - i C2 ) and B = (C1 + C2 )
are arbitrary constants.
Example. In the Zhabotinsky chemical reaction, the amount of a chemical oscillates with
time. Suppose that the amount of the chemical X at time t satisfies
x ''(t) + x(t) = 0.
When t = 0, x = 4 grams and x ' = -1 gram/sec.
Find x(t).
Remark. This is typical of oscillating populations: they oscillate around an average value.
Here the average value is 50,000 rabbits, and we will determine the oscillation in the
problem.
Solution.
The general solution for r(t) is
r(t) = A sin(0.8 t) + B cos (0.8 t)
When t = 0 we obtain
A (0) + B (1) = r(0) = R(0) - 50000 = 49000-50000 = - 1000
so B = -1000
Moreover, R '(t) = r'(t) = 0.8 A cos(0.8 t) - 0.8 B sin(0.8 t)
so R '(0) = 0.8 A = 600
A = 600/0.8 = 750