General Recipe for Constant-Coefficient Equations

Similar documents
Section 7.4: Inverse Laplace Transform

Second-Order Homogeneous Linear Equations with Constant Coefficients

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

Homework #6 Solutions

Before this course is over we will see the need to split up a fraction in a couple of ways, one using multiplication and the other using addition.

Section 4.3. Polynomial Division; The Remainder Theorem and the Factor Theorem

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

Ordinary Differential Equations (ODEs)

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

8.3 Partial Fraction Decomposition

Alan H. SteinUniversity of Connecticut. Linear Differential Equations With Constant Coefficients

Homework 3 Solutions Math 309, Fall 2015

Key Point. The nth order linear homogeneous equation with constant coefficients

Math 2142 Homework 5 Part 1 Solutions

Example: x 10-2 = ( since 10 2 = 100 and [ 10 2 ] -1 = 1 which 100 means divided by 100)

Lecture 10: Powers of Matrices, Difference Equations

To factor an expression means to write it as a product of factors instead of a sum of terms. The expression 3x

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

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

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Tangent Lines Sec. 2.1, 2.7, & 2.8 (continued)

Higher Order Linear ODEs

Chapter 1. Making algebra orderly with the order of operations and other properties Enlisting rules of exponents Focusing on factoring

Handbook of Ordinary Differential Equations

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5

Systems of Linear ODEs

5.3 Other Algebraic Functions

Chapter 5.2: Series solution near an ordinary point

Math 302 Module 4. Department of Mathematics College of the Redwoods. June 17, 2011

Examples: Solving nth Order Equations

4 Exact Equations. F x + F. dy dx = 0

Chapter 4: Higher-Order Differential Equations Part 1

Some Review Problems for Exam 2: Solutions

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Eigenvectors and Hermitian Operators

22A-2 SUMMER 2014 LECTURE 5

2. If the values for f(x) can be made as close as we like to L by choosing arbitrarily large. lim

MATH 250 TOPIC 13 INTEGRATION. 13B. Constant, Sum, and Difference Rules

) sm wl t. _.!!... e -pt sinh y t. Vo + mx" + cx' + kx = 0 (26) has a unique tions x(o) solution for t ;?; 0 satisfying given initial condi

Before this course is over we will see the need to split up a fraction in a couple of ways, one using multiplication and the other using addition.

8.7 MacLaurin Polynomials

Practical Algebra. A Step-by-step Approach. Brought to you by Softmath, producers of Algebrator Software

Higher Order Linear ODEs

Dividing Polynomials: Remainder and Factor Theorems

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Higher-Order Equations: Extending First-Order Concepts

Chapter 1. Linear Equations

EXAMPLES OF PROOFS BY INDUCTION

SYDE 112, LECTURE 7: Integration by Parts

4.9 Anti-derivatives. Definition. An anti-derivative of a function f is a function F such that F (x) = f (x) for all x.

Tutorial on obtaining Taylor Series Approximations without differentiation

17.2 Nonhomogeneous Linear Equations. 27 September 2007

1.4 Techniques of Integration

6x 3 12x 2 7x 2 +16x 7x 2 +14x 2x 4

Chapter 2. Polynomial and Rational Functions. 2.5 Zeros of Polynomial Functions

Lecture : The Chain Rule MTH 124

Math Lecture 1: Differential Equations - What Are They, Where Do They Come From, and What Do They Want?

2 P a g e. Essential Questions:

LESSON 6.1 EXPONENTS LESSON 6.1 EXPONENTS 253

A Brief Review of Elementary Ordinary Differential Equations

Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series

Techniques of Integration

Sequences & Functions

Updated: January 16, 2016 Calculus II 7.4. Math 230. Calculus II. Brian Veitch Fall 2015 Northern Illinois University

2. Limits at Infinity

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the

Math 115 Spring 11 Written Homework 10 Solutions

42. Change of Variables: The Jacobian

Computing Derivatives With Formulas Some More (pages 14-15), Solutions

Note: Final Exam is at 10:45 on Tuesday, 5/3/11 (This is the Final Exam time reserved for our labs). From Practice Test I

Math 31A Discussion Session Week 1 Notes January 5 and 7, 2016

Subsequences and Limsups. Some sequences of numbers converge to limits, and some do not. For instance,

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

Advanced Eng. Mathematics

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

Math 240 Calculus III

Second-Order Linear ODEs

Span and Linear Independence

Linear Independence Reading: Lay 1.7

