MB4018 Differential equations

Size: px
Start display at page:

Download "MB4018 Differential equations"

Transcription

1 MB4018 Differential equations Part II Prof. Natalia Kopteva Spring 2015 MB4018 (Spring 2015) Differential equations Part II 0 / 69

2 Section 1 Second-Order Linear ODEs (involve second-order derivatives) A second-order ODE is called linear if it can be written as y + p(x) y + q(x) y = R(x) ( ) for some functions p(x) and q(x), called the coefficients. and some function R(x) called the right-hand side. Otherwise it is called nonlinear. E.g., y + x y = cos x is linear; while y y + x y + y 3 = 0 is nonlinear In the linear case ( ): if R(x) = 0, it is called homogeneous; if R(x) 0, it is called nonhomogeneous. Section 1 Second-Order Linear ODEs 1 / 69

3 A general solution of ( ) is a formula that describes all solutions of ( ) as particular cases. Example: for the ODE 2x 2 y x y 2 y = 4, the general solution is y = C 1 x 2 + C 2 1 x 2 (where C 1, C 2 are arbitrary constants). NOTE: A general solution of a linear second-order ODE must involve two arbitrary constants A particular solution is found by obtaining values for the 2 arbitrary constants from 2 initial or boundary conditions, e.g., y(x 0 ) = A, y (x 0 ) = B Initial conditions y(x 0 ) = A, y(x 1 ) = B Boundary conditions Section 1 Second-Order Linear ODEs 2 / 69

4 1.1 Homogeneous ODEs y + p(x) y + q(x) y = 0 ( ) (it s ( ) with R(x) = 0) SUPERPOSITION PRINCIPLE: If y 1 (x) and y 2 (x) are any 2 solutions of ( ), then A y 1 (x) + B y 2 (x) is also a solution of ( ) for any real A and B. Proof: y 1 + p(x) y 1 + q(x) y 1 = 0 y 2 + p(x) y 2 + q(x) y 2 = 0 (A y 1 + B y 2 ) + p(x) (A y 1 + B y 2 ) + q(x) (A y 1 + B y 2 ) = Section 1 Second-Order Linear ODEs 3 / 69

5 A general solution of a homogeneous linear second-order ODE always has the form: y = C 1 y 1 (x) + C 2 y 2 (x) where C 1, C 2 are arbitrary constants, y 1 (x), y 2 (x) are two different particular solutions of the ODE such that y 1(x) y 2 (x) constant. Such particular solutions are called linearly independent. CONCLUSION: It suffices to find 2 linearly independent particular solutions to construct a general solution for equation ( ). Example: for the ODE 2x 2 y x y 2 y = 0, and y 1 (x) = x 2, y 2 (x) = 1 x are two particular solutions, so a general solution is y = C 1 x 2 + C 2 1 x, where C 1, C 2 are arbitrary constants Section 1 Second-Order Linear ODEs 4 / 69

6 Problems for Consider the initial-value problem x 2 y 7xy + 15y = 0, y(1) = 1, y (1) = 0. 1 Check that the functions x 5 and x 3 are particular solutions of the above ODE. 2 Check that x 5 and x 3 are linearly independent. 3 Hence construct a general solution of the above ODE. 4 Solve the above initial-value problem, i.e. find a unique solution of the ODE that satisfies the 2 initial conditions. 2 Consider the boundary-value problem x 2 y + 3xy 3y = 0, y(1) = 1, y(2) = Check that the functions x and x 3 are particular solutions of the above ODE. 2 Check that x and x 3 are linearly independent. 3 Hence construct a general solution of the above ODE. 4 Solve the above boundary-value problem, i.e. find a unique solution of the ODE that satisfies the 2 boundary conditions. Section 1 Second-Order Linear ODEs 5 / 69

7 1.2 Homogeneous ODEs with Constant Coefficients If the coefficients p(x) and q(x) in ( ) are constant, this ODE is called a linear ODE with constant coefficients. Consider the homogeneous and nonhomogeneous cases separately Consider a homogeneous linear second-order ODE with constant coefficients: y + b y + c y = 0 To find a solution, we make a conjecture that it has the form y = e r x ( ) with some (unknown at this stage) constant r. To find r: substitute our guess in ( ): y = e rx y = r e r x y = r 2 e r x so substitution in ( ) yields: r 2 e r x + b r e r x + c e r x = 0 r 2 + b r + c = 0 ( ) this quadratic equation is called auxiliary (characteristic) for ODE ( ). Its roots are r = b ± b 2 4c 2. Section 1 Second-Order Linear ODEs 6 / 69

8 Case 1: let b 2 4c > 0. Then ( ) has 2 distinct real roots r 1 and r 2. So ODE ( ) has 2 different particular solutions y 1 = e r1x and y 2 = e r2x. So general solution is y = C 1 e r1x + C 2 e r 2x Section 1 Second-Order Linear ODEs 7 / 69

9 Case 2: let b 2 4c = 0. Then ( ) has only one root r 1 = b 2 so ODE ( ) has a particular solution y 1 = e r 1x. But to get a general solution, we need another particular solution y 1! First, rewrite ( ) as y + b y + b2 4 y = 0. Make another solution guess y 2 = x e r1x. To check, whether y 2 is indeed a solution, substitute it into our ODE: y 2 = (1 + x r 1) e r 1x y 2 = (2 r 1 + x r1 2) er 1x Hence y 2 + b y 2 + b2 4 y 2 = [ (2 r 1 + x r1 2) + b (1 + x r 1) + b2 4 }{{ x] } er1x = 0 =0 as r 1 = b 2 (Ex.) Hence y 2 (x) is indeed another particular solution of ( ) so the general solution y = C 1 y 1 (x) + C 2 y 2 (x) becomes y = (C 1 + C 2 x) e r1x. Section 1 Second-Order Linear ODEs 8 / 69

