Second In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 31 March 2011

Similar documents
c 1 = y 0, c 2 = 1 2 y 1. Therefore the solution to the general initial-value problem is y(t) = y 0 cos(2t)+y sin(2t).

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS II: Nonhomogeneous Case and Vibrations

Solutions to Final Exam Sample Problems, Math 246, Spring 2011

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS II: Nonhomogeneous Equations. David Levermore Department of Mathematics University of Maryland

Solutions to Final Exam Sample Problems, Math 246, Spring 2018

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS IV: Variable Coefficient Nonhomogeneous Case

Solutions to Final Exam Sample Problems, Math 246, Fall 2013

Math 266 Midterm Exam 2

MATH 251 Week 6 Not collected, however you are encouraged to approach all problems to prepare for exam

MATH 23 Exam 2 Review Solutions

Work sheet / Things to know. Chapter 3

4.2 Homogeneous Linear Equations

Math 308 Exam II Practice Problems

FINAL EXAM SOLUTIONS, MATH 123

Ex. 1. Find the general solution for each of the following differential equations:

x gm 250 L 25 L min y gm min

Solutions to Homework 3

Solutions to Math 53 Math 53 Practice Final

Math 3313: Differential Equations Second-order ordinary differential equations

Nonhomogeneous Linear Equations: Variation of Parameters Professor David Levermore 17 October 2004 We now return to the discussion of the general case

Jim Lambers MAT 285 Spring Semester Practice Exam 2 Solution. y(t) = 5 2 e t 1 2 e 3t.

EXAM 2 MARCH 17, 2004

Lecture Notes for Math 251: ODE and PDE. Lecture 16: 3.8 Forced Vibrations Without Damping

Math 240: Spring-mass Systems

Math 215/255 Final Exam (Dec 2005)

MATH2351 Introduction to Ordinary Differential Equations, Fall Hints to Week 07 Worksheet: Mechanical Vibrations

MATH 251 Examination I February 23, 2017 FORM A. Name: Student Number: Section:

Second order linear equations

MA 266 Review Topics - Exam # 2 (updated)

Solutions for homework 5

APPM 2360: Midterm 3 July 12, 2013.

Math 308 Week 8 Solutions

Solutions of the Sample Problems for the First In-Class Exam Math 246, Fall 2017, Professor David Levermore

Solution. Your sketch should show both x and y axes marked from 5 to 5 and circles of radius 1, 3, and 5 centered at the origin.

Final Exam Sample Problems, Math 246, Spring 2018

Third In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 3 December 2009 (1) [6] Given that 2 is an eigenvalue of the matrix

MATH 251 Examination I July 5, 2011 FORM A. Name: Student Number: Section:

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

Solution. It is evaluating the definite integral r 1 + r 4 dr. where you can replace r by any other variable.

Chapter 4: Higher Order Linear Equations

Math K (24564) - Lectures 02

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS. David Levermore Department of Mathematics University of Maryland.

4.9 Free Mechanical Vibrations

dx n a 1(x) dy

Math 216 Second Midterm 19 March, 2018

1 Solution to Homework 4

Solutions of the Sample Problems for the Third In-Class Exam Math 246, Fall 2017, Professor David Levermore

Math Assignment 5

DON T PANIC! If you get stuck, take a deep breath and go on to the next question. Come back to the question you left if you have time at the end.

Math 308 Exam I Practice Problems

Second Order Linear ODEs, Part II

Solutions a) The characteristic equation is r = 0 with roots ±2i, so the complementary solution is. y c = c 1 cos(2t)+c 2 sin(2t).

Solutions to the Homework Replaces Section 3.7, 3.8

Math 211. Substitute Lecture. November 20, 2000

Math 54. Selected Solutions for Week 10

Math 20D Final Exam 8 December has eigenvalues 3, 3, 0 and find the eigenvectors associated with 3. ( 2) det

Chapter 3: Second Order Equations

Undamped Free Vibrations (Simple Harmonic Motion; SHM also called Simple Harmonic Oscillator)