Math 20B Supplement. Bill Helton. September 23, 2004

4 Differential Equations

Partial Fractions. (Do you see how to work it out? Substitute u = ax + b, so du = a dx.) For example, 1 dx = ln x 7 + C, x x (x 3)(x + 1) = a

p(t)dt a p(τ)dτ , c R.

ES.1803 Topic 7 Notes Jeremy Orloff. 7 Solving linear DEs; Method of undetermined coefficients

Finite Mathematics : A Business Approach

Discrete Math, Spring Solutions to Problems V

Math 240 Calculus III

Math 115 ( ) Yum-Tong Siu 1. Derivation of the Poisson Kernel by Fourier Series and Convolution

Linear Algebra, Summer 2011, pt. 2

CIS 2033 Lecture 5, Fall

6x 2 8x + 5 ) = 12x 8

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

Practice Problems: Integration by Parts

Exponents Drill. Warm-up Problems. Problem 1 If (x 3 y 3 ) -3 = (xy) -z, what is z? A) -6 B) 0 C) 1 D) 6 E) 9. Problem 2 36 =?

PARTIAL FRACTIONS: AN INTEGRATIONIST PERSPECTIVE

MATH 103 Pre-Calculus Mathematics Test #3 Fall 2008 Dr. McCloskey Sample Solutions

Algebra Exam. Solutions and Grading Guide

Math Real Analysis II

TOPOLOGICAL COMPLEXITY OF 2-TORSION LENS SPACES AND ku-(co)homology

Transcription:

General Recipe for Constant-Coefficient Equations We want to look at problems like y (6) + 10y (5) + 39y (4) + 76y + 78y + 36y = (x + 2)e 3x + xe x cos x + 2x + 5e x. This example is actually more complicated than any that you re likely to have to do. That s because I chose one example to illustrate several different features. Most of your homework and test problems will be of second order, or at most third order. This is a constant-coefficient linear ordinary differential equation. That refers to the fact that its left side is the sum of constants times derivatives of y, and its right side is just a function of x. It is nonhomogeneous; that refers to the fact that the right side is not zero. However, it is a particularly easy type of nonhomogeneous: the right side is a sum of polynomials times exponentials. It might not appear that way, but we can rewrite the right side as (x + 2)e 3x + 1 2 xe( 1 i)x + 1 2 xe( 1+i)x + 2xe 0 + 5(x 0 )e x. The first step is to factor the differentiation operators on the left side of the equation. The left side becomes D(D + 3) 2 (D + 1 + i)(d + 1 i)(d 2)y. (Admittedly, factoring this sixth degree polynomial may be difficult, but you ll be doing easier problems generally second degree, or third degree with at least one root fairly obvious.) Next, rewrite the equation to display the roots, and add dummy terms to both sides as needed to get the roots to match up. The equation can be rewritten: [D ( 3)] 2 [D ( 1 i)] 1 [D ( 1 + i)] 1 (D 0) 1 (D 1) 0 (D 2) 1 y = (2 + 1x)e 3x + ( 0 + 1 2 x) e ( 1 i)x + ( 0 + 1 2 x) e ( 1+i)x + (0 + 2x) e 0 +5e x +0e 2x. The term 0e 2x at the end of the equation is a dummy term, introduced to match up with the factor (D 2) 1 above it. Similarly, the factor (D 1) 0 near the end of the first line of the equation is a dummy factor, introduced to match up with the term 5e x below it. The dummy terms have no effect on the quantifies involved they just multiply by 1 or add 0 but they give us matching roots on the left and right sides of the equation, so we can make this table: root 3 1 i 1 + i 0 1 2 exponent in given left side 2 1 1 1 0 1 number of coefficients in given right side 2 2 2 2 1 0 That may require some explanation; here are a few examples of what the table means: The root 3 has exponent 2 in the given left side; this means the exponent is 2 in the expression [D ( 3)] 2. 1

