Solutions to Homework 3

Similar documents
A First Course in Elementary Differential Equations: Problems and Solutions. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Example. Mathematics 255: Lecture 17. Example. Example (cont d) Consider the equation. d 2 y dt 2 + dy

dt 2 roots r = 1 and r =,1, thus the solution is a linear combination of e t and e,t. conditions. We havey(0) = c 1 + c 2 =5=4 and dy (0) = c 1 + c

1 Solution to Homework 4

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 1

Second Order Differential Equations Lecture 6

M343 Homework 6. Enrique Areyan May 31, 2013

Homework 9 - Solutions. Math 2177, Lecturer: Alena Erchenko

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

Nonhomogeneous Equations and Variation of Parameters

MATH 308 Differential Equations

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

Solutions for homework 5

Solving systems of ODEs with Matlab

Math 308 Exam I Practice Problems

Section 2.1 (First Order) Linear DEs; Method of Integrating Factors. General first order linear DEs Standard Form; y'(t) + p(t) y = g(t)

144 Chapter 3. Second Order Linear Equations

Section 2.4 Linear Equations

Math Homework 3 Solutions. (1 y sin x) dx + (cos x) dy = 0. = sin x =

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

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).

93 Analytical solution of differential equations

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

Fall 2001, AM33 Solution to hw7

MATH 23 Exam 2 Review Solutions

Lecture Notes for Math 251: ODE and PDE. Lecture 13: 3.4 Repeated Roots and Reduction Of Order

Second Order Linear Equations

ODE Homework Solutions of Linear Homogeneous Equations; the Wronskian

y + 3y = 0, y(0) = 2, y (0) = 3

Homogeneous Equations with Constant Coefficients

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

Chapter DEs with Discontinuous Force Functions

Chapter 3: Second Order Equations

A: Brief Review of Ordinary Differential Equations

First-Order ODEs. Chapter Separable Equations. We consider in this chapter differential equations of the form dy (1.1)

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

Math 266 Midterm Exam 2

Math 308 Week 8 Solutions

Chapter 3 : Linear Differential Eqn. Chapter 3 : Linear Differential Eqn.

Lecture 17: Nonhomogeneous equations. 1 Undetermined coefficients method to find a particular

Higher Order Linear Equations

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

1 Some general theory for 2nd order linear nonhomogeneous

The Laplace Transform and the IVP (Sect. 6.2).

2nd-Order Linear Equations

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

Math 2142 Homework 5 Part 1 Solutions

Non-homogeneous equations (Sect. 3.6).

1. Why don t we have to worry about absolute values in the general form for first order differential equations with constant coefficients?

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

Math 308 Exam I Practice Problems

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

Exam 2, Solution 4. Jordan Paschke

Linear Algebra and ODEs review

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

Second-Order Linear ODEs

3.5 Undetermined Coefficients

The Method of Undetermined Coefficients.

Differential Equations: Homework 8

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

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

Linear Homogeneous ODEs of the Second Order with Constant Coefficients. Reduction of Order

Math 331 Homework Assignment Chapter 7 Page 1 of 9

20D - Homework Assignment 4

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.

Forced Mechanical Vibrations

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

ODE Math 3331 (Summer 2014) June 16, 2014

MA 266 Review Topics - Exam # 2 (updated)

GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS

Section 7.4 Runge-Kutta Methods

Lecture 31. Basic Theory of First Order Linear Systems

A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS

EXAM 2 MARCH 17, 2004

Section 4.7: Variable-Coefficient Equations

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

Chapter 4: Higher Order Linear Equations

Chapter 2: First Order DE 2.4 Linear vs. Nonlinear DEs

Math53: Ordinary Differential Equations Autumn 2004

Exam 2 Study Guide: MATH 2080: Summer I 2016

We begin exploring Euler s method by looking at direction fields. Consider the direction field below.

Homework Solutions:

Vector Functions & Space Curves MATH 2110Q

Work sheet / Things to know. Chapter 3

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