ODE Math 3331 (Summer 2014) June 16, 2014

11. Some applications of second order differential

Forced Mechanical Vibrations

Exam II Review: Selected Solutions and Answers

Nonhomogeneous Equations and Variation of Parameters

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1

APPM 2360: Midterm exam 3 April 19, 2017

APPM 2360 Section Exam 3 Wednesday November 19, 7:00pm 8:30pm, 2014

Solutions to the Homework Replaces Section 3.7, 3.8

Differential Equations, Math 315 Midterm 2 Solutions

Linear Algebra and ODEs review

Eigenpairs and Diagonalizability Math 401, Spring 2010, Professor David Levermore

MATH 246: Chapter 2 Section 8 Motion Justin Wyss-Gallifent

A: Brief Review of Ordinary Differential Equations

π 1 = tr(a), π n = ( 1) n det(a). In particular, when n = 2 one has

Math 240: Spring/Mass Systems II

2nd-Order Linear Equations

ODE. Philippe Rukimbira. Department of Mathematics Florida International University PR (FIU) MAP / 92

Math 322. Spring 2015 Review Problems for Midterm 2

MATH 251 Examination I July 1, 2013 FORM A. Name: Student Number: Section:

Higher Order Linear Equations

Graded and supplementary homework, Math 2584, Section 4, Fall 2017

Linear Second Order ODEs

MATH 4B Differential Equations, Fall 2016 Final Exam Study Guide

First In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 20 September 2018

MATH 391 Test 1 Fall, (1) (12 points each)compute the general solution of each of the following differential equations: = 4x 2y.

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems.

3.4.1 Distinct Real Roots

Second Order Linear Equations

Thursday, August 4, 2011

Section Mass Spring Systems

Math 256: Applied Differential Equations: Final Review

UCLA Math 135, Winter 2015 Ordinary Differential Equations

MATH Test II

MATH 308 Differential Equations

Chapter 2: Complex numbers

1. (10 points) Find the general solution to the following second-order differential equation:

Ordinary Differential Equations

June 2011 PURDUE UNIVERSITY Study Guide for the Credit Exam in (MA 262) Linear Algebra and Differential Equations

MATH 2250 Final Exam Solutions

2. Determine whether the following pair of functions are linearly dependent, or linearly independent:

Solutions to Homework 5, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y 4y = 48t 3.

Transcription:

Second In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 31 March 211 (1) [6] Give the interval of definition for the solution of the initial-value problem d 4 y dt 4 + 7 1 t 2 dy dt = 5 sin(t), y(2) = y (2) = y (2) = y (2) =. Solution. The equation is linear and in normal form. The coefficient is not defined at t = ±1 while the forcing is not defined at t = nπ for every integer n. The coefficient and forcing are both continuous over the interval (1, π), which contains the initial time t = 2. The interval of definition is therefore (1, π). (2) [12] The functions e t and te t comprise a fundamental set of solutions to y 2y +y =. (a) Find the solution Y (t) to the general initial-value problem y 2y + y =, y() = y, y () = y 1. (b) Find the associated natural fundamental set of solutions to y 2y + y =. Solution (a). Because e t and te t is a fundamental set of solutions to y 2y +y =, a general solution has the form y(t) = c 1 e t + c 2 te t. Then y (t) = c 1 e t + c 2 (e t + te t ). To satisfy the initial conditions one needs y = y() = c 1, y 1 = y () = c 1 + c 2. You solve these equations to obtain c 1 = y and c 2 = y 1 y. The solution to the general initial-value problem is therefore y(t) = y e t + (y 1 y )te t. Solution (b). Because the above solution to the general initial-value problem can be written as y(t) = (e t te t )y + te t y 1, the associated natural fundamental set of solutions is given by N (t) = e t te t, N 1 (t) = te t. (3) [12] Give a general real solution of the equation D 2 y + 4Dy + 2y = 8 cos(2t), where D = d dt. Solution. This is a nonhomogeneous linear equation with constant coefficients. Its characteristic polynomial is p(z) = z 2 + 4z + 2 = (z + 2) 2 + 16 = (z + 2) 2 + 4 2, which has the conjugate pair of roots 2 ± i4. A general solution of the associated homogeneous equation is therefore y H (t) = c 1 e 2t cos(4t) + c 2 e 2t sin(4t). 1

