COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS

Similar documents
Second-Order Homogeneous Linear Equations with Constant Coefficients

Partial Fractions and the Coverup Method Haynes Miller and Jeremy Orloff

With this expanded version of what we mean by a solution to an equation we can solve equations that previously had no solution.

Topic 4 Notes Jeremy Orloff

Lecture Notes for Math 251: ODE and PDE. Lecture 12: 3.3 Complex Roots of the Characteristic Equation

C. Complex Numbers. 1. Complex arithmetic.

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

Mathematical Review for AC Circuits: Complex Number

3 + 4i 2 + 3i. 3 4i Fig 1b

Overview of Complex Numbers

CHAPTER 8. COMPLEX NUMBERS

Partial Fractions Jeremy Orloff

Homogeneous Constant Matrix Systems, Part II

MATHEMATICS Lecture. 4 Chapter.8 TECHNIQUES OF INTEGRATION By Dr. Mohammed Ramidh

7.5 Partial Fractions and Integration

Chapter 8B - Trigonometric Functions (the first part)

Honors Advanced Math Final Exam 2009

A: Brief Review of Ordinary Differential Equations

Complex Numbers and the Complex Exponential

10. Operators and the Exponential Response Formula

Dr. Relja Vulanovic Professor of Mathematics Kent State University at Stark c 2008

Differential Equations

z = x + iy ; x, y R rectangular or Cartesian form z = re iθ ; r, θ R polar form. (1)

PARTIAL FRACTIONS: AN INTEGRATIONIST PERSPECTIVE

Practice Differentiation Math 120 Calculus I Fall 2015

