Assignment # 8, Math 370, Fall 2018 SOLUTIONS:

Similar documents
Review for Ma 221 Final Exam

Section 5.5 More Integration Formula (The Substitution Method) 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

Math 2Z03 - Tutorial # 6. Oct. 26th, 27th, 28th, 2015

Ma 221. The material below was covered during the lecture given last Wed. (1/29/14). Homogeneous Linear Equations with Constant Coefficients

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

Mathematics 104 Fall Term 2006 Solutions to Final Exam. sin(ln t) dt = e x sin(x) dx.

Introduction to Differential Equations Math 286 X1 Fall 2009 Homework 2 Solutions

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3

Integration by Substitution

Section 5.6. Integration By Parts. MATH 126 (Section 5.6) Integration By Parts The University of Kansas 1 / 10

Math 115 Practice for Exam 3

Formulas that must be memorized:

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

Math 135-2, Homework 1

Access to Science, Engineering and Agriculture: Mathematics 2 MATH00040 Chapter 4 Solutions

Practice Problems: Integration by Parts

Solutions to Exam 1, Math Solution. Because f(x) is one-to-one, we know the inverse function exists. Recall that (f 1 ) (a) =

Assignment # 7, Math 370, Fall 2018 SOLUTIONS: y = e x. y = e 3x + 4xe 3x. y = e x cosx.

Math 106 Fall 2014 Exam 2.1 October 31, ln(x) x 3 dx = 1. 2 x 2 ln(x) + = 1 2 x 2 ln(x) + 1. = 1 2 x 2 ln(x) 1 4 x 2 + C

Math 115 HW #10 Solutions

Grade: The remainder of this page has been left blank for your workings. VERSION D. Midterm D: Page 1 of 12

Section 10.7 Taylor series

DIFFERENTIAL EQUATIONS

Ordinary Differential Equations

y = x 3 and y = 2x 2 x. 2x 2 x = x 3 x 3 2x 2 + x = 0 x(x 2 2x + 1) = 0 x(x 1) 2 = 0 x = 0 and x = (x 3 (2x 2 x)) dx

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1)

Nonhomogeneous Linear Differential Equations with Constant Coefficients - (3.4) Method of Undetermined Coefficients

Math 201 Lecture 08 Undetermined Coefficients

Math 131 Final Exam Spring 2016

Ma 530. Special Methods for First Order Equations. Separation of Variables. Consider the equation. M x,y N x,y y 0

Math 2142 Homework 5 Part 1 Solutions

The Area bounded by Two Functions

FLAP M6.1 Introducing differential equations COPYRIGHT 1998 THE OPEN UNIVERSITY S570 V1.1

QC-1.2-FUNCTIONS I. REAL AND COMPLEX FUNCTIONS. Dr. A. Dayalan ; QC-1.2-FUNCTIONS 1

4. Theory of the Integral

DIFFERENTIAL EQUATIONS

Integration by Parts

REVERSE CHAIN RULE CALCULUS 7. Dr Adrian Jannetta MIMA CMath FRAS INU0115/515 (MATHS 2) Reverse Chain Rule 1/12 Adrian Jannetta

Indefinite Integration

M GENERAL MATHEMATICS -2- Dr. Tariq A. AlFadhel 1 Solution of the First Mid-Term Exam First semester H

2.3 Linear Equations 69

Math 226 Calculus Spring 2016 Exam 2V1

0.1 Problems to solve

(e) 2 (f) 2. (c) + (d). Limits at Infinity. 2.5) 9-14,25-34,41-43,46-47,56-57, (c) (d) 2

Theory of Higher-Order Linear Differential Equations

π π π π Trigonometry Homework Booklet 1. Convert 5.3 radians to degrees. A B C D Determine the period of 15

McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II)

Differential Equations DIRECT INTEGRATION. Graham S McDonald

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

MATH 151, FALL SEMESTER 2011 COMMON EXAMINATION 3 - VERSION B - SOLUTIONS

Mar 10, Calculus with Algebra and Trigonometry II Lecture 14Undoing the Marproduct 10, 2015 rule: integration 1 / 18

Math 106: Review for Exam II - SOLUTIONS

DRAFT - Math 102 Lecture Note - Dr. Said Algarni

