Differential Equations
Differential Equations
Differential Equations
com
Integration
Rates of change
m
co
The derivative dy represents the rate of change of y with respect to x. When
e.
dx
time t is used instead of x, then dy represents the rate of change of y. For
dt
ur
example:
If x is a displacement, then dx is the rate of change of displacement, or
ct
dt
the velocity;
le
dv
If v is a velocity, then is the rate of change of velocity, or the
dt
ga
acceleration;
If P represents the number of ants in a colony, then dP is the rate of
me
dt
change of population; if this is positive then the population is
w.
Differential equations
Theory often leads us to formulate mathematical models for the rate of
change of quantities. For example,
Example 1
Formulate a differential equation for the following situations.
(i) The acceleration of a particle is proportional to the square of its velocity.
(ii) The rate of population growth is proportional to the size of the population at
any time.
(iii) The rate of cooling of a glass of water is proportional to the difference
between its temperature and room temperature.
Solution
(i) Let the velocity be v.
dv
The acceleration is the rate of change of velocity, .
dt
dv
kv 2 .
dt
You already know how to solve some differential equations, like the ones in
the next example.
Example 2
Solve the differential equations:
dv
(i) 3t
dt
dy 2
(ii) , given that when x = 0, y = 1.
dx 1 x
Solution
dv
(i) 3t v 3t dt
dt
32 t 2 c
The solution is v 32 t 2 c
dy 2 2
(ii) y dx .
dx 1 x 1 x
m
2 ln 1 x c
co
When x = 0, y = 1 1 2 ln1 c
e.
c 1
The solution is y 2 ln 1 x 1
ur
ct
A solution like the one in part (i) of Example 2, which involves an arbitrary
constant (c), is called the general solution of the differential equation. In
le
In part (ii) of Example 2, the solution function must pass through the point
x = 0, y = 1, and this enables you to calculate the value of c. This gives a
me
dv
3v 2 , and when t = 0, v = 10
dt
1 dv 1
Now v 2
dt is the same as 2 dv or v 2 dv . Note that you only need to add
dt v a constant of integration to
v dv 3dt
2 one side of the equation.
v 1 3t c .
1
3t c
v
When t = 0, v = 10 101 c
1 1 30t 1
3t
v 10 10
10
v .
30t 1
In this technique, you arrange for the ‘v’s on the same side of the equations as
the dv, and the ‘t’s on the same side as dt. This is called separating the
variables. The first few steps can also be written more simply like this:
dv
3v 2
dt
1
v2 dv 3dt , and so on…
Here are some more examples.
Example 3
The rate of growth of a population after t months P of ants is proportional to the
number of ants. At time t = 0, there are 500 ants, and after 1 month the population has
risen to 750. Find the population after 3 months.
Solution
dP Remember that the inverse of
kP , where k is a constant. the natural logarithm function is
dt the exponential function
1
P dP kdt
ln P kt c When dealing with exponentials,
P ekt c it is usual to simplify the solution
ekt ec by replacing the constant ec by a
new constant A.
Ae kt
When t = 0, P = 500:
500 = Aek0 = A
P 500e kt
When t = 1, P = 750:
750 500e k
ek 1.5
P 500 e k
t
500 1.5t
Example 4
dy y
Find the general solution of the differential equation .
dx x(1 x)
Solution
dy y
dx x(1 x)
1 1 The details of finding the partial
y dy x(1 x) dx
m
fractions are omitted here.
co
By partial fractions,
1 1 1
e.
y dy x 1 x dx Replace c with a new constant ln A
to give a simpler expression
ln y ln x ln 1 x c
ur
ln x ln 1 x ln A
ct
Ax
ln
1 x
le
1 x
me
You can practice solving first order differential equations with separable
variables using the interactive test Differential equations: first order (all the
w.