Section 6.4 DEs with Discontinuous Forcing Functions

Similar documents
Ch 6.4: Differential Equations with Discontinuous Forcing Functions

Chapter DEs with Discontinuous Force Functions

Section 6.5 Impulse Functions

The Laplace Transform

Math Shifting theorems

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

e st f (t) dt = e st tf(t) dt = L {t f(t)} s

(f g)(t) = Example 4.5.1: Find f g the convolution of the functions f(t) = e t and g(t) = sin(t). Solution: The definition of convolution is,

Work sheet / Things to know. Chapter 3

Math 307 Lecture 19. Laplace Transforms of Discontinuous Functions. W.R. Casper. Department of Mathematics University of Washington.

Ch 6.2: Solution of Initial Value Problems

Section 2.4 Linear Equations

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

The Laplace transform

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

Final Exam Review. Review of Systems of ODE. Differential Equations Lia Vas. 1. Find all the equilibrium points of the following systems.

Ordinary Differential Equations

MathQuest: Differential Equations

Homogeneous Equations with Constant Coefficients

Exam II Review: Selected Solutions and Answers

Math 308 Exam II Practice Problems

dx n a 1(x) dy

Computer Problems for Methods of Solving Ordinary Differential Equations

1 Some general theory for 2nd order linear nonhomogeneous

Forced Mechanical Vibrations

MATH 307: Problem Set #7

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)

Lecture 7: Laplace Transform and Its Applications Dr.-Ing. Sudchai Boonto

Week #9 : DEs with Non-Constant Coefficients, Laplace Resonance

Solutions to Math 53 Math 53 Practice Final

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

Computing inverse Laplace Transforms.

3.5 Undetermined Coefficients

MA 226 FINAL EXAM. Show Your Work. Problem Possible Actual Score

M A : Ordinary Differential Equations

Math 333 Qualitative Results: Forced Harmonic Oscillators

37. f(t) sin 2t cos 2t 38. f(t) cos 2 t. 39. f(t) sin(4t 5) 40.

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

Differential Equations, Math 315 Midterm 2 Solutions

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

To find the step response of an RC circuit

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

GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS

MA 266 Review Topics - Exam # 2 (updated)

Linear Second Order ODEs

/ \ ( )-----/\/\/\/ \ / In Lecture 3 we offered this as an example of a first order LTI system.

Ordinary Differential Equations

4.2 Homogeneous Linear Equations

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

Ordinary Differential Equations. Session 7

Numerical Methods. Equations and Partial Fractions. Jaesung Lee

Chapter 7: Trigonometric Equations and Identities

130 CHAP. 4 Systems of ODEs. Phase Plane. Qualitative Methods. Find the eigenvalues and eigenvectors of the matrix

Electrical Circuits (2)

Time Response of Systems

Math 216 Second Midterm 16 November, 2017

MAT 275 Laboratory 7 Laplace Transform and the Symbolic Math Toolbox

18.03 Class 23, Apr 2. Laplace Transform: Second order equations; completing the square; t-shift; step and delta signals. Rules:

Math 353 Lecture Notes Week 6 Laplace Transform: Fundamentals

Answers and Hints to Review Questions for Test (a) Find the general solution to the linear system of differential equations Y = 2 ± 3i.

Second Order Linear ODEs, Part II

Section 3.1 Second Order Linear Homogeneous DEs with Constant Coefficients

Name: Solutions Exam 3

Math 221 Topics since the second exam

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

Exam 3 Review Sheet Math 2070

Laplace Transform Theory - 1

Laplace Transform. Chapter 4

f(t)e st dt. (4.1) Note that the integral defining the Laplace transform converges for s s 0 provided f(t) Ke s 0t for some constant K.

Chapter 7: Trigonometric Equations and Identities

Ordinary Differential Equations

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions

18 - ELECTROMAGNETIC INDUCTION AND ALTERNATING CURRENTS ( Answers at the end of all questions ) Page 1

Second order linear equations

Chapter 6: The Laplace Transform. Chih-Wei Liu

Physics for Scientists & Engineers 2

Math 215/255 Final Exam (Dec 2005)

Section 9.8 Higher Order Linear Equations

Practice Problems For Test 3

Chapter 4: Higher Order Linear Equations

8. Introduction and Chapter Objectives

Second Order Linear Equations

APPM 2360: Midterm 3 July 12, 2013.

AC analysis. EE 201 AC analysis 1

Section 7.2 Addition and Subtraction Identities. In this section, we begin expanding our repertoire of trigonometric identities.

Work sheet / Things to know. Chapter 3

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

F = ma, F R + F S = mx.

Practice Problems For Test 3

6. Linear Differential Equations of the Second Order

Notes on the Periodically Forced Harmonic Oscillator

2. Higher-order Linear ODE s

Selected Solutions: 3.5 (Undetermined Coefficients)

The formulas for derivatives are particularly useful because they reduce ODEs to algebraic expressions. Consider the following ODE d 2 dx + p d

1 Notes on Laplace circuit analysis

