TutorialWeek03 Solutions
TutorialWeek03 Solutions
TutorialWeek03 Solutions
SEPARABLE EQUATIONS
(Week 2 lectures)
dy
1. Consider the differential equation = 2xy .
dx
(a) Compute the general solution of the equation.
2
Solution: The family of curves is y = Aex .
(b) Compute and sketch the particular solution that passes through (x, y) =
(0, 2).
2
Solution: y = 2ex
2. Which of the following differential equations are separable? For those that are not,
justify your answer. Write those that are in separated form and solve them.
dy dy x+1
(a) =5 (d) =
dx dx 2xy
Solution: This equation is sep- Solution: This equation is sep-
arable and the solution is found dy x+1
arable: 2y = .
through direct integration y(x) = dx x
So we can solve
5x + C
x+1 1
Z Z Z
dy 2y dy = dx = 1+ dx ,
(b) = xy + 5 x x
dx
giving solution y 2 = x+ln |x|+C .
Solution: This equation is not
separable. Assume it is. Write dy p
(e) = x 4 − y2
f (x)g(y) = xy + 5. If f (0) = 0, dx
then f (0)g(y) = 0 = 5, a con- Solution: This equation is sep-
dy
tradiction. If f (0) 6= 0, then arable: p = xdx
g(y) = 5/f (0), a contradiction to 22 − y 2
f (x)g(y) depending on y. Looking at the table of integrals
2
we obtain sin−1 ( y2 ) = x2 + C giv-
dy x2
(c) = x+y ing solution y = 2 sin 2
+C
dx
Solution: This equation is not dy x + cos y
(f) = √
separable. Assume it is. Write dx 3
x x2 − 16
f (x)g(y) = x + y. If f (0) = 0, Solution: Not separable. It
then f (0)g(y) = 0 = y, a con- suffices to show that f (x)g(y) =
tradiction. Same for g(0) = 0. x + cos(y) is not possible. Similar
Hence, both f (0) 6= 0 and g(0) 6= approach to (c) but evaluating at
0. But then g(y) = y/f (0) and g(π/2) instead of g(0).
f (x) = x/g(0), a contradiction to dy ey
f (x)g(y) = x + y. (g) = + 3ey
dx (a − x)
2
kinematic viscosities of honey and oil are µhoney = 73.6 × 10−6 m2 /s and
µoil = 43.2 × 10−6 m2 /s.
Solution: Terminal velocity is g/k. For a marble in honey this gives us
roughly 0.79m/s, for a marble in oil roughly 2.89m/s.
(d) What are the terminal velocities for a marble with diameter 10cm?
Solution: The terminal velocity grows with the square of the diameter
(q 2 ) and thus an increase of diameter by factor 10 leads to an increase in
the terminal velocity by a factor 100. For marbles of diameter 10cm the
velocities obtained in the previous question have to be multiplied by 100,
i.e., 79m/s for honey and 135m/s for olive oil.
dy
4. (a) Describe all solutions to the differential equation dx
= e−x y 2 − e−x + y 2 − 1.
Hint: Use partial fractions.
Solution: First, notice that y = 1 and y = −1 are both explicit solutions.
For all other solutions, rewrite as dy/dx = (e−x + 1)(y 2 − 1). This gives us
1
Z Z
2
dy = (e−x + 1)dx.
y −1
1 −1/2 1/2 1
Z Z Z
2
dy = dy + dy = (ln |y − 1| − ln |y + 1|).
y −1 y+1 y−1 2
After integrating the RHS we obtain
y−1
= e2(x−e +C) .
−x
y+1
This can then resolved for y yielding
1 + g(x)
y=
1 − g(x)