


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!



1.1. Initial conditions. The general solution of any homogeneous lin- ear second order ODE
(1) ¨x + p(t) ˙x + q(t)x = 0
has the form c 1 x 1 + c 2 x 2 , where c 1 and c 2 are constants. The solutions x 1 , x 2 are often called “basic,” but this is a poorly chosen name since it is important to understand that there is absolutely nothing special about the solutions x 1 , x 2 in this formula, beyond the fact that neither is a multiple of the other.
For example, the ODE ¨x = 0 has general solution at + b. We can take x 1 = t and x 2 = 1 as basic solutions, and have a tendency to do this or else list them in the reverse order, so x 1 = 1 and x 2 = t. But equally well we could take a pretty randomly chosen pair of polynomials of degree at most one, such as x 1 = 4 + t and x 2 = 3 − 2 t, as basic solutions. This is because for any choice of a and b we can solve for c 1 and c 2 in at + b = c 1 x 1 + c 2 x 2. The only requirement is that neither solution is a multiple of the other. This condition is expressed by saying that the pair {x 1 , x 2 } is linearly independent.
Given a basic pair of solutions, x 1 , x 2 , there is a solution of the initial value problem with x(t 0 ) = a, x˙(t 0 ) = b, of the form x = c 1 x 1 + c 2 x 2. The constants c 1 and c 2 satisfy
a = x(t 0 ) = c 1 x 1 (t 0 ) + c 2 x 2 (t 0 )
b = ˙x(t 0 ) = c 1 x˙ 1 (t 0 ) + c 2 x˙ 2 (t 0 ).
For instance, the ODE ¨x − x = 0 has exponential solutions et^ and e−t, which we can take as x 1 , x 2. The initial conditions x(0) = 2, x˙(0) = 4 then lead to the solution x = c 1 et^ + c 2 e−t^ as long as c 1 , c 2 satisfy
2 = x(0) = c 1 e^0 + c 2 e−^0 = c 1 + c 2 ,
4 = ˙x(0) = c 1 e^0 + c 2 (−e−^0 ) = c 1 − c 2 ,
This pair of linear equations has the solution c 1 = 3, c 2 = −1, so x = 3et^ − e−t.
1.2. Normalized solutions. Very often you will have to solve the same differential equation subject to several different initial conditions. It turns out that one can solve for just two well chosen initial conditions, and then the solution to any other IVP is instantly available. Here’s how. 1
Definition 1.2.1. A pair of solutions x 1 , x 2 of (1) is normalized at t 0 if x 1 (t 0 ) = 1, x 2 (t 0 ) = 0, x ˙ 1 (t 0 ) = 0, x˙ 2 (t 0 ) = 1.
By existence and uniqueness of solutions with given initial condi- tions, there is always exactly one pair of solutions which is normalized at t 0.
For example, the solutions of ¨x = 0 which are normalized at 0 are x 1 = 1, x 2 = t. To normalize at t 0 = 1, we must find solutions— polynomials of the form at + b—with the right values and derivatives at t = 1. These are x 1 = 1, x 2 = t − 1.
For another example, the “harmonic oscillator” x¨ + ω n^2 x = 0
has basic solutions cos(ωnt) and sin(ωnt). They are normalized at 0
only if ωn = 1, since
d dt
sin(ωnt) = ωn cos(ωnt) has value ωn at t = 0,
rather than value 1. We can fix this (as long as ωn 6 = 0) by dividing by ωn: so
(2) cos(ωnt) , ω− n 1 sin(ωnt)
is the pair of solutions to ¨x + ω^2 nx = 0 which is normalized at t 0 = 0.
Here is another example. The equation ¨x − x = 0 has linearly inde- pendent solutions et, e−t, but these are not normalized at any t 0 (for example because neither is ever zero). To find x 1 in a pair of solutions normalized at t 0 = 0, we take x 1 = aet^ + be−t^ and find a, b such that x 1 (0) = 1 and ˙x 1 (0) = 0. Since ˙x 1 = aet^ − be−t, this leads to the pair of equations a + b = 1, a − b = 0, with solution a = b = 1/2. To find x 2 = aet^ + be−t^ x 2 (0) = 0, x˙ 2 (0) = 1 imply a + b = 0, a − b = 1 or a = 1/ 2 , b = − 1 /2. Thus our normalized solutions x 1 and x 2 are the hyperbolic sine and cosine functions:
cosh t =
et^ + e−t 2
, sinh t =
et^ − e−t 2
These functions are important precisely because they occur as nor- malized solutions of ¨x − x = 0.
Normalized solutions are always linearly independent: x 1 can’t be a multiple of x 2 because x 1 (t 0 ) 6 = 0 while x 2 (t 0 ) = 0, and x 2 can’t be a multiple of x 1 because ˙x 2 (t 0 ) 6 = 0 while ˙x 1 (t 0 ) = 0.
Now suppose we wish to solve (1) with the general initial conditions.
Example 1.3.1. Drive a harmonic oscillator with a sinusoidal signal:
x¨ + ω^2 nx = a cos(ωt)
(so f (t) = a cos(ωt)) and specify initial conditions x(0) = x 0 , ˙x(0) = x˙ 0. Assume that the system is not in resonance with the signal, so ω 6 = ωn. Then the Exponential Response Formula (Section ??) shows that the general solution is
x = a
cos(ωt) ω^2 n − ω^2
where b and c are constants of integration. To find the ZSR we need to find ˙x, and then arrange the constants of integration so that both x(0) = 0 and ˙x(0) = 0. Differentiate to see
x˙ = −aω
sin(ωt) ω n^2 − ω^2
− bωn sin(ωnt) + cωn cos(ωnt)
so ˙x(0) = cωn, which can be made zero by setting c = 0. Then x(0) = a/(ω^2 n − ω^2 ) + b, so b = −a/(ω^2 n − ω^2 ), and the ZSR is
xf = a
cos(ωt) − cos(ωnt) ω^2 n − ω^2
The ZIR is xh = b cos(ωnt) + c sin(ωnt)
where this time b and c are chosen so that xh(0) = x 0 and ˙xh(0) = ˙x 0. Thus (using (2) above)
xh = x 0 cos(ωnt) + ˙x 0
sin(ωnt) ωn
Example 1.3.2. The same works for linear equations of any order. For example, the solution to the bank account equation (Section ??)
x˙ − Ix = c , x(0) = x 0 ,
(where we’ll take the interest rate I and the rate of deposit c to be constant, and t 0 = 0) can be written as
x =
c I
(eIt^ − 1) + x 0 eIt.
The first term is the ZSR, depending on c and taking the value 0 at t = 0. The second term is the ZIR, a solution to the homogeneous equation depending solely on x 0.