Chapter 7. Homogeneous equations with constant coefficients

MATH 312 Section 4.3: Homogeneous Linear Equations with Constant Coefficients

Chapter 3: Second Order Equations

=================~ NONHOMOGENEOUS LINEAR EQUATIONS. rn y" - y' - 6y = 0. lid y" + 2y' + 2y = 0, y(o) = 2, y'(0) = I

Chapter 7: Trigonometric Equations and Identities

Transcription:

Section 6.4 DEs with Discontinuous Forcing Functions Key terms/ideas: Discontinuous forcing function in nd order linear IVPs Application of Laplace transforms Comparison to viewing the problem s solution as composite of separate solutions to separate IVPs over non-overlapping intervals. Since we are considering nonhomogeneous DEs the solution consists of the solution to the associated homogeneous DE plus a particular solution of the nonhomogeneous DE.

We focus on examples of nonhomogeneous initial value problems in which the forcing function is discontinuous. The general equations appear like We will proceed by example. ay +by +cy = g(t), y 0 = y, y 0 = y 0 0 1 1 - heaviside(t - ) Example: On-Off Forcing Term The IVP is 1, [0,π) y'' + y = f(t) = = 1- u π(t), y(0) = 0, y'(0) = 0 0, [π, ) 0.8 0.6 0.4 0. 0 0 1 3 4 5 t This IVP can be interpreted as describing the motion of a mass-spring system with no damping which is initially at rest, to which a constant external force is applied for π units of time. Possibly, the force is caused by an electromagnet attracting the mass, or even an additional weight was added to the original weight but taken off at t = π. This IVP can also be interpreted as describing the charge on a condenser in a simple circuit containing a capacitor, an inductor, and an impressed voltage source. The initial charge on the capacitor is zero farads (y(0) = 0), the initial current is zero ampere (y'(0) = 0), and the driving force is 1 volt for π seconds and zero there after. Ref: Farlow

1, [0,π) y'' + y = f(t) = = 1- u π(t), y(0) = 0, y'(0) = 0 0, [π, ) Take the Laplace transform of both sides and simplify to obtain an expression for Y(s) = L{y} for which we can compute the inverse Laplace transform. -πs 1 e L{y'' + y} = L{1- u π(t)} s Y(s) + Y(s) = - s s -πs Solve for Y(s): 1 e - -πs 1- e -πs 1 Y(s) = s s = 1- e s +1 s(s +1) s(s +1) We can use partial fractions to show that We used the first and second derivative properties and the initial conditions, as well as #1 and #1 from the table 1 = 1 s s s(s +1) s +1 -πs Rewriting Y(s) we get 1 s 1 s -πs 1 s Y(s) = 1 e = e Taking inverse transforms we have So we have y(t) = 1- cos(t) - u (t) +u (t)cos(t - π) π π = 1- cos(t) - u (t) 1+ cos(t) π 1- cos(t), [0,π) y(t) = -cos(t), [π, s s +1 s s +1 s s +1 Used trig. Identity. -πs -1 e L = u π (t) s ) Just add terms on [π, ] to get -cos(t). 1 cos(t) -πs #1 #13-1 se L = u π(t)cos(t - π) s +1

3 Forcing Function 1 -cos(t) 0 1-cos(t) -1 - -3 0 1 3 4 5 6 7 8 9 10

