



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Solution: Since it is first order linear differential equation, we will use integrating factor method. Dividing the equation by t 6 = 0, we get y′^ + (^2) t y = 4t. Thus the integrating factor μ(t) = e
R (^2) t dt^ = t^2. Multiplying each side of the equation by μ(t), we get (t^2 y)′^ = 4t^3 If we integrate both sides, we get t^2 y = t^4 + C
which implies y = t^2 +
t^2
. Using initial values, we solve C = 1. So the solution to the IVP is y(t) = t^2 +
t^2
When we model the problem as an initial value problem, we get ∣ ∣ ∣ ∣
dP dt =^ rP^ −^50000 P (0) = 300000 Using integrating factor method, we get
P (t) = P (0)ert^ −
r
(ert^ − 1)
When there are no predators, the population triples each week, i.e. P (7) = 3 P (0). We can replace 50000 by 0. So we get P (7) = P (0)er^7 = 3P (0). This implies e^7 r^ = 3, i.e. r = ln 3 7 ' 0 .157. So the population at time t
P (t) = P (0)e^0.^157 t^ −
(e^0.^157 t^ − 1)
Solution: The characteristic equation is 2r^2 − 3 r + 1 = 0. If we solve for r, we get r 1 = (^12) and r 2 = 1. So the general solution is y(t) = c 1 et/^2 + c 2 et
Using the initial values, we get c 1 + c 2 = 2 and
c 1 2
(i) y′′^ + 4y = 0; and (ii) y′′^ + 4y = cos(2x) + ex.
Solution: (i): The characteristic equation is r^2 + 4 = 0. This implies r = ± 2 i. Thus the general solution is in the form: y(x) = c 1 cos(2x) + c 2 sin(2x) (ii): This ODE is a non homogenous equation. So we have to find the particu- lar solutions. Let’s say yp 1 solves y′′^ +4y = cos(2x) and yp 2 solves y′′^ +4y = ex. yp 1 = P (x) cos(2x) + Q(x) sin(2x) where P (x) and Q(x) are polynomials. P (x) = A or P (x) = Ax+B, Q(x) = C or Q(x) = Cx + D or higher degree polynomials. Let’s first assume that P (x) = A and Q(x) = C. This is not the case we want, since yp 1 will be same as the solution to the homogenous equation. So let’s try the other case yp 1 = ((Ax + B) cos(2x) + (Cx + D) sin(2x)) We can drop the term B and D since these terms are represented in the homogenous solution. So we will assume yp 1 = Ax cos(2x) + Cx sin(2x). Finding y′′ p 1 and plugging into y′′ p 1 + 4yp 1 = cos(2x), we get A = 0 and B = 14. So we can conclude that yp 1 = 14 x sin(2x). Similarly we can assume yp 2 = Aex^ and try to find A. Since yp 2 satisfies y p′′ 2 + 4yp 2 = ex, we get A = 15. Thus the general solution for (ii)
y(x) = c 1 cos(2x) + c 2 sin(2x) +
x sin(2x) +
ex
Solution: We can rewrite this system as
(1) X′^ =
where X =
x y
First we find the eigenvalues which satisfy the characteristic equation λ^2 +4λ =
and
respectively. So the general solution is X(t) = c 1
Draw the graph of the solution and describe its behavior for increasing t. Solution:
X, x( 0 ) =
where X =
x 1 x 2
The eigenvalues satisfy the equation λ^2 +2λ+2 = 0. The eigenvalues are λ 1 = −1 + i and λ 2 = − 1 − i. The corresponding eigenvectors are v 1 =
2 + i 1
and v 2 =
2 − i 1
Then
X^1 (t) =
2 + i 1
e−t(cos t+i sin t) = e−t
2 cos t − sin t cos t
+ie−t
2 sin t + cos t sin t
So the general solution is Then
X(t) = c 1 e−t
2 cos t − sin t cos t
2 sin t + cos t sin t
If we plug the initial values into the general solution, we get 2 c 1 + c 2 = 0 c 1 = 0
which implies c 1 = 0 and c 2 = 0. So the solution is
X(t) =
where X =
x 1 x 2
The eigenvalues satisfy the equation λ^2 + 6λ + 9 = 0. We have a double eigenvalue at λ = −3. The corresponding eigenvector is v =