Docsity

Differential Equations I, Exercises of Differential Equations

Toggle sidebar
bg1
Differential Equations I
1. In 2017, the United Nations estimated that the annual growth rate of the world’s population is about
1%. This means that at any given time, the rate of change of the world’s population is about 1% of the
world’s population. Let P(t) represent the world’s population tyears after January 1 2018, when the
world population was estimated to be 7,632,819,325. (Assume P(t) is a continuous function defined
for all t≥0.)
(a) Write an equation that relates the rate of change of the world’s population at time twith the
population at time t. Include any initial conditions that are given.
Solution.
We are told that at any given time, the rate of change of the world’s population is about 1% of
the world’s population. Recall from calculus that the instantaneous rate of change of a quantity
with respect to time is given by the derivative of the function with respect to time. Thus, if P(t)
is the world’s population at any time t, then the equation that relates the rate of change of the
population with the population itself is:
P0(t)=0.01P(t)
or
dP
dt = 0.01P(t)
Furthermore, since we are told the world’s population on January 1, 2018, we have the initial
condition:
P(0) = 7,632,819,325
(b) Use your equation in part (a), along with any initial conditions, to give an explicit formula for
P(t).
Solution.
Method 1: Guess and Test
From our equation in part (a), we are looking for a function P(t) whose derivative is 0.01 times
itself. Since we know a function whose derivative is equal to itself (namely, f(x) = ex), we could
use P(t) = etas our starting guess.
In order to get a function whose derivative is 0.01 times itself, first notice that f(x) = e2xis a
function whose derivative is two times itself. (This is because f0(x) = 2e2x= 2f(x).) Similarly,
f(x) = e3xis a function whose derivative is three times itself. So naturally, f(x) = e0.01xis a
function whose derivative is 0.01 times itself. Thus, a better guess for P(t) would be P(t) = e0.01t.
Although P(t) = e0.01tsatisfies the differential equation dP
dt = 0.01P(t), it does not satisfy the
initial condition P(0) = 7,632,819,325, because P(0) = 1 for our guessed function. So instead,
we might guess that we should multiply our guess by the initial population, which gives us a new
and improved guess: P(t) = 7,632,819,325e0.01t.
To check that our guess is correct, we verify that dP
dt = 0.01P(t) and that P(0) = 7,632,819,325:
dP
dt = 7,632,819,325e0.01t(0.01) = (0.01)P(t)
1
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Differential Equations I and more Exercises Differential Equations in PDF only on Docsity!

Differential Equations I

  1. In 2017, the United Nations estimated that the annual growth rate of the world’s population is about 1%. This means that at any given time, the rate of change of the world’s population is about 1% of the world’s population. Let P (t) represent the world’s population t years after January 1 2018, when the world population was estimated to be 7,632,819,325. (Assume P (t) is a continuous function defined for all t ≥ 0.)

(a) Write an equation that relates the rate of change of the world’s population at time t with the population at time t. Include any initial conditions that are given.

Solution.

We are told that at any given time, the rate of change of the world’s population is about 1% of the world’s population. Recall from calculus that the instantaneous rate of change of a quantity with respect to time is given by the derivative of the function with respect to time. Thus, if P (t) is the world’s population at any time t, then the equation that relates the rate of change of the population with the population itself is:

P ′(t) = 0. 01 P (t)

or dP dt

= 0. 01 P (t)

Furthermore, since we are told the world’s population on January 1, 2018, we have the initial condition: P (0) = 7, 632 , 819 , 325

(b) Use your equation in part (a), along with any initial conditions, to give an explicit formula for P (t).

Solution.

Method 1: Guess and Test

From our equation in part (a), we are looking for a function P (t) whose derivative is 0.01 times itself. Since we know a function whose derivative is equal to itself (namely, f (x) = ex), we could use P (t) = et^ as our starting guess.

In order to get a function whose derivative is 0.01 times itself, first notice that f (x) = e^2 x^ is a function whose derivative is two times itself. (This is because f ′(x) = 2e^2 x^ = 2f (x).) Similarly, f (x) = e^3 x^ is a function whose derivative is three times itself. So naturally, f (x) = e^0.^01 x^ is a function whose derivative is 0.01 times itself. Thus, a better guess for P (t) would be P (t) = e^0.^01 t.

Although P (t) = e^0.^01 t^ satisfies the differential equation dPdt = 0. 01 P (t), it does not satisfy the initial condition P (0) = 7, 632 , 819 , 325, because P (0) = 1 for our guessed function. So instead, we might guess that we should multiply our guess by the initial population, which gives us a new and improved guess: P (t) = 7, 632 , 819 , 325 e^0.^01 t.

To check that our guess is correct, we verify that dPdt = 0. 01 P (t) and that P (0) = 7, 632 , 819 , 325:

dP dt

= 7, 632 , 819 , 325 e^0.^01 t(0.01) = (0.01)P (t)

P (0) = 7, 632 , 819 , 325 e(0.01)(0)^ = 7, 632 , 819 , 325 e^0 = 7, 632 , 819 , 325(1) = 7, 632 , 819 , 325

