So far, we have looked at homogeneous equations



Similar documents
Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

9. Particular Solutions of Non-homogeneous second order equations Undetermined Coefficients

Lecture Notes for Math250: Ordinary Differential Equations

Nonhomogeneous Linear Equations

Math 22B, Homework #8 1. y 5y + 6y = 2e t

General Theory of Differential Equations Sections 2.8, , 4.1

3.2 Sources, Sinks, Saddles, and Spirals

19.6. Finding a Particular Integral. Introduction. Prerequisites. Learning Outcomes. Learning Style

HW6 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) November 14, Checklist: Section 7.8: 1c, 2, 7, 10, [16]

A First Course in Elementary Differential Equations. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Second-Order Linear Differential Equations

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS

System of First Order Differential Equations

Methods of Solution of Selected Differential Equations Carol A. Edwards Chandler-Gilbert Community College

How To Solve A Linear Dierential Equation

Higher Order Equations

Second Order Linear Differential Equations

Partial Fractions: Undetermined Coefficients

Integrals of Rational Functions

Discrete Mathematics: Homework 7 solution. Due:

Student name: Earlham College. Fall 2011 December 15, 2011

Math Assignment 6

A Brief Review of Elementary Ordinary Differential Equations

College of the Holy Cross, Spring 2009 Math 373, Partial Differential Equations Midterm 1 Practice Questions

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Vieta s Formulas and the Identity Theorem

r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) Write the given system in matrix form x = Ax + f ( ) sin(t) x y z = dy cos(t)

Differential Equations and Linear Algebra Lecture Notes. Simon J.A. Malham. Department of Mathematics, Heriot-Watt University

2 Integrating Both Sides

Find all of the real numbers x that satisfy the algebraic equation:

Complex Eigenvalues. 1 Complex Eigenvalues

SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS

Math Practice exam 2 - solutions

PRE-CALCULUS GRADE 12

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

Exact Values of the Sine and Cosine Functions in Increments of 3 degrees

LS.6 Solution Matrices

Multiplier-accelerator Models on Time Scales

ENCOURAGING THE INTEGRATION OF COMPLEX NUMBERS IN UNDERGRADUATE ORDINARY DIFFERENTIAL EQUATIONS

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Lectures 5-6: Taylor Series

[1] Diagonal factorization

Section The given line has equations. x = 3 + t(13 3) = t, y = 2 + t(3 + 2) = 2 + 5t, z = 7 + t( 8 7) = 7 15t.

tegrals as General & Particular Solutions

Zeros of Polynomial Functions

POLYNOMIALS and FACTORING

REVIEW EXERCISES DAVID J LOWRY

expression is written horizontally. The Last terms ((2)( 4)) because they are the last terms of the two polynomials. This is called the FOIL method.