x 3y 2z = 6 1.2) 2x 4y 3z = 8 3x + 6y + 8z = 5 x + 3y 2z + 5t = 4 1.5) 2x + 8y z + 9t = 9 3x + 5y 12z + 17t = 7

Integration of Rational Functions by Partial Fractions

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation.

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016

Math 106: Review for Exam II - SOLUTIONS

Integration of Rational Functions by Partial Fractions

APPENDIX : PARTIAL FRACTIONS

Math 1431 Final Exam Review

6 Second Order Linear Differential Equations

Math 113 (Calculus 2) Exam 4

Equations of Ellipse Conics HSC Maths Extension 2

Homework #6 Solutions

Mathematics 3 Differential Calculus

MS 2001: Test 1 B Solutions

DIFFERENTIAL EQUATIONS

1.4 Techniques of Integration

Puzzle 1 Puzzle 2 Puzzle 3 Puzzle 4 Puzzle 5 /10 /10 /10 /10 /10

Infinite series, improper integrals, and Taylor series

Math 152 Take Home Test 1

Lecture : The Indefinite Integral MTH 124

5.4 Variation of Parameters

Math Assignment 5

State Precalculus/Trigonometry Contest 2008

dx n a 1(x) dy

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N).

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0:

Ma 221 Final Exam Solutions 5/14/13

Grade: The remainder of this page has been left blank for your workings. VERSION E. Midterm E: Page 1 of 12

For more information visit

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

and lim lim 6. The Squeeze Theorem

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N).

JUST THE MATHS UNIT NUMBER INTEGRATION 1 (Elementary indefinite integrals) A.J.Hobson

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

If y = f (u) is a differentiable function of u and u = g(x) is a differentiable function of x then dy dx = dy. du du. If y = f (u) then y = f (u) u

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N).

Math 217 Practice Exam 1. Page Which of the following differential equations is exact?

