Docsity

Math 211 Final Exam Solutions: Solving Diff. Equations, Exams of Differential Equations

Toggle sidebar
bg1
Math 211
Final Exam
April 25, 2000
Instructions: This is a closed book, three hour exam. You are allowed to use a calculator to do
simple computations. You are not allowed to use a calculator for any symbolic computations such
as computing derivatives or integrals, or to solve differential equations.
Please give reasons for all of your answers.
1. (5 points) Solve the initial value problem
dy
dt =(1+t)sin t+y
1+twith y(0)=2.
Answer: This equation is linear, with the coefficient of ybeing a(t) =(1+t)−1.An integrating
factor is
u(t) =e−a(t) dt
=e−dt
1+t
=e−ln(1+t)
=1
1+t.
Then we have y
1+t=1
1+ty−y
1+t=sin t.
Integrating we get
y
1+t=−cost+Cor y(t) =(1+t )(C −cos t).
The initial condition enables us to compute that
2=y(0)=C−1orC=3.
Hence the solution to the initial value problem is
y(t) =(1+t)(3−cos t).
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Math 211 Final Exam Solutions: Solving Diff. Equations and more Exams Differential Equations in PDF only on Docsity!

Math 211

Final Exam April 25, 2000

Instructions: This is a closed book, three hour exam. You are allowed to use a calculator to do simple computations. You are not allowed to use a calculator for any symbolic computations such as computing derivatives or integrals, or to solve differential equations.

Please give reasons for all of your answers.

1. (5 points) Solve the initial value problem

dy dt

= ( 1 + t) sin t +

y 1 + t

with y( 0 ) = 2.

Answer: This equation is linear, with the coefficient of y being a(t) = ( 1 + t)−^1. An integrating factor is u(t) = e−^

a(t) dt

= e−^

∫ (^) dt 1 +t

= e−^ ln(^1 +t)

=

1 + t

Then we have (^) ( y 1 + t

1 + t

y′^ −

y 1 + t

= sin t.

Integrating we get

y 1 + t

= − cos t + C or y(t) = ( 1 + t)(C − cos t).

The initial condition enables us to compute that

2 = y( 0 ) = C − 1 or C = 3.

Hence the solution to the initial value problem is

y(t) = ( 1 + t)( 3 − cos t).

2. (5 points) Solve the initial value problem

dy dx

= 1 + y + t^2 y + t^2 with y( 0 ) = 0.

Answer: The differential equation is

dy dx

= 1 + y + t^2 y + t^2 = ( 1 + y)( 1 + t^2 ),

so the equation is separable. In the usual way we write

dy 1 + y

= ( 1 + t^2 ) dt.

Integrating both sides yields ln( 1 + y) = t + t^3 / 3 + C.

Solving for y, y(t) = e t+t

(^3) / 3 +C − 1.

The intial condition tells us that

0 = y( 0 ) = e C^ − 1 or C = 0.

Hence the solution is y(t) = e t+t

(^3) / 3 − 1.

4. (5 points) Solve the initial value problem

x′′^ + 6 x′^ + 13 x = 0 , with x( 0 ) = 2 and x′( 0 ) = 0.

Answer: The characteristic polynomial is p(λ) = λ^2 + 6 λ + 13. It has roots

λ =

[

]

= − 3 ± 2 i .

Hence the general solution is

x(t) = e−^3 t^ (C 1 cos 2t + C 2 sin 2t).

From the first initial condition we get

2 = x( 0 ) = C 1.

Differentiating, we find that

x′(t) = − 3 e−^3 t^ (C 1 cos 2t + C 2 sin 2t) + 2 e−^3 t^ (−C 1 sin 2t + C 2 cos 2t).

Then from the second initial condition we get

0 = x′( 0 ) = − 3 C 1 + 2 C 2 = − 6 + 2 C 2 or C 2 = 3.

The solution to the initial value problem is

x(t) = e−^3 t^ (2 cos 2t + 3 sin 2t).

5. (5 points) Solve the initial value problem

x′′^ − 4 x = ( 9 t − 3 )e t^ , with x( 0 ) = 0 and x′( 0 ) = 0.

Answer: The homogeneous eqution is x′′^ − 4 x = 0, which has general solution

xh (t) = C 1 e^2 t^ + C 2 e−^2 t^.

We need to find a particular solution xp to the inhomogeneous equation. To do so we will use undetermined coefficients. We propose that xp has the same form as the forcing term. Hence we have xp (t) = (at + b)e t x p′ (t) = (at + b + a)e t^ and x p′′ (t) = (at + b + 2 a)e t

Hence x p′′ − 4 xp = [(at + b + 2 a) − 4 (at + b)]e t = [− 3 at + ( 2 a − 3 b)]e t^.

For this to be a solution we must have

− 3 a = 9 and 2 a − 3 b = − 3.

Hence a = −3 and b = − 1. Thus xp (t) = −( 3 t + 1 )e t^ , and the general solution to the inhomoge- neous equaiton is x(t) = xp (t) + xh (t) = −( 3 t + 1 )e t^ + C 1 e^2 t^ + C 2 e−^2 t^. By differentiation we see that

x′(t) = −( 3 t + 4 )e t^ + + 2 C 1 e^2 t^ − 2 C 2 e−^2 t^.

The initial conditions become 0 = x( 0 ) = − 1 + C 1 + C 2 0 = x′( 0 ) = − 4 + C 1 − C 2

Solving we obtain C 1 = 5 /2 and C 2 = − 3 / 2 , so the desired solution is

x(t) = −( 3 t + 1 )e t^ +

e^2 t^ −

e−^2 t^.

7. Consider the differential equation

y′′^ + 2 by′^ + cy = 0 ,

where b = 0 and c are constants.

a) (5 points) Write down the first order system x ′^ = A x which is equivalent to this equation.

