0% found this document useful (0 votes)
141 views10 pages

MA3264Tutorial1 Solutions by Lin

This document provides solutions to 4 tutorial problems involving differential equations: 1. It finds the general solution to the differential equation x(x+1)y' = 1 and verifies it satisfies the initial condition. 2. It finds the general solution to the differential equation sec(x)y' = cos(5x) and verifies it satisfies the initial condition. 3. It examines whether the differential equation y' = y has a unique solution given the initial condition y(0) = 1. It also discusses the non-uniqueness of solutions for the equation y' = √2y. 4. It analyzes the motion of a moth flying toward a candle using polar coordinates and

Uploaded by

Tim Cook
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views10 pages

MA3264Tutorial1 Solutions by Lin

This document provides solutions to 4 tutorial problems involving differential equations: 1. It finds the general solution to the differential equation x(x+1)y' = 1 and verifies it satisfies the initial condition. 2. It finds the general solution to the differential equation sec(x)y' = cos(5x) and verifies it satisfies the initial condition. 3. It examines whether the differential equation y' = y has a unique solution given the initial condition y(0) = 1. It also discusses the non-uniqueness of solutions for the equation y' = √2y. 4. It analyzes the motion of a moth flying toward a candle using polar coordinates and

Uploaded by

Tim Cook
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

MA3264, Tutorial 1, Solutions

Lin Meixia, Department of Mathematics

1. (a) x(x + 1)y 0 = 1


Solution:
1 1 1 x
y0 = = − ⇒ y = ln |x| − ln |x + 1| + C = ln | | + C.
x(x + 1) x x+1 x+1

Substitute (1, 12 ),
1 1 1 1 1
= ln + C ⇒ C = − ln = + ln 2.
2 2 2 2 2
The solution is
x 1
y = ln |x| − ln |x + 1| + C = ln | | + + ln 2.
x+1 2

2. sec(x) y 0 = cos(5x)


Solution:
1 1 1 1
y 0 = cos(x) cos(5x) = [cos(6x) + cos(4x)] ⇒ y = [ sin(6x) + sin(4x)] + C.
2 2 6 4
Substitute (1, 21 ),

1 1 1 1 1 1
= sin(6) + sin(4) + C ⇒ C = − sin(6) − sin(4).
2 12 8 2 12 8
The solution is
1 1 1 1 1
y= sin(6x) + sin(4x) + − sin(6) − sin(4).
12 8 2 12 8

3. y 0 = ex−3y
Solution:
dy ex 1
= 3y ⇒ e3y dy = ex dx ⇒ e3y = ex + C.
dx e 3
Substitute (1, 12 ),
1 3 1 3
e 2 = e + C, ⇒ C = e 2 − e.
3 3
The solution is
1 3y 1 3 1 3
e = ex + e 2 − e or y = ln(3ex + e 2 − 3e).
3 3 3

1
4. (1 + y)y 0 + (1 − 2x)y 2 = 0, y > 0
Solution:
1+y 1
2
dy = (2x − 1)dx ⇒ − + ln y = x2 − x + C.
y y
Substitute (1, 12 ),
1 1
−2 + ln = C ⇒ C = −2 + ln = −2 − ln 2.
2 2
The solution is
1
− + ln y = x2 − x − 2 − ln 2.
y
If we use Graphmatica, we can get the following graph. We can see that we get exactly the
same graphs if we graph these specific functions or feed the differential equations into Graphmatica
directly.

2
3
2. Solution:
Since y 0 = y, we have y 00 = y 0 = y and so on, then all of the derivatives of y are equal to each other.
So since y(0) = 1, we have y(0) = y 0 (0) = y 00 (0) = · · · = 1. Since

y = a0 + a1 x + a2 x2 + · · · ,

we have
y(0) = a0 = 1, y 0 (0) = a1 = 1 y 00 (0) = 2a2 = 1, y 000 (0) = 6a3 = 1, · · ·
1
thus an = n! , that is y = ex . This shows that this is the ONLY solution, PROVIDED that you can
use the equation itself to evaluate all of the derivatives of y at y(0).

For y 0 = 2 y, y(x) ≥ 0, y(0) = 0, this method does’t work. Since

1
y 00 = √ y 0 ,
y

we will be dividing by zero when we try to evaluate y 00 (0) using the equation.
[Remember: the chain rule requires all functions concerned to be differentiable at the points
where you are evaluating things. But the square root function is NOT differentiable at zero!]
We can solve this differential equation by separating the variables, then we get

y = x2 .

But we can see that y = 0 is also a solution. So we see that in some [luckily rare] cases, a differential
equation can have more than one solution, EVEN if the initial conditions are specified.

4
3. Solution:
Denote volume as V and surface area as S.
Since the volume of a raindrop is proportional to the 3/2 power of its surface area, we have
3
V = aS 2 , (1)

where a > 0, with no units. This is reasonable because volume has units of cubic metres and area
has units of square metres. [Of course, “reasonable doesnt mean that its always exactly true.]
From (1) we differentiate with respect to t on both sides, we can get

dV 3 1 dS
= a S2 . (2)
dt 2 dt
Since the rate of reduction of the volume of a raindrop is proportional to its surface area, we have
dV
− = bS, (3)
dt
where b > 0, with units of metres/sec. This is reasonable because evaporation takes place at the
surface of the drop and so its rate can be expected to depend on the area.
From (2) and (3), we have
3 1 dS
a S2 = −bS,
2 dt
namely,
dS b
1 = − dt.
2S 2 3a
Integrating from S0 to zero, we have
Z 0 Z T
1 b
1 dS = − dt.
S0 2S 2 0 3a

Thus
3b p
T = S0 ,
a
3b

that is the amount of time it takes for a virga raindrop to evaporate completely is a S0 .

