**MATH2270**

**FW99**

**Solutions
to Term Test 2**

1. (12 marks) Find the general solution to the following second-order differential equations:

(a) 2x´´ + 6x´ + 5x = 0

CE: 2r^{2} + 6r + 5
= 0; r = -3/2 ± i/2

x = (C_{1}sin(t/2) +
C_{2}cos(t/2)e^{-3t/2}

(b) x´´ +
9x´ + 14x = 3e^{-2t}

^{ }CE:
r^{2} +
9r + 14 = 0; r = -2, -7

x^{h} = C^{1}e^{-2t}
+ C^{2}e^{-7t}

x^{p} = Ate^{-2t}

^{ }x^{p}´
= (A - 2At) e^{-2t }x^{p}´´ = (-4A +
4At) e^{-2t}

^{ }x_{p}´´
+ 9x_{p}´ + 14x_{p} = (-4A + 9A)e^{-2t}
+ (4A -18A + 14A)te^{-2t} = 3e^{-2t}

Thus 5A = 3 or A = 3/5 and the general solution is

x = C_{1}e^{-2t}
+ C^{2}e^{-7t } + 3/5 e^{-2t}

2. (14 marks) Solve the following initial value problem

x´´ + 6x´
+ 9x = 5e^{3t}; x(0) = 1, x´(0) = 2

^{ }CE:
r^{2} +
6r + 9 = 0; r = -3 (repeated)

x^{h} = (C^{1}
+ C^{2}t) e^{-3t}

x^{p} = Ae^{3t}

^{ }x^{p}´
= 3Ae^{3t }x^{p}´´ = 9Ae^{3t}

^{ }x_{p}´´
+ 6x_{p}´ + 9x_{p} = (9A + 18A + 9A)e^{3t}
= 5e^{3t}

Thus A = 5/36 and the general solution is

x = (C_{1} + C_{2}t)
e^{-3t } + 5e^{3t}/36

x´ = (C_{2}
-3C_{1 }- 3C_{2}t) e^{3t } + 5e^{3t}/12

Applying the initial conditions we get

x(0) = C_{1} + 5/36
= 1 or C_{1 }= 31/36

x´(0) = C_{2}
-3C_{1}^{ } + 5/12 = 2 or C_{2} = 50/12

so that the solution is

x = (31/36 + 25t/6)e^{-3t}
+ 5/36 e^{3t}

3. (6 marks) The second-order differential equation x´´ + 3x´ + 2x = f(t) has a homogeneous solution

x_{h} = C_{1}e^{-t}
+ C_{2 }e^{-2t}

Write down the ** form**
of the particular solution x

(a) f(t) = 2t^{2} - 5

At^{2} + Bt + C

(b) f(t) = 3 sin(2t)

Asin(2t) + Bcos(2t)

(c) f(t) = 2t cos(3t)

(At + B)sin(3t) + (Ct + D)cos(3t)

(d) f(t) = 7te^{3t}

(At + B)e^{3t}

(e) f(t) = 4te^{-2t}

t(At + B)e^{-2t}

(f) f(t) = 4 cos(5t) e^{-t}

(Asin(5t) + Bcos(5t))e^{-t}

4. (2 marks) Convert the second-order differential equation

3x´´-2x´ +
4x = e^{-2t}

into a system of two
first-order differential equations. **You are NOT required to solve
this equation.**

x´ = y and 3y´
= 2y - 4x + e^{-2t}

5. (9 marks) Solve the differential equation (sin(2y) + 4x) dx + (2x cos(2y) + 3) dy = 0

Let M = sin(2y) + 4x and N = 2x cos(2y) + 3. Then

so the DE is exact. Then

Thus f´(y) = 3 or f(y) = 3y and the solution is

H = x sin(2y) + 2x^{2}
+ 3y = C

Alternately we can get the solution as

Thus g´(x) = 4x and g(x)
= 2x^{2} giving the solution above.

6. (9 marks) Find the solution to the first-order differential equation

This is a Bernoulli DE with n
= 3. Thus take u = y^{-1/3 } and thus u´ = -y^{-4/3}y´/3.
Substituting this into the DE yields -3xu´ + 6u = 3x or u´
- 2u/x = -1. This is a linear equation with p = -2/x so the
integrating factor is x^{-2}. Thus we have

or u = x + Cx^{2}.
Thus the solution is y = u^{-3} = (x + Cx^{2})^{-3}.

7 (4 marks) Convert the system of first-order differential equations

x´ = 2x + y + t; y´ = x - 3y - 4

into a second-order differential equation in one of the dependent variables.

** **Differentiating the
first equation, substituting y´ from the second equation and
then substituting y from the first equation yields:

x´´ = 2x´ + y´ + 1 = 2x´ + x - 3y - 4 + 1 = 2x´ + x -3(x´ - 2x - t) - 3

or x´´ = x´ - 7x = 3t - 3

Alternately, we can differentiate the second equation, substitute for x´ from the first equation and then substitute for x from the second equation yielding:

y´´ = x´ - 3y´ = 2x + y + t - 3y´ = 2(y´ + 3y + 4) + y + t - 3y´ or y´´ + y´ - 7y = t + 8

8. (5 marks) The following plot represents the orbit of the system of differential equations

x´ = y

y´ = -25x - 2y

representing the motion of a damped pendulum. The variable x measures the distance of the pendulum from its equilibrium position (its lowest point) and y is the velocity of the pendulum

(a) Mark on the orbit the point where the pendulum has the greatest speed (greatest magnitude of the velocity).

It is the lowest point on the orbit

(b) What is the approximate value of the velocity of the pendulum as it passes through the equilibrium position for the second time?

1.8 - it is the highest point where the orbit crosses the positive y-axis

(c) What is the approximate position of the pendulum after it has completed one complete swing (back and forth)?

0.28 - it is the point where the orbit crosses the positive x-axis for first time after the initial point.

(d) Draw the slope field for this autonomous system at the point x = 0.2, y = -2.

Since this is an autonomous system we can write

which has the value 0.5 for x = 0.2, y = 2. This is plotted on the posted diagram.