10 Case 3: let b 2 4c < 0 similar to Case 1: ( ) has 2 distinct roots, but they are complex: r 1 = α + i β and r 2 = α i β. As in Case 1, the ODE ( ) has a general solution y = C 1 e r1x + C 2 e r2x = C 1 e (α+i β) x + C 2 e (α i β) x where C 1, C 2 are arbitrary complex constants. To restrict this formula to real functions and constants, recall that e (α+i β) x = e α x e i β x = e α x( cos(β x) + i sin(β x) ) e (α i β) x = e α x e i β x = e α x( cos(β x) i sin(β x) ) These imply: y(x) = e α x( (C 1 + C 2 ) cos(β x) + i (C }{{} 1 C 2 ) sin(β x) ) }{{} C 1 C 2 Finally, a general solution of ( ) is written as y = e α x( C 1 cos(β x) + C 2 sin(β x)) (where C 1, C 2 are arbitrary real constants). Section 1 Second-Order Linear ODEs 9 / 69

11 For a homogeneous linear second-order ODE with constant coefficients: y + b y + c y = 0 ( ) Summary: Roots of ( ) General Solution of ( ) (1) b 2 4c > 0 2 real roots: r 1, r 2 y = C 1 e r 1x + C 2 e r 2x (2) b 2 4c = 0 1 real root r 1 = b 2 y = (C 1 + C 2 x) e r 1x (3) b 2 4c < 0 2 complex roots: r 1,2 = α ± i β y = e α x( C 1 cos(β x) + C 2 sin(β x) ) where r 2 + b r + c = 0 ( ) Section 1 Second-Order Linear ODEs 10 / 69

12 Examples: 1 y + y 2 y = 0. S: r 2 + r 2 = 0 r = 1± ( 2) 2 r 1 = 2, r 2 = 1 y 1 = e 2x, y 2 = e x y = C 1 e 2x + C 2 e x 2 16 y 8 y + y = 0. S: 16 r 2 8 r + 1 = 0 r = 8± = 1 4 single real root y = (C 1 + C 2 x) e x/4 3 y + 4 y + 13 y = 0 S: r r + 13 = 0 r = 4± = 2 ± 9 r = 2 ± 3 i: r 1 = i, r 2 = 2 3 i (i.e. α = 2, β = 3) y = e 2 x( C 1 cos(3 x) + C 2 sin(3 x) ) Section 1 Second-Order Linear ODEs 11 / 69

13 Problems for Find the general solutions of the following differential equations: 1 y y = 0 2 y 2y 3y = 0 3 y + 4y = 0 4 4y + 4y + y = 0 2 Find the solution of the following initial-value problems 1 y + 4y = 0, y(0) = 0, y (0) = 1; 2 y + 4y + 5y = 0, y(0) = 1, y (0) = 0; 3 y 6y + 13y = 0, y(π/2) = 0, y (π/2) = 2; 4 y + y = 0, y(π/3) = 2, y (π/3) = 4. Section 1 Second-Order Linear ODEs 12 / 69

14 1.3 Physical Example: Damped Mass-Spring System A mass m is attached to a spring with spring constant k, and to a dashpod with damping coefficient c. Its displacement at time t (w.r.t. the rest point) is x(t). RECALL: By Newton s Second Law: mass acceleration = force m a = } k {{ x } } {{ c v } damping force is proportional to v Here a = d 2 x dt 2 Hook s force is proportional to x So x(t) satisfies the ODE: is the acceleration, v = dx dt is the velocity. m d 2 x dt 2 + c dx dt + k x = 0 (with positive constants m, c, k > 0). Section 1 Second-Order Linear ODEs 13 / 69

15 (a) c = 0, i.e. no damping: called simple harmonic motion, m r r + k = 0 has complex roots r 1,2 = ±i k x(t) = C 1 cos( m t) + C k 2 sin( m t) k m (b) c > 0, c 2 < 4mk, i.e. Damped Oscillator: m r 2 + c r + k = 0 ( ) has roots r 1,2 = c± c 2 4mk 2m i.e. r 1,2 = c 2m ± i β with β = 4mk c 2 2m x(t) = e 2m c t ( C 1 cos(β t) + C 2 sin(β t) ) Section 1 Second-Order Linear ODEs 14 / 69

16 (c) c 2 = 4mk, i.e. Critically Damped case: ( ) has a single root: r 1 = c 2m x(t) = (C 1 + C 2 t) e 2m c t no oscillations (d) c 2 > 4mk, i.e. Overdamped case: ( ) has 2 real roots r 1 < r 2 < 0 x(t) = C 1 e r1t + C 2 e r 2t decay, no oscillations Section 1 Second-Order Linear ODEs 15 / 69

17 Problems for The motion of a certain spring-mass system is governed by the differential equation x x + x = 0 where x = x(t) is measured in feet and t in seconds. If x(0) = 2 and x (0) = 0, determine the position of mass at any time The motion of a certain spring-mass system is governed by the differential equation x + c x + x = 0 where x = x(t) is measured in feet and t in seconds, and c is the damping coefficient. How large should one choose the damping coefficient c so that there are no oscillations? Section 1 Second-Order Linear ODEs 16 / 69

18 1.4 Nonhomogeneous Linear ODEs Consider a nonhomogeneous linear second-order ODE y + p(x) y + q(x) y = R(x) ( ) The corresponding homogeneous equation: y h + p y h + q y h = 0 ( ) If y p (x) is any particular solution of ( ), while y h (x) is any solution of ( ), then y p (x) + y h (x) is also a solution of ( ). y y p + p y p + q y p = R(x) Proof: h + p y h + q y h = 0 (y p + y h ) + p (y p + y h ) + q (y p + y h ) = R(x) Section 1 Second-Order Linear ODEs 17 / 69

19 Hence, general solution of nonhomogeneous equation ( ) = particular general solution solution of ( ) + of homogeneous equation ( ) }{{} this must involve 2 arbitrary constants To find a general solution of nonhomogeneous equation ( ): Step 1: Find a general solution of the corresponding homogeneous equation ( ) (e.g., as in 1.2). Step 2: Add a particular solution of ( ). To find this, there are various methods; two of them are Method of Undetermined Coefficients (see 1.5) Variation of Parameters (see 1.6) Section 1 Second-Order Linear ODEs 18 / 69

20 1.5 Method of Undetermined Coefficients Method of Undetermined Coefficients applies to the constant-coefficient y + b y + c y = R(x) ( ) R(x) Try y p (x) = α α x + β α x 2 + β x + γ A A x + B A x 2 + B x + C polynomial of degree n another poly of the same degree n α e kx A e kx (α + β x) e kx (A x + B) e kx α cos(kx) + β sin(kx) A cos(kx) + B sin(kx) (α x + β) cos(kx) + (γ x + δ) sin(kx)(a x + B) cos(kx) + (C x + D) sin(kx) }{{} Make this guess, substitute in ( ), then choose A, B, C... in y p (x) so that y p + b y p + c y p = R(x)... Section 1 Second-Order Linear ODEs 19 / 69

21 Examples: 1 y + y = x 2 Step 1: y h + y h = 0 homogeneous r = 0 r = ±i y h = C 1 cos x + C 2 sin x Step 2: We guess that y p = A x 2 + B x + C (see the Table) y p = 2A x + B y p = 2A Substitute in the ODE: }{{} 2A + (A x 2 + B x + C) = x }{{} 2 =y p =y p A x 2 + B x + (2A + C) = 1 x 2 A = 1, B = 0, (2A + C) = 0 C = 2A = 2 y p = 1 x x = x 2 2 Finally, a general solution: y = (x 2 2) + C 1 cos x + C 2 sin x Section 1 Second-Order Linear ODEs 20 / 69

22 2 y y 2y = 10 cos t subject to y(0) = 0 and y (0) = 2. Plan: (i) find a general solution of the ODE; (ii) use the initial conditions. (i) Step 1: y h y h 2y h = 0 homogeneous r 2 r 2 = 0 r 1 = 2, r 2 = 1 y h = C 1 e 2t + C 2 e t Step 2: Our guess is y p = A cos t + B sin t y p = A sin t + B cos t y p = A cos t B sin t So y p y p 2y p = cos t ( A B 2 A ) + sin t ( B + A 2 B ) = cos t ( 3 A B ) + sin t ( A 3 B ) = 10 cos t } 3 A B = 10 A 3 B = 0 B = 1, A = 3 y p = 3 cos t sin t General solution: y = ( 3 cos t sin t) + C 1 e 2t + C 2 e t Section 1 Second-Order Linear ODEs 21 / 69

23 Example 2 (continued): (ii) Use initial conditions y(0) = 0: 0 = ( 3 cos }{{ 0} sin }{{} 0) + C C 2 1 C 1 + C 2 = 3 =1 =0 y (0) = 2: Note that y = (3 sin t cos t) + 2 C 1 e 2t C 2 e t 2 = (3 sin }{{} 0 cos }{{ 0} ) + 2 C 1 1 C C 1 C 2 = 3 } C =0 =1 1 + C 2 = 3 2 C 1 C 2 = 3 C 1 = 2, C 2 = 1 y = ( 3 cos t sin t) + 2 e 2t + e t Section 1 Second-Order Linear ODEs 22 / 69

24 Remark 1 Remark 1: Consider y + b y + c y = R 1 (x) + R 2 (x) ( ) If y 1 + b y 1 + c y 1 = R 1 (x) and y 2 + b y 2 + c y 2 = R 2 (x) then y 1 + y 2 is a particular solution of ( ). Section 1 Second-Order Linear ODEs 23 / 69

25 Further Examples: 3 y + 4y = sin t + 2 e t. Step 1: y h + 4y h = 0 homogeneous r = 0, r = ±2 i y h = C 1 cos(2t) + C 2 sin(2t) Step 2: R(x) Try y p (x) = Our Table sin t A cos t + B sin t e t C e t Remark 1 sin t + 2 e t A cos t + B sin t + C e t So y p = A cos t + B sin t + C e t y p = A cos t B sin t+c e t y p +4y p = ( A cos t B sin t +C e t) +4 ( A cos t +B sin t +C e t) 3 A = 0 = 3 A cos t + 3 B sin t + 5 C e t = sin t + 2 e t 3 B = 1 A = 0, B = 1 3, C = 2 5 y p = 1 3 sin t e t 5 C = 2 General solution: y = 1 3 sin t e t + C 1 cos(2t) + C 2 sin(2t) Section 1 Second-Order Linear ODEs 24 / 69

26 (Very Important) Remark 2 If the guess from the Table happens to be a particular solution of the homogeneous equation ( ), then use y p = x (guess from Table ). If the new guess also happens to be a particular solution of the homogeneous equation ( ), then use y p = x 2 (guess from Table ) Section 1 Second-Order Linear ODEs 25 / 69

27 Further Examples: y 2 y 3 y = e x Step 1: y h = C 1 e 3x + C 2 e x (check!) Step 2: The Table suggests: y p = A e x, but it is a particular case of y h : it s clear from the y h formula (set C 1 = 0 and C 2 = A); alternatively, one can see this directly: (A e x ) 2 (A e x ) 3 (A e x ) = 0 e x. Clearly, y p = A e x doesn t work! By Remark 2, try y p = x A e x : y p = A (1 x) e x, y p = A (x 2) e x y p 2 y p 3 y p = A ( (x 2) 2 (1 x) 3 x ) e x = A ( 4) e x = e x 4A = 1 A = 1 4 y p = 1 4 x e x y = 1 4 x e x + C 1 e 3x + C 2 e x Section 1 Second-Order Linear ODEs 26 / 69

28 5 y + 4y + 4y = e 2t Step 1: r 2 + 4r + 4 = 0 r = 2 single root y h = (C 1 + C 2 t) e 2t Step 2: The Table suggests y p = A e 2t But (A e 2t ) + 4(A e 2t ) + 4(A e 2t ) = 0, e 2t (can be checked directly; of from the y h formula...) By Remark 2, try y p = t A e 2t again won t work as By Remark 2, now try (t A e 2t ) + 4(t A e 2t ) + 4(t A e 2t ) = 0, e 2t (can be checked directly; of from the y h formula...) y p = t 2 A e 2t y p = (2t 2t 2 ) A e 2t, y p = (2 8t + 4t 2 ) A e 2t y p + 4y p + 4y p = ( (2 8t + 4t 2 ) + 4 (2t 2t 2 ) + 4 t 2) A e 2t = 2 A e 2t = e 2t A = 1 2 y p = 1 2 t2 e 2t y = 1 2 t2 e 2t + (C 1 + C 2 t) e 2t Section 1 Second-Order Linear ODEs 27 / 69

29 6 y + 4y = 8 cos(2t) Step 1: y h = C 1 cos(2t) + C 2 sin(2t) (see Example 3). Step 2: The Table suggests y p = A cos(2t) + B sin(2t) But will NOT work as it s a particular case of the y h formula... By Remark 2, try y p = t (A cos(2t) + B sin(2t) ) y p + 4y p = 4 B cos(2t) + 4 ( A) sin(2t) = 8 cos(2t) B = 2, A = 0 so y p = 2t sin(2t) Finally, we get the Answer: y = 2t sin(2t) + C 1 cos(2t) + C 2 sin(2t) NOTE: this phenomenon is referred to as resonance (see the prime text...) Section 1 Second-Order Linear ODEs 28 / 69

30 Problems for Find general solutions of the following differential equations: 1 y 2y 3y = 2x 2 y 2y 3y = 11 + cos x y y = 5 sin(3x) 4 y y = e x 5 y y = e x 6 y y = 3 7 y y = 7x 8 y y = x e 2x y 2y + 3y = x 3 10 y 4y = e 2x 11 y 3y = 2e 2x sin x Section 1 Second-Order Linear ODEs 29 / 69