(1 + 2y)y = x. ( x. The right-hand side is a standard integral, so in the end we have the implicit solution. y(x) + y 2 (x) = x2 2 +C.

Mathematics 22: Lecture 7

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

Ordinary differential equations

MATH 24 EXAM 3 SOLUTIONS

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

Lecture 9. Scott Pauls 1 4/16/07. Dartmouth College. Math 23, Spring Scott Pauls. Last class. Today s material. Group work.

SHORT WAY SYMMETRY/SYMMETRICAL SYNTHETIC TREAD TELEVISION VERTICAL VITREOUS VOLUME. 1 BID SET No. Revisions / Submissions Date CAR

2.1 Differential Equations and Solutions. Blerina Xhabli

Selected Solutions: 3.5 (Undetermined Coefficients)

dy dt = ty, y(0) = 3. (1)

Practice Problems For Test 3

Name: Solutions Final Exam

APPM 2360: Midterm exam 3 April 19, 2017

SOLVING DIFFERENTIAL EQUATIONS. Amir Asif. Department of Computer Science and Engineering York University, Toronto, ON M3J1P3

Transcription:

Solutions to Homework 3 Section 3.4, Repeated Roots; Reduction of Order Q 1). Find the general solution to 2y + y = 0. Answer: The charactertic equation : r 2 2r + 1 = 0, solving it we get r = 1 as a repeated root, so the general solution given by y(t) = c 1 e t + c 2 te t. Q 2). Find the general solution to 9 + 6y + y = 0 Answer: The charactertic equation : 9r 2 + 6r + 1 = 0, solving it we get r = 1/3 as a repeated root, so the general solution given by y(t) = c 1 e t/3 + c 2 te t/3. Q 8). Find the general solution to 16 + 24y + 9y = 0 Answer: The charactertic equation : 16r 2 + 24r + 9 = 0, solving it we get r = 3/4 as a repeated root, so the general solution given by y(t) = c 1 e 3t/4 + c 2 te 3t/4 Q 11). Solve for the given initial value problem 9 12y + 4y = 0 with y(0) = 2 and y (0) = 1, and sketch the graph of the solution and describe its behavior of increasing t. Answer: The charactertic equation : 9r 2 12r + 4 = 0, 1

solving it we get r = 2/3 as a repeated root, so the general solution given by So Putting in the initial condition we get y(t) = c 1 e 2t/3 + c 2 te 2t/3. y (t) = (2c 1 /3 + c 2 + 2tc 2 /3)e 2t/3. y(0) = c 1 = 2, y (0) = 2c 1 /3 + c 2 = 1. Solving it we get c 1 = 2 and c 2 = 7/3, hence the solution y(t) = 2e 2t/3 7 3 te2t/3. To see the graph of the solution, one can type the following commands in MATLAB: syms t; ezplot( 2 exp(2 t/3) 7/3 t exp(2 t/3) ); The solution y(t) when t. Q 12). Solve for the given initial value problem 6y + 9y = 0 with y(0) = 0 and y (0) = 2, and sketch the graph of the solution and describe its behavior of increasing t. Answer: The charactertic equation : r 2 6r + 9 = 0, solving it we get r = 3 as a repeated root, so the general solution given by So Putting in the initial condition we get y(t) = c 1 e 3t + c 2 te 3t. y (t) = (3c 1 + c 2 + 3tc 2 )e 3t. y(0) = c 1 = 0, y (0) = 3c 1 + c 2 = 2. Solving it we get c 1 = 0 and c 2 = 2, hence the solution y(t) = 2te 3t. To see the graph of the solution, one can type the following commands in MATLAB: syms t; ezplot( 2 t exp(3 t) ); The solution y(t) when t. Q 14). Solve for the given initial value problem + 4y + 4y = 0 with y( 1) = 2 and y ( 1) = 1, and sketch the graph of the solution and describe its behavior of increasing t. 2

Answer: The charactertic equation : r 2 + 4r + 4 = 0, solving it we get r = 2 as a repeated root, so the general solution given by So Putting in the initial condition we get y(t) = c 1 e 2t + c 2 te 2t. y (t) = ( 2c 1 + c 2 2tc 2 )e 2t. y(0) = c 1 e 2 c 2 e 2 = 2, y ( 1) = ( 2c 1 + c 2 + 2c 2 )e 2 = 1. Solving it we get c 1 = 7e 2 and c 2 = 5e 2, hence the solution y(t) = 7e 2 2t + 5te 2 2t. To see the graph of the solution, one can type the following commands in MATLAB: syms t; ezplot( 7 exp( 2 2 t) + 5 t exp( 2 2 t) ); The solution y(t) first increase, decrease, and y(t) when t. Q 23). Use the method of reduction to find a second solution: t 2 4ty + 6y = 0, y > 0; y 1 (t) = t 2. Answer: Assume y 2 (t) = v(t)y 1 (t), and y 2(t) = v (t)y 1 (t) + v(t)y 1(t) = v (t)t 2 + 2tv(t), 2 (t) = v (t)t 2 + 2tv (t) + 2v(t) + 2tv (t) = v (t)t 2 + 4tv (t) + 2v(t). Insert y 2, 2 and y 2 back into the ODE, we get that Thus we have t 2 (v (t)t 2 + 4tv (t) + 2v(t)) 4t(v (t)t 2 + 2tv(t)) + 6v(t)t 2 = 0, t 4 v (t) = 0. v (t) = 0. Let u = v, we have u (t) = 0, so u(t) = C 1. Thus, solving it, we get v = u = C 1, v(t) = C 1 t + C 2. Now take C 1 = 1 and C 2 = 0, we get v(t) = t, and y 2 (t) = v(t)y 1 (t) = t 3 3