Suppose the rate of reduction of the volume of a raindrop is proportional to the square of the
surface area, i.e.
dV
− = bS 2 . (4)
dt
Combine (3) and (4), we have
dS b
3 =− dt.
2S 2 3a
When we try to integrate this from S0 to zero, we will get a divergent integral, meaning that the
evaporation would take infinite time and the rain would always reach the ground, contrary to the
definition of Virga.

5
4. Solution:
We use polar coordinates.

Figure 1: after time dt, moth fly from A to B

Note: ψ is the angle between the radius vector of the moth [pointing outwards] and her velocity.
In 4ABC we can get the following equation
rdθ
tan ψ = ,
dr
thus
dr dθ θ
= ⇒ r = R exp{ },
r tan ψ tan ψ
where R is the initial distance.
If ψ > π2 , (the moth looking towards a candle in front of her), then tan ψ < 0, r will get steadily
smaller as θ increases. So the unfortunate moth will spiral into the candle.
If ψ < π2 , (the moth’s first view of the candle is over her “shoulder”), then tan ψ > 0, r will
get larger as θ increases. So the moth will spiral outwards.
if ψ = π2 , the moth will fly along a circle until it drops dead from exhaustion or starvation,
whichever comes first.
If we use Graphmatica, we can get the following graph.

6
π
Figure 2: ψ = 2

Figure 3: ψ > π2 , that is tan(ψ) < 0

Figure 4: ψ < π2 , that is tan(ψ) > 0

7
5. Solution:
Since a(t) is a ratio, it has no units. The units of L are those of time.
2
We will prove that a(t) ≥ 1. We prove by contradiction. If a(t) < 1, we have a2
> 2, thus

2
RHS = a2 − +1<0 but LHS ≥ 0,
a2
which is a contradiction. a(t) ≥ 1 means the universe is never smaller than a certain minimum size.

Let y = a2 , then

ẏ = 2aȧ ⇒ ȧ = .
2a
Plug this into the differential equation, we get
 ẏ 2 2 (ẏ)2 2 2 dy 2
L2 = y − + 1 ⇒ L2 = y − + 1 ⇒ dt = p =y− +1
2a y 4y y L 2
y +y−2 y
2 dy
⇒ dt = q .
L (y + 1 )2 − 92 4

1 3 3
Let y + 2 = 2 cosh(x), [since y = a2 ≥ 1, LHS ≥ 2 and cosh ≥ 1], then we have
3
2 sinh(x)dx
2 2
dt = 3 . = dx ⇒ t = x
L sinh(x)
2
L
3 1 3 2 1
⇒ a2 = y = cosh(x) − = cosh( t) − .
2 2 2 L 2
The graph of a starts out at a = 1, and then steadily increases at a faster and faster rate. This
describes a Universe that begins with non-zero size and then expands. The expansion is not slowing
down — instead it is getting faster and faster.
If we use Graphmatica to solve the differential equation directly, we will get that a(t)
is identically equal to 1. And in fact this is also a solution of the equation. Actually the solution
with a(t) identically equal to 1 is not too interesting because it is not stable. To see this using
Graphmatica, compare what happens when you put in {0, 1.00000001} as initial data with what
happened when you put in {0, 1}. Even a tiny change makes a big difference this is what we mean
by unstable.

8
Figure 5: our solution

Figure 6: solve this equation using Graphmatica, type dy = sqrt(y 2 − (2/y 2 ) + 1){0, 1}

Figure 7: solve this equation using Graphmatica, type dy = sqrt(y 2 − (2/y 2 ) + 1){0, 1.00000001}

9
6. (a)
1 − 2y − 4x
y0 =
1 + y + 2x
Solution:
Let v = 2x + y, then we have v 0 = 2 + y 0 , thus
1 − 2v 3
v0 − 2 = ⇒ v0 = ⇒ (1 + v)dv = 3dx
1+v 1+v
1
⇒ v + v 2 = 3x + C
2
1
⇒ (2x + y) + (2x + y)2 = 3x + C.
2

6. (b)
 x + y + 1 2
y0 =
x+y+3
Solution:
Let v = x + y, then we have v 0 = 1 + y 0 , thus
 v + 1 2 2v 2 + 8v + 10 v 2 + 6v + 9
v0 − 1 = ⇒ v0 = 2 ⇒ 2 dv = 2dx
v+3 v + 6v + 9 v + 4v + 5
 2v + 4 
⇒ 1+ 2 dv = 2dx
v + 4v + 5
⇒ v + ln |v 2 + 4v + 5| = 2x + C
⇒ (x + y) + ln |(x + y)2 + 4(x + y) + 5| = 2x + C.

6. (c)
x + y + 1 + (−x + y − 3)y 0 = 0
Solution:
Let x = X + α and y = Y + β, then we have
x + y + 1 = X + Y + (α + β + 1)
−x + y − 3 = −X + Y + (−α + β − 3).
If we choose
α + β + 1 = −α + β − 3 = 0,
we get α = −2 and β = 1. Meanwhile X = x + 2 and Y = y − 1. The differential equation becomes
Y Y
(X + Y ) + (−X + Y )Y 0 = 0 ⇒ (1 + ) + (−1 + )Y 0 = 0.
X X
Set V = XY
, we will have Y 0 = V 0 X + V and
1−V dX dV 1 dV 2 dX
(1 + V ) + (−1 + V )(V 0 X + V ) = 0 ⇒ 2
dV = ⇒ 2
− 2
=
1+V X 1+V 21+V X
1
⇒ arctan V − ln(1 + V 2 ) = ln |X| + C
2
y−1 1 y−1 2
⇒ arctan( ) − ln(1 + ( ) ) = ln |x + 2| + C.
x+2 2 x+2

10

You might also like