31 2 Find unique solutions of the following initial-value problems 1 y + y 2y = e x + e 2x, y(0) = 0, y (0) = 4/3 2 y + 4y = 3x cos x, y(0) = 1, y(π/4) = 0 3 y 4y + 4y = e 2x, y(0) = y (0) = 0 3 Find unique solutions of the following initial-value problems 1 4y 4y + y = 5 2 e x/2, y(0) = 1, y (0) = 3 2 y + 3y = 10 sin x 6, y(0) = 3, y (0) = 0 3 y 2y 3y = 8e 3x, y(0) = 4, y (0) = 2 4 y 2y + 5y = 25 x 2, y(0) = 1.6, y (0) = 4. Section 1 Second-Order Linear ODEs 30 / 69

32 1.6 Variation of Parameters Applies to y + p(x) y + q(x) y = R(x) ( ) NOTE: the coefficients are NOT necessarily constant! Step 1: Find a general solution of the corresponding homogeneous equation y h + p y h + q y h = 0 ( ) (e.g., as in 1.2): So we get y = C 1 y 1 (x) + C 2 y 2 (x) ( ) Step 2: Replace the constants C 1 and C 2 in (***) by the unknown functions u(x) and v(x): y = u(x) y 1 (x) + v(x) y 2 (x) ( ) Step 3: Next, find u(x) and v(x) such that ( ) gives a particular solution of ( ) (more detail on next page) Step 4: Finally, add ( ) to ( ), to get a general solution: y = u(x) y 1 (x) + v(x) y 2 (x) + C 1 y 1 (x) + C 2 y 2 (x) Section 1 Second-Order Linear ODEs 31 / 69

33 Step 3 more DETAIL: substitute ( ) in our ODE ( ) y = u(x) y 1 (x) + v(x) y 2 (x) ( ) (i) Evaluate y (x): y = [u y 1 + v y 2 ] + [u y 1 + v y 2 ] always ASSUME u y 1 + v y 2 = 0 This greatly simplifies y : y = u y 1 + v y 2 (ii) Evaluate y (x): y = [u y 1 + v y 2 ] + [u y 1 + v y 2 ] (iii) Substitute y (x), y (x) and y(x) in in our ODE ( ); combining this with y 1 + py 1 + qy 1 = 0 and y 2 + py 2 + qy 2 = 0 yields u y 1 + v y 2 = R(x) CONCLUSION: Step 3 reduces to solving the system of 2 equations for u and v : u y 1 + v y 2 = 0 ; u y 1 + v y 2 = R(x) Section 1 Second-Order Linear ODEs 32 / 69

34 CONCLUSION (from previous page): Step 3 reduces to solving the system of 2 equations for u and v : u y 1 + v y 2 = 0 ; u y 1 + v y 2 = R(x) This matrix form of this system is [ ] [ ] [ ] y1 y 2 u 0 y 1 y 2 v = R(x) and the solution is u (x) = y 2 R(x) W (x), v (x) = y 1 R(x) W (x), where W (x) = y 1 y 2 y 2 y 1 It remains to apply integration: y2 R(x) u(x) = W (x), v(x) = y1 R(x) W (x), where W (x) = y 1 y 2 y 2 y End of Step Section 1 Second-Order Linear ODEs 33 / 69

35 EXAMPLES: Using variation of parameters, find the general solutions of the following ODEs. 1 y 5y + 6y = 2e x. Answer: y(x) = e x + C 1 e 2x + C 2 e 3x. NOTE: Variation of parameters is not the best method for this example. But this method works for any R(x). 2 y + 2y + y = e x ln x. [ x 2 3x 2 ] Answer: y(x) = ln x C 1 + C 2 x e x. Section 1 Second-Order Linear ODEs 34 / 69

36 Problems for 1.6 Find general solutions of the following differential equations using variation of parameters : 1 y 5y + 6y = 2e x Answer: y = e x + C 1 e 2x + C 2 e 3x 2 y y = sin 2 x 3 y 4y + 4y = e2x 1 + x 4 y + 4y + 4y = x 2 e 2x ; Answer: y = e 2x ln x + C 1 e 2x + C 2 x e 2x 5 y 2y + y = ex 1 + x 2 ; Answer: y = 1 2 ex ln(1 + t 2 ) + x e x tan 1 x + C 1 e x + C 2 x e x Section 1 Second-Order Linear ODEs 35 / 69

37 1.7 Euler Equations Euler Equations are equations of the type x 2 y + b x y + c y = R(x) ( ) where x > 0, and b and c are constants. NOTE: This is a linear second-order ODE. The coefficients are NOT constant, but 1.1, 1.4 and 1.6 apply A simple TRICK reduces this ODE to the constant-coefficient case: Now, a calculation using d dx = dt d dx = 1 x d dt and then (CHECK!!!) d 2 y dt 2 Let t = ln x x = e t dx d dt and dt + (b 1) dy dt + c y = R(e t ) dx = d dx ln x = 1 x yields Section 1 Second-Order Linear ODEs 36 / 69

38 NOTE: depending on R(x), it may be convenient to apply this trick to the original nonhomogeneous equation or to its homogeneous version only EXAMPLES: 1 Find general solutions for the following homogeneous Euler equations: 1 x 2 y 7xy + 15y = 0 Answer: y(x) = C 1 x 5 + C 2 x 3 (see Problems for 1.1). 2 x 2 y + xy + y = 0 Answer: y(x) = C 1 cos(ln x) + C 2 sin(ln x). Section 1 Second-Order Linear ODEs 37 / 69

39 NOTE: depending on R(x), it may be convenient to apply the substitution t = ln x to the original nonhomogeneous equation (as we shall demonstrate in Examples ) or to its homogeneous version only (as we shall show in Example 2.3; then variation of parameters may be used...) EXAMPLES: 2 Find general solutions for the following nonhomogeneous Euler equations: 1 x 2 y 7xy + 15y = x 2 Answer: y(x) = 1 3 x 2 + C 1 x 5 + C 2 x 3. 2 x 2 y 2y = 3x 2 1 Answer: y(x) = x 2 ln x + C 1 x 2 + C 2 x x 2 y 2xy + 2y = 4x 2 Answer: y(x) = 4x 2 ln x + C 1 x + C 2 x 2. Solution: Here we shall use the substitution t = ln x find a solution of the corresponding homogeneous equation. Then we shall use variation of parameters to find a particular solution of the nonhomogeneous equation. (Hint: don t forget to rewrite as y +... for variation of parameters). Section 1 Second-Order Linear ODEs 38 / 69

40 Problems for Find general solutions for the following homogeneous Euler equations: 1 x 2 y + 4xy + 2y = 0 Answer: y(x) = C 1 x 1 + C 2 x 2. 2 x 2 y 4xy 6y = 0 Answer: y(x) = C 1 x 6 + C 2 x 1. 3 x 2 y + 3xy y = 0 Answer: y(x) = C 1 x 1 cos( 1 2 ln x) + C 2x 1 sin( 1 2 ln x). 4 x 2 y + 5xy + 4y = 0 Answer: y(x) = C 1 x 2 + C 2 x 2 ln x. 5 x 2 y xy + 5y = 0 Answer: y(x) = C 1 x cos(2 ln x) + C 2 x sin(2 ln x). 6 x 2 y + 7xy + 10y = 0 Answer: y(x) = C 1 x 3 cos(ln x) + C 2 x 3 sin(ln x). Section 1 Second-Order Linear ODEs 39 / 69

41 2 Find general solutions for the following nonhomogeneous Euler equations: 1 x 2 y + 4xy + 2y = x 3 5 Answer: y(x) = 1 20 x C 1x 1 + C 2 x 2. 2 x 2 y 4xy 6y = 3 sin(2 ln x) Answer: y(x) = cos(2 ln x) 20 sin(2 ln x) + C 1x 6 + C 2 x 1. 3 x 2 y 3xy + 4 y = x 2 ln x Answer: y(x) = 1 6 x 2 (ln x) 3 + C 1 x 2 + C 2 x 2 ln x. 3 Find general solutions for the following nonhomogeneous Euler equations using variation of parameters. 1 x 2 y 7xy + 15y = x 2 Answer: y(x) = 1 3 x 2 + C 1 x 5 + C 2 x 3. 2 x 2 y + 4xy + 2y = x 3 5 Answer: y(x) = 1 20 x C 1x 1 + C 2 x 2. Section 1 Second-Order Linear ODEs 40 / 69

42 Section 3 Numerical Solution of First-Order ODEs Consider the Initial-Value Problem y = f (x, y), y(x 0 ) = y 0 ( ) this can be interpreted as that at each x, the slope of the curve y(x) is f (x, y) If we can NOT solve ( ) explicitly, we can find approximate values y n y(x n ) at the points x n = x 0 + n h: Section 3 Numerical Solution of First-Order ODEs 41 / 69