Q 25). Use the method of reduction to find a second solution: t 2 + 3ty + y = 0, y > 0; y 1 (t) = t 1. Answer: Assume y 2 (t) = v(t)y 1 (t), and y 2(t) = v (t)y 1 (t) + v(t)y 1(t) = v (t)t 1 v(t)t 2, 2 (t) = v (t)t 1 v (t)t 2 v (t)t 2 + 2v(t)t 3 = v (t)t 1 2v (t)t 2 + 2v(t)t 3. Insert y 2, 2 and y 2 back into the ODE, we get that t 2 (v (t)t 1 2v (t)t 2 + 2v(t)t 3 ) + 3t(v (t)t 1 v(t)t 2 ) + v(t)t 1 = 0, tv (t) + v (t) = 0. Let u = v, we have tu (t) + u(t) = 0, By separation of variables, u(t) = C 1 /t. Thus, solving it, we get v = u = C 1 /t, v(t) = C 1 ln(t) + C 2. Now take C 1 = 1 and C 2 = 0, we get v(t) = ln(t), and y 2 (t) = v(t)y 1 (t) = t 1 ln(t) Section 3.5, Nonhomogeneous Equations; Method of Undetermined Coefficients Q 1). Find the general solution to 2y 3y = 3e 2t. Answer: The charactertic equation to the homogeneous ODE 2y 3y = 0 r 2 2r 3 = 0, with roots r 1 = 3 and r 2 = 1. So the general solution to y h (t) = c 1 e 3t + c 2 e t. 2y 3y = 3e 2t y p (t) = Ae 2t, 4

y p(t) = 2Ae 2t, p = 4Ae 2t. Hence, putting y p, y p and p back into we get 4Ae 2t 2 2Ae 2t 3Ae 2t = 3e 2t. Th gives us an algebraic equation 3A = 3. Solving for A gives us A = 1. So the general solution to (N) y(t) = c 1 e 3t + c 2 e t e 2t. Q 6). Find the general solution to + 2y = 3 + 4 sin(2t). Answer: The charactertic equation to the homogeneous ODE + 2y = 0 r 2 + 2r = 0, with roots r 1 = 2 and r 2 = 0. So the general solution to y h (t) = c 1 e 2t + c 2. + 2y = 3 + 4 sin(2t) y p (t) = At + B 1 sin(2t) + B 2 cos(2t), y p(t) = A + 2B 1 cos(2t) 2B 2 sin(2t), p = 4B 1 sin(2t) 4B 2 cos(2t). Hence, putting y p, y p and p back into we get 4B 1 sin(2t) 4B 2 cos(2t) + 2(A + 2B 1 cos(2t) 2B 2 sin(2t)) = 3 + 4 sin(2t). Th gives us an three algebraic equations 2A = 3, Solving them gives us 4B 1 4B 2 = 4, 4B 2 + 4B 1 = 0. A = 3 B 1 = B 2 = 1 2 2. 5

So the general solution to (N) y(t) = c 1 e 2t + c 2 + 3t 2 1 2 sin(2t) 1 2 cos(2t). Q 8). Find the general solution to + 2y + y = 2e t. Answer: The charactertic equation to the homogeneous ODE + 2y + y = 0 r 2 + 2r + 1 = 0, with repeated roots r = 1. So the general solution to y h (t) = c 1 e t + c 2 te t. + 2y + y = 2e t y p (t) = At 2 e t, y p(t) = (2At At 2 )e t, p = (2A 2At 2At + At 2 )e t. Hence, putting y p, y p and p back into we get Simplify it, we get (2A 2At 2At + At 2 )e t + 2(2At At 2 )e t + At 2 e t = 2e t. 2Ae t = 2e t. Th gives us an three algebraic equations 2A = 2. Solving them gives us A = 1. So the general solution to (N) y(t) = (c 1 + c 2 t + t 2 )e t. Q 9). Find the general solution to 2 + 3y + y = t 2 + 3 sin t. Answer: The charactertic equation to the homogeneous ODE 2 + 3y + y = 0 2r 2 + 3r + 1 = 0, 6

