Docsity

Midterm Examination Solutions for Math 3D, Winter Term 2005, Exams of Mathematics

Partial preview of the text

Download Midterm Examination Solutions for Math 3D, Winter Term 2005 and more Exams Mathematics in PDF only on Docsity!

math 3d Winter Term 2005

Midterm Examination

(Solutions by Paul Macklin)

Print your name:

Print your ID #:

You have 50 minutes to solve the problems. Good luck!

  1. Indicate whether the equation is linear (l) or nonlinear (n) by circling the appropriate letter. A.

y′′^ + t^2 y′^ = et^ l n y′′^ + ey^ y′^ = 0 l n y′^ + cos(t) = cos(y) l n y′′^ + (y′)^2 − y = 0 l n B.

y′′^ + cos(t)y′^ − sin(t)y = sin(t) l n e−y^ y′′^ + y′^ − y = 0 l n et^ y′^ = y^2 l n (1 + t^2 )y′′^ + ty′^ = et^ l n

Solution: The correct solutions are boxed.

  1. Find the solution of

A. y′′^ + 4y′^ + 3 = 0 , y(0) = 1 , y′(0) = 0.

Solution: Let us define w = y′. Then the differential equation for w is

w′^ + 4w = − 3. This is a first-order, non-homogeneous problem for w, and so we multiply by an integrating factor μ:

μw′^ + 4μw = − 3 μ.

μ must satisfy μ′^ = 4μ, and so μ = e^4 t. Thus,

[μw]′^ = − 3 e^4 t^ ⇒ μw =

4 e

4 t (^) + c ⇒ w = − 3 4 +^ ce

− 4 t.

Therefore, y(t) = −

t −

ce−^4 t^ + d. By the second initial condition, y′(0) = −

  • c = 0 ⇒ c =

So, y(t) = − 3 4 t − 3 16 e−^4 t^ + d. By the first initial condition, y(0) = −

  • d = 1 ⇒ d =

So, the solution is y(t) = −

t −

e−^4 t^ +

Alternatively, we could have used variation of parameters. Please see the solution to 2B for this approach. B. y′′^ − 5 y′^ + 6 = 0 , y(0) = 0 , y′(0) = 1.

If we solve for e^2 y^ , we have e^2 y^ = e^2 1 + 2e^2 (1 − et)

and so y(t) = 1 −

ln

1 + 2e^2 (1 − et)

This solution is valide for all t such that

1 + 2e^2 (1 − et) > 0 ⇒ t < ln

  • e^2

B. y′^ = e−^2 t+y^ , y(0) = 1.

Solution: First, we have e−y^ y′^ = e−^2 t, and so we integrate: (^) ∫ y 1

e−udu =

∫ (^) t

0

e−^2 sds,

whereby (^) ( e−^1 − e−y^

=^1

1 − e−^2 t

If we solve for ey^ , we have ey^ = 2 e^2 t+ e^2 t(2 − e) + e

and so y(t) = ln

2 e^2 t+ e^2 t(2 − e) + e

= ln 2 + 2t + 1 − ln

e^2 t(2 − e) + e

This solution is valide for all t such that

e^2 t(2 − e) + e > 0 ⇒ t <

2 ln

e e − 2

1 − ln(e − 2)

(Notice that in some of the inequality work, we used the fact that 2 < e < 3.)

  1. Find the general solution of

A. y′^ + cos(t) y = cos(t). Solution: First, we multiply by an integrating factor μ:

μy′^ + μ cos t y = μ cos t.

The integrating factor must satisfy μ′^ = μ cos t, and so μ = e

R (^) cos t dt = esin^ t. Therefore, [μy]′^ = cos tesin^ t. Integrating, we find μy = esin^ t^ + c,

and so y(t) = esin^ t esin^ t^

c esin^ t^ = 1 + ce−^ sin^ t.

B. y′^ − sin(t) y = sin(t). Solution: We mulitply by an integrating factor μ to obtain

μy′^ − μ sin t y = μ sin t.

The integrating factor must satisfy μ′^ = − sin t μ, and so μ = e−^

R (^) sin t dt = ecos^ t. Thus, [μy]′^ = sin tecos^ t, and so μy = −ecos^ t^ + c. Thus, y = −ecos^ t ecos^ t^

c ecos^ t^ = −1 + ce−^ cos^ t.

  1. Find the general solution of

A. y′′^ + 4y = t. Solution: The homogeneous version of the problem is

y′′^ + 4y = 0.

The characteristic equation is r^2 + 4 = (r − 2 i)(r + 2i) = 0, and so there are two complex roots ± 2 i. Therefore, a fundamental set of solutions is {cos(2t), sin(2t)}. (Since e^2 it^ = cos(2t) + i sin(2t).) Thus, we seek to form a solution ψ of the nonhomogeneous equation of the form

ψ(t) = u 1 (t) cos(2t) + u 2 (t) sin(2t).

The functions u 1 and u 2 must satisfy

cos(2t)u′ 1 + sin(2t)u′ 2 = 0 −2 sin(2t)u′ 1 + 2 cos(2t)u′ 2 = t

Therefore, (^) [ cos(2t) sin(2t) −2 sin(2t) 2 cos(2t)

] [

u′ 1 u′ 2

]

[

t

]

The determinant of the matrix is 2 cos^2 (2t) + 2 sin^2 (2t) = 2, and the solution of this linear system is [ u′ 1 u′ 2

]

[

2 cos(2t) − sin(2t) 2 sin(2t) cos(2t)

] [

t

]

[

−t sin(2t) t cos(2t)

]

Therefore, u 1 (t) =^1 4 t cos(2t) − 1 8 sin(2t), and u 2 (t) =^1 4 t sin(2t) +^1 8 cos(2t),