43 3.1 Euler Method Integrate y = f (x, y) over the interval [x n, x n+1 ]: xn+1 x n y dx }{{} = x n+1 x n =y(x) x n+1 =y(x n+1 ) y(x n ) xn f (x, y) dx So y(x n+1 ) y(x n ) = x n+1 x n f (x, y(x)) dx h f (x n, y(x n )) here we used the Rectangular Rule of Numerical Integration Now, we replace the exact values y(x n ) by approximate values y n, and also replace by =, and so get the definition of a numerical method: y(x n+1 ) y n+1 = y n + h f (x n, y n ) ( ) called the Euler Method. NOTE: one can rewrite ( ) as y(x 0 ) = y 0 (use Initial Condition) y(x 0 + h) y 1 = y 0 + h f (x 0, y 0 ) y(x 0 + 2h) y 2 = y 1 + h f (x 1, y 1 ) y(x 0 + 3h) y 3 = y 2 + h f (x 2, y 2 ) i.e. the computation goes as y 0 y 1 y 2 y 3 Section 3 Numerical Solution of First-Order ODEs 42 / 69

44 INTERPRETATION: note that y n+1 y n x n+1 x n = y n+1 y n h = f (x n, y n ), }{{} by the Euler method ( ) i.e. the slope of the computed solution on each (x n, x n+1 ) is f (x n, y n ): Section 3 Numerical Solution of First-Order ODEs 43 / 69

45 Example: consider the IVP: y = x + y subject to y(0) = 0. Exercise: show that the exact solution is y(x) = e x x 1. Euler Method: Choose h = 0.2 so x n = x 0 + h n = 0.2 n ; y(0) = y 0 = 0 Using f (x, y) = x + y one gets y(x n+1 ) = y(0.2[n + 1]) y n+1 = y n + h f (x n, y n ) = y n (x n + y n ) n x n = 0.2n computed y n exact y(x n ) error y(x n ) y n Error y(x n ) y n : at each step, the Euler method picks up an error of order h 2, but the error accumulate from step to step, so at x = x n, the error is of order n h 2 = (nh) h = x n h h. }{{} length of the interval Section 3 Numerical Solution of First-Order ODEs 44 / 69

46 Problems for Use the Euler method with the following step sizes h to approximate y(0.4) given that y = cos y and y(0) = 0: 1 h = 0.2 Answer: y 2 = h = 0.1 Answer: y 4 = h = 0.05 Answer: y 8 = Section 3 Numerical Solution of First-Order ODEs 45 / 69

47 3.2 The improved Euler Method (Predictor-Corrector) y(x n+1 ) y(x n ) = x n+1 x n f (x, y(x)) dx 1 2 }{{} h [ f (x n, y(x n )) + f (x n+1, y(x n+1 )) ] Recall from 23.1 here we use the Trapezoidal Rule of Numerical Integration. If we replace the exact values y(x n ) by approximate values y n, and also replace by =, then we get a numerical method: y n+1 = y n h [ f (x n, y n ) + f (x n+1, y n+1 ) ]. This method is expected to be more accurate that the Euler method. However, we have the unknown value y n+1 on the right-hand side!! To get an easier-to-implement method, replace this y n+1 by the Euler approximation from 23.1 (that we now denote yn+1 ), so we arrive at Improved Euler Method y(x 0 ) = y 0 ; y n+1 = y n + h f (x n, y n ) = predictor stage; y(x n+1 ) y n+1 = y n h [ f (x n, y n ) + f (x n+1, y n+1 )] = corrector stage Section 3 Numerical Solution of First-Order ODEs 46 / 69

48 Example: consider the IVP: y = x + y subject to y(0) = 0. Improved Euler Method: Choose h = 0.2 so x n = x 0 + h n = 0.2 n. y(0) = y 0 = 0 Note that f (x, y) = x + y so yn+1 = y n + h f (x n, y n ) = y n (x n + y n ) Next we get: y(x n+1 ) y n+1 = y n h [ f (x n, y n ) + f (x n+1, y n+1 )] = y n [ (x n + y n ) + (x n+1 + y n+1 )] n x n predictor yn corrected y n exact y(x n ) error y(x n ) y n Section 3 Numerical Solution of First-Order ODEs 47 / 69

49 Error y(x n ) y n : at each step, the Improved Euler method picks up an error of order h 3, but the error accumulate from step to step, so at x = x n, the error is of order n h 3 = (nh) h 2 = x n h 2 h 2. }{{} length of the interval E.g.: at x n = 1 the error is of order x n h 2 = 1 h 2 = h 2 (x n = 1 is a representative choice as it s not too big, not too small). So the Improved Euler Method is a second-order method (while the Euler method of 23.1 is a first-order method) In real-world applications, one uses more accurate methods, e.g., Fourth-Order Runge-Kutta methods (see the prime text for further details). Its error at x = x n is of order n h 5 = (nh) h 4 = x n h 4 ; }{{} length of the interval in particular, at x n = 1, the error is of order h Section 3 Numerical Solution of First-Order ODEs 48 / 69

50 Another Example: consider the IVP: y = x y subject to y(0) = 1 on [0, 1] with the step size h = 0.2 using the Euler and the Improved Euler methods. Exercise: show that the exact solution is y(x) = x e x. Solution: We have f (x, y) = x y, x 0 = 0, and y(0) = y 0 = 1 also h = 0.2 so x n = x 0 + h n = 0.2 n for n = 0,, 5. (a) Euler: y(x n+1 ) y n+1 = y n + h f (x n, y n ), So y n+1 = y n (x n y n ) subject to y 0 = 1. (b) Improved Euler: y n+1 = y n + h f (x n, y n ) = y n (x n y n ) (as above). Next we get: y(x n+1 ) y n+1 = y n h [ f (x n, y n ) + f (x n+1, y n+1 )] = y n [ ( x n }{{} 0.2 n y n ) + ( x }{{} n+1 yn+1 )] 0.2 (n+1) Section 3 Numerical Solution of First-Order ODEs 49 / 69

51 Numerical Results: Euler Improved Euler n x n y n error y(x n ) y n y n error y(x n ) y n } {{ }} {{} the error is over 10% the error is less than 1%! Section 3 Numerical Solution of First-Order ODEs 50 / 69

52 Problems for Use the improved Euler method with the following step sizes h to approximate y(0.4) given that y = cos y and y(0) = 0: 1 h = 0.2 Answer: y 2 = h = 0.1 Answer: y 4 = h = 0.05 Answer: y 8 = Write down the iterative scheme of the Improved Euler method applied to the initial value problem y = x + y 2, y(0) = 2 with step size h = 0.2. Evaluate the approximations of y(0.2) and y(0.4) obtained using this scheme. Answer: y(0.2) and y(0.4) Write down the iterative scheme of the Improved Euler method applied to the initial value problem y = x 3 + y, y(0) = 3 with step size h = 0.1. Evaluate the approximations of y(0.1) and y(0.2) obtained using this scheme. Answer: y(0.2) Section 3 Numerical Solution of First-Order ODEs 51 / 69

53 4 Write down the iterative scheme of the Improved Euler method applied to the initial value problem y = ln(2y x), y(0) = 2 with step size h = 0.2. Evaluate the approximations of y(0.2) and y(0.4) obtained using this scheme. Answer: y(0.4) Write down the iterative scheme of the Improved Euler method applied to the initial value problem y = e x y 2, y(0) = 1 with step size h = 0.1. Evaluate the approximations of y(0.1), y(0.2) and y(0.3) obtained using this scheme. Answer: y(0.3) Write down the iterative scheme of the Improved Euler method applied to the initial value problem y = e xy, y(0) = 0 with step size h = 0.2. Evaluate the approximations of y(0.2), y(0.4) and y(0.6) obtained using this scheme. Answer: y(0.6) Section 3 Numerical Solution of First-Order ODEs 52 / 69

54 7 Write down the iterative scheme of the Improved Euler method applied to the initial value problem y = x y 2, y(0) = 2 with step size h = 0.1. Evaluate the approximations of y(0.1), y(0.2) and y(0.3) obtained using this scheme. Answer: y(0.3) Write down the iterative scheme of the Improved Euler method applied to the initial value problem y = cos(x + y), y(0) = 0 with step size h = 0.1. Evaluate the approximations of y(0.1) and y(0.2) obtained using this scheme. Answer: y(0.2) Section 3 Numerical Solution of First-Order ODEs 53 / 69

55 Section 2 Boundary Value Problems 2.1 Examples Consider a second-order linear ODE y + p(x) y + q(x) y = R(x) ( ) RECALL: A particular solution is found by obtaining values for the 2 arbitrary constants in its general solution from 2 initial or boundary conditions, e.g., y(x 0 ) = A, y (x 0 ) = B Initial conditions y(x 0 ) = A, y(x 1 ) = B Boundary conditions NOTE: An Initial-Value Problem (i.e. an ODE subject to initial conditions) typically has a unique solution. For Boundary-Value Problems (i.e. and ODE subject to boundary conditions) the situation is much more complex. We shall illustrate this considering a few examples. Section 2 Boundary Value Problems 54 / 69

56 Boundary Conditions Terminology Typically there are 2 boundary conditions for a second-order ODE: at some x 0 and x 1 > x0. There are 3 types of boundary conditions: y(x k ) = A y (x k ) = A αy (x k ) + βy(x k ) = A called a Dirichlet boundary condition called a Neumann boundary condition called a mixed boundary condition Section 2 Boundary Value Problems 55 / 69

57 Example 1: [Homogeneous ODE] y + y = 0 (it general solution is y(x) = C 1 cos x + C 2 sin x) subject to the following boundary conditions 1 y(0) = y(1) = 0 Answer: UNIQUE solution y(x) = 0 2 y(0) = y(π) = 0 Answer: y(x) = C sin x ( solutions) 3 y(0) = 2, y(π) = 0 Answer: NO solutions 4 y (0) = y( π 2 ) = 0 Answer: y(x) = C cos x ( solutions) 5 y (0) = y( π 2 + ε) = 0 for ε 0, 0 Answer: UNIQUE solution y(x) = 0 Section 2 Boundary Value Problems 56 / 69

58 Example 1 : [NON-Homogeneous ODE] y + y = 3 (it general solution is y(x) = 3 + C 1 cos x + C 2 sin x) subject to the following boundary conditions 1 y(0) = y(1) = 0 Answer: UNIQUE solution y(x) = 3 cos x 3 cos 1 sin 1 sin x 2 y(0) = y(π) = 0 Answer: NO solutions 3 y(0) = 2, y(π) = 0 Answer: NO solutions 4 y (0) = y( π 2 ) = 0 Answer: NO solutions 5 y (0) = y( π 2 + ε) = 0 for ε 0, 0 Answer: UNIQUE solution... Section 2 Boundary Value Problems 57 / 69

59 Example 2: [Another Homogeneous ODE] y 2y 3y = 0 (it general solution is y(x) = C 1 e x + C 2 e 3x ) subject to the following boundary conditions 1 y(0) = 5, y(+ ) = 0 Answer: UNIQUE solution y(x) = 5e x 2 y (0) = 3, y(+ ) = 0 Answer: UNIQUE solution y(x) = 3e x 3 y (0) 2y(0) = 7, y (+ ) = 0 Answer: UNIQUE solution y(x) = 7 3 e x Section 2 Boundary Value Problems 58 / 69

60 Example 3: [similar-looking Homogeneous ODE] y + 4y + 5y = 0 (it general solution is y(x) = C 1 e 2x cos x + C 2 e 2x sin x) subject to the following boundary conditions 1 y(0) = 5, y(+ ) = 0 Answer: ( solutions) y(x) = 5e 2x cos x + Ce 2x sin x 2 y (0) = 0, y(+ ) = 0 Answer: ( solutions) y(x) = Ce 2x [cos x + 2 sin x] 3 y (0) 2y(0) = 7, y (+ ) = 0 Answer: ( solutions) y(x) = Ce 2x cos x + (7 3C)e 2x sin x Section 2 Boundary Value Problems 59 / 69

61 Problems for Solve all above examples in detail. 2 (I) Find general solutions of the following differential equations. (II)Describe all solutions of each ODE subject to the given boundary conditions. How many solutions does this boundary value problem have? 1 y + 5y + 6y = 0 subject to y (0) = 0, y (+ ) = 0 2 y + 5y + 6y = 3e 2x subject to y (0) = 0, y(+ ) = 0 3 y + 4y = 3e 2x subject to y (0) = 0, y(+ ) = y + y = 0 subject to y (0) = y (π) = 0 5 y + 4y = 0 subject to y (0) = y (π) = 0 6 y + 5y = 0 subject to y (0) = y (π) = 0 7 y + 9y = 0 subject to y (0) = y (π) = 0 Section 2 Boundary Value Problems 60 / 69

62 Answers Problems for (I) Find general solutions of the following differential equations. (II)Describe all solutions of each ODE subject to the given boundary conditions. How many solutions does this boundary value problem have? 1 y + 5y + 6y = 0, y (0) = y (+ ) = 0 Answer: y(x) = C [ e 2x 2 3 e 3x] 2 y + 5y + 6y = 3e 2x, y (0) = y(+ ) = 0 Answer: y(x) = 3x e 2x e 3x + C [ e 2x 2 3 e 3x] 3 y + 4y = 3e 2x, y (0) = y(+ ) = 0 Answer: NO solutions y + y = 0, y (0) = y (π) = 0 Answer: y(x) = C 1 cos x 5 y + 4y = 0, y (0) = y (π) = 0 Answer: y(x) = C 1 cos(2x) 6 y + 5y = 0, y (0) = y (π) = 0 Answer: y(x) = 0 7 y + 9y = 0, y (0) = y (π) = 0 Answer: y(x) = C 1 cos(3x) Section 2 Boundary Value Problems 61 / 69

63 2.2 BVPs with λ In this section, we shall consider Boundary Value Problems that involve a parameter λ. TASK: solve the given BVP (= ODE + 2 boundary conditions) for all real values of λ NOTE: such problems are called Eigenproblems; they are very important in the theory of Partial Differential Equations. For each real λ there is at least one solution y(x) = 0, called the trivial solution. For certain values of λ, this solution is NOT unique and there are other, nontrivial solutions. Such values of λ are called Eigenvalues, while the corresponding nontrivial solutions are called Eigenfunctions Section 2 Boundary Value Problems 62 / 69

64 EXAMPLE: (I) For each value of λ, describe all solutions of the following boundary value problem: y + λy = 0 subject to y(0) = y(π) = 0 (II) Specify the values of λ for which nontrivial solutions occur. HINT: one typically considers 3 cases λ = 0, λ < 0 and λ > 0... ANSWER: (I) For λ = n 2, where n = 1, 2, 3,, the general solution is y(x) = C sin(nx); For all other values of λ, there is a unique solution y(x) = 0. (II) Nontrivial solutions occur for λ = n 2, where n = 1, 2, 3,. Section 2 Boundary Value Problems 63 / 69

65 Problems for 2.2 TASK: (I) For each value of λ, describe all solutions of each of the following boundary value problems. (II) Specify the values of λ for which nontrivial solutions occur. 1 y + λy = 0 subject to y(0) = y (1) = 0 2 y + λy = 0 subject to y (0) = y (1) = 0 3 y + λy = 0 subject to y (0) = y(π) = 0 4 y + λy = 0 subject to y(0) = y(1) = y + λy = 0 subject to y( π) = y(π) and y ( π) = y (π) 6 y + λy = 0 subject to y (0) = 0 and y (1) + λ y(1) = 0 Section 2 Boundary Value Problems 64 / 69

66 1 y + λy = 0 subject to y(0) = y (1) = 0 ANSWER: (I) For λ = ( π 2 + πn)2, where n = 0, 1, 2, 3,, the general solution is y(x) = C sin([ π 2 + πn]x); For all other values of λ, there is a unique solution y(x) = 0. (II) Nontrivial solutions occur for λ = ( π 2 + πn)2, where n = 0, 1, 2, 3,. 2 y + λy = 0 subject to y (0) = y (1) = 0 ANSWER: (I) For λ = 0 the general solution is y(x) = C; for λ = (πn) 2, where n = 1, 2, 3,, the general solution is y(x) = C cos(πnx); For all other values of λ, there is a unique solution y(x) = 0. (II) Nontrivial solutions occur for λ = 0 and λ = (πn) 2, where n = 1, 2, 3,. Section 2 Boundary Value Problems 65 / 69

67 3 y + λy = 0 subject to y (0) = y(π) = 0 ANSWER: (I) For λ = ( n)2, where n = 0, 1, 2, 3,, the general solution is y(x) = C cos([ n]x); For all other values of λ, there is a unique solution y(x) = 0. (II) Nontrivial solutions occur for λ = ( n)2, where n = 0, 1, 2, 3,. 4 y + λy = 0 subject to y(0) = y(1) = 0 ANSWER: (I) For λ = (πn) 2, where n = 1, 2, 3,, the general solution is y(x) = C sin(πnx); For all other values of λ, there is a unique solution y(x) = 0. (II) Nontrivial solutions occur for λ = (πn) 2, where n = 1, 2, 3,. Section 2 Boundary Value Problems 66 / 69

68 5 y + λy = 0 subject to y( π) = y(π) and y ( π) = y (π) ANSWER: (I) For λ = 0 the general solution is y(x) = C; for λ = n 2, where n = 1, 2, 3,, the general solution is y(x) = C 1 cos(nx) + C 2 sin(nx); For all other values of λ, there is a unique solution y(x) = 0. (II) Nontrivial solutions occur for λ = 0 and λ = n 2, where n = 1, 2, 3,. 6 y + λy = 0 subject to y (0) = 0 and y (1) + λ y(1) = 0 ANSWER: (I) For λ = 0 the general solution is y(x) = C; for λ = [ π 4 + πn]2, where n = 1, 2, 3,, the general solution is y(x) = C cos([ π 4 + πn]x); For all other values of λ, there is a unique solution y(x) = 0. (II) Nontrivial solutions occur for λ = 0 and λ = [ π 4 + πn]2, where n = 1, 2, 3,. Section 2 Boundary Value Problems 67 / 69

69 FINAL EXAM Q 3+4 PROBLEM TYPES that may be given: Euler Equations ( 1.7 combined with ) Variation of Parameters ( 1.6 combined with ) Boundary-Value Problem / Initial-Value Problem (All of the above combined with 2.1 / given initial conditions.) For each value of λ, describe all solutions of a given boundary value problem. Specify the values of λ for which nontrivial solutions occur. ( 2.2 combined with ) Euler method / Improved Euler method ( 3.1 / 3.2) FINAL EXAM Q / 69

70 FINAL EXAM Q 3+4 What formulas will be given USEFUL FORMULAE: The method of Variation of Parameters for the equation y + p(x)y + q(x)y = R(x) yields a particular solution in the form u y 1 + v y 2, where y 1 and y 2 are linearly independent solutions of the corresponding homogeneous equation, while u and v satisfy u y 1 + v y 2 = 0, u y 1 + v y 2 = R(x). Method of Undetermined Coefficients Right-Hand Side Possible Particular Solution α A α x + β A x + B α x 2 + β x + γ A x 2 + B x + C α e kx A e kx (α + β x) e kx (A x + B) e kx α cos(kx) + β sin(kx) A cos(kx) + B sin(kx) (α x + β) cos(kx) + (γ x + δ) sin(kx) (A x + B) cos(kx) + (C x + D) sin(kx) FINAL EXAM Q / 69

2. Second-order Linear Ordinary Differential Equations

2. Second-order Linear Ordinary Differential Equations Advanced Engineering Mathematics 2. Second-order Linear ODEs 1 2. Second-order Linear Ordinary Differential Equations 2.1 Homogeneous linear ODEs 2.2 Homogeneous linear ODEs with constant coefficients

More information

dx n a 1(x) dy

dx n a 1(x) dy HIGHER ORDER DIFFERENTIAL EQUATIONS Theory of linear equations Initial-value and boundary-value problem nth-order initial value problem is Solve: a n (x) dn y dx n + a n 1(x) dn 1 y dx n 1 +... + a 1(x)

More information

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

Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems Shawn D. Ryan Spring 2012 Last Time: We finished Chapter 9: Nonlinear Differential Equations and Stability. Now

More information

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner:

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner: M ath 0 1 E S 1 W inter 0 1 0 Last Updated: January, 01 0 Solving Second Order Linear ODEs Disclaimer: This lecture note tries to provide an alternative approach to the material in Sections 4. 4. 7 and

More information

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

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N). Section 3.4. Second Order Nonhomogeneous Equations y + p(x)y + q(x)y = f(x) (N) The corresponding homogeneous equation y + p(x)y + q(x)y = 0 (H) is called the reduced equation of (N). 1 General Results

