Docsity

Final Exam with Solution - Applied Differential Equations | MATH 220, Exams of Differential Equations

Toggle sidebar
bg1
DEPARTMENT OF MATHEMATICS
UNIVERSITY OF KANSAS
MATH 220 - SPRING 2005 - FINAL EXAM SOLUTIONS
•1. (35 points) Solve the initial-value problem and draw the graph of the
solution
ty0+ 2y= 4t2y(1) = 2.
Solution:
Since it is first order linear differential equation, we will use integrating factor
method. Dividing the equation by t6= 0, we get y0+2
ty= 4t. Thus the
integrating factor µ(t) = eR2
tdt =t2. Multiplying each side of the equation by
µ(t), we get
(t2y)0= 4t3
If we integrate both sides, we get
t2y=t4+C
which implies y=t2+C
t2. Using initial values, we solve C= 1. So the
solution to the IVP is
y(t) = t2+1
t2
•2. (35 points) The population of mosquitoes in a certain area increases at
a rate proportional to the current population and, in the absence of other
factors, the population triples each week. There are 300 000 mosquitoes in
the areal initially, and predators (birds, etc.) eat 50 000 mosquitoes a day.
Determine the population of mosquitoes in the area at any time.
Solution:
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 −50000
r(ert −1)
When there are no predators, the population triples each week, i.e. P(7) =
3P(0). We can replace 50000 by 0. So we get P(7) = P(0)er7= 3P(0). This
implies e7r= 3, i.e. r=ln 3
7'0.157. So the population at time t
P(t) = P(0)e0.157t−50000
0.157 (e0.157t−1)
pf3
pf4
pf5

Partial preview of the text

Download Final Exam with Solution - Applied Differential Equations | MATH 220 and more Exams Differential Equations in PDF only on Docsity!

DEPARTMENT OF MATHEMATICS

UNIVERSITY OF KANSAS

MATH 220 - SPRING 2005 - FINAL EXAM SOLUTIONS

    1. (35 points) Solve the initial-value problem and draw the graph of the solution ty′^ + 2y = 4t^2 y(1) = 2.

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 +

C

t^2

. Using initial values, we solve C = 1. So the solution to the IVP is y(t) = t^2 +

t^2

    1. (35 points) The population of mosquitoes in a certain area increases at a rate proportional to the current population and, in the absence of other factors, the population triples each week. There are 300 000 mosquitoes in the areal initially, and predators (birds, etc.) eat 50 000 mosquitoes a day. Determine the population of mosquitoes in the area at any time. Solution:

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)

    1. (35 points) Find the solution of the initial-value problem ∣ ∣ ∣ ∣ ∣ ∣ 2 y′′^ − 3 y′^ + y = 0 y(0) = 2 y′(0) = 1/ 2

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

  • c 2 = 1/2. We solve for this system and get c 1 = 3 and c 2 = −1. Thus the solution to the IVP is y(t) = 3et/^2 − et
    1. (35 points) Find the general solutions of

(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

    1. (35 points) Find the general solution of the linear system { x′^ = 2 x − 3 y y′^ = 4 x − 6 y.

Solution: We can rewrite this system as

(1) X′^ =

X

where X =

x y

First we find the eigenvalues which satisfy the characteristic equation λ^2 +4λ =

  1. This implies λ 1 = 0 and λ 2 = −4. Then we find the corresponding eigenvectors which are

and

respectively. So the general solution is X(t) = c 1

  • c 2 e−4t
    1. (30 points) Find the solution of the initial-value problem { x′ 1 = x 1 − 5 x 2 x′ 2 = x 1 − 3 x 2. where x(0) =

Draw the graph of the solution and describe its behavior for increasing t. Solution:

(2) X′^ =

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

  • c 2 e−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) =

    1. (35 points) Let ∣ ∣ ∣ ∣ ∣ ∣ y′′^ − 4 y′^ + 4y = 0 y(0) = 0 y′(0) = a find the only value of the parameter a for which the solution stays bounded as t → ∞. Solution: The characteristic equation is (r − 2)^2 = 0 which implies we have a double root r = 2. So the general solution is y(t) = c 1 e^2 t^ + c 2 te^2 t Using the initial values, we solve for c 1 = 0 and c 2 = a. So the solution the IVP is y(t) = ate^2 t If we want the solution to be bounded as t → ∞, then a = 0. Otherwise it is unbounded.
    1. (35 points) Solve the system of equations { x′ 1 = x 1 − 4 x 2 x′ 2 = 4 x 1 − 7 x 2 Solution:

(3) X′^ =

X

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 =