Solution: In standard form (i.e. y + P (t)y = Q(t)) we have y t y = cos(t)

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

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

1. Diagonalize the matrix A if possible, that is, find an invertible matrix P and a diagonal

Problem Score Possible Points Total 150

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

Differential equations

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

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 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016

APPM 2360: Midterm exam 3 April 19, 2017

Linear Algebra- Final Exam Review

Form A. 1. Which of the following is a second-order, linear, homogenous differential equation? 2

Math Ordinary Differential Equations

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

Differential Equations 2280 Sample Midterm Exam 3 with Solutions Exam Date: 24 April 2015 at 12:50pm

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

MA 266 Review Topics - Exam # 2 (updated)

20D - Homework Assignment 5

+ i. cos(t) + 2 sin(t) + c 2.

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

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

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

MATH 24 EXAM 3 SOLUTIONS

MATH 251 Examination I October 5, 2017 FORM A. Name: Student Number: Section:

Math Exam 3 Solutions

Solutions of Spring 2008 Final Exam

MA 262 Spring 1993 FINAL EXAM INSTRUCTIONS. 1. You must use a #2 pencil on the mark sense sheet (answer sheet).

Do not write below here. Question Score Question Score Question Score

235 Final exam review questions

Def. (a, b) is a critical point of the autonomous system. 1 Proper node (stable or unstable) 2 Improper node (stable or unstable)

Lecture Notes for Math 251: ODE and PDE. Lecture 27: 7.8 Repeated Eigenvalues

PRACTICE FINAL EXAM. why. If they are dependent, exhibit a linear dependence relation among them.

MATH 2250 Final Exam Solutions

You may use a calculator, but you must show all your work in order to receive credit.

3. Identify and find the general solution of each of the following first order differential equations.

Math 21b Final Exam Thursday, May 15, 2003 Solutions

MA26600 FINAL EXAM INSTRUCTIONS Fall 2015

Solutions for homework 11

MAT Linear Algebra Collection of sample exams

Math 215 HW #9 Solutions

Math 215/255 Final Exam (Dec 2005)

Math 216 Second Midterm 28 March, 2013

Math 266 Midterm Exam 2

APPM 2360: Midterm 3 July 12, 2013.

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

MATH 251 Examination I October 8, 2015 FORM A. Name: Student Number: Section:

MATH 251 Examination I February 25, 2016 FORM A. Name: Student Number: Section:

Math 304 Answers to Selected Problems

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie

3. Identify and find the general solution of each of the following first order differential equations.

Section 8.2 : Homogeneous Linear Systems

Matrix Theory and Differential Equations Practice For the Final in BE1022 Thursday 14th December 2006 at 8.00am

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

MATH 320, WEEK 11: Eigenvalues and Eigenvectors

Math 216 Final Exam 24 April, 2017

Math 308 Final Exam Practice Problems

Math 216 Final Exam 14 December, 2012

Solutions to Math 53 Math 53 Practice Final

UNIVERSITY OF SOUTHAMPTON. A foreign language dictionary (paper version) is permitted provided it contains no notes, additions or annotations.

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

Examination paper for TMA4110 Matematikk 3

2.3. VECTOR SPACES 25

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

Problem Score Possible Points Total 150

Math 216 Second Midterm 16 November, 2017

Math 1553 Worksheet 5.3, 5.5

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

MATH 307 Introduction to Differential Equations Autumn 2017 Midterm Exam Monday November

we get y 2 5y = x + e x + C: From the initial condition y(0) = 1, we get 1 5 = 0+1+C; so that C = 5. Completing the square to solve y 2 5y = x + e x 5

Math 3301 Homework Set Points ( ) ( ) I ll leave it to you to verify that the eigenvalues and eigenvectors for this matrix are, ( ) ( ) ( ) ( )

MATH 3321 Sample Questions for Exam 3. 3y y, C = Perform the indicated operations, if possible: (a) AC (b) AB (c) B + AC (d) CBA

Math 322. Spring 2015 Review Problems for Midterm 2

Math 308 Week 8 Solutions

Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems

APPM 2360: Midterm exam 1 February 15, 2017