The root 3 has two coefficients in the given right side; this means that in the expression (2 + 1x)e 3x the numbers 2 and 1 are coefficients in the polynomial. We fill in zero s for missing coefficients in polynomials, and count the number of coefficients up to the highest degree term that is nonzero. For instance, the expression 1 2 xe( 1 i)x gets rewritten as (0 + 1 2 x)e( 1 i)x, which has two coefficients: 0 and 1 2. A constant polynomial other than 0 has one coefficient. Thus, the expression 5e x in the right side of the differential equation tells us that the root 1 has one coefficient in the given right side. When the polynomial is the constant 0 (as in 0e 2X, we say it has no coefficients. Thus (for instance) the last entry in the table is 0. It should also be noted that the number of coefficients is one greater than the degree of the polynomial. For instance, (2 + 1x) has two coefficients; it is a polynomial of degree 1. We may be tempted to think in terms of degree (because we have a name for it: degree ), but it turns out that we can work more easily in terms of the number of coefficients. Each number in the table is found from the given equation, but it turns out that each number in the table also tells us something about the form of the answer we re looking for. root 3 1 i 1 + i 0 1 2 exponent in given left side 2 1 1 1 0 1 = number of arbitrary coefficients in answer number of coefficients in given right side 2 2 2 2 1 0 = number of particular coefficients in answer Now we can write down a preliminary form of the answer: y = (a 1 + a 2 x + p 1 x 2 + p 2 x 3 )e 2 arb s 2 partic s {{ root= 3 + ( a 3 + p 3 x + p 4 x 2 )e 1 arb 2 partic s {{ root= 1 i + ( a 4 + p 5 x + p 6 x 2 )e 1 arb 2 partic s {{ root= 1 + i + ( a 5 + p 7 x + p 8 x 2 )e 1 arb 2 partic s {{ root= 0 + p 9 1 partic root= 1 e 1x e 2x + a 6 1 arb {{ root= 2 2

or more briefly y = (a 1 + a 2 x + p 1 x 2 + p 2 x 3 )e 3x + (a 3 + p 3 x + p 4 x 2 )e ( 1 i)x +(a 4 + p 5 x + p 6 x 2 )e ( 1+i)x + (a 5 + p 7 x + p 8 x 2 ) + p 9 e x + a 6 e 2x, where the a s are arbitrary and the p s are particular (non-arbitrary). The abstract theory tells us that the answer is of this form. It is a sum of polynomials times exponentials. Each polynomial consists of several arbitrary terms, which are (in order of increasing exponent on x) first the arbitrary terms, then the particular terms. Now, in all the problems we re going to consider, all the given data involves only real numbers. Any polynomial with real coefficients has its complex roots occurring in complex conjugate pairs that is, if r + is is a root, then r is is also a root. Consequently, any term e rx e isx is accompanied by an e rx e isx term. Those two terms (preceded by arbitrary coefficients and some power of x) can be transformed into the two terms e rx cos(sx) and e rx sin(sx) (preceded by different arbitrary coefficients and the same power of x). For instance, our lengthy example given above can now be rewritten as y = (a 1 + a 2 x + p 1 x 2 + p 2 x 3 )e 3x + (b 3 + q 3 x + q 4 x 2 )e x cos x +(b 4 + q 5 x + q 6 x 2 )e x sin x + (a 5 + p 7 x + p 8 x 2 ) + p 9 e x + a 6 e 2x which makes no explicit mention of non-real numbers. Here the a s and b s are arbitrary and the p s and q s are particular (nonarbitrary). To finish the problem, we still must take these steps: Plug this formula for y back into the original equation, and see what it tells us about the a s, b s, p s, and q s. If we ve done it correctly, all the a s and b s will cancel out, and we ll find out nothing about them; they remain arbitrary. But the p s and q s will not cancel out; we ll obtain several equations just involving p s and q s. Solve those equations to find particular numbers for the p s and q s. The result is an equation of the form y = (some function), where the function may involve x, a s, b s, and numbers. (If the problem had initial conditions, then we plug those into our results, and they now yield information about the a s and b s. Solve those equations, to find the values of the a s and b s. In the result, the answer is y = (some function of just x); it does not involve any other unknowns. But we ll ignore this case for the moment.) When we re looking for the p s and q s, we can ignore the a s and b s. Thus, as our problem presently stands, we are to find p s and q s to satisfy [ D(D + 3) 2 (D 2 + 2D + 2)(D 2) (p 1 x 2 + p 2 x 3 )e 3x +(q 3 x + q 4 x 2 )e x cos x + (q 5 x + q 6 x 2 )e x sin x + (p 7 x + p 8 x 2 ) +p 9 e x ] = (x + 2)e 3x + xe x cos x + 2x + 5e x. 3

But the operator D(D + 3) 2 (D 2 + 2D + 2)(D 2) is linear. Consequently, it suffices to solve these four slightly simpler problems: Find p s and q s so that and D(D + 3) 2 (D 2 + 2D + 2)(D 2)[ (p 1 x 2 + p 2 x 3 )e 3x ] = (x + 2)e 3x D(D + 3) 2 (D 2 + 2D + 2)(D 2)[ (p 7 x + p 8 x 2 ) ] = 2x D(D + 3) 2 (D 2 + 2D + 2)(D 2)[ p 9 e x ] = 5e x D(D + 3) 2 (D 2 + 2D + 2)(D 2)[(q 3 x + q 4 x 2 )e x cos x +(q 5 x + q 6 x 2 )e x sin x] = xe x cos x. However, that s as far as I m going to go with the first example that I ve been developing for the last couple of pages. It s a good example for illustrating how to do the problem up to this point, but a poor example for illustrating how to finish the last few steps of the problem, because it is far too messy. Instead I ll show how to finish the problem on a few easier examples. We ll see that the last few steps use techniques that vary from one problem to another. Example 2. y + 4y + 4y = 7e 2x + 5e 3x. Solution. This equation gets rewritten as so it has this chart: (D ( 2)) 2 (D 3) 0 y = 7e 2x + 5e 3x, root 2 3 exponent in given left side 2 0 = number of arbitrary coefficients in answer number of coefficients in given right side 1 1 = number of particular coefficients in answer and this preliminary form of solution: y = (a 0 + a 1 x + p 0 x 2 )e 2x + p 1 e 3x. The problem can be broken into these two simpler problems: [ ] (D + 2) 2 p 0 x 2 e 2x = 7e 2x, [ ] (D + 2) 2 p 1 e 3x = 5e 3x. 4

For the first of those two problems, we can use a shortcut mentioned in class: We can make use of the fact that (D k)[f(x)e kx ] = f (x)e kx for any function f and any constant k. That is, applying D k to a function times the corresponding exponential e kx has the same effect as replacing the function f(x) with its derivative. This procedure can be repeated as many times as we like we have (D k) 2 [f(x)e kx ] = f (x)e kx and (D k) 3 [f(x)e kx ] = f (x)e kx, etc. In particular, taking k = 2, we look for the second derivative of p 0 x 2. That s easy to compute; it is 2p 0. Hence the equation (D + 2) 2 [p 0 x 2 e 2x ] = 7e 2x simplifies to 2p 0 e 2x = 7e 2x. Thus p 0 = 7/2. The equation (D + 2) 2 [p 1 e 3x ] = 5e 3x will take a little more work. Here is a tedious but fairly straightforward method: if u = p 1 e 3x 4 then u = 3p 1 e 3x 4 u = 9p 1 e 3x 1 u + 4u + 4u = 25p 1 e 3x = 5e 3x and so p 1 must be 1/5. Thus we arrive at the answer y = (a 0 + a 1 x + 72 x2 ) e 2x + 1 5 e3x. Example 3. Same as the preceding example, but also with initial conditions y(0) = 2 and y (0) = 0. Solution. We begin as in the preceding example. Then continue as follows: y = a 0 e 2x +a 1 xe 2x + 7 2 x2 e 2x + 1 5 e3x y = ( 2a 0 + a 1 )e 2x +( 2a 1 + 7)xe 2x 7x 2 e 2x + 3 5 e3x 2 0 = y(0) = a 0 + 1 5 = y (0) = 2a 0 + a 1 + 3 5 Solve the third equation for a 0 ; thus a 0 = 2 1 = 9/5. Then solve the fourth equation for 5 a 1 ; thus a 1 = 2a 0 3 = 18 3 5 5 = 15 5 = 3. Thus we arrive at the answer y = ( 9 5 + 3x + 7 ) 2 x2 e 2x + 1 5 e3x. 5

Example 4. y 4y + 4y = (1 + x)e 2x. Solution. This equation gets rewritten as (D 2) 2 y = (1 + x)e 2x, so it has this chart: and this preliminary form of solution: We are looking for p 0 and p 1 to satisfy root 2 exponent in given left side 2 = number of arbitrary coefficients in answer number of coefficients in given right side 2 = number of particular coefficients in answer y = (a 0 + a 1 x + p 0 x 2 + p 1 x 3 )e 2x. (D 2) 2 [(p 0 x 2 + p 1 x 3 )e 2x ] = (1 + x)e 2x. Again we make use of the formula (D k) n [f(x)e kx ] = f (n) (x)e kx. With k = 2 and n = 2 and f(x) = p 0 x 2 + p 1 x 3, that tells us (D 2) 2 [(p 0 x 2 + p 1 x 3 )e 2x ] = (2p 0 + 6p 1 x)e 2x. Hence the problem we re trying to solve reduces to (2p 0 + 6p 1 x)e 2x = (1 + x)e 2x which yields 2p 0 = 1 and 6p 1 = 1. Thus p 0 = 1/2 and p 1 = 1/6, so the answer is y = (a 0 + a 1 x + 12 x2 + 16 x3 ) e 2x. Example 5. y 4y + 4y = 12e 2x sin 3x. Solution. This equation gets rewritten as (D 2) 2 y = 6ie (2+3i)x + 6ie (2 3i)x, but actually that s more than we need to know. With less work, we can determine that the equation is of the form (D 2) 2 y = (some constant)e (2+3i)x + (some constant)e (2 3i)x 6

(where the two constants are not necessarily the same). That s enough to tell us that the problem has this chart: root 2 2 + 3i 2 3i exponent in given left side 2 0 0 = number of arbitrary coefficients in answer number of coefficients in given right side 0 1 1 = number of particular coefficients in answer and this preliminary form of solution: which can be rewritten as y = (a 0 + a 1 x)e 2x + p 1 e (2+3i)x + p 2 e (2 3i)x y = (a 0 + a 1 x)e 2x + qe 2x cos 3x + re 2x sin 3x. We must find the constants q and r. Unfortunately, there are no shortcuts here; the method for finding q and r is long and tedious. Let u = qe 2x cos 3x +re 2x sin 3x 4 Then u = qe 2x (2 cos 3x 3 sin 3x) +re 2x (2 sin 3x + 3 cos 3x) 4 u = qe 2x ( 5 cos 3x 12 sin 3x) +re 2x ( 5 sin 3x + 12 cos 3x) 1 u 4u + 4u = qe 2x ( 9 cos 3x) +re 2x ( 9 sin 3x) = 12e 2x sin 3x Note that each differentiation uses the rule for the product of the derivative of two functions. For the term in the u row and the q column is d dx [e2x cos 3x] = (e 2x ) (cos 3x) + (e 2x )(cos 3x) = 2e 2x cos 3x 3e 2x sin 3x. The last line of the table yields q = 0 and r = 12/9 = 4/3, so y = (a 0 + a 1 x)e 2x 4 3 e2x sin 3x. Here is a minor variant: Instead of sorting q and r into separate columns, we can sort cos and sin into separate columns. It s the same computation, with the same result, but it looks a little different: Start with u = qe 2x cos 3x +re 2x sin 3x 4 Then u = (2q + 3r)e 2x cos 3x +(2r 3q)e 2x sin 3x 4 u = ( 5q + 12r)e 2x cos 3x +( 5r 12q)e 2x sin 3x 1 u 4u + 4u = ( 9q)e 2x cos 3x +( 9r)e 2x sin 3x = 12e 2x sin 3x, with the same result as the preceding method. slightly easier. In some problems this variant may be 7

Here is a more substantial variant: What if we retained the complex numbers until the end of the problem The solution of is of the form (D 2) 2 y = 6ie (2+3i)x + 6ie (2 3i)x y = (a 0 + a 1 x)e 2x + se (2+3i)x + te (2 3i)x where we must find the constants s and t. Compute as follows: u = se (2+3i)x +te (2 3i)x 4 u = (2 + 3i)se (2+3i)x +(2 3i)te (2 3i)x 4 u = (2 + 3i) 2 se (2+3i)x +(2 3i) 2 te (2 3i)x = ( 5 + 12i)se (2+3i)x +( 5 12i)te (2 3i)x 1 u 4u + 4u = 9se (2+3i)x 9te (2 3i)x = 6ie (2+3i)x +6ie (2 3i)x which yields s = 6i/9 = 2i/3 and t = 6i/9 = 2i/3. Then y = (a 0 + a 1 x)e 2x +se (2+3i)x + te (2 3i)x = (a 0 + a 1 x)e 2x + 2i 3 e(2+3i)x 2i 3 e(2 3i)x = (a 0 + a 1 x)e 2x + 2i 3 e2x (e 3ix e 3ix ) = (a 0 + a 1 x)e 2x + 2i 3 e2x (2i sin 3x) = (a 0 + a 1 x)e 2x 4 3 e2x sin 3x, the same answer obtained by the previous methods. 8