with roots r 1 = 1 and r 2 = 1/2. So the general solution to y h (t) = c 1 e t + c 2 e t/2. 2 + 3y + y = t 2 + 3 sin t y p (t) = A 1 t 2 + A 2 t + A 3 + B 1 sin t + B 2 cos t, y p(t) = 2A 1 t + A 2 + B 1 cos t B 2 sin t, p = 2A 1 B 1 sin t B 2 cos t. Hence, putting y p, y p and p back into we get Th gives us algebraic equations Solving them gives us So the general solution to (N) 2(2A 1 B 1 sin t B 2 cos t) + 3(2A 1 t + A 2 + B 1 cos t B 2 sin t) +A 1 t 2 + A 2 t + A 3 + B 1 sin t + B 2 cos t = t 2 + 3 sin t. A 1 = 1, 6A 1 + A 2 = 0, 4A 1 + 3A 2 + A 3 = 0, 2B 1 3B 2 + B 1 = 3, 2B 2 + 3B 1 + B 2 = 0. A 1 = 1, A 2 = 6, A 3 = 14, B 1 = 3 10, B 2 = 9 10. y(t) = c 1 e t + c 2 e t/2 + t 2 6t + 14 3 10 sin t 9 cos t. 10 Q 16). Solve the initial value problem + 4y = t 2 + 3e t, with y(0) = 0 and y (0) = 2. Answer: The charactertic equation to the homogeneous ODE + 4y = 0 r 2 + 4 = 0, 7

with complex roots r = ±2i. So the general solution to y h (t) = c 1 sin(2t) + c 2 cos(2t). + 4y = t 2 + 3e t y p (t) = A 1 t 2 + A 2 t + A 3 + Be t, y p(t) = 2A 1 t + A 2 + Be t, y p = 2A 1 + Be t. Hence, putting y p, y p and y p back into we get Th gives us algebraic equations Solving them gives us So the general solution to (N) Hence 2A 1 + Be t + 4(A 1 t 2 + A 2 t + A 3 + Be t ) = t 2 + 3e t 4A 1 = 1, 4A 2 = 0, 2A 1 + 4A 3 = 0, B + 4B = 3. A 1 = 1 4, A 2 = 0, A 3 = 1 8, B 2 = 3 5. y(t) = c 1 sin(2t) + c 2 cos(2t) + t2 4 1 8 + 3et 5. y (t) = 2c 1 cos(2t) 2c 2 sin( 2t) + t 2 + 3et 5. With the initial conditions y(0) = 0 and y (0) = 2, we have y(0) = c 2 1 8 + 3 5 = 0, y (0) = 2c 1 + 3 5 = 2. Solving for c 1 and c 2, we get c 1 = 7 10, c 2 = 19 40, so the solution y(t) = 7 19 sin(2t) 10 40 cos(2t) + t2 4 1 8 + 3et 5. 8

Q 17). Solve the initial value problem 2y + y = te t + 4, with y(0) = 1 and y (0) = 1. Answer: The charactertic equation to the homogeneous ODE 2y + y = 0 r 2 + 2r + 1 = 0, with repeated roots r = 1. So the general solution to y h (t) = c 1 e t + c 2 te t. 2y + y = te t + 4 y p (t) = At 3 e t + B, y p(t) = (3At 2 + At 3 )e t, y p = (3At 2 + At 3 + 3At 2 + 6At)e t. Hence, putting y p, y p and y p back into we get (3At 2 + At 3 + 3At 2 + 6At)e t 2(3At 2 + At 3 )e t + At 3 e t + B = te t + 4. Th gives us algebraic equations Solving them gives us 6A = 1, B = 4. A = 1 6, B = 4. So the general solution to (N) y(t) = (c 1 + c 2 t + 1 6 t3 )e t + 4. We have y (t) = (c 1 + c 2 t + 1 6 t3 + c 2 + 1 2 t2 )e t. So the initial conditions y(0) = 1 and y (0) = 1 gives us c 1 + 4 = 1, c 1 + c 2 = 1. Solving for it we get So the solution to the I.V.P c 1 = 3, c 2 = 4. y(t) = ( 3 + 4t + 1 6 t3 )e t + 4. 9