Re(z) = a, For example, 3 + 2i = = 13. The complex conjugate (or simply conjugate") of z = a + bi is the number z defined by

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

In Z: x + 3 = 2 3x = 2 x = 1 No solution In Q: 3x = 2 x 2 = 2. x = 2 No solution. In R: x 2 = 2 x = 0 x = ± 2 No solution Z Q.

MATH 135: COMPLEX NUMBERS

Math53: Ordinary Differential Equations Autumn 2004

Week 2 Techniques of Integration

1MA1 Introduction to the Maths Course

8.3 Partial Fraction Decomposition

CHAPTER 4. APPLICATIONS AND REVIEW IN TRIGONOMETRY

Lecture 3f Polar Form (pages )

Mathematics of Imaging: Lecture 3

Quick Overview: Complex Numbers

COMPLEX NUMBERS AND SERIES

1 (2n)! (-1)n (θ) 2n

Complex Numbers. Integers, Rationals, and Reals. The natural numbers: The integers:

Unit 6 Trigonometric Identities Prove trigonometric identities Solve trigonometric equations

C. Finding roots of trinomials: 1st Example: x 2 5x = 14 x 2 5x 14 = 0 (x 7)(x + 2) = 0 Answer: x = 7 or x = -2

Chapter 2: Complex numbers

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

Ordinary Differential Equations

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

1.4 Techniques of Integration

INTEGRATING RADICALS

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

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

Topic 1 Notes Jeremy Orloff

Math Assignment 5

1 Review of complex numbers

Complex Numbers. James K. Peterson. September 19, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Complex Numbers. Outline. James K. Peterson. September 19, Complex Numbers. Complex Number Calculations. Complex Functions

CHAPTER 7: TECHNIQUES OF INTEGRATION

CHAPTER 1 COMPLEX NUMBER

8.6 Partial Fraction Decomposition

Solutions to the Homework Replaces Section 3.7, 3.8

Complex Numbers Review

Math 101 Review of SOME Topics

2nd-Order Linear Equations

Chapter 3: Complex Numbers

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

Math 312 Lecture Notes Linear Two-dimensional Systems of Differential Equations

Work sheet / Things to know. Chapter 3

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

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Homogeneous Constant Matrix Systems, Part II

3.4 Complex Zeros and the Fundamental Theorem of Algebra

4.10 Dirichlet problem in the circle and the Poisson kernel

Systems of Linear ODEs

Math 20B Supplement August 2017 version Linked to Calculus: Early Transcendentals, by Jon Rogawski, Edition 3, c 2015

Problem 1: Lagrangians and Conserved Quantities. Consider the following action for a particle of mass m moving in one dimension

Foundations of quantum mechanics

Math 3313: Differential Equations Second-order ordinary differential equations

Solutions to the Homework Replaces Section 3.7, 3.8

21 Linear State-Space Representations

October 27, 2018 MAT186 Week 3 Justin Ko. We use the following notation to describe the limiting behavior of functions.

MCR3U - Practice Mastery Test #9 & #10

10.1 Complex Arithmetic Argand Diagrams and the Polar Form The Exponential Form of a Complex Number De Moivre s Theorem 29

Exam 2 Study Guide: MATH 2080: Summer I 2016

How to Find Limits. Yilong Yang. October 22, The General Guideline 1

Numerical Methods. Equations and Partial Fractions. Jaesung Lee

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

Lecture 6: Differential Equations Describing Vibrations

Math 5a Reading Assignments for Sections

Algebra & Trig Review

10 Motivation for Fourier series

Main topics for the First Midterm

1 Functions and Inverses

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

4.8 Partial Fraction Decomposition

Springs: Part I Modeling the Action The Mass/Spring System

1 Review of simple harmonic oscillator

MA1131 Lecture 15 (2 & 3/12/2010) 77. dx dx v + udv dx. (uv) = v du dx dx + dx dx dx

Complex Numbers and Exponentials

COMPLEX ANALYSIS TOPIC V: HISTORICAL REMARKS

2. FUNCTIONS AND ALGEBRA

Mathematics Self-Assessment for Physics Majors

Transcription:

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS BORIS HASSELBLATT CONTENTS. Introduction. Why complex numbers were first introduced (digression) 3. Complex numbers, Euler s formula 3 4. Homogeneous differential equations 8 5. Undetermined coefficients 6. Laplace transforms 3 7. Partial fractions 5 8. Complex eigenvalues (covered in [, Section 3.8) References. INTRODUCTION These notes introduce complex numbers and their use in solving differential equations. Using them, trigonometric functions can often be omitted from the methods even when they arise in a given problem or its solution. Still, the solution of a differential equation is always presented in a form in which it is apparent that it is real. One one hand this approach is illustrated with the method of undetermined coefficients, where this approach offers a parallel development to the one in the text [. On the other hand, this is done with the Laplace transform, where the use of complex numbers replaces much otherwise needed machinery and at the same time covers situations that the methods in the text do not. Here a big step is to produce partial-fractions decompositions using complex numbers. The reason the method of undetermined coefficients is revisited here in the complex context is that fluency with this method is very helpful in using the Laplace transform method reliably. The exercises are not for credit but will help you read this text actively.

BORIS HASSELBLATT. WHY COMPLEX NUMBERS WERE FIRST INTRODUCED (digression) Complex numbers have turned out to be tremendously useful in ways that could not possibly have been anticipated when they were introduced. They first arose in the context of finding solutions of cubic equations. To see how finding roots of cubic polynomials leads to complex numbers, let us recapitulate the quadratic formula: The roots of a quadratic polynomial x + px + q are given by p ± p 4 q. This is a special case of the usual form of the quadratic formula, and this simplification foreshadows a simplification that makes a formula for cubics palatable. To solve a cubic, one first simplifies it to a depressed (no x -term) monic (leading coefficient ) cubic. In 6th century Italy, several people independently found that one root of a cubic is given by 3 q + q x 3 + px + q 4 + p3 7 + 3 q q 4 + p3 7. Example. For x 3 5x 4 0 this gives the solution x 3 + + 3 This must have looked impossible at the time, and yet, one can also find a real solution by inspection: x 3 5x 4 x(x 5) 4 0 for x 4. And this is indeed what the formula gives, because by multiplying out, we get ( + ) 3 + and ( ) 3, so the formula becomes x 3 + + 3 + + 4. This example shows that if one is willing to allow the symbol and applies the usual rules of algebra, meaningful real solutions can be obtained that might not be otherwise obtainable. See http://en.wikipedia.org/wiki/cubic_function.

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 3 3. COMPLEX NUMBERS, EULER S FORMULA. Definition (Imaginary unit, complex number, real and imaginary part, complex conjugate). We introduce the symbol i by the property i A complex number is an expression that can be written in the form a + i b with real numbers a and b. Often z is used as the generic letter for complex numbers, just like x often stands for a generic real number. If a and b are real numbers, then a is called the real part of a + i b, and b is called the imaginary part. (Note that both are real numbers!) The expression a i b is called the complex conjugate of a + i b. It is sometimes denoted by a bar: 3. Exercise. Verify that z z. a + i b a i b. 4. Exercise. Verify that any real number x satisfies x x. 5. Exercise. Verify that a complex number z satisfying z z is a real number. 3.. Adding complex numbers. Complex numbers are added using the usual rules of algebra except that one usually brings the result into the form a + i b. That is, (a + i b) + (c + i d) (a + c) + i (b + d). Adding a complex number and its complex conjugate always gives a real number: a + i b + a i b a. This is twice the real part. So, if we are given a complex number z a +i b in any form, we can express the real part as R(z) real part of z z + z. The imaginary part can be expressed as (check!) I(z) imaginary part of z z z. i 3.. Multiplying complex numbers. To multiply two complex numbers just use i and group terms: (a + i b)(c + i d) ac + ai d + i bc + i bi d ac bd + i (ad + bc). bd

4 BORIS HASSELBLATT Multiplying a complex number and its complex conjugate always gives a real number: (a + i b)(a i b) a + b. We call a + b the absolute value or modulus of a + i b: 6. Exercise. Verify that z zz. 7. Exercise. Verify that z z z z. 8. Exercise. Verify that z z z z. a + i b a + b 3.3. Dividing complex numbers. To divide two complex numbers and write the result as real part plus i imaginary part, multiply top and bottom of this fraction by the complex conjugate of the denominator: a + i b c + i d a + i b c + i d c i d (a + i b)(c i d) ac + bd + i (bc ad) c i d c + d c + d. 3.4. Factoring polynomials. Factoring polynomials is no harder (or easier) when complex numbers are allowed but in this case all factors are linear. The reason is that factors x α are now legal even when α is complex. 9. Example. The polynomial s + is irreducible over the real numbers, but it factors over the complex numbers: s + (s i )(s + i ). 0. Example. The polynomial s +4s +5 is irreducible over the real numbers, but by completing the square we can write s + 4s + 5 (s + ) + [(s + ) + i [(s + ) i [s + ( + i )[s + ( i ). So, the roots of this polynomial are ± i. 3.5. Euler s formula. Complex numbers are useful in our context because they give Euler s formula e iθ cosθ + i sinθ. This formula is easy to remember. In case you are not sure whether to attach the i to the cos or to the sin, just plug in θ 0.

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 5 Power series let us see why this is so. We have With z iθ this gives e z + z + z / +... cos z z / +... sin z z z 3 /6 +... n0 z n n! ( ) n z n (n)! ( ) n z n+ n0 n0 (n + )! (i ) n ( ) n i (i ) n i ( ) n e iθ (iθ) n i n θ n i n θ n i n+ θ n+ + n0 n! n0 n! n0 (n)! n0 (n + )! ( ) n θ n ( ) n θ n+ + i (n)! (n + )! n0 cosθ + i sinθ. Euler s formula can be read as saying that cosθ R(e iθ ) and sinθ I(e iθ ). Writing out the definitions of R and I gives backward Euler formulas that express cos and sin in terms of complex exponentials. In summary, we will use the forward and backward Euler formulas n0 e iθ cosθ + i sinθ () cosθ eiθ + e iθ sinθ eiθ e iθ i sinθ i (e iθ e iθ ). Exercise. Show that e z e z.. Exercise. Verify that if λ is complex and ae λt + be λt is real for all t, then b a via the following steps. () Rewrite the given information using Exercises 4 (page 3) and. () The deriviative of ae λt +be λt is also real compute it and proceed as in the previous part. (3) Take t 0 in the expressions obtained in both previous parts. 3.6. The complex plane. While real numbers can be geometrically represented by a number line, complex numbers can be represented by a plane, called the complex plane. Taking the real number line as a horizontal axis, one can introduce a vertical axis with i as the unit on it. Then In case you are wondering what the left-hand side of each of the equations means, you can take the equation to be a definition.

6 BORIS HASSELBLATT a +i b can be understood as representing a point in this plane in terms of cartesian coordinates. The power of this representation is related to the fact that Euler s formula represents the same plane but using polar coordinates. 3 To see this, look at z e a+i b e a e i b e a cosb + i e a sinb. Here e a plays the role of r in polar coordinates, and indeed, e a+i b z z z e a+i b e a i b e a e a. So in the complex plane, e a+i b has distance e a from the origin and lies in a direction relative to the horizontal axis given by the angle b, which is called the argument of e a+i b. One consequence is that multiplication of complex numbers can be interpreted geometrically: e a e i b e c e i d e a+i b e c+i d e a e c e i (b+d). The absolute value of this product is e a e c, which is the product of the absolute values of the numbers. The argument is the sum of the arguments of the numbers. Geometrically: since the argument is an angle, multiplying a complex number by another rotates and scales it. 3.7. Exponential shift. As in [, p. 3, the exponential shift works for complex exponentials (you can check that the calculation on the bottom half of that page does not use that λ is real): 3. Example. P(D)[e λt y e λt P(D + λ)y. (D + 3) 5 e t e 3t D 5 e 3t e t e 3t D 5 e t e 3t 5 e t 5 e t. 3.8. Hyperbolic functions (digression). While we think of t as a real variable in Euler s formula, one gets an interesting result when one plugs imaginary numbers into cos and sin: cosi x ei (i x) i (i x) + e e x + e x e x + e x : cosh x. Here, cosh x is the hyperbolic cosine function defined by this last equality. Likewise, sini x ei (i x) i (i x) e e x e x i e x e x i sinh x. i i 3 Recall that polar coordinates in the plane are of the form (r cosθ,r sinθ), where r is the distance from the origin and θ the angle with the horizontal axis.

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 7 In summary, cosh x cosi x, sinh x i sini x, and e x cosh x + sinh x. 3.9. The trigonometric-identity machine (useful digression). Euler s formula produces many trigonometric identities by the rules of exponents. 4. Example. Find formulas for cos(a + b) and for sin(a + b). We start with the law of exponents e i (a+b) e i a e i b and rewrite every exponential using Euler s formula. On the left we have On the right we have e i (a+b) cos(a + b) + i sin(a + b). e i a e i b ( cos a + i sin a )( cosb + i sinb ) ( cos a cosb sin a sinb ) + i ( sin a cosb + cos a sinb ). Since these two things are the same, we get cos(a+b)+i sin(a+b) ( cos a cosb sin a sinb ) +i ( sin a cosb+cos a sinb ). Matching real and imaginary parts, we get cos(a +b) cos a cosb sin a sinb and sin(a +b) sin a cosb+cos a sinb. 5. Example. To get double-angle formulas, take a b: cos(a) cos a sin a sin a and sin(a) sin a cos a. 6. Example. To obtain triple-angle formulas use the law e 3i a ( e i a) 3 and rewrite every term using Euler s formula, multiply out and sort terms. (Or use Example 4 with b a and double-angle formulas along the way.) 7. Example. Should you ever need a formula for cos(a + b + c), you can start with the law of exponents e i (a+b+c) e i a e i b e i c and rewrite every exponential using Euler s formula, then multiply out and sort terms. 8. Example (Compare with [, p. 58). Second-order differential equations often have solutions that can be written as x(t) R(ce λt ) c eλt + c e λt (see Exercise ). If we are given initial conditions x(0) x 0 and x (0) v 0 and write λ σ + iω, then we find that x 0 x(0) R(ce λ0 ) Rc and v 0 x (0) R(cλe λ0 ) R(cλ) R((x 0 + iic) ( σ + iω)) σx 0 ωic,

8 BORIS HASSELBLATT so c Rc + iic x 0 i v 0+σx 0 ω, and the solution x(t) R(ce λt ) can be written as ( e σt R (x 0 i v 0 + σx 0 )(cosωt+i sinωt) ) e σt [x 0 cosωt+ v 0 + σx 0 sinωt. ω ω This can be rewritten in a way that involves only a sine or a cosine, but not both. To see how, write c e a iα to get c eλt + c e λt e a iα e ( σ+iω)t +e a+iα e ( σ iω)t e a e σt ei (ωt α) + e i (ωt α) If we set A e a c where x 0 + ( v0 +σx 0 ω ), then this means that x(t) R(ce λt ) Ae σt cos(ωt α), cos(ωt α) cosα + i sinα e iα e iα e a e a iα A c x 0 A + i v 0 + σx 0, ωa that is, cosα x 0 A and sinα v 0 + σx 0. ωa 4. HOMOGENEOUS DIFFERENTIAL EQUATIONS If one uses complex numbers, then the method described in [, Sections.5,.6 looks slightly different, and there are a few choices one can make. The point of [, p. 3 is that the method of [, Section.5 works even for complex roots of the characteristic polynomial, but that some care should be taken to make sure one ultimately writes down real solutions only. 9. Example ([, Example.6.). Solve (D + 4D + 5)x 0. The characteristic polynomial has roots λ ± ± i (see Example 0), which gives solutions e λ ±t, or e λ +t and e λ t, or e ( +i )t and e ( i )t. However, neither of these is a real solution 4. There are different ways of obtaining real solutions. We can write the general solution as ce ( +i )t + ce ( i )t, and for c this becomes e( +i )t + e( i )t R(e ( +i )t ), 4 i.e., a real-valued function that solves the differential equation..

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 9 while for c i this becomes i e( +i )t i e( i )t I(e ( +i )t ). So, for the purpose of finding the general solution, we can choose, as in [, Section.6 but with different notation, the solutions R(e ( +i )t ) e t cos t and I(e ( +i )t ) e t sin t. This gives the formulas at the end of [, Section.6. 0. Example ([, Exercise.6.7). Solve the initial-value problem (5D + D + )x 0; x(0) 0, x (0). The roots of the characteristic polynomial are λ ± 5 ± 5i, giving the general solution c + e λ +t + c e λ t, or c + e ( 5 + 5 i )t + c e ( 5 5 i )t. This is not quite proper since it involves complex functions, but unlike in the previous example, this is also not the desired final answer anyway since we wish to solve an initial-value problem. While we could proceed as before and write out the general solution in real terms and then determine the correct coefficients from the initial values, we can instead directly do so with the complex solution above. The condition x(0) 0, x (0) applied to x(t) c + e ( 5 + 5 i )t + c e ( 5 5 i )t gives λ + c + + c 0, c + λ + + c λ. Cramer s rule gives ( ) 0 det λ c + ( ) λ λ + det 5 i 5 i. λ Now, Exercise (on page 5) or an analogous computation or the first equation tells us that c c + 5 i. Therefore the solution of the

0 BORIS HASSELBLATT initial-value problem is x(t) 5 ( e 5 + 5 i )t 5 ( e 5 5 i )t 5 i i e t/5 e 5 i t e 5 i t i c + c sin 5 t 5 e t/5 sin 5 t. Which version works better is a matter of taste; the one presented here leads directly to the coefficients from the complex form with a computation involving equations in unknowns, and it is reassuring (basic sanity check) that the end result is real.. Example ([, Exercise.6.7 with real functions). Solve the initialvalue problem (5D + D + )x 0; x(0) 0, x (0). The roots of the characteristic polynomial are λ ± 5 ± 5i, giving by Exercise the general solution ce λ +t + ce λ t, or ce ( 5 + 5 i )t + ce ( 5 5 i )t. Since this is a real function by Exercise, it is quite proper, even though the coefficients are complex. There is only one (complex) coefficient to determine. The condition x(0) 0, x (0) applied to x(t) ce ( 5 + 5 i )t + ce ( 5 5 i )t gives c + c 0, cλ + + c λ +. The first equation (which says that c is imaginary) gives c c, so the second equation gives c (λ + λ + ) c iiλ + c i 5, so c 5 i. As above, one then finds that the solution of the initial-value problem is x(t) 5 e t/5 sin 5 t.

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 5. UNDETERMINED COEFFICIENTS The method of undetermined coefficients works much like in [, Section.7, but we use complex exponentials and complex factoring of polynomials where appropriate.. Example ([, Example.7.5). Solve (N) (D 4)x + 65e t cost. Since D 4 (D )(D +), the general solution of the associated homogeneous equation (H) (D 4)x 0 is x H(t) c e t + c e t. The forcing term of (N) can be rewritten as + 65 e(+i )t + 65 e( i )t and is therefore annihilated by A(D) D(D ( + i ))(D ( i )). Therefore a particular solution x p(t) of (N) will also satisfy (H*) D(D ( + i ))(D ( i ))(D )(D + ) x 0. A(D) D 4 This has characteristic polynomial r (r (+i ))(r ( i ))(r )(r +), so p(t) has to be of the form p(t) k + k e (+i )t + k 3 e ( i )t +k 4 e t + k 5 e t. omit for simplified guess 3. Remark. When we use this method later to predict what terms to expect in applying the Laplace transform method, then we can stop at this point. We get a simplified guess by omitting the terms that solve (H): p(t) k + k e (+i )t + k 3 e ( i )t.

BORIS HASSELBLATT To determine the (as yet undetermined) coefficients k, k and k 3, insert this simplified guess into (N), written with the forcing term on the left: + 65 e(+i )t + 65 e( i )t! (D 4)p(t) (D 4)[k + k e (+i )t + k 3 e ( i )t (D 4)k + (D (+i )t 4)k e + (D ( i )t 4)k 3 e (complex exponential shift) 4k + e (+i )t ([D + ( + i ) 4)k + e ( i )t ([D + ( i ) 4)k 3 (derivatives of k,k 3 are zero) 4k + e (+i )t (( + i ) 4)k + e ( i )t (( i ) 4)k 3 Since the functions, e (+i )t and e ( i )t are linearly independent, we can equate coefficients of like terms on left and right: 4k, (( + i ) 4)k 65, (( i ) 4)k 3 65. Thus, k /4 and 65 k (( + i ) 4) 65 ( + 4i 4 4) 65 (4i 7) ( 4i 7) and (either by a like computation or because it must be the complex conjugate 5 ) This gives k 3 (4i 7). p(t) 4 + ( 4i 7)e(+i )t + )t (4i 7)e( i 4 4i e t (e i t e i t ) 7 e t (e i t + e i t ) 4 + 4e t sint 7e t cost. The general solution of (N) then is the sum of H(t) and p(t): x H(t) + p(t) c e t + c e t 4 + 4e t sint 7e t cost. This completes the example. We note that when using trigonometric functions as in the text, one has to solve a system of equations to true! 5 Don t use the must be the complex conjugate -shortcut unless you know why it s

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 3 find k and k 3, while with complex exponentials one instead computes the reciprocal of a complex number. 6. LAPLACE TRANSFORMS The definition of the Laplace transform in the textbook [, page 4 (see also [, Example 5.. and [, Example 5..4) gives L [t n e λt (s) ( integration by parts: ut n, d ve (s λ)t d t 0 Applying this recursively, we find () L [t n e λt (s) e st t n e λt d t t n e (s λ)t d t 0 if n 0 s λ ) n 0 + t n e (s λ)t d t if n s λ 0 if n 0 s λ n s λ L [t n e λt (s) if n. next lower power of t [ n! (s λ) n+ L (s λ) n (t) (n )! t n e λt This will go quite far when combined with partial fractions. Note that for n 0 this gives L [e λt (s) s λ [ L (t) e λt s λ for λ 0 this gives L [t n (s) n! s n+ [ L s n (t) (n )! t n and for n λ 0 this gives L [(s) s L [ s (t)

4 BORIS HASSELBLATT We can go further without more calculus. Taking n 0 and replacing λ by λ ± iβ we get from Euler s formula () L [cosβt e λt (s) L [e(λ+iβ)t + e (λ iβ)t (s) and e iβt +e iβt / s (λ + iβ) + / s (λ iβ) / (s λ) + iβ + / (s λ) iβ) s (s λ) + β L [sinβt e λt (s) i L [e(λ iβ)t e (λ iβ)t (s) e iβt e iβt i /i s (λ + iβ) /i s (λ iβ) /i (s λ) + iβ /i (s λ) iβ β (s λ) + β. The case λ 0 is worth remembering 6 : L [cosβt s s + β L [sinβt Here is a slightly different way of getting at these. R(e (λ+iβ)t ) L [ cosβt R(e iβt ) Indeed, more generally, β s + β e λt (s) R(L [e (λ+iβ)t (s)) R ( s λ iβ R(t n e (λ+iβ)t ) L [ t n cosβt R(e iβt ) e λt (s) R ( n! (s λ iβ) n+ ) This is not in itself very useful, however. In any one problem, decomposing everything into exponentials is the way to go. Example 30 below shows this in an instance where other methods are a lot more work, ) 6 To remember which is which, remember that sin is an odd function, so L [sinβt(s) must be an odd function of β, while L [cosβt(s) must be an even function of β.

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 5 7. PARTIAL FRACTIONS Partial-fractions decompositions are easier with complex numbers, because irreducible quadratics are no longer a difficulty: everything reduces to linear factors. This is of interest wherever partial fractions might be useful: They first appeared in the context of the integration of rational functions, and if only linear factors occur, then all integrals are logarithms. Likewise, linear denominators are most convenient for inverse Laplace transforms. One usually has to patiently work the partial-fractions decompositions that arise and put up with complex coefficients, but partial-fractions decompositions can often be found by inspection rather than plodding through an algorithm. For instance, they are always easy when the denominator consists of linear factors and the numerator is constant: (s a)(s b) (s a) (s b) (s a)(s b) b a b a s b b a s a. 4. Example ([, Example 5.3.3: Distinct roots). Solve the initial-value problem x x sin t x(0) 0. Note first that the method of undetermined coefficients tells us to expect no terms other than e t, cos t and sin t in the solution (or: no terms other than e t, e i t and e i t ). This was the purpose of Remark 3. Applying L we get and hence x(t) L [ [ i (s )L [x L (e i t e i t ) i s + i i (s )(s + i ) + L [ i (s )(s i ) i s i RL [ i (s )(s + i ) since the terms are complex conjugates. This partial-fractions decomposition is easy: i (s )(s + i ) i + i +i i i i +i +i (s + i ) (s ) (s )(s + i ) + i ( s s + i ),

6 BORIS HASSELBLATT so x(t) RL [ i (s )(s + i ) R[( + i )(e t e i t ) R[( + i )(e t cos t + i sin t) R[e t cos t sin t + i (something) e t cos t sin t. We conclude that the initial-value problem has the unique solution Dx x sin t x(0) 0. x e t cos t sin t. The form matches with our expectations from the method of undetermined coefficients (Remark 3), so one only needs to check the initial condition to verify that this is correct: x(0) e 0 cos0 sin0 0, as required. 5. Example (Previous example on autopilot). Even plodding through the partial-fractions algorithm is not too bad. We found [ i (s )L [x L (e i t e i t ) i s + i i s i (s i )(s + i ) To find x we look for the partial-fractions decomposition of L [x: (s )(s + i )(s i ) A s + B s i + C s + i To determine A, B, and C, clear fractions A(s + i )(s i ) + B(s )(s + i ) +C (s )(s i ) and then insert the values of s for which the original denominator is zero, that is, s,±i. For s this gives so A. For s i this gives A( + i )( i ) A( (i )) A, B(i )(i + i ) B(i )i B(i i ) B( i ), so B i + i. Finally, for s i we get C ( i )( i i ) C ( i )( i ) C (( i ) + i ) C ( + i ),

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 7 so C + i i + i i i ( ) i i. 6. Remark. Time-saver: B and C are complex conjugates. This is no accident! We thus obtain the partial-fractions decomposition (s )(s + ) s + + i s i + i s + i Note that the two summands involving i are complex conjugates of each other, so they sum to a real number. This is why we expect their numerators B and C to be complex conjugates. Now we untransform and sort terms: + i [ x L s + s i e t + ( + i + i s + i ) e i t + ( i ) e i t e t (ei t + e i t ) + i (ei t e i t ) e t cos t sin t 7. Example ([, Example 5.6.3: Pair of double complex roots). Find L [ s (s + ). We rewrite s (s + ) s (s i ) (s + i ) and look for the partial-fractions decomposition. Seeking a free ride, note that (s + i ) (s i ) 4i s, so s (s + ) s (s i ) (s + i ) (s + i ) (s i ) 4i (s i ) (s + i ) 4i Therefore, L [ s (s i ) (s + i ) ( (s i ) ) (s + i ) L [ /4i (s i ) /4i (s + i ) t [ e i t e i t t sin t. i This concludes the example, but let us also show that even on autopilot we can produce the partial-fractions decomposition without undue exertions: s (s i ) (s + i ) A s i + B (s i ) + C s + i + D (s + i )

8 BORIS HASSELBLATT becomes (by clearing fractions) s A(s i )(s + i ) + B(s + i ) +C (s + i )(s i ) + D(s i ). Set s i to get i B(i ) 4B, hence B i 4 4i. Set s i to get i D( i ) 4D, hence D i 4 4i. Before going on we consolidate the corresponding terms: B(s + i ) + D(s i ) i 4 (s + i ) + i (s i ) 4 Therefore we can rewrite as 4( i (s + si ) + (s si ) ) i (4si ) s. 4 s A(s i )(s + i ) + B(s + i ) +C (s + i )(s i ) + D(s i ) 0 A(s i )(s + i ) +C (s + i )(s i ). This means that we can (and hence must!) take A C 0. Thus, s (s + ) ( 4i (s i ) ) (s + i ) 8. Example ([, Example 5.6.5: Application to initial-value problem). Solve (s i )(s+i ) (D + )x cos t, x(0) x (0) 0. Apply L to both sides to get (s + ) L [x L [cos t L [ei t +e i t ( s i + ) s s + i (s i )(s + i ) Thus, x(t) L [ s (s i ) (s + i ) t sin t by the previous example. 9. Example ([, Example 5.6.4: Same pair of double complex roots). Find L [ (s + ). We can repeatedly use here that (s + i ) (s i ) is a constant, but this will need to be done in stages. Still useful, but let s see how this plays out on autopilot.

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS 9 We write (s + ) (s i ) and produce the partial-fractions (s + i ) decomposition: (s i ) (s + i ) A s i + B (s i ) + C s + i + D (s + i ) becomes (by clearing fractions) (3) A(s i )(s + i ) + B(s + i ) +C (s + i )(s i ) + D(s i ). Algorithm: Solve for A, B, C and D as follows multiply out the right-hand side, sort by powers of s, compare coefficients to get 4 linear equations in these 4 unknowns. Shortcut: Sample useful s-values first to break the problem up. Set s i to get Set s i to get B(i ) 4B, hence B 4. D( i ) 4D, hence D 4. Consolidate the corresponding terms in (3): B(s + i ) + D(s i ) 4( (s + si ) + (s si ) ) (s ). Therefore, (3) becomes A(s i )(s + i ) + B(s + i ) +C (s + i )(s i ) + D(s i ) A(s i )(s + i ) +C (s + i )(s i ) (s ) and, adding (s ) to both sides, (s + ) + (s ) A(s i )(s + i ) +C (s + i )(s i ) A(s + )(s + i ) +C (s + )(s i ). Dividing by the common factor s +, this becomes must be 0 must be / A(s + i ) +C (s i ) (A +C ) s + i (A C ). sorted by powers of s Comparing coefficients of like powers of s we find that A +C 0 and i (A C ) i A,

0 BORIS HASSELBLATT so A 4i and C 4i. Inserting these into the partial-fractions decomposition we find This gives us (s i ) (s + i ) A s i + B (s i ) + C s + i + D (s + i ) /4i s i /4 (s i ) /4i s + i /4 (s + i ) L [ (s + ) L [ /4i s i /4 (s i ) /4i s + i /4 (s + i ) 4i ei t t 4 ei t 4i e i t t 4 e i t e i t e i t t e i t + e i t i sin t t cos t. 30. Example (Initial-value problem producing triple complex roots). Solve (D + 9) x 4sin3t, x(0) x (0) x (0) 0, x (0). We first note that we should expect only the functions sin3t, cos3t, t sin3t, t cos3t, t sin3t, t cos3t in the ultimate solution (Remark 3). 7 Apply L to get (s + 9) L [x 4 3 s + 9, so (4) L [x (s + 9) (s + 9) 3 (s +9) s 3 (s + 9 ) 3 (s 3i )(s+3i ) We need to decompose the right-hand side as follows: s 3 (s 3i ) 3 (s + 3i ) 3 A s 3i + B s + 3i + C (s 3i ) + D (s + 3i ) + E (s 3i ) 3 + F (s + 3i ) 3. 7 Spoiler alert: keeping this in mind and looking at the initial values one might spot that of these functions only t sin3t has first and second derivative equal to 0 for t 0, so we might guess that maybe a multiple of t sin3t alone constitutes the desired solution.

Clear fractions to get COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS s 3 A(s 3i ) (s + 3i ) 3 + B(s 3i ) 3 (s + 3i ) +C (s 3i )(s + 3i ) 3 + D(s 3i ) 3 (s + 3i ) + E(s + 3i ) 3 + F (s 3i ). For s 3i this becomes E 9 3 (6i ) 3 6 6 3 6i, and F must be the 8i complex conjugate: F. We consolidate these terms first: 8i E (s 3i ) 3 + F (s + 3i ) 3 /8i (s 3i ) 3 /8i (s + 3i ) 3 (s+3i )3 (s 3i )3 8i 8i s 3 (s RHS of (4)! + 9) 3 (s 3i )(s+3i ) This is the right-hand side of equation (4), so we just stumbled upon the partial-fractions decomposition we need, that is, (using ()) we have [ s x(t) L 3 (s + 9) 3 (t) [ 8i L (s 3i ) 3 (s + 3i ) 3 t e 3i t e 3i t. 8 i In short, the solution to the given initial-value problem is sin3t x 8 t sin3t. By inspection (really!) one can see that this satisfies the initial condition. This illustrates that we can handle complex roots of any multiplicity, not just double complex roots (as is the case with convolutions). 8. COMPLEX EIGENVALUES (covered in [, Section 3.8) One context in which the use of complex numbers is definitely not optional is that of homogeneous systems of linear differential equations with constant coefficients in which the coefficient matrix has complex eigenvalues. Since this is not an optional subject, all that is needed is covered in [, Section 3.8. REFERENCES [ Martin M. Guterman, Zbigniew H. Nitecki, Differential Equations A First Course, 3 rd ed., Saunders (99).