Recursive Algorithms. Recursion. Motivating Example Factorial Recall the factorial function. { 1 if n = 1 n! = n (n 1)! if n > 1

Solutions to Linear First Order ODE s

ORDINARY DIFFERENTIAL EQUATIONS

Algebra Practice Problems for Precalculus and Calculus

Introduction to Complex Fourier Series

Solving Cubic Polynomials

1.(6pts) Find symmetric equations of the line L passing through the point (2, 5, 1) and perpendicular to the plane x + 3y z = 9.

A vector is a directed line segment used to represent a vector quantity.

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Factoring Polynomials and Solving Quadratic Equations

Math Numerical Analysis Homework #2 Solutions

ECG590I Asset Pricing. Lecture 2: Present Value 1

In the above, the number 19 is an example of a number because its only positive factors are one and itself.

How To Factor By Grouping

= C + I + G + NX ECON 302. Lecture 4: Aggregate Expenditures/Keynesian Model: Equilibrium in the Goods Market/Loanable Funds Market

Zeros of Polynomial Functions

LINES AND PLANES CHRIS JOHNSON

(Refer Slide Time: 01:11-01:27)

Lecture 14: Section 3.3

Second Order Linear Partial Differential Equations. Part I

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

MATH 31B: MIDTERM 1 REVIEW. 1. Inverses. yx 3y = 1. x = 1 + 3y y 4( 1) + 32 = 1

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

Chapter 2 Solving Linear Programs

Frequency Response of FIR Filters

Name: ID: Discussion Section:

SOLUTIONS. f x = 6x 2 6xy 24x, f y = 3x 2 6y. To find the critical points, we solve

12.4 UNDRIVEN, PARALLEL RLC CIRCUIT*

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

SIGNAL PROCESSING & SIMULATION NEWSLETTER

(1.) The air speed of an airplane is 380 km/hr at a bearing of. Find the ground speed of the airplane as well as its

Factoring Polynomials

Algebra 2 PreAP. Name Period

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Section Continued

Roots, Linear Factors, and Sign Charts review of background material for Math 163A (Barsamian)

NSM100 Introduction to Algebra Chapter 5 Notes Factoring

TMA4213/4215 Matematikk 4M/N Vår 2013

PYTHAGOREAN TRIPLES KEITH CONRAD

Algebra and Geometry Review (61 topics, no due date)

J.L. Kirtley Jr. Electric network theory deals with two primitive quantities, which we will refer to as: 1. Potential (or voltage), and

Math 215 HW #6 Solutions

Core Maths C2. Revision Notes

Elementary Functions

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

1.3 Algebraic Expressions

6.1 Add & Subtract Polynomial Expression & Functions

Paper II ( CALCULUS ) Shahada. College, Navapur. College, Shahada. Nandurbar

Transcription:

Chapter 3.6: equations Non-homogeneous So far, we have looked at homogeneous equations L[y] = y + p(t)y + q(t)y = 0. Homogeneous means that the right side is zero. Linear homogeneous equations satisfy the superposition principle: sums of solutions are solutions. We now look at non-homogeneous equations: L[y] = y + p(t)y + q(t)y = g(t), where the RHS is not necessarily zero. 1

The New Issue It is: Find a solution of an inhomogeneous equation, say Y (t): L[Y ] = Y + p(t)y + q(t)y = g(t). The general solution is then: y(t) = Y (t) + c 1 y 1 (t) + c 2 y 2 (t) where y 1, y 2 are a fundamental set of solutions of the homogeneous equation L[y] = 0. Reason: L[y] = L[Y ] + L[c 1 y 1 + c 2 y 2 ] = L[Y ] + 0 = g. 2

General solution Let s make sure that y(t) = Y (t) + c 1 y 1 (t) + c 2 y 2 (t) is the general solution of L[y] = g. you have another, say y other. Then Suppose L[y] = g = L[y other ] = L[y y other ] = 0 = y y other = c 1 y 1 + c 2 y 2, for some c 1, c 2, since y y other solves the homogeneous equation, and the RHS is the general solution. 3

How to solve L[Y ] = g The first method is the method of undetermined coefficients = MUC. It only applies when you know in advance what kind of solution the equation will have. In the next chapter, a more systematic method, variation of parameters, will be used. But for special equations such as constant coefficient equations, where the RHS g is an exponential function, MUC is quicker. This motivates learning how to guess the type of solution. 4

How to solve L[Y ] = g for CC equations Example: Find a solution of y 3y 4y = 3e 2t. Key fact (which we already know): if Ly = ay + by + cy, then L[e rt ] = (ar 2 + br + c)e rt. Thus, in our problem, L[e rt ] = (r 2 3r 4)e rt. When solving the homogeneous equation, we wanted the RHS = 0 so we chose r to be a solution of the characteristic equation. But now, we want the RHS to be 3e 2t. Clearly, we have to pick r = 2. 5

Choosing the multiple We can t always solve with Y = e 2t but we can try Y = Ae 2t and solve for A. Indeed, L[Ae 2t ] = A(2 2 3 2 4)e 2t = 3e 2t 6A = 3 A = 1 2. Thus, one solution is Y = 1 2 e2t. Since it is only one solution, we call it a particular solution. To find the general solution, we need to add the general solution of the homogeneous problem. (We won t do it, because that was last chapter). 6

Harder example Find a solution of: y 3y 4y = 2 sin t. This is harder because d dt sin t = cos t, d dt cos t = sin t. So sines and cosines are not quite preserved by the derivative. So we have to try: Y = A sin t + B cos t. Functions of this kind are preserved by taking a derivative. 7

Choosing the coefficients Write: L[y] = y 3y 4y. We claim that there exist constants A, B so that L[A sin t + B cos t] = 2 sin t. A bit of computation shows: L[A sin t + B cos t] = A( sin t 3 cos t 4 sin t) + B( cos t + 3 sin t 4 cos t). So we need: A( sin t 3 cos t 4 sin t) +B( cos t + 3 sin t 4 cos t) = 2 sin t. 8

Choosing the coefficients Equivalently, ( A 4A + 3B) sin t +( 3A B 4B) cos t = 2 sin t 5A + 3B = 2, 3A 5B = 0. Thus, A = 5 3 B = 3B + 55 3 B = 2 B = 3 17. So A = 5 17 and Y = 5 17 sin t + 3 17 cos t. 9

A disease Unfortunately, this method does not work if the RHS g is a solution of the homogeneous equation L[g] = 0 on the LHS. For instance, y + y = sin t. You cannot just try C 1 cos t + C 2 sin t since the LHS will kill it. The cure is, as in reduction of order, to multiply by t. Try y = C 1 t cos t + C 2 t sin t. Only do this when the RHS is a homogeneous solution! If you do this, you will find that terms with a t in front are killed. So what remains is the equation 2C 1 sin t + 2C 2 cos t = sin t. The factor of 2 comes from (yt) = 2y + ty. 10

Example Solve the initial value problem: y + 4y = sin 2t, y(0) = 0, y (0) = 1. The RHS is a solution of the homogeneous equation y +4y = 0 so we need to try At cos 2t+ Bt sin 2t. The equation becomes: 4A sin 2t+4B cos 2t = sin 2t = A = 1 4, B = 0. The general solution is: y = C 1 cos 2t + C 2 sin 2t 1 t cos 2t. 4 Then, y(0) = C 1 = 0; y (0) = 2C 2 1 4 = 1. So the solution is y = 5 8 sin 2t 1 t cos 2t. 4 11

Repeated root canal Yet a worse disease occurs if the LHS has repeated roots and the RHS is a solution of the homogeneous equation. For instance: L[y] = y + 2y + 1 = e t. There is no point trying y = te t because it is also a homogeneous solution. So the next step is to try y = t 2 e t. L kills terms with t 2 or t. The only remaining term is 2e t. So a solution is: y = 1 2 t2 e t. 12

What else can the RHS be? So far we have solved L[y] = g when Ly = ay + by + cy and where g is an exponential or a cosine or a sine. We can also solve by undetermined coefficients if the RHS is a polynomial. This is because derivatives of polynomials are polynomials. The degree goes down with each derivative. If the RHS is a polynomial of degree n, and if c 0, you can use a polynomial of degree n. E.g.: L[y] = y + y = t 2 + 2. Try y = at 2 + bt + c. Then L[at 2 + bt + c] = 2a + at 2 + bt + c = t 2 + 2 2a + c = 2, b = 0, a = 1. 13

Another example Example: y 3y = 4t 2 1. We can t use a polynomial of degree 2 since the LHS will then be of degree one. Try y = polynomial of degree 3. Thus, y = At 3 +Bt 2 + Ct. We now have 3 undetermined coefficients (A, B, C). Plugging in, we get: (6At + 2B) 3(3At 2 + 2tB + C) = 4t 2 1. Match coefficients of like powers of t: 9A = 4, 6A 6B = 0, 3C = 1. 14

What else can the RHS be? A nice thing is that we can easily solve when g = g 1 + g 2 if we can solve separately for g 1 and for g 2. Indeed, if L[Y 1 ] = g 1, L[Y 2 ] = g 2 = L[Y 1 + Y 2 ] = g 1 + g 2 = g. This is the superposition principle again (i.e. linearity of L). So when L = ad 2 + bd + c, our inventory of g s now includes: sums of exponentials, sines, cosines and polynomials. 15

What else can the RHS be? If we can solve when the RHS is an exponential, then we can surely solve when the exponential is a complex one. That means we can solve if the RHS g = e λt cos t or g = e λt sin t or a sum of these. One can also solve when the RHS is a polynomial times an exponential. 16

Examples L[y] = y 4y = 2t + e 2t. We solve one term at a time. First, we find y 1 such that L[y 1 ] = 2t. We can use at + b. Then L[y] = 4at 4b and we get a = 1 2, b = 0. Then we find y 2 such that L[y 2 ] = e 2t. This is a solution of the homogeneous problem so we must use Ate 2t. We get L[Ate 2t ] = 4Ae 2t = e 2t = A = 1 4. The solution is: y = 1 2 t + 1 4 te2t. 17