More information

3.4.1 Distinct Real Roots

3.4.1 Distinct Real Roots Math 334 3.4. CONSTANT COEFFICIENT EQUATIONS 34 Assume that P(x) = p (const.) and Q(x) = q (const.), so that we have y + py + qy = 0, or L[y] = 0 (where L := d2 dx 2 + p d + q). (3.7) dx Guess a solution

More information

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai APPLIED MATHEMATICS Part 1: Ordinary Differential Equations Contents 1 First Order Differential Equations 3 1.1 Basic Concepts and Ideas................... 4 1.2 Separable Differential Equations................

More information

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation Section 3.4. Second Order Nonhomogeneous Equations y + p(x)y + q(x)y = f(x) (N) The corresponding homogeneous equation y + p(x)y + q(x)y = 0 (H) is called the reduced equation of (N). 1 General Results

More information

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

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1) Chapter 3 3 Introduction Reading assignment: In this chapter we will cover Sections 3.1 3.6. 3.1 Theory of Linear Equations Recall that an nth order Linear ODE is an equation that can be written in the

More information

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity 1 Second Order Ordinary Differential Equations 1.1 The harmonic oscillator Consider an ideal pendulum as shown below. θ l Fr mg l θ is the angular acceleration θ is the angular velocity A point mass m

