MA3264Tutorial2 Solutions by Lin
MA3264Tutorial2 Solutions by Lin
MA3264Tutorial2 Solutions by Lin
d 1 e−x
(yxex ) = e−x xex = 1 ⇒ yxex = x + C ⇒ y = e−x + C .
dx x x
−x
The solution is y = e−x + C e x .
1. (c) y 0 + y + x
y =0
Solution:
yy 0 + y 2 + x = 0.
This is a Bernoulli equation. Set
z = y2,
1
then we have
z0
z 0 = 2yy 0 ⇒ y 0 = .
2y
Thus
1
yy 0 + y 2 + x = 0 ⇒ z 0 + z + x ⇒ z 0 + 2z = −2x.
2
Rx
Integrating factor is exp{ 2} = e2x , multiply e2x on both sides, we can get
d
(ze2x ) = −2xe2x
dx Z x
⇒ ze2x = − 2se2s + C
1
⇒ ze2x = −xe2x + e2x + C
2
1
⇒ z = −x + + Ce−2x .
2
Thus the solution is y 2 = −x + 1
2 + Ce−2x .
d ex ex
(z ) = xex = e2x
dx x Z x
x
ex
⇒z = e2s + C
x
ex 1
⇒ z = e2x + C
x 2
x x
⇒ z = e + Cxe−x .
2
Thus the solution is y 2 = x2 ex + Cxe−x .
2
2. Note that
y(0) = 0.
From the question we know that
r
Z x
dy µ dy 2
= ( ) + 1dt. (1)
dx T 0 dt
T T
0= + C2 ⇒ C2 = − .
µ µ
T µ T
y= cosh( x) − .
µ T µ
3
If we draw this graph in Graphmatica, we will get the following figure. The shape of the
graph of this function is indeed U-shaped.
dP
= C[M − P ].
dt
The constant C has units of 1/time. Clearly P will approach M more rapidly if C is large; that
is, C measures how rapidly the student is able to learn. Thus the equation indeed expresses the
idea that the students performance improves more slowly as she approaches her maximum possible
performance.
Then we solve the differential equation. Separate the variables, we get
dP
= Cdt ⇒ − ln(M − P ) = Ct + C2 ⇒ P = M − e−Ct−C2 .
M −P
Use the initial data
P (0) = 0 ⇒ 0 = M − e−C2 ⇒ C2 = − ln M.
The solution is
P = M − e−Ct+ln M = M − M e−Ct .
If we draw this graph in Graphmatica, we will get the following figure.
4
Second part: Suppose C, instead of being a constant, is a slowly increasing function of
time. (As the years go by and the student becomes more familiar with the methods of mastering
mathematics, her rate of learning new things might be expected to improve; but surely there is an
upper bound to how much she can improve.) The tanh function is a simple way of representing
this since it always increases but is bounded above. If we draw this graph in Graphmatica,
we will get the following figure.
Remember that
sinh x ex − e−x
tanh x = = x ,
cosh x e + e−x
1
(tanh x)0 = 2 = 1 − tanh2 x
Z cosh x
tanh x = ln(cosh x) + C.
Suppose we have
t
C(t) = K tanh( ), t ≥ 0,
T
where K, T are two constants. Then K represents her maximum possible speed of learning [since
tanh is asymptotic to 1], and T measures the amount of time required for her to realise her
maximum potential. Thus, roughly speaking, 1/K would be measured in months, while T would
be measured in years. [Note that K has units of 1/time, while of course T has units of time, so
KT is dimensionless.]
5
The differential equation now becomes
dP t
= K tanh( )[M − P ].
dt T
For simplicity, let Q = P − M ≤ 0, and then separate the variables,
dQ t dQ t
= −K tanh( )Q ⇒ = −K tanh( )dt
dt T Q T
t
⇒ ln(−Q) = −KT ln(cosh ) + C3
T
1 C3
⇒ −Q = e
(cosh Tt )KT
eC3
⇒P =M+
(cosh Tt )KT
Use the initial data,
P (0) = 0 ⇒ 0 = M + eC3 ⇒ eC3 = −M.
The solution is
M 1
P =M− t KT = M [1 − ].
(cosh T ) (cosh Tt )KT
If we draw this graph in Graphmatica, we will get the following figure.
4. The constant K measures the rapidity with which the rumour will spread. It depends on how
interesting the rumour is, how much the students like to gossip, how gullible they are, etc.
The right hand side of the equation is designed to be small both near R = 1 and near R = 45,
when indeed the rumour can be expected to spread slowly either because not enough or too many
people have heard it. Thus the equation is reasonable.
The given differential equation is a Bernoulli equation, that is,
R0 − 45KR = −KR2 .
6
Rt
Integrating factor is exp{ 45K} = e45Kt , multiply e45Kt on both sides, we can get
d 1
(ze45Kt ) = Ke45Kt ⇒ ze45Kt = e45Kt + C
dt 45
1 −45Kt
⇒z= + Ce
45
1
⇒R= 1 −45Kt
.
45 + Ce
5. Refer to the lecture notes, this question is based on Example 11 of Chapter 1. Thus we have
dU
= −kU U
dt
dT
= kU U − kT T,
dt
where kU , kT are constants [related to the half-lives] with kU 6= kT , and U (0) = U0 , T (0) = 0.
From the lecture notes, we have
T kU ln(2) ln(2)
= [1 − e(kU −kT )t ] kU = kT = .
U kT − kU 245000 75000
T
Since in this question, U = 0.1, the above formula becomes
U −kT
kU ln(1 + k10k )
0.1 = [1 − e(kU −kT )t ] ⇒ t = U
.
kT − kU kU − kT
Thus the answer is approximately 40 thousand years.
In the second part of the problem, the decay rate constant is assumed to be a given
function of time. Now the equation for U becomes
dU a
=− U.
dt (1 + bt )2
The units of a are clearly (1/years) and those of b must be years. [Presumably b is very large; oth-
erwise we would have noticed this effect. That is, we get back the usual equations for radioactivity
in the limit as b tends to infinity.]
7
Separate the variables we get
dU a ab ab
=− t dt ⇒ ln U = t + C ⇒ U = eC exp{ }.
U (1 + b )2 1+ b 1 + bt