Therefore, P (t) = 7, 632 , 819 , 325 e^0.^01 t^.

Method 2: Separation of Variables

Instead of guessing the solution, we can methodically find the solution in this case by separating the variable P from the variable t in our differential equation, then integrating. We can accomplish this by treating dP and dt as individual quantities. dP dt

= 0. 01 P

P

dP = 0. 01 dt ∫ 1 P

dP =

  1. 01 dt

ln |P | + C 1 = 0. 01 t + C 2 ln(P ) = 0. 01 t + (C 2 − C 1 ) ln(P ) = 0. 01 t + C eln(P^ )^ = e^0.^01 t+C P = e^0.^01 t^ · eC P = e^0.^01 t^ · C P = Ce^0.^01 t Before moving forward, we should note a few things. First, when we integrate both sides, we need to use two different constants of integration C 1 and C 2 , because they don’t necessarily have to be the same constant. But C 2 − C 1 is still a generic constant, so we may simply call it C. (So from now on, we can simply add C to the right side when applying this technique.) Also note that since e and C are both constants, we can simply call eC^ a generic constant C as well.

To find C, we use our initial condition P (0) = 7, 632 , 819 , 325: P (t) = Ce^0.^01 t P (0) = Ce(0.01)(0) 7 , 632 , 819 , 325 = Ce^0 7 , 632 , 819 , 325 = C

Therefore, once again, we get that P (t) = 7, 632 , 819 , 325 e^0.^01 t^.

(c) Using your formula in part (b), predict whether the world’s population will double 100 years from now.

Solution.

Plugging t = 100 into our formula from part (b), we get: P (100) = 7, 632 , 819 , 325 e(0.01)(100)^ = 7, 632 , 819 , 325 e^1 = 7, 632 , 819 , 325 e Without actually calculating this value, we can tell that it is over twice the initial population from 2018, since e is bigger than 2. Thus, according to this formula, the world population will more than double in 100 years if population growth continues at this rate.

The equation is separable, and solvable as follows:

dx dt = tx −

t x dx dt

= t

x −

x

dx dt

= t

x^2 − 1 x

x x^2 − 1 dx = t dt ∫ x x^2 − 1

dx =

t dt

1 2

ln |x^2 − 1 | =

t^2 2

+ C

Although it is possible to solve this equation for x, it is made more difficult by the presence of the absolute value symbols, which are necessary in this case, since x^2 − 1 could be negative.

(c) dx dt

= 1 + x

Solution.

The equation is separable, and solvable as follows:

dx dt = 1 + x 1 1 + x dx = 1 dt ∫ 1 1 + x

dx =

1 dt

ln |1 + x| = t + C

Again, it is difficult to solve for x here, but possible.

(d)

dx dt

= t + x

Solution.

This equation is not separable. It is solvable, however, using more advanced techniques.

  1. In the classic Shakespeare play Romeo and Juliet, there is a ball at the Capulet house where Romeo and Juliet first meet. Let r(t) represent Romeo’s feelings toward Juliet at time t and let j(t) represent Juliet’s feelings toward Romeo at time t, where t represents the time since the ball. (Positive values of r(t) and j(t) represent love, while negative values represent hate.)

Suppose we modeled Romeo and Juliet’s relationship via the following system of differential equations: dr dt

= j(t)

dj dt

= −r(t)

(a) Based on the differential equations alone, how would you describe the relationship between Romeo and Juliet?

Solution.

Looking at the first equation, we see that as j(t) increases, drdt also increases. Thus, the more Juliet loves Romeo, the faster Romeo’s love for Juliet increases. But looking at the second equation, we see that as r(t) increases, djdt becomes more negative. Thus, the more Romeo loves Juliet, the faster Juliet’s hatred of Romeo increases.

Therefore, the more Romeo loves Juliet, the more Juliet hates Romeo. This, in turn, causes Romeo to love Juliet less, which in turn causes Juliet to begin loving Romeo more, which causes Romeo to start loving Juliet again, which causes Juliet to start hating Romeo, etc.

(b) Only one of these is the general solution to the system; which one?

  • r(t) = C 1 e−t^ + C 2 et^ and j(t) = −C 1 e−t^ + C 2 et
  • r(t) = C 1 cos(t) + C 2 sin(t) and j(t) = −C 1 sin(t) + C 2 cos(t)
  • r(t) = C 1 cos(t) + C 2 sin(t) and j(t) = C 1 sin(t) + C 2 cos(t)

Solution.

The second option is the general solution to the differential equation. To see this, let’s differentiate r(t) and j(t) given in the second option:

r(t) = C 1 cos(t) + C 2 sin(t) j(t) = −C 1 sin(t) + C 2 cos(t)

⇓

dr dt

= −C 1 sin(t) + C 2 cos(t) = j(t)

dj dt

= −C 1 cos(t) − C 2 sin(t) = −(C 1 cos(t) + C 2 sin(t)) = −r(t)

