Docsity

Mathematics 307 L Midterm 2 Solutions, Exams of Differential Equations

Toggle sidebar
bg1
Name:
Mathematics 307 L
University of Washington
November 15, 2019
MIDTERM 2 SOLUTIONS
Here are the rules:
•This exam is closed book. No note sheets, calculators, or electronic devices are allowed.
•In order to receive credit, you must show all of your work; to obtain full credit, you
must provide mathematical justifications. If you do not indicate the way in which you
solved a problem, you may get little or no credit for it, even if your answer is correct.
•Give numerical answers in exact form (for example ln(π
3) or 5√3 or e2.5).
•If you need more room, use the backs of the pages and indicate that you have done so.
•This exam has 5 pages, plus a cover sheet. Please make sure that your exam is complete.
cos(α−β) = cos αcos β+ sin αsin β
cos α−cos β=−2 sin α+β
2sin α−β
2
cos α+ cos β= 2 cos α+β
2cos α−β
2
sin α−sin β= 2 cos α+β
2sin α−β
2
sin α+ sin β= 2 sin α+β
2cos α−β
2
Problem Possible Score
1 12 12
2 15 15
3 5 5
4 11 11
5 12 12
Total 55 55
pf3
pf4
pf5

Partial preview of the text

Download Mathematics 307 L Midterm 2 Solutions and more Exams Differential Equations in PDF only on Docsity!

Name: Mathematics 307 L University of Washington

November 15, 2019

MIDTERM 2 SOLUTIONS

Here are the rules:

  • This exam is closed book. No note sheets, calculators, or electronic devices are allowed.
  • In order to receive credit, you must show all of your work; to obtain full credit, you must provide mathematical justifications. If you do not indicate the way in which you solved a problem, you may get little or no credit for it, even if your answer is correct.
  • Give numerical answers in exact form (for example ln( π 3 ) or 5

√ 3 or e^2.^5 ).

  • If you need more room, use the backs of the pages and indicate that you have done so.
  • This exam has 5 pages, plus a cover sheet. Please make sure that your exam is complete.

cos(α − β) = cos α cos β + sin α sin β

cos α − cos β = −2 sin

α + β

2

sin

α − β

2

cos α + cos β = 2 cos

α + β

2

cos

α − β

2

sin α − sin β = 2 cos

α + β

2

sin

α − β

2

sin α + sin β = 2 sin

α + β

2

cos

α − β

2

Problem Possible Score

Total 55 55

Problem 1. (12 points)

(a) (9 points) Solve the following initial value problem.

y ′′

  • 3y ′

5 2 y^ = 5 cos^ t,^ y(0) = 1,^ y

′ (0) = 0.

(b) (3 points) Identify the steady state for your answer y, and express it in the form ysteady(t) = A cos(ωt − φ) ,

Solution. Find the roots to r 2

  • 3r + 5 2 = (r^ +^

3 2 )

2

1 4 which are^ −

3 2 ±^

1 2 i.

General solution to homogeneous equation is y(t) = c 1 e−^

3 2 t^ cos(^1 2 t) +^ c^2 e

− 32 t (^) sin( 1 2 t).

The term 5 cos t is not a polynomial times a homogeneous solution, so we find a particular solution to the inhomogeneous equation by trying Y (t) = A cos t+B sin t.

Doing the math gives

Y

′′

  • 3Y ′

5 2 Y^ = (

3 2 A^ + 3B) cos^ t^ + (

3 2 B^ −^3 A) sin^ t

Setting 32 A + 3B = 5 and 32 B − 3 A = 0 gives A = 23 and B = 43.

So the general solution to the inhomogeneous equation is

y(t) = c 1 e − 32 t cos(^1 2 t) + c 2 e − 32 t sin(^1 2 t) + 2 3 cos t + 4 3 sin t.

Then 1 = y(0) = c 1 + 2 3 gives^ c^1 =^

1

And 0 = y′(0) = −^3 2 c 1 + 1 2 c 2 + 4 3 gives c 2 = −^5 3

. So, the answer to (a) is

y(t) = 1 3 e

− 32 t cos( 1 2 t)^ −^

5 3 e

− 32 t sin( 1 2 t) +^

2 3 cos^ t^ +^

4 3 sin^ t

The steady state solution is the same as Y (t). It is of the form A cos(t − φ) where

A =

2 3 )

2 + (^4

5 /3, and φ = tan−^1 (2). (We use tan−^1 since 2 3 >^ 0). So,

ysteady = 2

√ 5 3 cos

t − tan − 1 (2)

Problem 3. (5 points) A spring is observed to stretch 1 5 meter when a force of 1 newton is applied to it. A viscous damper is observed to yield a resistance of 2 newtons when it is moved at a velocity of 1 meter/second.

A mass of 2 kg is hung from the spring and attached to the viscous damper. It is then pulled 1 2 meter below its rest position and released with 0 initial velocity. Write down the differential equation and initial conditions for u(t), the position of the mass at time t relative to its rest position, where u > 0 means the mass is above the rest position. Do not solve the equation. (And yes, this problem is really short.)

Solution. m = 2kg, γ = (2N )/(1m/s) = 2kg/s, and k = (1N )/( 1 5 m) = 5kg/s

So, with u in meters,

2 u′′^ + 2u′^ + 5u = 0 u(0) = − 1 2 ,^ u

Problem 4. (11 points)

(a) (7 points) Solve the following equation, and sketch the graph of the solution

y ′′

  • 2y ′
  • 5y = 0 , y(0) = 1 , y ′ (0) = 1.

(b) (4 points) Find the time t at which y(t) has its maximum value for t > 0. You do not need to find the value of y there, but find an exact formula for t.

Solution. Roots of r^2 + 2r + 5 = (r + 1)^2 + 4 are r = − 1 ± 2 i. General solution is

y(t) = c 1 e −t cos(2t) + c 2 e −t sin(2t)

Then 1 = y(0) = c 1 gives c 1 = 1 , and 1 = y′(0) = −c 1 + 2c 2 gives c 2 = 1.

The answer to part (a) is

y(t) = e−t

cos(2t) + sin(2t)

You can write this as

2 e−t^ cos(2t − π 4 ), though you do not need to.

To answer (b) we set y′(t) = 0. We calculate

y ′ (t) = −e −t

cos(2t) + sin(2t)

  • e −t

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

Since e−t^6 = 0, setting y′(t) = 0 leads to cos(2t) = 3 sin(2t), or tan(2t) = 13.

Since the graph is initially increasing and the envelope is decreasing, the maximum

is attained at the smallest positive value of t so tan(2t) = 13 , or tmax = 12 tan−^1 (^13 ).