First Order Differential Equations f ( x,

17.2 Nonhomogeneous Linear Equations. 27 September 2007

7.1 Integration by Parts (...or, undoing the product rule.)

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

If y = f (u) is a differentiable function of u and u = g(x) is a differentiable function of x then dy dx = dy. du du. If y = f (u) then y = f (u) u

2003 Mathematics. Advanced Higher. Finalised Marking Instructions

Chapter 13: General Solutions to Homogeneous Linear Differential Equations

MA 262, Fall 2017, Final Version 01(Green)

C3 Revision Questions. (using questions from January 2006, January 2007, January 2008 and January 2009)

1 Solution to Homework 4

Transcription:

Assignment # 8, Math 370, Fall 018 SOLUTIONS: Problem 1: Solve the equations (a) y y = 3x + x 4, (i) y(0) = 1, y (0) = 1, y (0) = 1. Characteristic equation: α 3 α = 0 so α 1, = 0 and α 3 =. y c = C 1 + C x + C 3 e x. Particular solution of non-homogeneous equation: normally we would look for y p in the form y p = Ax + Bx + C. Since 0 is a double root of the characteristic equation (0 corresponds to constant and polynomial solutions of homogeneous equation) we have to multiply y p by x. We take Then y p = Ax 4 + Bx 3 + Cx. y p = 4Ax 3 + 3Bx + Cx, y p = 1Ax + 6Bx + C, y p = 4Ax + 6B. We substitute and obtain which gives 4Ax + 6B 4Ax 1Bx 4C = 3x + x 4, 4A = 3 4A 1B = 1 6B 4C = 4, which gives A = 1, B = 8 1, C = 1. The general solution is 3 y = C 1 + C x + C 3 e x 1 8 x4 1 3 x3 + 1 x. IVP: y(0) = 1 gives 1 = C 1 + C 3. y = C + C 3 e x 1 x3 x + x, so y (0) = 1 gives 1 = C + C 3. y = 4C 3 e x 3 x x + 1, so y (0) = 1 gives 1 = 4C 3 + 1. The system of equations gives C 3 = 0 and C 1 = C = 1. The solution of IVP is y = 1 + x 1 8 x4 1 3 x3 + 1 x. (b) y 3y y = 4xe x, (i) y(0) = 1, y (0) = 1, y (0) = 1. Characteristic equation: α 3 3α = 0 so α 1, = 1 and α 3 =. y c = C 1 e x + C xe x + C 3 e x.

Particular solution of non-homogeneous equation: normally we would look for y p in the form y p = (Ax + B)e x. Since 1 is not a root of the characteristic equation (1 corresponds to solutions e x of homogeneous equation) we leave y p as it is. We take Then y p = (Ax + B)e x. y p = Aex +(Ax+B)e x = (Ax+A+B)e x, y p = (A)ex +(Ax+A+B)e x = (Ax+A+B)e x, We substitute and obtain which gives y p = (Ax + 3A + B)e x. e x (Ax + 3A + B 3Ax 3A 3B Ax B) = e x ( 4x), 4A = 4 4B = 0, which gives A = 1, B = 0. The general solution is y = C 1 e x + C xe x + C 3 e x + xe x. IVP: y(0) = 1 gives 1 = C 1 + C 3. y = C 1 e x C xe x +C e x +C 3 e x +xe x +e x, so y (0) = 1 gives 1 = C 1 +C +C 3 +1. y = C 1 e x + C xe x C e x C e x + 4C 3 e x + xe x + e x, so y (0) = 1 gives 1 = C 1 C + 4C 3 +. We have to solve C 1 + C 3 = 1 C 1 + C + C 3 = 0 C 1 C + 4C 3 = 1 The system of equations gives C 3 = 0 and C 1 = C = 1. The solution of IVP is y = e x + xe x + xe x. (c) y + 6y + 13y = e 3x cos x, (i) y(0) = 1, y (0) = 1. Characteristic equation: α + 6α + 13 = 0, = 36 5 = 16 so α 1, = 3 ± i. y c = C 1 e 3x cos(x) + C e 3x sin(x). Particular solution of non-homogeneous equation: normally we would look for y p in the form y p = (A cos x+b sin x)e 3x. Since 3 ±i is not a root of the characteristic equation ( 3 ±i corresponds to solutions e 3x cosx of homogeneous equation) we leave y p as it is. We take y p = (A cosx + B sinx)e 3x.

Then y p = e 3x ( 3A cos x 3B sinx A sinx + B cos x) = e 3x (( 3A + B)cosx + ( 3B A)sinx). y p = e 3x ((9A 3B)cos x + (9B + 3A)sinx + (3A B)sinx + ( 3B A)cosx) = e 3x ((8A 6B)cos x + (8B + 6A)sinx). We substitute and obtain e 3x ((8A 6B 18A + 6B + 13A)cos x + (8B + 6A 18B 6A + 13B)sin x) = e 3x cos x, which gives 3A = 1 3B = 0, which gives A = 1/3, B = 0. The general solution is y = C 1 e 3x cos(x)+c e 3x sin(x)+ 1 3 e 3x cosx = e 3x ( C 1 cos(x) + C sin(x) + 1 3 cos x ). IVP: y(0) = 1 gives 1 = C 1 + 1. 3 y = e 3x (( 3C 1 + C )cos(x) + ( 3C C 1 )sin(x) cosx + sinx), so y (0) = 1 gives 1 = 3C 1 + C 1. These give C 1 = /3 and C =. The solution of IVP is ( y = e 3x 3 cos(x) + sin(x) + 1 ) 3 cosx. Problem : Solve the equation y + 9y = 9e 3x + 18sin(3x) 9cos(3x), y(0) = 1, y (0) = 1, y (0) = 1. Characteristic equation: α 3 + 9α = 0 so α 1, = ±3i and α 3 = 0. y c = C 1 + C cos(3x) + C 3 sin(3x). Particular solution of non-homogeneous equation: we will do this in two steps, first for RHS 9e 3x and then for RHS 18sin(3x) 9cos(3x). (i) normally we would look for y p in the form y p = Ae 3x. Since 3 is not a root of the characteristic equation (3 corresponds to solutions e 3x of homogeneous equation) we leave y p as it is. We take Then y p = Ae 3x. y p = 3Ae 3x, y p = 9Ae 3x, y p = 7Ae 3x.

We substitute and obtain (7A + 7A)e 3x = 9e 3x, which gives A = 1/6. This part of particular solution is y p = 1 6 e3x. (ii) normally we would look for y p in the form y p = A cos(3x) + B sin(3x). Since ±3i is a single root of the characteristic equation we need to multiply this y p by x. We take Then y p = Ax cos(3x) + Bx sin(3x). y p = A cos(3x)+b sin(3x) 3Ax sin(3x)+3bx cos(3x) = (A+3Bx)cos(3x)+(B 3Ax)sin(3x), y p = 3B cos(3x) 3A sin(3x) 3(A + 3Bx)sin(3x) + 3(B 3Ax)cos(3x) = (6B 9Ax)cos(3x) + ( 6A 9Bx)sin(3x), y p = 9A cos(3x) 9B sin(3x) 3(6B 9Ax)sin(3x) + 3( 6A 9Bx)cos(3x) = ( 7A 7Bx)cos(3x) + ( 7B + 7Ax)sin(3x). We substitute and obtain ( 7A 7Bx)cos(3x) + ( 7B + 7Ax)sin(3x) + 9(A + 3Bx)cos(3x) + 9(B 3Ax)sin(3x) The terms with x on the LHS cancel and we have 18A = 9 18B = 18, which gives A = 1 The general solution is and B = 1. This part of particular solution is y p = 1 x cos(3x) x sin(3x). y = C 1 + C cos(3x) + C 3 sin(3x) 1 6 e3x + 1 x cos(3x) x sin(3x). IVP: y(0) = 1 gives 1 = C 1 + C 1 6. = 18sin(3x) 9cos(3x). y = 3C sin(3x) + 3C 3 cos(3x) 1 e3x + 1 cos(3x) 3 x sin(3x) sin(3x) 3x cos(3x), so y (0) = 1 gives 1 = 3C 3 1 + 1. y = 9C cos(3x) 9C 3 sin(3x) 3 e3x 3sin(3x) 9 x cos(3x) 6cos(3x) + 9x sin(3x), so y (0) = 1 gives 1 = 9C 3 6. We have to solve C 1 + C = 7 6 3C 3 = 1 9C = 17

The system of equations gives C 3 = 1, C 3 1 = 19 and C 9 = 17. The solution of IVP is 18 y = 19 9 17 18 cos(3x) + 1 3 sin(3x) 1 6 e3x + 1 x cos(3x) x sin(3x)x. Problem 3: Consider a general linear non-homogeneous DE with constant coefficients a n y (n) + a n 1 y (n 1) + + a 1 y + a 0 y = g(x). Below, You are given the roots of characteristic equation and the RHS g(x). Write the form of the particular solution y p You would use to find it by the Method of Undefined Coefficients. DO NOT SOLVE. (a) roots:,, 1 ; g(x) = x e x + xe x ; For g 1 (x) = x e x, standard is y p = (Ax + Bx + C)e x. Since α = corresponding to such y p is a double root of characteristic equation we have to multiply it by x. We use y p = x (Ax + Bx + C)e x. For g (x) = xe x, standard is y p = (Ax + B)e x. Since α = 1 corresponding to such y p is a single root of characteristic equation we have to multiply it by x. We use y p = x(ax + B)e x. (b) roots: 4, 0, + i, i; g(x) = x + sin(x) + x cos x; For g 1 (x) = x, standard is y p = (Ax + Bx + C). Since α = 0 corresponding to such y p is a single root of characteristic equation we have to multiply it by x. We use y p = x(ax + Bx + C). For g (x) = sin(x), standard is y p = A sin(x)+b cos(x). Since α = ±i corresponding to such y p is not a root of characteristic equation we keep it as it is. We use y p = A sin(x) + B cos(x). For g 3 (x) = x cos x, standard is y p = (Ax +Bx +C)sinx +(Ex +Fx + G)cos x. Since α = ±i corresponding to such y p is not a root of characteristic equation we keep it as it is. We use y p = (Ax + Bx + C)sinx + (Ex + Fx + G)cos x. (c) roots:, + 3i, 3i; g(x) = sin(3x)e x + cos(x)e x ; For g 1 (x) = sin(3x)e x, standard is y p = (A cos(3x) + B sin(3x))e x. Since α = ± 3i corresponding to such y p is a single root of characteristic equation we have to

multiply it by x. We use y p = x(a cos(3x) + B sin(3x))e x. For g (x) = cos(x)e x, standard is y p = (A cos x+b sinx)e x. Since α = ±i corresponding to such y p is not a root of characteristic equation we keep it as it is. We use y p = (A cosx + B sinx)e x. Problem 4: Solve equation: (a) y + 3y + y = e x + e x, y(0) = 0, y (0) = 0. Characteristic equation: α + 3α + = 0 so α 1 = 1 and α =. y c = C 1 e x + C e x. We will use the Method of Variation of Parameters: Since the equation is in standard form we do not have to standardize it. Let y 1 = e x and y = e x. Then, y 1 = e x and y = e x. We get the system of equations C 1y 1 + C y = 0 C 1y 1 + C y Adding both equation we obtain Then, or = e x +e x C 1e x + C e x = 0 C 1e x C e x C e x = e x + e x or C = ex + e x. = e x +e x C 1 = C e x = 1 + e x. We have C = ex + e xdx = ex = t, e x dx = dt} = 1 + t dt = ln( + t) = ln( + ex ) + D. 1 C 1 = + e xdx = ex = t, e x 1 dx = dt} = t( + t) dt = 1 ( 1 t 1 ) dt + t = 1 ( ) t ln + D 1 = 1 ( ) e x + t ln + D + e x 1 = 1 x ln( + ex ) + D 1. We obtain the general solution y = ( 1 x 1 ln( + ex ) + D 1 )e x + ( ln( + e x ) + D )e x. IVP: y(0) = 0 gives 0 = 1 ln3 + D 1 ln3 + D.