Example: Solve IVP 0, [0,1) y'' + 5y' + 6y = u 1(t) = y(0) = 0,y'(0) = 1, [1, ) What to expect when we take Laplace transforms: (1) the characteristic equation is quadratic with distinct real roots so we will have exponential functions in the interval [0, 1]. The exponential functions will converge to zero. (Why?) () on [1, ) we can expect to add on shifted exponential functions because of the unit step function. (3) Since the characteristic equation is a quadratic which will nicely factor we will need to apply partial fractions. Steps: (1) Take the Laplace transform. () Solve for Y(s). (3) Use partial fractions to split Y(s) into simple terms. (4) Carefully find inverse transforms. Taking Laplace Transforms: We will use the linearity, the first and second derivative properties, and the initial conditions. L{y'' + 5y' + 6y} = L{y''} + 5L{y'} + 6L{y} = L{u (t)} e [s Y(s) - sy(0) - y'(0)] + 5[sY(s) - y(0)] + 6Y(s) = s 1 -s The DE is damped. 0 0

-s e [s Y(s) - 0s - ]+5[sY(s) - 0]+6Y(s) = s -s e s + 5s + 6Y(s) - = s -s -s e e + + Y(s) = s = s = s + 5s + 6 (s + )(s + 3) Solve for Y(s): e -s s e + = + (s + )(s + 3) (s + )(s + 3) (s + )(s + 3) s(s + )(s + 3) We wrote it this way to make it simpler to do partial fractions. Use partial fractions: Omitting the details. (s + )(s + 3) (s + ) (s + 3) See # Carefully taking inverse transforms: = - (s + ) (s + 3) (s - (-)) (s - (-3)) y(t) = -t -3t e - e + -s -s e 1 1 1 -s e 6 - + 3 s(s + )(s + 3) s s + s + 3 1 1 1 -s e 6 - + 3 s s - (-) s - (-3) 1 1 -(t-1) 1 u 1(t) - u 1(t)e + u 1(t)e 6 3 See #1 & #13-3(t-1)

Now let s inspect this solution as t gets large. Graphing y(t) we get -t -3t e - e On [0, 1) 0.35 0.3 0.5 0. 0.15 Note that as t gets large y(t) converges to 1/6. 0.1 0.05 0 0 1 3 4 5 6 7 8 9 10 -t -3t e - e 1 1 -(t-1) 1-3(t-1) + - e + e On [1, ) 6 3

0, [0,5) Example: Solve IVP y'' + 4y = g(t), y(0) = 0,y'0) = 0, g(t) = (t - 5) / 5,[5,10) 1,[10, ) Let s discuss the forcing function g(t). Initially it is zero on [0, 5), then rises on a straight line of slope 1/5 on [5, 10), and finally becomes a constant there after. This type of forcing function is called ramp loading and has the graph. Undamped. Next let s discuss the form of the solution. Since the characteristic equation is r + 4 = 0, the roots are complex so we expect a sinusoid. However, on [0, 5) the trivial solution y = 0 satisfies the DE y'' + 4y = 0. For t > 10 the DE becomes y'' + 4y = 1. By observation y = ¼ is a particular solution of the nonhomogeneous equation so we expect the solution to be a sinusoid + the particular solution; y = C 1 sin(t) + C cos(t) + ¼. (This portion of the solution oscillates about the line y = ¼.) The solution on [5, 10) has a forcing function which is a polynomial of degree 1. In this case we expect that the solution here will oscillate about a linear function. All these observations are based on the forms of the trial solution for DEs of the form ay'' + by' + cy = polynomial.

In order to construct the solution we first express g(t) in terms of unit step functions and the apply Laplace transforms. 0, [0,5) g(t) = (t - 5) / 5,[5,10) t - 5 t - 5 t - 5 g(t) = u 5 (t) + (jump)u 10(t) = u 5(t) + 1- u 10(t) 5 5 5 t - 5 t - 10 1 5 10 5 10 5 5 5 1,[10, ) = u (t) + u (t) = u (t) t - 5 - u (t) t - 10 Taking the Laplace transform of the DE, applying the first and second derivative properties, and the initial conditions gives us 5s 10s s Y ( s) e e 5s 10s e e 4 5s Y( s) Applying partial fractions to So we have 1 s s 4 we get 5s 10s 5s 10s e e e e 5s s 4 1/ 4 1/ 4 s s 4 1/ 4 1/ 4 1 1 1 Ys () 5 5 4 8 s s 4 s s 4 Used #13. Details omitted.

For ease of computing the inverse Laplace transform we break things up a bit. Let 1 1 1 1 1 1 h( t) L t sin t 4 8 s s 4 4 8 5s 10s Recall that we have things multiplied by the term e e 5 Then using #13 and making the shifts required for the inverse transform we have solution given by 1 y ( t) u 5( t) h( t 5) u10( t) h( t 10) 5 It helps to express the solution as a piecewise function. 0, [0,5) 1 1 1 y t 5 sin( t 5),[5,10) 5 4 8 1 1 1 1 t 5 sin( t 5) t 10 sin( t 10), [10, ) 4 8 4 8

Sinusoid wrapped around a straight 0, [0,5) line segment. 1 1 1 y t 5 sin( t 5),[5,10) 5 4 8 1 1 1 1 t 5 sin( t 5) t 10 sin( t 10), [10, ) 4 8 4 8 Next we simplify the expression that is on [10, ) and graph it.

Simplify 0, [0,5) 1 1 1 y t 5 sin( t 5),[5,10) 5 4 8 1 1 1 1 t 5 sin( t 5) t 10 sin( t 10), [10, ) 4 8 4 8 t 5 1 sin ( 5) 4 4 8 t 10 1 sin ( 10) 4 4 8 t t If we subtract these expressions and rearrange terms. The terms involving t/4 add to zero and the two constants add to 5/4. The expression on [10, ) is 1 5 1 1 1 1 + - sin(t - 5) + sin(t - 10) = + sinusoid 5 4 5 8 8 4 Next we adjoin the graph over [10, ).

The graph of the complete solution is 0.5 Look at the behavior as t 0, [0,5) gets large. Just as we 1 1 1 predicted earlier a y t 5 sin( t 5),[5,10) 5 4 8 sinusoid wraps around 1 1 1 1 the line y = 1/4. t 5 sin( t 5) t 10 sin( t 10), [10, ) 4 8 4 8

1/4 Zero Sinusoid about linear function. Sinusoid about horizontal line y = ¼. Note that in this example the forcing function g is continuous but g' is discontinuous at t = 5 and t = 10. It follows that the solution y(t) and its first two derivatives are continuous everywhere, but y" has discontinuities at t = 5 and at t = 10 that correspond to the discontinuities in g' at those points.