2 The forcing 8 cos(2t) has degree d = and characteristic µ + iν = i2, which is a root of p(z) of multiplicity m =. A particular solution y P (t) can be found by the methods of either Key Identity Evaluations or Undetermined Coefficients. Key Indentity Evaluations. Because m = and m + d =, you only need to evaluate the Key Identity at z = i2, which yields L ( e i2t) = p(i2)e i2t = ( (i2) 2 + 4(i2) + 2 ) e i2t = (16 + i8)e i2t. Because the forcing has the form 8 cos(2t) = 8 Re(e i2t ), we write ( ) e i2t L = 8e i2t, 2 + i which implies that ( ) e i2t y P (t) = Re 2 + i ( e i2t = Re 2 + i ) 2 i = Re 2 i = 1 5 Re( (2 i)e i2t) = 1 5( 2 cos(2t) + sin(2t) ). A general solution of the equation is therefore ( ) (2 i)e i2t 2 2 + 1 2 y(t) = c 1 e 2t cos(4t) + c 2 e 2t sin(4t) + 2 5 cos(2t) + 1 5 sin(2t). Undetermined Coefficients. Because m = d =, you seek a particular solution of the form y P (t) = A cos(2t) + B sin(2t). Because y P (t) = 2A sin(2t) + 2B cos(2t), y P (t) = 4A cos(2t) 4B sin(2t), one sees that Ly P (t) = y P (t) + 4y P (t) + 2y P (t) = [ 4A cos(2t) 4B sin(2t) ] + 4 [ 2A sin(2t) + 2B cos(2t) ] + 2 [ A cos(2t) + B sin(2t) ] = (16A + 8B) cos(2t) + ( 8A + 16B) sin(2t). Setting Ly P (t) = 8 cos(2t), we see that 16A + 8B = 8, 8A + 16B =, whereby A = 2 and B = 1. Hence, y 5 5 P (t) = 2 cos(2t) + 1 sin(2t). A general solution 5 5 of the equation is therefore y(t) = c 1 e 2t cos(4t) + c 2 e 2t sin(4t) + 2 5 cos(2t) + 1 5 sin(2t). (4) [12] What answer will be produced by the following MATLAB commands? >> ode = D2y + 7*Dy 18*y = 33*exp(2*t) ; >> dsolve(ode, t ) ans =

Solution. The commands ask MATLAB to give a general solution of the equation D 2 y + 7Dy 18y = 33e 2t, where D = d dt. at least one version of MATLAB will produce the answer exp(2*t)*c2 + exp( 9*t)*C1 + 3*exp(2*t) Your answer does not have to be given in this MATLAB format. Rather, your answer should be equivalent to it. The fact this is the answer is seen as follows. The problem being solved is a nonhomogeneous linear equation with constant coefficients. The characteristic polynomial is p(z) = z 2 + 7z 18 = (z + 9)(z 2), which has the two real roots 9 and 2. A general solution of the associated homogeneous equation is y H (t) = c 1 e 9t + c 2 e 2t. The forcing 33e 2t has degree d = and characteristic µ + iν = 2, which is a root of p(z) of multiplicity m = 1. A particular solution y P (t) can be found by the methods of either Key Identity Evaluation or Undetermined Coefficients. Key Indentity Evaluations. Because m = 1 and m + d = 1, you need to evaluate the first derivative of the Key Identity at the characteristic z = 2. The Key Identity and its first derivative are L ( e zt) = ( z 2 + 7z 18 ) e zt, L ( t e zt) = ( z 2 + 7z 18 ) t e zt + (2z + 7)e zt, The first derivative of the Key Identity evaluated at z = 2 yields L ( t e 2t) = (2 2 + 7)e 2t = 11e 2t. Multiplying by 3 yields L(3te 2t ) = 33e 2t, which implies y P (t) = 3t e 2t. A general solution is therefore y(t) = c 1 e 9t + c 2 e 2t + 3t e 2t. Up to notational differences, this is the answer that MATLAB produces. Undetermined Coefficients. Because m = 1 and m + d = 1, you seek a particular solution of the form y P (t) = At e 2t. Because one sees that y P(t) = 2At e 2t + Ae 2t, y P(t) = 4At e 2t + 4Ae 2t, Ly P (t) = y P(t) + 7y P(t) 18y P (t) = [ 4At e 2t + 4Ae 2t] + 7 [ 2At e 2t + Ae 2t] 18 [ At e 2t] = 11Ae 2t. 3