Answer: Setting x 1 = y and x 2 = y′, the system is

x 1 ′ = x 2 x′ 2 = −cx 1 − 2 bx 2.

In the matrix form x ′^ = A x , we have the matrix

A =

−c − 2 b

b) (7 points) Suppose that the characteristic polynomial for the second order equation has a mul- tiple root. Under this assumption, show that the matrix A has an eigenvalue of multiplicity 2, and that this eigenvalue is deficient; i.e., show that the geometric multiplicity of the eigenvalue is less than its algebraic multiplicity.

Answer: The characteristic polynomial for the second order equation is the same as that for the matrix A, and is p(λ) = λ^2 + 2 bλ + c. This polynomial has roots

λ = −b ±

b^2 − c.

There is a double root when b^2 − c = 0. In this case c = b^2 , and

A =

−b^2 − 2 b

The only eigenvalue for A is λ = −b. It has algebraic multiplicity 2. On the other hand,

A − λI = A + bI =

b 1 −b^2 −b

The dimension of the nullspace of A − λI is 1, and it is spanned by the eigenvector

v =

−b

Hence the geometric multiplicity of A is 1.

8. A singer is trying to shatter a wine glass. The vibration of the glass is modeled by the equation

y′′^ + 2 y′^ + 4 y = 8 cos( 2 t),

where y is the displacement of the top of the glass (perhaps measured in millimeters). If |x(t)| ever exceeds 7 the glass shatters.

a) (5 points) Show that the general solution to the homogeneous equation is

e−t^ (C 1 cos

3 t + C 2 sin

3 t).

Answer: The characteristic polynomial for the homogeneous equation is p(λ) = λ^2 + 2 λ + 4. It’s roots are λ =

[

4 − 4 × 4

]

= − 1 ± i

From this it follows immediately that the general solution to the homogenous equation is

y (^) h (t) = e−t^ (C 1 cos

3 t + C 2 sin

3 t).

b) (5 points) What is the general solution to the inhomogeneous equation.

Answer: We need to find a particular solution to the inhomogeneous equation. We will use the complex method of undetermined coefficients, looking for a solution to the complex equation

z′′^ + 2 z + 4 z = 8 e^2 it

of the form z(t) = ae^2 it^.

Then z′′^ + 2 z + 4 z = [− 4 a + 4 ia + 4 a] e^2 it^ = 4 iae^2 it^.

The function z will be a solution if 4ia = 8 , or if a = − 2 i. Thus

z(t) = − 2 ie^2 it = 2 sin 2t − 2 i cos 2t.

Our particular solution is yp (t) = Realz(t) = 2 sin 2t. The general solution to the inhomogeneous equation is y(t) = yp (t) + yh (t) = 2 sin 2t + e−t^

C 1 cos

3 t + C 2 sin

3 t

9. Consider the matrix

A =

( (^2) a a 2 − 3 a 3 2 0

a) (5 points) Find a non-zero value of a for which A has determinant 0.

Answer: Expanding det A by the third row, we get

det A = 3 det

a a − 3 a

− 2 det

2 a 2 a

= 3 (a^2 + 3 a) + 0 = 3 a(a + 3 ).

Hence det A = 0 if a = − 3.

b) (5 points) For this value of a find the nullspace of A.

Answer: With a = −3 we have

A =

There are several ways to proceed. Let’s choose a non-standard way. If we subtract row 1 of A from row 2, we get (^) ( 2 − 3 − 3 0 0 0 3 2 0

The homogeneous system corresponding to this matrix is

2 x − 3 y − 3 z = 0 3 x + 2 y = 0.

The second equation implies that y = − 3 x/ 2. Substituting into the first equation we get 2x + 9 x/ 2 − 3 z = 0 , or z = 13 x/ 6. We will let x = 6 t, where t is free. Then z = 13 x/ 6 = 13 t, and y = − 3 x/ 2 = − 9 t. Consequently the nullspace consists of all vectors of the form

t

10. (9 points) Consider a system of three different species existing together. Population 3 depends on population 2 for its food supply, and it would die out if population 2 were not present. Populations 1 and 3 do not interact in any way. There are no dependencies between them. On the other hand, populations 1 & 2 depend on and compete for the same resources for food and space. An increase in population 1 would mean less resources for population 2 and vice versa. Derive a differential equation model for this system. This means that you should write down a system of differential equations which describes this phenomenon. (You are not required to solve the system or to analyze it.)

Answer: Let x 1 , x 2 , and x 3 denote populations 1, 2 & 3 respectively. Then x 1 interacts only with x 2 , and the presence of x 2 decreases the reproductive rate for x 1. Assuming that x 1 itself satisfies the logistic model we have x 1 ′ = ax 1 − bx 12 − cx 1 x 2.

The population x 2 is affected by competition with x 1 and predation by x 3. If we again assume that x 2 all by itself is governed by a logistic limit the equation for x 2 is

x′ 2 = Ax 2 − Bx 22 − Cx 1 x 2 − Dx 3 x 2.

For the predator population x 3 we have a negative reproductive rate in the absebce of x 2 , so the equation is x′ 3 = −αx 3 + βx 2 x 3.

All of the constants are positive under the assumption of logistic limits on x 1 and x 2. However, the problem does not state that this is assumed. An answer not contining b and B is acceptable.