Professional Documents
Culture Documents
Lecture 4
Other Types of Solvable Differential Equations
Exact Equations
Consider the first order DE
x 0 = f (t, x) =
M(t, x)
N(t, x)
M(t, x) =
F
t
N(t, x) =
F
x
Nt = Fxt
xe tx + 2t cos x + 3t 2
te tx t 2 sin x
M
= e tx + xte tx 2t sin x
x
N
= e tx + xte tx 2t sin x
t
they are the same so the equation is exact.
N=
F
= te tx t 2 sin x
x
C (t) = t 3 + C
Integrating factors
Given any 1st order DE written in the form
Mdt + Ndx = 0
there always exists an integrating factor (t, x) so that the equation
Mdt + Ndx = 0
is exact. Unfortunately finding is harder than solving the original
equation in most cases.
Let us assume that = (t) only. Then since the equation is exact
(M)x = (N)t
Mx = 0 N + Nt
Rearranging leads to
1
0 (t)
= (Mx Nt )
(t)
N
If the right hand side above is a function of t only then we can solve this
for the integrating factor (t).
An example
Find the general solution to the DE
(4tx + 3x 2 t) dt + t(t + 2x) dx = 0
Checking for exactness
Mx = 4t + 6x
Nt = 2t + 2x
= t2
(t 4 + 2xt 3 ) dx = xt 4 + x 2 t 3 + C (t)
Ft = 4xt 3 + 3x 2 t 2 + C 0 (t)
C (t) =
t4
4
t4
=C
4
Bernoulli equations
There are some classes of equations that can be reduced to linear
equations by a clever substitution. One such class is the Bernoulli equation
x 0 = p(t)x + q(t)x n
Divide by x n
x n x 0 = p(t)x 1n + q(t)
Now let y = x 1n then
y 0 = (1 n)x n x 0
So the DE becomes a linear DE for y .
y 0 = (1 n)(p(t)y + q(t))
An Example
Find the general solution to
x 0 = xt 1 + x 4
Divide by 1/x 4
x 4 x 0 = x 5 t 1 + 1
Let u = x 5
1 0
1
u = u+1
5
t
The integrating factor is
m(t) = e
5
u0 = u + 5
t
(5/t) dt
= t5
Z
x(t) =
C
5t
+ 5
6
t
1/5
5t 5 dt =
5t
C
+ 5
6
t
y 0 = + x 0
An Example
Solve
x 0 = cos(x t)
let u = x t then
u 0 = cos u 1 = 2 sin2
Z
(csc 2
u
2
u
) du = 2t + 2C
2
u
= 2t + 2C
2 cot
2
u = 2 cot1 (t + C )
x = t + 2 cot1 (t + C )
x
t
x = tu
then
x 0 = tu 0 + u
and the DE becomes
tu 0 + u = f (u)
or
tu 0 = f (u) u
An Example
Solve
xtx 0 = x 2 + 3xt + t 2
Dividing the equation by xt gives
x0 =
t
x
+3+
t
x
1
u
u
=
3u + 1
dt
t
which integrates to
1
1
u ln(3u + 1) = ln t + ln C
3
9
Riccati equations
A Riccati equation has the form
x 0 = p(t)x 2 + q(t)x + r (t)
If x1 (t) is any solution of the DE let
x = x1 + u
Substituting into the DE yields
u 0 = (2px1 + q)u + pu 2
which is a Bernoulli equation for u.
An example
Find the solution to the IVP
x 0 = x 2 xt 1 t 2
t 1 .
A solution of the DE is x1 =
gives
u 0 = t 1 u + u 2
x(1) = 2
u 2 u 0 = t 1 u 1 + 1
v 0 = u 2 u 0
Let
v = u 1
The DE becomes
v 0 = t 1 v 1
Which has a solution
v (t) = t/2 + C /t
(2/t) dt
= t2
The solution is
1
v (t) = 2
t
t 2 (4t) dt = t 2 +
C
t2
x(t) =
t3 C
+D
3
t
dv
= f (x, v )
dx
Another Example
The dynamics of a particle under the action of a force that depends only
on the displacement is governed by Newtons second law in the form
mx 00 = F (x)
mv
dv
= F (x)
dx
Z
U(x) =
F (x) dx
v02 +
2
(U(x0 ) U(x))
m
Since
v=
the equation is separable
Z x
q
x0
v02 +
dx
dt
dx
2
m (U(x0 )
= t t0
U(x))
x(0) = x0
v (0) = 0
dv
+ kx = 0
dx
1 2 1 2 1 2
mv + kx = kx0
2
2
2
r
where
k
m
x
x0
sin1 1 = t