4 Setting Ly P (t) = 11Ae 2t = 33e 2t, we see that A = 3. Hence, y P (t) = 3t e 2t. A general solution is therefore y(t) = c 1 e 9t + c 2 e 2t + 3t e 2t. Up to notational differences, this is the answer that MATLAB produces. (5) [8] Compute the Green function associated with the differential operator L = D 2 6D + 1, where D = d dt. Solution. The Green function g(t) associated with the operator L satisfies the initial-value problem Lg = D 2 g 6Dg + 1g =, g() =, g () = 1. The characteristic polynomial is p(z) = z 2 6z + 1 = (z 3) 2 + 1 2, which has roots 3 ± i. Hence, the Green function has the form g(t) = c 1 e 3t cos(t) + c 2 e 3t sin(t). The initial condition g() = implies c 1 =. Because g (t) = 3c 2 e 3t sin(t) + c 2 e 3t cos(t), the initial condition g () = 1 implies c 2 = 1. The Green function is thereby g(t) = e 3t sin(t). (6) [1] Find a particular solution x P (t) of the equation D 2 x 6Dx + 1x = e3t cos(t), where D = d dt. Solution. This is a nonhomogeneous linear equation with constant coefficients. Its forcing does not have the characteristic form required for the methods of either Key Identity Evaluations or Undetermined Coefficients. You should therefore use either the Green Function method or Variation of Parameters. Green Function. The equation is already in normal form. By the previous problem, the associated Green function is given by g(t) = e 3t sin(t). A particular solution is therefore x P (t) = e 3(t s) sin(t s) cos(s) ds [ ] = e 3t 1 sin(t) cos(s) cos(t) sin(s) cos(s) ds = e 3t sin(t) e 3s cos(s) cos(s) ds e3t cos(t) = e 3t sin(t) t + e 3t cos(t) log( cos(t) ). sin(s) cos(s) ds