We have e x y = ( 1 1 ( 1 + e x)e x x 1 ln( + ex ) + D 1 )e x + ( ex ( ln( + e x ) + D + e x)e x )e x, so y (0) = 0 gives 0 = 1 1 1 3 1 1 + ln3 D 3. We have D 1 + D = 3 ln3 D 1 D = 5 ln3, which gives D 1 = 1 ln3 and D = ln3. The solution of IVP is y = ( 1 x 1 ln( + ex ) + 1 ln3)e x + ( ln( + e x ) + ln3)e x. (b) y + 4y = 4 sin(x), y(π/4) = 0, y (π/4) = 0. Characteristic equation: α + 4 = 0 so α 1, = ±i. y c = C 1 cos(x) + C sin(x). We will use the Method of Variation of Parameters: Since the equation is in standard form we do not have to standardize it. Let y 1 = cos(x) and y = sin(x). Then, y 1 = sin(x) and y = cos(x). We get the system of equations C 1y 1 + C y = 0 C 1y 1 + C y = 4 sin(x) or C 1 cos(x) + C sin(x) = 0 C 1 sin(x) + C cos(x) = 4 sin(x) We divide second equation by and multiply by sin(x). The first we multiply by cos(x). We add them and obtain Then from the first equation C 1 = sin(x) sin(x) = 4sin x cosx sin(x) = 4cos x. C = C 1 cos(x) sin(x) = 4cos x cos(x) sin x cosx = cos(x) sinx. We integrate C 1 = 4sinx + D 1.