Final Exam Practice 3, May 8, 2018 Math 21b, Spring Name:

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y

Find the general solution of the system y = Ay, where

Math 215/255: Elementary Differential Equations I Harish N Dixit, Department of Mathematics, UBC

Section 9.3 Phase Plane Portraits (for Planar Systems)

Linear algebra I Homework #1 due Thursday, Oct Show that the diagonals of a square are orthogonal to one another.

V 1 V 2. r 3. r 6 r 4. Math 2250 Lab 12 Due Date : 4/25/2017 at 6:00pm

Math 273 (51) - Final

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

Answer Key b c d e. 14. b c d e. 15. a b c e. 16. a b c e. 17. a b c d. 18. a b c e. 19. a b d e. 20. a b c e. 21. a c d e. 22.

Systems of Algebraic Equations and Systems of Differential Equations

There are six more problems on the next two pages

18.06 Problem Set 8 - Solutions Due Wednesday, 14 November 2007 at 4 pm in

Problems for M 11/2: A =

DIFFERENTIAL EQUATIONS REVIEW. Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it.

MB4018 Differential equations

Review Problems for Exam 2

MATH 251 Examination I October 10, 2013 FORM A. Name: Student Number: Section:

Department of Applied Mathematics and Theoretical Physics. AMA 204 Numerical analysis. Exam Winter 2004

Department of Mathematics IIT Guwahati

FINAL EXAM SOLUTIONS, MATH 123

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

Question: Total. Points:

x gm 250 L 25 L min y gm min

Q1 Q2 Q3 Q4 Tot Letr Xtra

Transcription:

