Documente Academic
Documente Profesional
Documente Cultură
Lecture 18
Linear DEs with Constant Coefficients
r = 1, 3
p
1
p p 2 4q
2
independent since
p
= (r1 r2 )e (r1 +r2 )t = p 2 q e pt
..
.
(n1) rn t
e
rn
Complex roots
For second order equations, if the auxiliary equation
r 2 + pr + q = 0
satisfies p 2 4q < 0 then the roots are complex.
For example the DE
x 00 + 4x 0 + 13x = 0
has auxiliary equation
r 2 + 4r + 13 = 0
with roots
r1.2 = 2 3i
The general solution is
x(t) = c1 e (2+3i)t + c2 e (23i)t = e 2t (d1 cos(3t) + d2 sin(3t))
where the second expression is obtained using Eulers formula.
= 3e 4t 6= 0
For higher order equations if an equation has a complex root, its complex
conjugate must also be a root. As long as the real roots are distinct the
solutions will be linearly independent. The calculation of the Wronskian
follows just as in the distinct real roots case.
W (t) = (r1 r2 )(r1 r3 ) (rn1 rn )e (r1 +r2 ++rn )t 6= 0
Repeated roots
When we use the ansatz for the DE
x 00 + 4x 0 + 4x = 0
the auxiliary equation becomes
r 2 + 4r + 4 = 0
r = 2
and we dont have enough functions to span the null space which has to
be two dimensional. Now try a different ansatz: x = u(t)e 2t
x 0 = u 0 e 2t 2ue 2t
x 00 = u 00 e 2t 4u 0 e 2t + 4ue 2t
Thus
d
r
dt
d
r
dt
m
x(t) = u (m) e rt = 0
Cauchy-Euler equations
Cauchy-Euler equations have the form
t 2 x 00 + ptx 0 + q = 0
with p and q constants. In this case we use the ansatz : x = t r .
Substituting into the DE
t r (r (r 1) + pr + q) = 0
with roots
q
1
2
1 p + (p 1) 4q
r1,2 =
2
As long as these are distinct we have the general solution
x(t) = c1 t r1 + c2 t r2
If they arent distinct, reduction of order yields
x(t) = t r (c1 + c2 ln t)
An Example
Find the general solution to the DE
t 2 x 00 + 3tx 0 + 10x = 0
The auxiliary equation is
r 2 + 2r + 10 = 0
with roots
r1,2 = 1 3i
and general solution
x(t) = e t (c1 t 3it + c2 t 3it )
but
t 3i = e 3i ln t
Thus the solution can be written as
x(t) = e t (d1 cos(3 ln t) + d2 sin(3 ln t))
Nonhomogeneous equations
Since the constant coefficient equations are relatively simple,
nonhomogeneous equations can be solved as long as the inhomogeneity is
reasonably simple also.
For example to solve the IVP
x 00 + 4x 0 + 8x = 8 sin(4t)
x(0) = 1
x 0 (0) = 2
1
5
B=
2
5
6
5
c2 =
3
5
Another example
Find the general solution to
x 00 + 4x = 12 cos(2t)
To find the solution to the homogeneous equation, the auxiliary equation is
r2 + 4 = 0
r = 2i
Annihilators
Define the operator
df
dt
then a constant coefficient linear homogeneous DE can be written as
Df =
p(D)x = 0
where p(D) is a polynomial in D. A polynomial in D is an annihilator of a
function f (t) if f (t) is in the null space of the operator.
Some examples
(D + r )e rt = 0
(D+r )n+1 t n e rt = 0
An example
Find the general solution to the DE
x 00 3x 0 + 4x = 50te t
The solution to the homogeneous equation is
r 2 3r 4 = 0
r = 4, 1
xh = C1 e 4t + C2 e t
50 = 10C4
C4 = 5