cos(x) cos C = sin x dx = x sin x sin x 1 t = t = cos x, dt = sinxdx} = 1 t dt = ( = 1 ( 1 1 t + 1 1 + t = 4cos x + ln(1 cos x) ln(1 + cos x) + D. The general solution is cos x 1 dx = sin x sinxdx ( t 1 t 1 1 t )) dt = 4t + ln(1 t) ln(1 + t) + D ) dt = y = ( 4sinx + D 1 )cos(x) + (4cos x + ln(1 cos x) ln(1 + cos x) + D )sin(x). IVP: y(π/4) = 0 gives 0 = + ln(1 /) ln(1 + /) + D so D = ln(1 /) + ln(1 + /) = ( + ) + ln. We have y = ( 4cos x)cos(x) ( 4sin x + D 1 )sin(x) y (π/4) = 0 gives so sinx + ( 4sin x + (1 cos x) + sin x (1 + cosx) )sin(x) + (4cos x + ln(1 cos x) ln(1 + cos x) + D )cos(x). 0 = ( + D 1 ) + ( + D 1 =. / / (1 /) + (1 + /) ), The solution of the IVP is ( y = 4sin x + ( ) cos(x)+ 4cos x + ln(1 cos x) ln(1 + cosx) ( + )) + ln sin(x).