More information

Chapter 4. Higher-Order Differential Equations

Chapter 4. Higher-Order Differential Equations Chapter 4 Higher-Order Differential Equations i THEOREM 4.1.1 (Existence of a Unique Solution) Let a n (x), a n,, a, a 0 (x) and g(x) be continuous on an interval I and let a n (x) 0 for every x in this

More information

Math 3313: Differential Equations Second-order ordinary differential equations

Math 3313: Differential Equations Second-order ordinary differential equations Math 3313: Differential Equations Second-order ordinary differential equations Thomas W. Carr Department of Mathematics Southern Methodist University Dallas, TX Outline Mass-spring & Newton s 2nd law Properties

More information

Second-Order Linear ODEs

Second-Order Linear ODEs C0.tex /4/011 16: 3 Page 13 Chap. Second-Order Linear ODEs Chapter presents different types of second-order ODEs and the specific techniques on how to solve them. The methods are systematic, but it requires

More information

Differential Equations

Differential Equations Differential Equations A differential equation (DE) is an equation which involves an unknown function f (x) as well as some of its derivatives. To solve a differential equation means to find the unknown

More information

Second-Order Linear ODEs

Second-Order Linear ODEs Chap. 2 Second-Order Linear ODEs Sec. 2.1 Homogeneous Linear ODEs of Second Order On pp. 45-46 we extend concepts defined in Chap. 1, notably solution and homogeneous and nonhomogeneous, to second-order

More information

6 Second Order Linear Differential Equations

6 Second Order Linear Differential Equations 6 Second Order Linear Differential Equations A differential equation for an unknown function y = f(x) that depends on a variable x is any equation that ties together functions of x with y and its derivatives.

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS Chapter 1 Introduction and Basic Terminology Most of the phenomena studied in the sciences and engineering involve processes that change with time. For example, it is well known

More information

Degree Master of Science in Mathematical Modelling and Scientific Computing Mathematical Methods I Thursday, 12th January 2012, 9:30 a.m.- 11:30 a.m.

Degree Master of Science in Mathematical Modelling and Scientific Computing Mathematical Methods I Thursday, 12th January 2012, 9:30 a.m.- 11:30 a.m. Degree Master of Science in Mathematical Modelling and Scientific Computing Mathematical Methods I Thursday, 12th January 2012, 9:30 a.m.- 11:30 a.m. Candidates should submit answers to a maximum of four

More information

17.8 Nonhomogeneous Linear Equations We now consider the problem of solving the nonhomogeneous second-order differential

17.8 Nonhomogeneous Linear Equations We now consider the problem of solving the nonhomogeneous second-order differential ADAMS: Calculus: a Complete Course, 4th Edition. Chapter 17 page 1016 colour black August 15, 2002 1016 CHAPTER 17 Ordinary Differential Equations 17.8 Nonhomogeneous Linear Equations We now consider the

More information

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

2. Determine whether the following pair of functions are linearly dependent, or linearly independent: Topics to be covered on the exam include: Recognizing, and verifying solutions to homogeneous second-order linear differential equations, and their corresponding Initial Value Problems Recognizing and

More information

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012 Polytechnic Institute of NYU MA Final Practice Answers Fall Studying from past or sample exams is NOT recommended. If you do, it should be only AFTER you know how to do all of the homework and worksheet

More information

17.2 Nonhomogeneous Linear Equations. 27 September 2007

17.2 Nonhomogeneous Linear Equations. 27 September 2007 17.2 Nonhomogeneous Linear Equations 27 September 2007 Nonhomogeneous Linear Equations The differential equation to be studied is of the form ay (x) + by (x) + cy(x) = G(x) (1) where a 0, b, c are given

More information

A Brief Review of Elementary Ordinary Differential Equations

A Brief Review of Elementary Ordinary Differential Equations A A Brief Review of Elementary Ordinary Differential Equations At various points in the material we will be covering, we will need to recall and use material normally covered in an elementary course on

More information

Introduction to Differential Equations

Introduction to Differential Equations Chapter 1 Introduction to Differential Equations 1.1 Basic Terminology Most of the phenomena studied in the sciences and engineering involve processes that change with time. For example, it is well known

More information

Section 4.7: Variable-Coefficient Equations

Section 4.7: Variable-Coefficient Equations Cauchy-Euler Equations Section 4.7: Variable-Coefficient Equations Before concluding our study of second-order linear DE s, let us summarize what we ve done. In Sections 4.2 and 4.3 we showed how to find

More information

Introductory Differential Equations

Introductory Differential Equations Introductory Differential Equations Lecture Notes June 3, 208 Contents Introduction Terminology and Examples 2 Classification of Differential Equations 4 2 First Order ODEs 5 2 Separable ODEs 5 22 First

More information

y 2y = 4 x, Name Form Solution method

y 2y = 4 x, Name Form Solution method An Introduction to Higher-Order Differential Equations Up to this point in the class, we have only specifically studied solution techniques for first-order differential equations, i.e. equations whose

More information

Physics 250 Green s functions for ordinary differential equations

Physics 250 Green s functions for ordinary differential equations Physics 25 Green s functions for ordinary differential equations Peter Young November 25, 27 Homogeneous Equations We have already discussed second order linear homogeneous differential equations, which

More information

Introduction to First Order Equations Sections

Introduction to First Order Equations Sections A B I L E N E C H R I S T I A N U N I V E R S I T Y Department of Mathematics Introduction to First Order Equations Sections 2.1-2.3 Dr. John Ehrke Department of Mathematics Fall 2012 Course Goals The

More information

SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS

SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS A second-order linear differential equation has the form 1 Px d y dx Qx dx Rxy Gx where P, Q, R, and G are continuous functions. Equations of this type arise

More information

Handbook of Ordinary Differential Equations

Handbook of Ordinary Differential Equations Handbook of Ordinary Differential Equations Mark Sullivan July, 28 i Contents Preliminaries. Why bother?...............................2 What s so ordinary about ordinary differential equations?......

More information

MA22S3 Summary Sheet: Ordinary Differential Equations

MA22S3 Summary Sheet: Ordinary Differential Equations MA22S3 Summary Sheet: Ordinary Differential Equations December 14, 2017 Kreyszig s textbook is a suitable guide for this part of the module. Contents 1 Terminology 1 2 First order separable 2 2.1 Separable

More information

A( x) B( x) C( x) y( x) 0, A( x) 0

A( x) B( x) C( x) y( x) 0, A( x) 0 3.1 Lexicon Revisited The nonhomogeneous nd Order ODE has the form: d y dy A( x) B( x) C( x) y( x) F( x), A( x) dx dx The homogeneous nd Order ODE has the form: d y dy A( x) B( x) C( x) y( x), A( x) dx

More information

Ma 221 Final Exam Solutions 5/14/13

Ma 221 Final Exam Solutions 5/14/13 Ma 221 Final Exam Solutions 5/14/13 1. Solve (a) (8 pts) Solution: The equation is separable. dy dx exy y 1 y0 0 y 1e y dy e x dx y 1e y dy e x dx ye y e y dy e x dx ye y e y e y e x c The last step comes

More information

Additional Homework Problems

Additional Homework Problems Additional Homework Problems These problems supplement the ones assigned from the text. Use complete sentences whenever appropriate. Use mathematical terms appropriately. 1. What is the order of a differential

More information

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