Math 380 Practice Final Solutions This is longer than the actual exam, which will be 8 to 0 questions (some might be multiple choice). You are allowed up to two sheets of notes (both sides) and a calculator, although any use of a calculator must be indicated. On numerical method probems (e.g. Euler s method) the use of a (non-internet capable) calculator is expected. () Find the general solution to ( + t)y + y cos t. Solution: In standard form (i.e. y + P (t)y Q(t)) we have y + + t y cos(t) + t. Using the integrating factor method (section.5), we have ρ(t) e P (t)dt e log(+t) + t. Then ρ Q dt cos t dt sin t and y C ρ + ρqdt ρ C + t + sin t + t. () Rewrite the initial value problem y + y + y t, y(0) y (0) y (0) 0 as an equivalent first-order system. Solution: Introduce the variables v y, v v y and the system becomes: y v v v v t v y y(0) 0, v (0) 0, v (0) 0 Note that rewriting the initial conditions is a required part of this answer. (3) Find the general solution to the system [ [ d 4 dt x 3 [. x Solution: The eigenvalues of the matrix are found from [ λ 4 det λ 3 λ + λ (λ )(λ + ) 0 From row-reducing A λi for each of these two eigenvalues (λ and λ ) we can find that the eigenvectors are v ( 4, ) and v (, ), so the solutions are x 4C e t C e t and x C e t + C e t. It is also acceptable to keep the solution in vector form:

x C e t [ 4 + C e t [ For large t, (x, x ) e t ( 4C, C ). For large t, (x, x ) e t ( C, C ). Some trajectories are shown below. 3-3 - - 3 - - -3 (4) Are the vectors v (,, 3, 4), v (,, 4, ), and v 3 (0, 3,, 3) linearly independent? If not, write one of them as a linear combination of the other two. Solution: The vectors are linearly dependent if there are c, c, c 3, not all zero, such that c v + c v + c 3 v 3 0. This is equivalent to the coefficient matrix A 0 3 3 4 having less than 3 pivots after row-reduction. If we row-reduce A 4 3 we find 0 3 3 4 4 3 0 0 6 3 0 0 6 3 0 0 0 0 This only has two pivots. The free variable is c 3, which we can choose to be (to avoid fractions - it would be OK to set it to any nonzero value), which gives c and c. So v v + v 3 0; we can write any of the vectors in terms of the other two but the easiest choice here is v v + v 3..

(5) Solve the initial value problem y + y cos x, y (0) 0, y(0). Solution: This could be also done with a Laplace transform. Using undetermined coefficients we find the solution by decomposing it into y y h +y p. The homogeneous solution y h is found from the characteristic equation r + (r i)(r + i) 0 to be y h C cos(x) + C sin(x). Since the right-hand side cos(x) is contained in the solution space of the homogeneous equation, we consider particular solutions of the form y p Ax cos(x) + Bx sin(x). Then y p Ax cos(x) A sin(x) + B cos(x) Bx sin(x). Substituting these forms into our ODE yields A sin(x) + B cos(x) cos(x), so A 0 and B /. So now we know that y C cos(x) + C sin(x) + x sin(x)/. Evaluating this using the initial conditions we get C 0 and C cos(x) + x sin(x), so y. (6) Use Euler s, the Improved Euler s, or the Runge-Kutta method to numerically approximate y() to two digits of accuracy if y t + y and y(0). Solution: It takes 76 steps to get the desired accuracy with Euler s Method (so this is somewhat harder than anything I would require on the actual final exam). For the improved Euler s method, 5 steps are needed. Fourth-order Runge-Kutta works in step (stepsize ), giving y() 6.37 which agrees with y() 6.447478097783853... in the first two digits after rounding: f(x, y) x + y, h, x 0 0, y 0 k f(x 0, y 0 ) f(0, ) k f(x 0 + h/, y 0 + hk /) f(, ) +.44356 k 3 f(x 0 + h/, y 0 + hk /) f(, + ) + +.84775907 k 4 f(x 0 + h, y 0 + hk 3 ) f(, + + 3) + + 3 + 4.58756993 y() y y 0 + h 6 (k 0 +k +k 3 +k 4 ) + + + + 3+ + 3 3 3 6.37050506 It is not necessary to keep the intermediate calculations in exact form, as done above, but you do need to be careful to include enough digits to avoid rounding error - especially if you are trying for a more accurate solution. (7) Find the general solution to the system [ [ d 5 dt x 3 [. x

4 Solution: The characteristic equation is det(a λi) λ 4λ + 8 with roots (eigenvalues) λ ± i. We need to find one eigenvector, lets find it for λ + i. We now row reduce [ [ i 5 i A ( + i)i i 0 0 So the eigenvector can be chosen to be v ( + i, ). Then the solution to the system is [ x C x Re[ve t (cos (t) + i sin (t)) + C Im[ve t (cos (t) + i sin (t)) C [ e t (cos (t) + sin (t)) e t cos (t) + C [ e t ( sin (t) + cos (t)) e t sin (t) (8) Find the Laplace transform X(s) L(x(t)) if x + 8x + 5x 0 and x(0) 0, x (0). Then find the solution x(t). Solution: Taking the Laplace transform of the ODE gives s X(s) + 8sX(s) + 5X(s) 8x(0) sx(0) x (0) s X(s) + 8sX(s) + 5X(s) 0. Solving for X(s) and performing a partial fraction decomposition, we get X(s) s + 8s + 5 / s + 3 / s + 5 Since L ( s a ) eat, we can invert X(s) to get x(t) e 3t e 5t. (9) What is the form of the general solution to the ODE y 4y + 4y 0y te t cos (3t) + t. Hint: one of the roots of the characteristic polynomial of the lefthand side is. Solution: First we find the homogeneous solution. The characteristic equation can be factored using the hint to get r 3 4r + 4r 0 (r ) ( r r + 0 ) and then we can use the quadratic equation to get r, ± 3i. So the homogeneous solution is y h C e t sin (3t) + C e t cos (3t) + C 3 e t. If there were no overlap with the homogeneous solution we would use the form Ate t cos (3t) + Bte t sin (3t) + Ce t cos (3t) + De t sin (3t) + Et + F t + G

for the particular solution, but the terms with C and D are contained in the homogeneous solution so we multiply everything involving this root (the A,B,C, and D terms) by t to get the form of the particular solution: y p At e t cos (3t) + Bt e t sin (3t) + Cte t cos (3t) + Dte t sin (3t) + Et + F t + G. The form of the general solution is the sum of these, y y h + y p. (0) Consider a mass-spring system with two masses of mass m and m. Mass is connected to a wall with a spring of stiffness k and to mass with a spring of stiffness k. Mass is a connected to a second wall with a spring of stiffness k 3, as shown below. Their displacements ( ) from the equilibrium are x and x, which we will combine into a vector x. Then if x x Ax, show that the real parts of the eigenvalues of A must be negative if the masses and spring constants are positive. Solution: As discussed in chapter 7.4, the matrix A has the form: ( ) (k + k )/m k /m k /m (k + k 3 )/m One way to see that the real parts of the eigenvalues are negative if the k i and m i are positive is to use the fact that if λ and λ are the eigenvalues of A, then tr(a) λ + λ and det(a) λ λ. The determinant can be simplified to det(a) k k + k k 3 + k k 3 m m which is clearly positive. Since the trace is negative the sign of each real part must be negative. In fact the eigenvalues are always real in the case but that is harder to prove. () Use either the Laplace transform method or the eigenvalue/eigenvector method to find the steady state solution to the initial value problem x x z, y x y, z x + z, x(0) 0, y(0) 0, z(0). Solution: Using the eigenvalue/eigenvector method we first compute the eigenvalues of the coefficient matrix A 0 from the characteristic equation 0 0 det(a λi) 0. This factors as (λ + )(λ + ) 0, so the eigenvalues are ±i and. Now we find the eigenvectors. For λ we row reduce A + I 0 0 0 0 0

6 x y z to get 0 0 0 0. The kernel of this matrix consists of vectors of the form for any a. We can choose a. 0 a 0 For the complex conjugate pair we can use either eigenvalue. If we choose to use i, 0 / i/ then we row reduce A ii to get 0 i/. If we choose the last entry of the eigenvalue to be, the eigenvector is C 0 0 + i i The general solution is e t +C Re( + i i (cos(t)+i sin(t)))+c 3 Im( + i i (cos(t)+i sin(t))) C 0 0 e t + C cos(t) sin(t) sin(t) cos(t) + C 3. cos(t) sin(t) cos(t) sin(t) Now we can use the initial conditions; evaluating at t 0 gives C + C 3 0, C C 3 0, and C. So C 3 and C. For the steady state solution we drop the first term since e t will decay to 0. So the steady state solution is: sin(t) cos(t) + sin(t) cos(t) + sin(t). () Find the equilibria of the system x y 3 x, y x, and determine their stability by computing the eigenvalues of the linearized systems. Solution: To find the equilibria we solve the pair of equations y 3 x 0, x 0. The second equation is simpler, since it only involves x - any equilibria must have x ±. Substituting these values into the first equation gives y 3 ±, so y ± and y is the same sign as x. I.e. the two equilibria are (, ) and (, ). The Jacobian matrix of the functions f (x, y) y 3 x and f x is ( ) ( ) f f (y 3 x) (y 3 x) ( ) 6y f f (x ) (x ) x 0 ). The eigenvalues are solutions ( 6 At the equilibrium (, ) this becomes 0 of λ + λ 0, which are ± 3. Since + 3 > 0, there is a positive eigenvalue and the equilibrium is unstable.

( ) 6 At the equilibrium (, ) the Jacobian becomes. The eigenvalues 0 are solutions of λ + λ + 0, which are ± 3i. Since the real parts of these are negative, the equilibrium is stable (nearby solutions would spiral inwards). (3) Three identical, well-stirred tanks of with 00 liters of water in each tank are connected in series with tank pumping 0 liter/minute into tank, tank pumping 0 liter/minute into tank 3, and tank 3 pumping 0 liter/minute into tank. If tank initially has 500 grams of salt dissolved in it, and the other two tanks start at time t 0 with no salt, which of the following initial value problems describes the amounts of salt in grams in each tank (x salt in tank, x salt in tank, x 3 salt in tank 3). Solution: Answer (c) is correct x 0 x 3 0 x x 0 x 0 x x 3 0 x 0 x 3 (4) What is the dimension of the field of complex numbers when it is considered as a vector space over the field of real numbers? Justify your answer by finding a basis. Solution: The dimension is : since we can write any complex number as a + bi where a and b are real, the set of numbers {, i} are a basis. (The elements of this basis are linearly independent over the real numbers; if c + c i 0, then i c /c. Squaring that relation gives c /c, a contradiction for real c and c.)