Thus, if r(t) = C 1 cos(t) + C 2 sin(t) and j(t) = −C 1 sin(t) + C 2 cos(t), then drdt = j(t) and dj dt =^ −r(t).^ Therefore, the second option gives us the solution to the system of differential equations.

could have simply “averaged” the arrows on the positive j-axis and the positive r-axis to get the same conclusion. Similar reasoning gives us the arrows in the other quadrants.

Following the trail of the arrows, we see that the phase portrait appears to give rise to circular patterns, moving in a clockwise direction. This is justified by the particular solution given in part (c), drawn in blue on the picture. Since r(t) = cos(t) and j(t) = − sin(t), we know that r^2 + j^2 = (cos(t))^2 + (− sin(t))^2 = sin^2 (t) + cos^2 (t) = 1 Thus, r(t) and j(t) give us a circle of radius 1 centered at the origin.

Therefore, in the long run, Romeo and Juliet’s relationship follow a cyclical pattern in which each person oscillates between loving and hating the other, which is consistent with our description in part (a). There is never a time when they both love each other or both hate each other maximally. But when θ = π/4, they like each other equally, and when θ = 3π/4, they dislike each other equally.

Systems of Differential Equations and Continuous Dynamical Systems

  • A system of differential equations can be written as

~x′(t) = A~x(t)

This system defines a continuous dynamical system, where each component of ~x′(t) is a differentiable function of t, and t is a real-valued continuous variable (instead of a discrete variable that only takes on integer values).

  • A solution to a system of differential equations is a vector of functions ~x(t) that satisfies every differential equation in the system, as well as all initial conditions. In particular, an equilibrium solution is a vector ~x(t) such that ~x′(t) = ~0.
  • We can analyze a system of two differential equations by sketching its phase portrait on the phase plane, where each axis represents a function of t. To do this, we start by plotting any equilibrium solutions, then using the differential equations to determine how the two functions change in the regions in the plane defined by the equilibrium solutions.
  • Let ~x′(t) = A~x(t) be a continuous dynamical system with initial conditions ~x(0). Suppose A has eigenvalues λ 1 , λ 2 , ..., λn with corresponding eigenvectors ~v 1 , ~v 2 , ..., ~vn. If

~x(0) = c 1 ~v 1 + c 2 ~v 2 + · · · + cn~vn

then the closed form solution to the system is given by:

~x(t) = c 1 eλ^1 t~v 1 + c 2 eλ^2 t~v 2 + · · · + cneλnt~vn

  • A continuous dynamical system is asymptotically stable if ~x(t) → 0 for all initial conditions ~x(0). Otherwise, it is unstable.

A system is asymptotically stable if and only if Re(λk) < 0 for all eigenvalues of A.

  1. Let A =

[

]

. Solve the continuous dynamical system ~x′(t) = A~x(t) with initial condition ~x(0) = [ 3 2

]

. Determine the stability of the system.

Solution.

Using our usual methods for finding eigenvalues and eigenvectors, we find that A has eigenvalues

λ 1 = − 1 , λ 2 = − 2

with corresponding eigenvectors ~v 1 =

[

]

, ~v 2 =

[

]

Since both eigenvalues are real and less than 0, we can already tell that the system will be stable.

In order to find the closed form solution for ~x(t), we first need to express ~x(0) as a linear combination of ~v 1 and ~v 2. In other words, we must find coefficients c 1 and c 2 such that: [ 3 2

]

= c 1

[

]

  • c 2

[

]

By solving the ensuing system of equations, we can see that c 1 = 5 and c 2 = −1. Therefore, using the equation ~x(t) = c 1 eλ^1 t~v 1 + c 2 eλ^2 t~v 2 our closed-form solution for ~x(t) is:

~x(t) = 5e−t

[

]

− e−^2 t

[

]

[

5 e−t^ − 2 e−^2 t 5 e−t^ − 3 e−^2 t

]

We can also confirm that this is the solution to the continuous dynamical system ~x′(t) = A~x(t) by finding ~x′(t), finding A~x(t), and confirming that they are equal.

~x′(t) =

[

(5e−t^ − 2 e−^2 t)′ (5e−t^ − 3 e−^2 t)′

]

[

− 5 e−t^ + 4e−^2 t − 5 e−t^ + 6e−^2 t

]

A~x(t) =

[

] [

5 e−t^ − 2 e−^2 t 5 e−t^ − 3 e−^2 t

]

[

(1)(5e−t^ − 2 e−^2 t) + (−2)(5e−t^ − 3 e−^2 t) (3)(5e−t^ − 2 e−^2 t) + (−4)(5e−t^ − 3 e−^2 t)

]

[

− 5 e−t^ + 4e−^2 t − 5 e−t^ + 6e−^2 t

]

Furthermore, our solution satisfies the initial condition ~x(0) =

[

]

~x(t) =

[

5 e−t^ − 2 e−^2 t 5 e−t^ − 3 e−^2 t

]

=⇒ ~x(0) =

[

5 e^0 − 2 e^0 5 e^0 − 3 e^0

]

[

]

[

]