ODE. Philippe Rukimbira. Department of Mathematics Florida International University PR (FIU) MAP / 92 ODE Philippe Rukimbira Department of Mathematics Florida International University PR (FIU) MAP 2302 1 / 92 4.4 The method of Variation of parameters 1. Second order differential equations (Normalized,

More information

Advanced Eng. Mathematics

Advanced Eng. Mathematics Koya University Faculty of Engineering Petroleum Engineering Department Advanced Eng. Mathematics Lecture 6 Prepared by: Haval Hawez E-mail: haval.hawez@koyauniversity.org 1 Second Order Linear Ordinary

More information

CLTI Differential Equations (3A) Young Won Lim 6/4/15

CLTI Differential Equations (3A) Young Won Lim 6/4/15 CLTI Differential Equations (3A) Copyright (c) 2011-2015 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version

More information

Math 5440 Problem Set 7 Solutions

Math 5440 Problem Set 7 Solutions Math 544 Math 544 Problem Set 7 Solutions Aaron Fogelson Fall, 13 1: (Logan, 3. # 1) Verify that the set of functions {1, cos(x), cos(x),...} form an orthogonal set on the interval [, π]. Next verify that

More information

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

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N). Section 3.4. Second Order Nonhomogeneous Equations y + p(x)y + q(x)y = f(x) (N) The corresponding homogeneous equation y + p(x)y + q(x)y = 0 (H) is called the reduced equation of (N). 1 General Results

More information

Math Ordinary Differential Equations Sample Test 3 Solutions

Math Ordinary Differential Equations Sample Test 3 Solutions Solve the following Math - Ordinary Differential Equations Sample Test Solutions (i x 2 y xy + 8y y(2 2 y (2 (ii x 2 y + xy + 4y y( 2 y ( (iii x 2 y xy + y y( 2 y ( (i The characteristic equation is m(m

More information

Section Mass Spring Systems

Section Mass Spring Systems Asst. Prof. Hottovy SM212-Section 3.1. Section 5.1-2 Mass Spring Systems Name: Purpose: To investigate the mass spring systems in Chapter 5. Procedure: Work on the following activity with 2-3 other students

More information

Series Solution of Linear Ordinary Differential Equations

Series Solution of Linear Ordinary Differential Equations Series Solution of Linear Ordinary Differential Equations Department of Mathematics IIT Guwahati Aim: To study methods for determining series expansions for solutions to linear ODE with variable coefficients.

More information

Lecture Notes on. Differential Equations. Emre Sermutlu

Lecture Notes on. Differential Equations. Emre Sermutlu Lecture Notes on Differential Equations Emre Sermutlu ISBN: Copyright Notice: To my wife Nurten and my daughters İlayda and Alara Contents Preface ix 1 First Order ODE 1 1.1 Definitions.............................

More information

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

June 2011 PURDUE UNIVERSITY Study Guide for the Credit Exam in (MA 262) Linear Algebra and Differential Equations June 20 PURDUE UNIVERSITY Study Guide for the Credit Exam in (MA 262) Linear Algebra and Differential Equations The topics covered in this exam can be found in An introduction to differential equations

More information

1.4 Techniques of Integration

1.4 Techniques of Integration .4 Techniques of Integration Recall the following strategy for evaluating definite integrals, which arose from the Fundamental Theorem of Calculus (see Section.3). To calculate b a f(x) dx. Find a function

More information

Lecture IX. Definition 1 A non-singular Sturm 1 -Liouville 2 problem consists of a second order linear differential equation of the form.

Lecture IX. Definition 1 A non-singular Sturm 1 -Liouville 2 problem consists of a second order linear differential equation of the form. Lecture IX Abstract When solving PDEs it is often necessary to represent the solution in terms of a series of orthogonal functions. One way to obtain an orthogonal family of functions is by solving a particular

More information

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

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems. Review Outline To review for the final, look over the following outline and look at problems from the book and on the old exam s and exam reviews to find problems about each of the following topics.. Basics

More information

Math Assignment 5

Math Assignment 5 Math 2280 - Assignment 5 Dylan Zwick Fall 2013 Section 3.4-1, 5, 18, 21 Section 3.5-1, 11, 23, 28, 35, 47, 56 Section 3.6-1, 2, 9, 17, 24 1 Section 3.4 - Mechanical Vibrations 3.4.1 - Determine the period

More information

Higher-order ordinary differential equations

Higher-order ordinary differential equations Higher-order ordinary differential equations 1 A linear ODE of general order n has the form a n (x) dn y dx n +a n 1(x) dn 1 y dx n 1 + +a 1(x) dy dx +a 0(x)y = f(x). If f(x) = 0 then the equation is called

More information

Applied Math for Engineers

Applied Math for Engineers Applied Math for Engineers Ming Zhong Lecture 15 March 28, 2018 Ming Zhong (JHU) AMS Spring 2018 1 / 28 Recap Table of Contents 1 Recap 2 Numerical ODEs: Single Step Methods 3 Multistep Methods 4 Method

More information

Chapter 2 Second-Order Linear ODEs

Chapter 2 Second-Order Linear ODEs Chapter 2 Second-Order Linear ODEs Advanced Engineering Mathematics Wei-Ta Chu National Chung Cheng University wtchu@cs.ccu.edu.tw 1 2.1 Homogeneous Linear ODEs of Second Order 2 Homogeneous Linear ODEs

More information

Second Order ODE's (2A) Young Won Lim 5/5/15

Second Order ODE's (2A) Young Won Lim 5/5/15 Second Order ODE's (2A) Copyright (c) 2011-2015 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or

More information

Solutions to the Sample Problems for the Final Exam UCLA Math 135, Winter 2015, Professor David Levermore

Solutions to the Sample Problems for the Final Exam UCLA Math 135, Winter 2015, Professor David Levermore Solutions to the Sample Problems for the Final Exam UCLA Math 135, Winter 15, Professor David Levermore Every sample problem for the Midterm exam and every problem on the Midterm exam should be considered

More information

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

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 MAE 305 Assignment #3 Solutions Problem 9, Page 8 The characteristic equation for d y,y =0isr, = 0. This has two distinct roots r = and r =,, thus the solution is a linear combination of e t and e,t. That

More information

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

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016 Math 4B Notes Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: T 2:45 :45pm Last updated 7/24/206 Classification of Differential Equations The order of a differential equation is the

More information

Analysis III Solutions - Serie 12

Analysis III Solutions - Serie 12 .. Necessary condition Let us consider the following problem for < x, y < π, u =, for < x, y < π, u y (x, π) = x a, for < x < π, u y (x, ) = a x, for < x < π, u x (, y) = u x (π, y) =, for < y < π. Find

More information

Review for Exam 2. Review for Exam 2.

Review for Exam 2. Review for Exam 2. Review for Exam 2. 5 or 6 problems. No multiple choice questions. No notes, no books, no calculators. Problems similar to homeworks. Exam covers: Regular-singular points (5.5). Euler differential equation

More information

Chapter 4: Higher-Order Differential Equations Part 1

Chapter 4: Higher-Order Differential Equations Part 1 Chapter 4: Higher-Order Differential Equations Part 1 王奕翔 Department of Electrical Engineering National Taiwan University ihwang@ntu.edu.tw October 8, 2013 Higher-Order Differential Equations Most of this

More information

Partial Differential Equations for Engineering Math 312, Fall 2012

Partial Differential Equations for Engineering Math 312, Fall 2012 Partial Differential Equations for Engineering Math 312, Fall 2012 Jens Lorenz July 17, 2012 Contents Department of Mathematics and Statistics, UNM, Albuquerque, NM 87131 1 Second Order ODEs with Constant

More information

2.3 Linear Equations 69

2.3 Linear Equations 69 2.3 Linear Equations 69 2.3 Linear Equations An equation y = fx,y) is called first-order linear or a linear equation provided it can be rewritten in the special form 1) y + px)y = rx) for some functions

More information

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is.

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is. Review for Final Exam. Monday /09, :45-:45pm in CC-403. Exam is cumulative, -4 problems. 5 grading attempts per problem. Problems similar to homeworks. Integration and LT tables provided. No notes, no

More information

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

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N). Section 3.4. Second Order Nonhomogeneous Equations y + p(x)y + q(x)y = f(x) (N) The corresponding homogeneous equation y + p(x)y + q(x)y = 0 (H) is called the reduced equation of (N). 1 General Results

More information

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

3. Identify and find the general solution of each of the following first order differential equations. Final Exam MATH 33, Sample Questions. Fall 7. y = Cx 3 3 is the general solution of a differential equation. Find the equation. Answer: y = 3y + 9 xy. y = C x + C x is the general solution of a differential

More information

Title: Solving Ordinary Differential Equations (ODE s)

Title: Solving Ordinary Differential Equations (ODE s) ... Mathematics Support Centre Title: Solving Ordinary Differential Equations (ODE s) Target: On completion of this workbook you should be able to recognise and apply the appropriate method for solving

More information

Series Solutions of Linear ODEs

Series Solutions of Linear ODEs Chapter 2 Series Solutions of Linear ODEs This Chapter is concerned with solutions of linear Ordinary Differential Equations (ODE). We will start by reviewing some basic concepts and solution methods for

More information

Math 266 Midterm Exam 2

Math 266 Midterm Exam 2 Math 266 Midterm Exam 2 March 2st 26 Name: Ground Rules. Calculator is NOT allowed. 2. Show your work for every problem unless otherwise stated (partial credits are available). 3. You may use one 4-by-6

More information

7.3 Singular points and the method of Frobenius

7.3 Singular points and the method of Frobenius 284 CHAPTER 7. POWER SERIES METHODS 7.3 Singular points and the method of Frobenius Note: or.5 lectures, 8.4 and 8.5 in [EP], 5.4 5.7 in [BD] While behaviour of ODEs at singular points is more complicated,

More information

2t t dt.. So the distance is (t2 +6) 3/2

2t t dt.. So the distance is (t2 +6) 3/2 Math 8, Solutions to Review for the Final Exam Question : The distance is 5 t t + dt To work that out, integrate by parts with u t +, so that t dt du The integral is t t + dt u du u 3/ (t +) 3/ So the

More information

MAT187H1F Lec0101 Burbulla

MAT187H1F Lec0101 Burbulla Spring 2017 Second Order Linear Homogeneous Differential Equation DE: A(x) d 2 y dx 2 + B(x)dy dx + C(x)y = 0 This equation is called second order because it includes the second derivative of y; it is

More information

Relevant sections from AMATH 351 Course Notes (Wainwright): 1.3 Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls): 1.1.

Relevant sections from AMATH 351 Course Notes (Wainwright): 1.3 Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls): 1.1. Lecture 8 Qualitative Behaviour of Solutions to ODEs Relevant sections from AMATH 351 Course Notes (Wainwright): 1.3 Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls): 1.1.1 The last few

More information

24. x 2 y xy y sec(ln x); 1 e x y 1 cos(ln x), y 2 sin(ln x) 25. y y tan x 26. y 4y sec 2x 28.

24. x 2 y xy y sec(ln x); 1 e x y 1 cos(ln x), y 2 sin(ln x) 25. y y tan x 26. y 4y sec 2x 28. 16 CHAPTER 4 HIGHER-ORDER DIFFERENTIAL EQUATIONS 11. y 3y y 1 4. x yxyy sec(ln x); 1 e x y 1 cos(ln x), y sin(ln x) ex 1. y y y 1 x 13. y3yy sin e x 14. yyy e t arctan t 15. yyy e t ln t 16. y y y 41x

More information

Ordinary differential equations Notes for FYS3140

Ordinary differential equations Notes for FYS3140 Ordinary differential equations Notes for FYS3140 Susanne Viefers, Dept of Physics, University of Oslo April 4, 2018 Abstract Ordinary differential equations show up in many places in physics, and these

More information

Work sheet / Things to know. Chapter 3

Work sheet / Things to know. Chapter 3 MATH 251 Work sheet / Things to know 1. Second order linear differential equation Standard form: Chapter 3 What makes it homogeneous? We will, for the most part, work with equations with constant coefficients

More information

Math Applied Differential Equations

Math Applied Differential Equations Math 256 - Applied Differential Equations Notes Basic Definitions and Concepts A differential equation is an equation that involves one or more of the derivatives (first derivative, second derivative,

More information

Math 211. Substitute Lecture. November 20, 2000

Math 211. Substitute Lecture. November 20, 2000 1 Math 211 Substitute Lecture November 20, 2000 2 Solutions to y + py + qy =0. Look for exponential solutions y(t) =e λt. Characteristic equation: λ 2 + pλ + q =0. Characteristic polynomial: λ 2 + pλ +

More information

Math 308 Week 8 Solutions

Math 308 Week 8 Solutions Math 38 Week 8 Solutions There is a solution manual to Chapter 4 online: www.pearsoncustom.com/tamu math/. This online solutions manual contains solutions to some of the suggested problems. Here are solutions

More information

Math 5587 Midterm II Solutions

Math 5587 Midterm II Solutions Math 5587 Midterm II Solutions Prof. Jeff Calder November 3, 2016 Name: Instructions: 1. I recommend looking over the problems first and starting with those you feel most comfortable with. 2. Unless otherwise

More information

Diff. Eq. App.( ) Midterm 1 Solutions

Diff. Eq. App.( ) Midterm 1 Solutions Diff. Eq. App.(110.302) Midterm 1 Solutions Johns Hopkins University February 28, 2011 Problem 1.[3 15 = 45 points] Solve the following differential equations. (Hint: Identify the types of the equations

More information

4.2 Homogeneous Linear Equations

4.2 Homogeneous Linear Equations 4.2 Homogeneous Linear Equations Homogeneous Linear Equations with Constant Coefficients Consider the first-order linear differential equation with constant coefficients a 0 and b. If f(t) = 0 then this

More information

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23 MATHEMATICS FOR ENGINEERS & SCIENTISTS 3.5. Second order linear O.D.E.s: non-homogeneous case.. We ll now consider non-homogeneous second order linear O.D.E.s. These are of the form a + by + c rx) for

More information

Linear Second Order ODEs

Linear Second Order ODEs Chapter 3 Linear Second Order ODEs In this chapter we study ODEs of the form (3.1) y + p(t)y + q(t)y = f(t), where p, q, and f are given functions. Since there are two derivatives, we might expect that

More information

Lecture 6: Differential Equations Describing Vibrations

Lecture 6: Differential Equations Describing Vibrations Lecture 6: Differential Equations Describing Vibrations In Chapter 3 of the Benson textbook, we will look at how various types of musical instruments produce sound, focusing on issues like how the construction

More information

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0 Lecture 22 Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) Recall a few facts about power series: a n z n This series in z is centered at z 0. Here z can

More information

CHAPTER 2. Techniques for Solving. Second Order Linear. Homogeneous ODE s

CHAPTER 2. Techniques for Solving. Second Order Linear. Homogeneous ODE s A SERIES OF CLASS NOTES FOR 005-006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES A COLLECTION OF HANDOUTS ON SCALAR LINEAR ORDINARY DIFFERENTIAL

More information

CHAPTER 5. Higher Order Linear ODE'S

CHAPTER 5. Higher Order Linear ODE'S A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 2 A COLLECTION OF HANDOUTS ON SCALAR LINEAR ORDINARY

More information

Series Solutions of Differential Equations

Series Solutions of Differential Equations Chapter 6 Series Solutions of Differential Equations In this chapter we consider methods for solving differential equations using power series. Sequences and infinite series are also involved in this treatment.

More information

CHAPTER 1. Theory of Second Order. Linear ODE s

CHAPTER 1. Theory of Second Order. Linear ODE s A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 2 A COLLECTION OF HANDOUTS ON SCALAR LINEAR ORDINARY

More information

Final 09/14/2017. Notes and electronic aids are not allowed. You must be seated in your assigned row for your exam to be valid.

Final 09/14/2017. Notes and electronic aids are not allowed. You must be seated in your assigned row for your exam to be valid. Final 09/4/207 Name: Problems -5 are each worth 8 points. Problem 6 is a bonus for up to 4 points. So a full score is 40 points and the max score is 44 points. The exam has 6 pages; make sure you have

More information

Calculus IV - HW 3. Due 7/ Give the general solution to the following differential equations: y = c 1 e 5t + c 2 e 5t. y = c 1 e 2t + c 2 e 4t.

Calculus IV - HW 3. Due 7/ Give the general solution to the following differential equations: y = c 1 e 5t + c 2 e 5t. y = c 1 e 2t + c 2 e 4t. Calculus IV - HW 3 Due 7/13 Section 3.1 1. Give the general solution to the following differential equations: a y 25y = 0 Solution: The characteristic equation is r 2 25 = r 5r + 5. It follows that the

More information

MATH 312 Section 4.3: Homogeneous Linear Equations with Constant Coefficients

MATH 312 Section 4.3: Homogeneous Linear Equations with Constant Coefficients MATH 312 Section 4.3: Homogeneous Linear Equations with Constant Coefficients Prof. Jonathan Duncan Walla Walla College Spring Quarter, 2007 Outline 1 Getting Started 2 Second Order Equations Two Real

More information

A: Brief Review of Ordinary Differential Equations

A: Brief Review of Ordinary Differential Equations A: Brief Review of Ordinary Differential Equations Because of Principle # 1 mentioned in the Opening Remarks section, you should review your notes from your ordinary differential equations (odes) course

More information

ENGI Second Order Linear ODEs Page Second Order Linear Ordinary Differential Equations

ENGI Second Order Linear ODEs Page Second Order Linear Ordinary Differential Equations ENGI 344 - Second Order Linear ODEs age -01. Second Order Linear Ordinary Differential Equations The general second order linear ordinary differential equation is of the form d y dy x Q x y Rx dx dx Of

More information

Practice Problems For Test 3

Practice Problems For Test 3 Practice Problems For Test 3 Power Series Preliminary Material. Find the interval of convergence of the following. Be sure to determine the convergence at the endpoints. (a) ( ) k (x ) k (x 3) k= k (b)

More information

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH * 4.4 UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH 19 Discussion Problems 59. Two roots of a cubic auxiliary equation with real coeffi cients are m 1 1 and m i. What is the corresponding homogeneous

More information

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS 1. Regular Singular Points During the past few lectures, we have been focusing on second order linear ODEs of the form y + p(x)y + q(x)y = g(x). Particularly,

More information

Solutions to Math 53 Math 53 Practice Final

Solutions to Math 53 Math 53 Practice Final Solutions to Math 5 Math 5 Practice Final 20 points Consider the initial value problem y t 4yt = te t with y 0 = and y0 = 0 a 8 points Find the Laplace transform of the solution of this IVP b 8 points

More information

Numerical Methods for the Solution of Differential Equations

Numerical Methods for the Solution of Differential Equations Numerical Methods for the Solution of Differential Equations Markus Grasmair Vienna, winter term 2011 2012 Analytical Solutions of Ordinary Differential Equations 1. Find the general solution of the differential

More information

Final Exam May 4, 2016

Final Exam May 4, 2016 1 Math 425 / AMCS 525 Dr. DeTurck Final Exam May 4, 2016 You may use your book and notes on this exam. Show your work in the exam book. Work only the problems that correspond to the section that you prepared.

More information

Second-Order Homogeneous Linear Equations with Constant Coefficients

Second-Order Homogeneous Linear Equations with Constant Coefficients 15 Second-Order Homogeneous Linear Equations with Constant Coefficients A very important class of second-order homogeneous linear equations consists of those with constant coefficients; that is, those

More information