Variation of Parameters. The equation is already in normal form. By the previous problem, a general solution of the associated homogeneous equation is x H (t) = c 1 e 3t cos(t) + c 2 e 3t sin(t). We therefore seek a solution of the nonhomogeneous equation in the form x = u 1 (t)e 3t cos(t) + u 2 (t)e 3t sin(t), where u 1(t) and u 2(t) satisfy the linear algebraic system u 1(t)e 3t cos(t) + u 2(t)e 3t sin(t) =, u 1(t) [ 3e 3t cos(t) e 3t sin(t) ] + u 2(t) [ 3e 3t sin(t) + e 3t cos(t) ] = The solution of this system is Integrate these equations to obtain A particular solution is therefore u 1(t) = sin(t) cos(t), u 2(t) = 1. u 1 (t) = c 1 + log( cos(t) ), u 2 (t) = c 2 + t. x P (t) = e 3t cos(t) log( cos(t) ) + e 3t sin(t) t. e3t cos(t). Remark. You can use the formulas for u 1 (t) and u 2 (t) given in the book, but this becomes more involved than simply setting up and solving the linear algebraic system as was done above. Remark. The Green function method gets to the definite integrals quicker. (7) [12] Let L be a linear ordinary differential operator with constant coefficients. Suppose that all the roots of its characteristic polynomial (listed with their multiplicities) are 1 + i3, 1 + i3, 1 i3, 1 i3, i2, i2, 4, 4, 4, 5,,. (a) Give the order of L. (b) Give a general real solution of the homogeneous equation Ly =. Solution (a). There are 12 roots listed above, so the degree of the characteristic polynomial is 12, whereby the order of L is 12. Solution (b). A general solution is y(t) = c 1 e t cos(3t) + c 2 e t sin(3t) + c 3 t e t cos(3t) + c 4 t e t sin(3t) = c 5 cos(2t) + c 6 sin(2t) + c 7 e 4t + c 8 te 4t + c 9 t 2 e 4t + c 1 e 5t + c 11 + c 12 t. The reasoning is as follows: the double conjugate pair 1 ± i3 yields e t cos(3t), e t sin(3t), t e t cos(3t), and t e t sin(3t) ; the single conjugate pair ±i2 yields cos(2t) and sin(2t); the triple real root 4 yields e 4t, t e 4t, and t 2 e 4t ; the single real root 5 yields e 5t ; the double real root yields 1 and t. 5

6 (8) [12] The functions t and t 2 1 are solutions of the homogeneous equation (t 2 + 1) d2 y dt 2tdy 2 dt + 2y =. (You do not have to check that this is true!) (a) Show they are linearly independent. (b) Give a general solution of the equation (t 2 + 1) d2 y dt 2 2tdy dt + 2y = (t2 + 1) 2. Solution (a). The Wronskian of t and t 2 1 is ( ) t t W[t, t 2 1](t) = det 2 1 = 2t 1 2t 2 (t 2 1) = t 2 + 1. Because W[t, t 2 1](t) = t 2 +1, the functions t and t 2 1 are linearly independent. Alternative Solution (a). Suppose that c 1 t + c 2 (t 2 1) =. By setting t = 1 and t = into this relation gives c 1 = and c 2 = respectively. Therefore the functions t and t 2 1 are linearly independent. Solution (b). Because t and t 2 1 are linearly independent, a general solution of the associated homogeneous problem is y H (t) = c 1 t + c 2 (t 2 1). Because this problem has variable coefficients, you should use either the general Green Function method or Variation of Parameters to find a particular solution y P (t). In either case you should first divide by t 2 +1 to bring the equation into its normal form d 2 y dt 2t dy 2 t 2 + 1 dt + 2 t 2 + 1 y = t2 + 1. General Green Function. The Green function G(t, s) is given by ( ) s s det 2 1 t t 2 1 G(t, s) = W[s, s 2 1](s) = s(t2 1) t(s 2 1) = (t2 1)s t(s 2 1) s 2 + 1 s 2 + 1 The Green function formula then yields the solution y P (t) = = = (t 2 1) G(t, s) (s 2 + 1) ds (t 2 1)s t(s 2 1) (s 2 + 1) ds s 2 + 1 s ds t (s 2 1) ds = (t 2 1) 1 2 t2 t ( 1 3 t3 t ) = 1 6 t4 + 1 2 t2. A general solution is therefore y(t) = c 1 t + c 2 (t 2 1) + 1 6 t4 + 1 2 t2..

