Академический Документы
Профессиональный Документы
Культура Документы
CHAPTER 1
DIFFERENTIAL EQUATIONS
1.1
Introduction
1.2
Separable equations
A first order d.e. is separable if it can be written in the form M (x) N (y)y = 0 or equivalently, M (x)dx = N (y)dy. When we write the
3
M (x)dx = N (y)dy + c.
Example 1.
Solve y = (1 + y 2)ex.
dioactive substance decomposes at a rate proportional to the amount present. Starting with
2 mg at certain time, say t = 0, what can be
said about the amount available at a later time?
Example 3.
Example 4.
dv
= mg bv 2.
dt
dv
b
mg
= (v 2 k 2), k 2 =
dt
m
b
1
b
dv
=
dt
2
2
v k
m
7
1 1
1
b
dv =
dt.
2k v k v + k
m
Integrating gives
or
(
(
(
(
(
(
(
v k (((
2kb
(
n
t + c1 ,
( =
v + k(
m
vk
2kb
pt
= ce , p =
.
v+k
m
Example 5.
du *2
+ (u A)2 = B 2,
d
du/B
2
( uA
)
B
and so we have
u A*
+ C = arcsin
,
B
)
10
11
(1)
y
y
where g is any function of . We set = v,
x
x
then y = vx and y = v+xv . Thus (1) becomes
v + xv = g(v), which is separable. Namely,
dv
dx
= . We can now solve for v, hence
g(v) v
x
obtain y.
Example 6.
Solve 2xyy y 2 + x2 = 0.
[x2 + y 2 = cx]
Set x 2y = u, we have
1
(2u + 5) (1 u) + u + 3 = 0,
2
(2u + 5)u = 4u + 11.
Separating variables and integrating :
1
du = 2dx.
4u + 11
1
Thus
u n|4u + 11| = 2x + c1,
4
or
4x + 8y + n|4x 8y + 11| = c.
13
1.3
(1)
,x
P (s)ds
14
or
(Ry) = RQ.
Now you can integrate both sides and then divide by R to obtain y. The function R is called
the INTEGRATING FACTOR for this equation.
Example 8.
Solve
(ii) y y = e2x.
Example 9.
16
(1)
(2)
where kU , kT are constants [related to the halflives] with kU = kT , and U (0) = U0, T (0) = 0.
We want to find t given that we know the ratio
of T(t) to U(t) at the present time.
Solving (4) with the given data gives U =
21
To solve
(i) y Ay = By 2, A, B constants.
Solution.
z = y 12 = y 1. Then y 2y = z . (i)
becomes z + Az = B, which is separable.
B
Solving, z = + ceAx.
A
1
1
y= = B
.
Ax
z
A + ce
(ii) y + y = x2y 2. [y(Aex + x2 + 2x + 2) = 1]
24
1.4
equations
The general form of a second order linear d.e.
is
y + p(x)y + q(x)y = F (x).
(1)
standard form y
y +
y = 0 is
1 x2
1 x2
homogeneous; whereas x(y y+(y )2)+2y y = 0
25
26
Theorem.
y + p(x)y + q(x)y = 0,
(2)
= c1 0 + c2 0 = 0.
Thus c1y1 + c2y2 is also a solution of (2).
Caution
The above result does not hold for nonhomogeneous or nonlinear d.e.s. For example, y =
1 + cos x and y = 1 + sin x are solutions of the
nonhomogeneous linear d.e. y + y = 1, but
2(1 + cos x) and 2 + cos x + sin x are not its
solutions. Similarly, y = 1 and y = x2 are solutions of the nonlinear d.e. yy xy = 0. But
x2 and x2 + 1 are not its solutions.
Example 12. Solve the initial value problem
y y = 0, y(0) = 5, y (0) = 3.
28
Solution.
A general solution of y + py + qy = 0 on
an open interval I is y = c1y1 + c2y2, where y1
and y2 are linearly independent solutions of the
d.e. and c1, c2 are arbitrary constants.
A particular solution of the d.e. on I is obtained if specific values are assigned to c1 and
c2 .
For example, y1 = cos x and y2 = sin x are
linearly independent solutions of y + y = 0. A
general solution is y = c1 cos x + c2 sin x.
A particular solution is, for example, y =
2 cos x + sin x, (which satisfies y(0) = 2 and
y (0) = 1).
30
(1)
(2)
This equation is called the characteristic equation (or auxiliary equation) of (1).
31
1 =
+ a2 4b ),
1
2 = 2 (a a2 4b ).
1
2 (a
a2 4b = 0,
Case 3: complex conjugate roots if a2 4b <
0.
Case 1. (2) has two distinct real roots 1 and
32
2 .
In this case e1x and e2x are linearly independent solutions of (1) on any interval. The corresponding general solution of (1) is y = c1e1x +
c2e2x.
Example 13.
Solve y + y 2y = 0, with
y(0) = 4, y (0) = 5.
Solution. The characteristic equation is 2+
2 = 0 (a2 4b = 9 > 0). The roots are 1 = 1
and 2 = 2. The general solution is y =
c1ex + c2e2x. Initial conditions y(0) = 4 and
y (0) = 5 give c1 + c2 = 4 and c1 2c2 = 5.
Solving: c1 = 1, c2 = 3. Thus y = ex + 3e2x
33
is the solution.
Case 2. (2) has a real double root 1 (= 2).
This occurs when a2 4b = 0, and 1 = 2 =
a
ax
ax
ax
y2 = a2 e 2 a2 e 2 + a4 xe 2
.
a2
4x
a2
4x
= a +
ax
2
So
y2
ay2
+ by2 = a +
+a
= b
because b =
a2
4.
34
a2
4
a2
2x
ax
+ bx e
xe 2 = 0
ax
2
ax
35
ax
2
y2 = e
coswx
ax
2
sinwx
ax
2
To conclude: set
a
y1 = e 2 x cos wx,
y2 = e
a2 x
sin wx.
y = c1 y 1 + c 2 y 2
a
Nonhomogeneous equations
We consider
y + p(x)y + q(x)y = r(x), r(x) 0.
(1)
(2)
(5)
41
Example 16.
y 4y + y = x2 + x + 2.
Try y = Ax2 + Bx + C where A, B, C are
constant. Then we have, after substitution,
2A 4(2Ax + B) + Ax2 + Bx + C = x2 + x + 2
or
Ax2 + (B 8A)x + 2A 4B + C = x2 + x + 2.
Comparing coecients, we have
A = 1
B 8A = 1 B = 9
2A 4B + C = 2 C = 36
So Ax2 + Bx + C = x2 + 9x + 36 is a particular
solution.
42
= ue2x + 2ue2x
(1)
u 2u = 2x3.
Using the result of example 17, u = x3 3x.
Thus a particular solution is yp(x) = (x3
3x)e2x.
Example 19.
y 4y + 4y = 20x3e2x.
Set y = ue2x, we get as above u = 20x3.
Integrating twice, u = x5 + Ax + B. We may
set
A = 0 = B and take a particular solution
45
yp = x5e2x.
3. Trigonometric case
Here we use complex exponentials. Recall:
es+it = es(cos t + i sin t). We only need the
dierentiation property of ecx, c complex.
Recall also: if y = u(x) + iv(x) is a complex
valued solution of L(y)(x) = h1(x) + ih2(x)
(where u(x), v(x), h1(x) and h2(x) are real valued functions), then
(u + iv ) + a(u + iv ) + b(u + iv)
= h1 + ih2,
(u + au + bu) + i(v + av + bv)
= h1 + ih2.
46
Solve
(1)
We solve instead
z + 4z = 16xei2x.
(2)
47
u + 4iu = 16x.
Solving this, we get u = 2ix2 + x. Thus z =
(2ix2 + x)ei2x, and a particular solution of (1)
is
y = Imz = x sin 2x 2x2 cos 2x.
Example 21.
y + 2y + 5y = 16xex cos 2x.
(1)
Solve instead
z + 2z + 5z = 16xe(1+2i)x.
(2)
(1)
(A)
yp = uy1 + vy2 ,
yp = uy1 + uy1 + v y2 + vy2.
(B)
y2 r
y1 r
,
v
=
.
y1 y 2 y 1 y2
y1 y2 y1 y 2
(C)
y 1 y 2 y 1 y2
y1 r
dx.
(D)
y1 y2 y1 y 2
u =
v =
Caution.
Example 22.
( , ).
2 2
u = sin x tan x dx
52
sin2 x
=
dx
cos x
2
! cos x 1
=
dx
cos x
!
= (cos x sec x) dx
!
cos x tan x dx
= cos x.
A general solution is
y = yh + u cos x + v sin x
= c1 cos x + c2 sin x cos x n | sec x + tan x|.
Example 23.
Solve y y = ex sin ex +
cos ex.
Solution. We have yh = c1ex + c2ex. We take
53
54