Lecture Notes 9 5
Lecture Notes 9 5
Differential Equations
dy
= g(x)
dx
is the antiderivative G(x)
Z
y= g(x) dx = G(x) + C.
dy p(x)
= ,
dx q(y)
167
168 Chapter 10. Differential Equations (LECTURE NOTES 9)
y y y
decay growth N N
-kx
y = N - (N - y0 ) e y = N / (1 + b e-kx )
kx y0 y0
y = y0 e ,k>0 y0 y = y0 e kx , k<0
x x x
dy = 3x dx
Z Z
dy = 3x dy integrate both sides
1 1+1
y = 3· x +C
1+1
d d 3 2
(y) = x +C =
dx dx 2
Section 1. Solutions to Elementary and Separable Differential Equations (LECTURE NOTES 9)169
dy
(f) Graphs of dx = 3x.
There are/is (i) one (ii) many curves/graphs associated with differential
dy
equation dx = 3x, as shown in the picture below.
y = (3/2)x 2+ 3/2
y = (3/2)x 2- 1/2
y
(1,3)
(1,2)
y = (3/2)x 2+ 1/2
dy
Figure 10.2 ( dx = 3x or, equivalently, f (x) = 23 x2 + C)
170 Chapter 10. Differential Equations (LECTURE NOTES 9)
dy
2. Elementary differential equation, dx
− x = 3x2
dy = (x + 3x2 ) dx
Z Z
dy = (x + 3x2 ) dy integrate both sides
1 1 2+1
y = 1· x1+1 + 3 · x +C
1+1 2+1
1
2 = (1)2 + (1)3 + C since x = 1, y = 2
2
1 3 5
or C = (i) 2
(ii) 2
(iii) 2
dy
3. Separable differential equation, dx
= xy
1 2 1 2 1 3
so (i) y = e 2 x eC = M e 2 x (ii) y = M 2 e 2 x
dy x3
4. Separable differential equation, dx
= y
dy x3
Since dx
= y
= x3 · y1 ,
1
dy = x3 ·dx
y
y dy = x3 dx separation of variables
Z Z
y dy = x3 dx
1 1+1 1
y = x3+1 + C
1+1 3+1
dy
5. Separable differential equation, 4y 3 dx = 5x
Since
4y 3 dy = 5x dx separation of variables
Z Z
3
4y dy = 5x dx
1 3+1 1 1+1
4· y = 5· x +C
3+1 1+1
and so y 4 = (i) 23 x2 + C (ii) 25 x2 + C (iii) 72 x2 + C
dy
6. Separable differential equation, 4y 3 dx − 5x2 + 3x = 0
Since
dy
4y 3 = 5x2 − 3x
dx
4y 3 dy = 5x2 − 3x dx separation of variables
1 3+1 1 2+1 1 1+1
4· y = 5· x −3· x +C
3+1 2+1 1+1
dy
7. Separable differential equation, dx
= x + 3xy
dy = x(1 + 3y) dx
1
dy = x dx separation of variables
1 + 3y
1
Z Z
dy = x dx
1 + 3y
1Z 1 Z
(3) dy = x dx
3 1 + 3y
1 1
Z Z
du = x dx substitute u = 1 + 3y, so du = 3 dy
3 u
1 1 1+1
ln u = x +C
3 1+1
1 1 2
ln (1 + 3y) = x + C since u = 1 + 3y
3 2
1
ln (1 + 3y) = 3 · x2 + 3C
2
Section 1. Solutions to Elementary and Separable Differential Equations (LECTURE NOTES 9)173
3 2
eln (1+3y) = e 2 x +3C
3 2
1 + 3y = e 2 x e3C
3 2
1 2 2
so (i) y = 3
Me2x − 1 (ii) y = e3x M (iii) y = e3x M
1
dy = k dt separation of variables
y
1
Z Z
dy = k dt integrate both sides
y
1 0+1
ln y = k · t +C
0+1
eln y = ek·t+C
y = 5000ekt = 5000e0.02(10) ≈
xy ′ + 3y = 4
dy
x + 3y = 4 since y′ = dx
dy
dx
dy
+ 3x−1 y = 4x−1 dividing by x
dx
where Q(x) = 4x−1 and P (x) = (i) 3y (ii) 3x−1 (iii) 3x−1 y.
R
P (x) dx
(b) Integrating factor I(x) = e .
R
P (x) dx
I(x) = e
R −1
= e 3x dx
= e3 ln |x|
3
= eln |x| =
dy
x3 + 3x2 y = 4x2
dx
176 Chapter 10. Differential Equations (LECTURE NOTES 9)
Dx [x3 y] = 4x2 dy
because Dx [x3 y] = x3 dx + 3x2 y
Z Z
Dx [x3 y] dx = 4x2 dx integrate on both sides
1 2+1
x3 y = 4 · x +C
2+1
4
so y = (i) 3
+ Cx−3 (ii) 43 x + Cx−3 (iii) 34 y + C.
dx
dy
+ 2x−1 y = −3 dividing by x2
dx
where Q(x) = −3 and P (x) = (i) 2x−1 (ii) 3x−1 (iii) 2x−1 y.
R
P (x) dx
(b) Integrating factor I(x) = e .
R
P (x) dx
I(x) = e
R −1
= e 2x dx
= e2 ln |x|
2
= eln |x| =
(i) x2 (ii) e2x (iii) ln |2x|.
1 2+1
x2 y = −3 · x +C
2+1
so y = (i) 43 x + Cx−2 (ii) −x + C
x2
(iii) x + Cx2 .
3. Solve y ′ = −y + x for y
dy
(a) Rewrite in form dx
+ P (x)y = Q(x).
y ′ = −y + x
y′ + y = x
dy
+ y = x since y′ = dx
dy
dx
where Q(x) = x and P (x) = (i) x (ii) y (iii) 1.
R
P (x) dx
(b) Integrating factor I(x) = e .
R
P (x) dx
I(x) = e
R
1 dx
= e =
4. Solve y ′ = y − 2x for y
dy
(a) Rewrite in form dx
+ P (x)y = Q(x).
y ′ = y − 2x
y ′ − y = −2x
dy
− y = −2x since y′ = dx
dy
dx
where Q(x) = −2x and P (x) = (i) −2x (ii) −y (iii) −1.
Section 2. Linear First-Order Differential Equations (LECTURE NOTES 9) 179
R
P (x) dx
(b) Integrating factor I(x) = e .
R
P (x) dx
I(x) = e
R
−1 dx
= e =
(i) −x (ii) e−x (iii) ln |x|.
5. Solve xy ′ = 4 for y
dy
(a) Rewrite in form dx
+ P (x)y = Q(x).
xy ′ = 4
dy
x = 4 since y ′ = dy
dx
dx
dy 4
= divide by x
dx x
4
where Q(x) = x
and P (x) = (i) x (ii) 0 (iii) 1.
180 Chapter 10. Differential Equations (LECTURE NOTES 9)
R
P (x) dx
(b) Integrating factor I(x) = e .
R
P (x) dx
I(x) = e
R
0 dx
= e =
(i) 1 (ii) ex (iii) x.
(e) (i) True (ii) False. Some first–order linear differential equations can
be solved using the separation technique described previously, but, then,
many cannot. Also, some differential equations which are neither first–
order, nor linear, can be solved by the separation technique.
dP
6. Application: Population Growth Solve dt
= kP + 2400e−t for P where P (0) =
900, 000 and k = 0.03.
dP
(a) Rewrite in form dt
+ P (t)P = Q(t).
dP
= kP + 2400e−t
dt
dP
− kP = 2400e−t
dt
Section 2. Linear First-Order Differential Equations (LECTURE NOTES 9) 181
where Q(t) = 2400e−t and P (t) = (i) −kP (ii) 0 (iii) −k.
R
P (t) dt
(b) Integrating factor I(t) = e .
R
P (t) dt
I(t) = e
R
= e −k dt
1 1
= e−k· 1 t =
dP
− kP = 2400e−t
dt
dP
e−kt − kP e−kt = 2400e−te−kt multiply by I(t) = e−kt
dt
Dx [e−kt P ] = 2400e−t−kt because Dx [e−kt P ] = e−kt dP
dt
− kP e−kt
Z Z
Dx [e−kt P ] dt = 2400e−(1+k)t dt integrate on both sides
1
e−kt P = 2400 · e−(1+k)t + C
−(1 + k)
−2400 −(0)
900000 = e + Cek(0) since t = 0, P = 900000
1 + 0.03
or C ≈ (i) 900000 (ii) 902330 (iii) 902440