7 Variation of Parameters. Seek a solution in the form y = u 1 (t)t + u 2 (t)(t 2 1). where u 1 (t) and u 2 (t) satisfy the linear algebraic system The solution of this system is u 1 (t)t + u 2 (t)(t2 1) =, u 1(t)1 + u 2(t)2t = t 2 + 1. u 1 (t) = (t2 1), u 2 (t) = t. Alternatively, because you know that W[t, t 2 1](t) = t 2 + 1, you can directly use the formulas from the book to obtain u 1 (t) = (t2 1) (t 2 + 1) t 2 + 1 = (t 2 1), u 2 (t) = t (t2 + 1) t 2 + 1 No matter how they are obtained, you integrate these equations to find A general solution is therefore u 1 (t) = c 1 1 3 t3 + t, u 2 (t) = c 2 + 1 2 t2. y = ( c 1 1 3 t3 + t ) t + ( c 2 + 1 2 t2) (t 2 1) = c 1 t 1 3 t4 + t 2 + c 2 (t 2 1) + 1 2 t4 1 2 t2 = c 1 t + c 2 (t 2 1) + 1 6 t4 + 1 2 t2. = t. (9) [8] When a.5 kilogram mass is hung vertically from a spring, at rest it stretches the spring.5 m. (Gravitational acceleration is g = 9.8 m/sec 2.) At t = the mass is displaced.2 m below its rest position and is released with a downward initial velocity of.3 m/sec. Assume that the spring force is proportional to displacement, that there is no damping, and that the mass is driven by an external force of F ext (t) = 5 cos(ωt) Newtons (1 Newton = 1 kg m/sec 2 ), where up is taken to be positive. (a) Formulate an initial-value problem that governs the motion of the mass for t >. (DO NOT solve this initial-value problem, just write it down!) (b) What is the natural frequency ω o of this spring? (c) At what value of the driving frequency ω does resonance occur? Solution (a). Let h(t) be the displacement (in meters) of the mass from its rest position at time t (in seconds), with upward displacements being positive. The governing initial-value problem then has the form m d2 h dt 2 + kh = F ext(t), h() =.2, h () =.3, where m is the mass and k is the spring constant. The problem says that m =.5 kilograms. The spring constant is obtained by balancing the weight of the mass (mg =.5 9.8 Newtons) with the force applied by the spring when it is stetched.5 m. This gives k.5 =.5 9.8, or k =.5 9.8.5 = 1 9.8 = 98 Newtons/m.

8 Because F ext (t) = 5 cos(ωt), the governing initial-value problem is therefore.5 d2 h dt 2 + 98 h = 5 cos(ωt), h() =.2, h () =.3. While the above answer was sufficient, had you put the initial-value problem into normal form you should have obtained d 2 h dt 2 + 2 98 h = 1 cos(ωt), h() =.2, h () =.3. Solution (b). The natural frequency of the spring is given by k 9.8 ω o = m =.5 = 2 98 = 14 1/sec. Solution (c). Resonance occurs when the driving frequency ω equals the natural fequency of the spring ω o. Given the answer to part (b), resonance occurs when ω = ω o = 14 1/sec. (1) [8] The vertical displacement of a mass on a spring is given by h(t) = 12e t cos(2t) + 5e t sin(2t). (a) Why is this system under damped? (b) Express h(t) in the form h(t) = Ae t cos(νt δ) with A > and δ < 2π, identifying the quasiperiod and phase of the oscillation. (The phase may be expressed in terms of an inverse trig function.) Solution (a). The system is under damped because the given displacement h(t) comes from an underlying characteristic polynomial having the complex conjugate pair of roots 1 ± i2. Solution (b). By compairing Ae t cos(νt δ) = Ae t cos(δ) cos(νt) + Ae t sin(δ) sin(νt), with h(t) = 12e t cos(2t) + 5e t sin(2t), we see that ν = 2 and that A cos(δ) = 12, A sin(δ) = 5. This shows that (A, δ) are the polar coordinates of the point in the plane whose Cartesian coordinates are ( 12, 5). Clearly A is given by A = ( 12) 2 + 5 2 = 144 + 25 = 169 = 13. Because ( 12, 5) lies in the second quadrant, the phase δ satisfies π < δ < π. Because 2 sin(δ) = 5, tan(δ) = 5, cos(δ) = 12, 13 12 13 you can express the phase by any one of the formulas δ = π sin 1( ) ( ) ( 5 13, δ = π tan 1 5 12, δ = π cos 1 12 13). Finally, the quasiperiod T is given by T = 2π ν = 2π 2 = π.