MA-207 Differential Equations II Ronnie Sebastian Department of - - PowerPoint PPT Presentation

ma 207 differential equations ii
SMART_READER_LITE
LIVE PREVIEW

MA-207 Differential Equations II Ronnie Sebastian Department of - - PowerPoint PPT Presentation

MA-207 Differential Equations II Ronnie Sebastian Department of Mathematics Indian Institute of Technology Bombay Powai, Mumbai - 76 1 / 47 References Elementary differential equations with boundary value problems by William F. Trench


slide-1
SLIDE 1

MA-207 Differential Equations II

Ronnie Sebastian

Department of Mathematics Indian Institute of Technology Bombay Powai, Mumbai - 76

1 / 47

slide-2
SLIDE 2

References

Elementary differential equations with boundary value problems by William F. Trench (available online)

2 / 47

slide-3
SLIDE 3

References

Elementary differential equations with boundary value problems by William F. Trench (available online) Differential Equations with Applications and Historical Notes by George F. Simmons

2 / 47

slide-4
SLIDE 4

Welcome to MA 207, a sequel to MA 108. We begin by reviewing elementary functions, which were discussed in MA 108.

3 / 47

slide-5
SLIDE 5

Welcome to MA 207, a sequel to MA 108. We begin by reviewing elementary functions, which were discussed in MA 108. A function f : R → R of the type f(x) = anxn + an−1xn−1 + · · · + a0 ai ∈ R is called a polynomial function.

3 / 47

slide-6
SLIDE 6

Welcome to MA 207, a sequel to MA 108. We begin by reviewing elementary functions, which were discussed in MA 108. A function f : R → R of the type f(x) = anxn + an−1xn−1 + · · · + a0 ai ∈ R is called a polynomial function. Example x3 + 2x + 5

3 / 47

slide-7
SLIDE 7

Welcome to MA 207, a sequel to MA 108. We begin by reviewing elementary functions, which were discussed in MA 108. A function f : R → R of the type f(x) = anxn + an−1xn−1 + · · · + a0 ai ∈ R is called a polynomial function. Example x3 + 2x + 5 A rational function is a quotient of polynomial functions.

3 / 47

slide-8
SLIDE 8

Welcome to MA 207, a sequel to MA 108. We begin by reviewing elementary functions, which were discussed in MA 108. A function f : R → R of the type f(x) = anxn + an−1xn−1 + · · · + a0 ai ∈ R is called a polynomial function. Example x3 + 2x + 5 A rational function is a quotient of polynomial functions. Example x3 + 3x + 2 x5 + 2x3 + 5,

3 / 47

slide-9
SLIDE 9

A function y = f(x) is called algebraic if it satisfies an equation of the form Pn(x)yn + Pn−1(x)yn−1 + . . . + P1(x)y + P0(x) = 0 for some n, where each Pi(x) is a polynomial.

4 / 47

slide-10
SLIDE 10

A function y = f(x) is called algebraic if it satisfies an equation of the form Pn(x)yn + Pn−1(x)yn−1 + . . . + P1(x)y + P0(x) = 0 for some n, where each Pi(x) is a polynomial. Next we have

1 trigonometric functions, for example, sin x, cos x, tan x 4 / 47

slide-11
SLIDE 11

A function y = f(x) is called algebraic if it satisfies an equation of the form Pn(x)yn + Pn−1(x)yn−1 + . . . + P1(x)y + P0(x) = 0 for some n, where each Pi(x) is a polynomial. Next we have

1 trigonometric functions, for example, sin x, cos x, tan x 2 inverse trigonometric functions, for example

sin−1 x, cos−1 x, tan−1 x

4 / 47

slide-12
SLIDE 12

A function y = f(x) is called algebraic if it satisfies an equation of the form Pn(x)yn + Pn−1(x)yn−1 + . . . + P1(x)y + P0(x) = 0 for some n, where each Pi(x) is a polynomial. Next we have

1 trigonometric functions, for example, sin x, cos x, tan x 2 inverse trigonometric functions, for example

sin−1 x, cos−1 x, tan−1 x

3 exponential functions, for example ex, log x 4 / 47

slide-13
SLIDE 13

A elementary function is one which can be obtained by adding, subtracting, multiplying, dividing and composing any of the above functions.

5 / 47

slide-14
SLIDE 14

A elementary function is one which can be obtained by adding, subtracting, multiplying, dividing and composing any of the above functions. Thus y = tan

  • xe1/x2 + tan−1(1 + x2) +

√ x2 + 3 sin x cos 2x − √log x + x3/2 1/3 is an elementary function.

5 / 47

slide-15
SLIDE 15

Beyond elementary functions lie the special functions, for example, Gamma function, Beta function, Riemann zeta function etc.

6 / 47

slide-16
SLIDE 16

Beyond elementary functions lie the special functions, for example, Gamma function, Beta function, Riemann zeta function etc. Definition The Riemann zeta function is defined on the set {s ∈ C | Re(s) > 1} by ζ(s) :=

  • n≥1

1 ns

6 / 47

slide-17
SLIDE 17

Beyond elementary functions lie the special functions, for example, Gamma function, Beta function, Riemann zeta function etc. Definition The Riemann zeta function is defined on the set {s ∈ C | Re(s) > 1} by ζ(s) :=

  • n≥1

1 ns It is a non-trivial theorem that the zeta function extends to the whole plane as a meromorphic function. (Explaining this term is beyond the scope of this course)

6 / 47

slide-18
SLIDE 18

Beyond elementary functions lie the special functions, for example, Gamma function, Beta function, Riemann zeta function etc. Definition The Riemann zeta function is defined on the set {s ∈ C | Re(s) > 1} by ζ(s) :=

  • n≥1

1 ns It is a non-trivial theorem that the zeta function extends to the whole plane as a meromorphic function. (Explaining this term is beyond the scope of this course) The Riemann hypothesis states that all the nontrivial zeros of the zeta function lie on the line Re(s) = 1

2.

6 / 47

slide-19
SLIDE 19

Beyond elementary functions lie the special functions, for example, Gamma function, Beta function, Riemann zeta function etc. Definition The Riemann zeta function is defined on the set {s ∈ C | Re(s) > 1} by ζ(s) :=

  • n≥1

1 ns It is a non-trivial theorem that the zeta function extends to the whole plane as a meromorphic function. (Explaining this term is beyond the scope of this course) The Riemann hypothesis states that all the nontrivial zeros of the zeta function lie on the line Re(s) = 1

2.

This is one of the millennium problems and has a prize of 1 million US dollars.

6 / 47

slide-20
SLIDE 20

Large number of special functions arise as solutions of 2nd order linear ODE. Suppose we want to solve y′′ + y = 0 Then elementary functions y = sin x and y = cos x are solutions.

7 / 47

slide-21
SLIDE 21

Large number of special functions arise as solutions of 2nd order linear ODE. Suppose we want to solve y′′ + y = 0 Then elementary functions y = sin x and y = cos x are solutions. Suppose we want to solve xy′′ + y′ + xy = 0

7 / 47

slide-22
SLIDE 22

Large number of special functions arise as solutions of 2nd order linear ODE. Suppose we want to solve y′′ + y = 0 Then elementary functions y = sin x and y = cos x are solutions. Suppose we want to solve xy′′ + y′ + xy = 0 This equation can not be solved in terms of elementary functions.

7 / 47

slide-23
SLIDE 23

Large number of special functions arise as solutions of 2nd order linear ODE. Suppose we want to solve y′′ + y = 0 Then elementary functions y = sin x and y = cos x are solutions. Suppose we want to solve xy′′ + y′ + xy = 0 This equation can not be solved in terms of elementary functions.

7 / 47

slide-24
SLIDE 24

Let y1(x) be one solution of the ODE y′′ + p(x)y′ + q(x)y = 0 with p(x), q(x) continuous. Then we can try to use the method of variation of parameters to find another linearly independent solution, that is, put y2 = u(x)y1(x) in the ODE and solve for u(x).

8 / 47

slide-25
SLIDE 25

Let y1(x) be one solution of the ODE y′′ + p(x)y′ + q(x)y = 0 with p(x), q(x) continuous. Then we can try to use the method of variation of parameters to find another linearly independent solution, that is, put y2 = u(x)y1(x) in the ODE and solve for u(x).

  • Question. How to find the 1st solution?

8 / 47

slide-26
SLIDE 26

Let y1(x) be one solution of the ODE y′′ + p(x)y′ + q(x)y = 0 with p(x), q(x) continuous. Then we can try to use the method of variation of parameters to find another linearly independent solution, that is, put y2 = u(x)y1(x) in the ODE and solve for u(x).

  • Question. How to find the 1st solution?

For this, we will solve our ODE in terms of power series.

8 / 47

slide-27
SLIDE 27

Let y1(x) be one solution of the ODE y′′ + p(x)y′ + q(x)y = 0 with p(x), q(x) continuous. Then we can try to use the method of variation of parameters to find another linearly independent solution, that is, put y2 = u(x)y1(x) in the ODE and solve for u(x).

  • Question. How to find the 1st solution?

For this, we will solve our ODE in terms of power series. Let us review power series, which is used throughout in this course.

8 / 47

slide-28
SLIDE 28

Definition (Power series) For real numbers x0, a0, a1, a2, . . ., an infinite series

  • n=0

an(x − x0)n := a0 + a1(x − x0) + a2(x − x0)2 + . . . . is called a power series in x − x0 with center x0.

9 / 47

slide-29
SLIDE 29

For a real number x1, if the limit lim

N→∞ N

  • n=0

an(x1 − x0)n exists and is finite, then we say the power series converges at the point x = x1. In this case, the sum of the series is the value of the limit.

10 / 47

slide-30
SLIDE 30

For a real number x1, if the limit lim

N→∞ N

  • n=0

an(x1 − x0)n exists and is finite, then we say the power series converges at the point x = x1. In this case, the sum of the series is the value of the limit. If the series does not converge at x1, that is, either limit does not exist or it is ±∞, then we say the power series diverges at x1.

10 / 47

slide-31
SLIDE 31

Theorem For any power series,

  • n=0

an(x − x0)n exactly one of these statements is true.

1 The power series converges only for x = x0. 2 The power series converges for all values of x. 3 There is a positive number 0 < R < ∞ such that the power

series converges if |x − x0| < R and diverges if |x − x0| > R.

11 / 47

slide-32
SLIDE 32

Theorem For any power series,

  • n=0

an(x − x0)n exactly one of these statements is true.

1 The power series converges only for x = x0. 2 The power series converges for all values of x. 3 There is a positive number 0 < R < ∞ such that the power

series converges if |x − x0| < R and diverges if |x − x0| > R. R is called the radius of convergence of the power series.

11 / 47

slide-33
SLIDE 33

Theorem For any power series,

  • n=0

an(x − x0)n exactly one of these statements is true.

1 The power series converges only for x = x0. 2 The power series converges for all values of x. 3 There is a positive number 0 < R < ∞ such that the power

series converges if |x − x0| < R and diverges if |x − x0| > R. R is called the radius of convergence of the power series. We define R = 0 in case (i) and R = ∞ in case (ii).

11 / 47

slide-34
SLIDE 34

Theorem For any power series,

  • n=0

an(x − x0)n exactly one of these statements is true.

1 The power series converges only for x = x0. 2 The power series converges for all values of x. 3 There is a positive number 0 < R < ∞ such that the power

series converges if |x − x0| < R and diverges if |x − x0| > R. R is called the radius of convergence of the power series. We define R = 0 in case (i) and R = ∞ in case (ii).

  • Question. How to compute the radius of convergence?

11 / 47

slide-35
SLIDE 35

Theorem (Ratio test) If an = 0 for all n and lim

n→∞

  • an+1

an

  • = L

12 / 47

slide-36
SLIDE 36

Theorem (Ratio test) If an = 0 for all n and lim

n→∞

  • an+1

an

  • = L

(Root test) lim sup

n→∞ |an|1/n = L

12 / 47

slide-37
SLIDE 37

Theorem (Ratio test) If an = 0 for all n and lim

n→∞

  • an+1

an

  • = L

(Root test) lim sup

n→∞ |an|1/n = L

Then radius of convergence of the power series

  • n=0

an(x − x0)n is R = 1/L .

12 / 47

slide-38
SLIDE 38

Theorem (Ratio test) If an = 0 for all n and lim

n→∞

  • an+1

an

  • = L

(Root test) lim sup

n→∞ |an|1/n = L

Then radius of convergence of the power series

  • n=0

an(x − x0)n is R = 1/L . For L = 0, we get R = ∞ and for L = ∞, we get R = 0.

12 / 47

slide-39
SLIDE 39

Theorem Let R > 0 be the radius of convergence of the power series

  • n=0

an(x − x0)n Then the power series converges (absolutely) for all x ∈ (x0 − R, x0 + R).

13 / 47

slide-40
SLIDE 40

Theorem Let R > 0 be the radius of convergence of the power series

  • n=0

an(x − x0)n Then the power series converges (absolutely) for all x ∈ (x0 − R, x0 + R). For R = ∞, we write (x0 − R, x0 + R) = (−∞, ∞) = R.

13 / 47

slide-41
SLIDE 41

Theorem Let R > 0 be the radius of convergence of the power series

  • n=0

an(x − x0)n Then the power series converges (absolutely) for all x ∈ (x0 − R, x0 + R). For R = ∞, we write (x0 − R, x0 + R) = (−∞, ∞) = R. The open interval (x0 − R, x0 + R) is called the interval of convergence of the power series.

13 / 47

slide-42
SLIDE 42

Example Find the radius of convergence and interval of convergence (if R > 0) of the following three series (i)

  • n!xn (ii)

  • 10

(−1)n xn nn (iii)

  • 2nn3(x − 1)n

14 / 47

slide-43
SLIDE 43

Example Find the radius of convergence and interval of convergence (if R > 0) of the following three series (i)

  • n!xn (ii)

  • 10

(−1)n xn nn (iii)

  • 2nn3(x − 1)n

(i) lim

n→∞

  • an+1

an

  • = lim

n→∞

  • (n + 1)!

n!

  • = lim

n→∞(n + 1) = ∞

So R = 0 in case (i).

14 / 47

slide-44
SLIDE 44

Example Find the radius of convergence and interval of convergence (if R > 0) of the following three series (i)

  • n!xn (ii)

  • 10

(−1)n xn nn (iii)

  • 2nn3(x − 1)n

(i) lim

n→∞

  • an+1

an

  • = lim

n→∞

  • (n + 1)!

n!

  • = lim

n→∞(n + 1) = ∞

So R = 0 in case (i). Similarly, in case (ii) R = ∞ and in case (iii) R = 1/2.

14 / 47

slide-45
SLIDE 45

Example Find the radius of convergence and interval of convergence (if R > 0) of the following three series (i)

  • n!xn (ii)

  • 10

(−1)n xn nn (iii)

  • 2nn3(x − 1)n

(i) lim

n→∞

  • an+1

an

  • = lim

n→∞

  • (n + 1)!

n!

  • = lim

n→∞(n + 1) = ∞

So R = 0 in case (i). Similarly, in case (ii) R = ∞ and in case (iii) R = 1/2. Interval of convergence : in case (ii) (−∞, ∞) and in case (iii) (1/2, 3/2)

14 / 47

slide-46
SLIDE 46

Theorem Let R be the radius of convergence of the power series

  • n=0

an(x − x0)n. We assume R > 0

15 / 47

slide-47
SLIDE 47

Theorem Let R be the radius of convergence of the power series

  • n=0

an(x − x0)n. We assume R > 0

  • We can define a function f : (x0 − R, x0 + R) → R by

f(x) =

  • n=0

an(x − x0)n

15 / 47

slide-48
SLIDE 48

Theorem Let R be the radius of convergence of the power series

  • n=0

an(x − x0)n. We assume R > 0

  • We can define a function f : (x0 − R, x0 + R) → R by

f(x) =

  • n=0

an(x − x0)n

  • f is infinitely differentiable ∀ x ∈ (x0 − R, x0 + R).

15 / 47

slide-49
SLIDE 49

Theorem Let R be the radius of convergence of the power series

  • n=0

an(x − x0)n. We assume R > 0

  • We can define a function f : (x0 − R, x0 + R) → R by

f(x) =

  • n=0

an(x − x0)n

  • f is infinitely differentiable ∀ x ∈ (x0 − R, x0 + R).
  • The successive derivatives of f can be computed by

differentiating the power series term-by-term, that is f′(x) =

  • n=0

nan(x − x0)n−1 . . . f(k)(x) =

  • n=0

n(n − 1) . . . (n − k + 1) an(x − x0)n−k

15 / 47

slide-50
SLIDE 50

Theorem (continued . . .)

  • The power series representing the derivatives f(n)(x) have same

radius of convergence R.

16 / 47

slide-51
SLIDE 51

Theorem (continued . . .)

  • The power series representing the derivatives f(n)(x) have same

radius of convergence R.

  • We can determine the coefficients an (in terms of derivatives of

f at x0) as f(x0) = a0, f′(x0) = a1, f′′(x0) = 2a2, . . . In general, an = f(n)(x0) n!

16 / 47

slide-52
SLIDE 52

Theorem (continued . . .)

  • The power series representing the derivatives f(n)(x) have same

radius of convergence R.

  • We can determine the coefficients an (in terms of derivatives of

f at x0) as f(x0) = a0, f′(x0) = a1, f′′(x0) = 2a2, . . . In general, an = f(n)(x0) n!

  • We can also integrate the function f(x) =

  • an(x − x0)n

term-wise that is if [a, b] ⊂ (x0 − R, x0 + R), then b

a

f(x) dx =

  • n=0

an b

a

(x − x0)n dx =

  • an

n + 1(x − x0)n+1

16 / 47

slide-53
SLIDE 53

Example (Power series representation of elementary functions) (i) ex =

  • xn

n! − ∞ < x < ∞

17 / 47

slide-54
SLIDE 54

Example (Power series representation of elementary functions) (i) ex =

  • xn

n! − ∞ < x < ∞ (ii) sin x =

  • (−1)n

x2n+1 (2n + 1)! − ∞ < x < ∞

17 / 47

slide-55
SLIDE 55

Example (Power series representation of elementary functions) (i) ex =

  • xn

n! − ∞ < x < ∞ (ii) sin x =

  • (−1)n

x2n+1 (2n + 1)! − ∞ < x < ∞ (iii) 1 1 − x =

  • xn

− 1 < x < 1

17 / 47

slide-56
SLIDE 56

Example (Power series representation of elementary functions) (i) ex =

  • xn

n! − ∞ < x < ∞ (ii) sin x =

  • (−1)n

x2n+1 (2n + 1)! − ∞ < x < ∞ (iii) 1 1 − x =

  • xn

− 1 < x < 1 (iv) d dx(sin x) =

  • (−1)n d

dx

  • x2n+1

(2n + 1)!

  • 17 / 47
slide-57
SLIDE 57

Example (Power series representation of elementary functions) (i) ex =

  • xn

n! − ∞ < x < ∞ (ii) sin x =

  • (−1)n

x2n+1 (2n + 1)! − ∞ < x < ∞ (iii) 1 1 − x =

  • xn

− 1 < x < 1 (iv) d dx(sin x) =

  • (−1)n d

dx

  • x2n+1

(2n + 1)!

  • =

  • (−1)n x2n

(2n)! = cos x

17 / 47

slide-58
SLIDE 58

Theorem (i) Power series representation of f in an open interval I containing x0 is unique, that is, if f(x) =

  • an(x − x0)n =

  • bn(x − x0)n

for all x ∈ I, then an = bn ∀ n.

18 / 47

slide-59
SLIDE 59

Theorem (i) Power series representation of f in an open interval I containing x0 is unique, that is, if f(x) =

  • an(x − x0)n =

  • bn(x − x0)n

for all x ∈ I, then an = bn ∀ n. (ii) If

  • an(x − x0)n = 0

for all x ∈ I, then an = 0 for all n.

18 / 47

slide-60
SLIDE 60

Theorem (i) Power series representation of f in an open interval I containing x0 is unique, that is, if f(x) =

  • an(x − x0)n =

  • bn(x − x0)n

for all x ∈ I, then an = bn ∀ n. (ii) If

  • an(x − x0)n = 0

for all x ∈ I, then an = 0 for all n.

  • Proof. (i)

an = f(n)(x0) n! = bn for all n. It is clear that (ii) follows from (i).

18 / 47

slide-61
SLIDE 61

Algebraic operations on power series

Definition If f(x) =

  • an(x − x0)n

g(x) =

  • bn(x − x0)n

have radius of convergence R1 and R2 respectively, then c1f(x) + c2g(x) :=

  • (c1an + c2bn)(x − x0)n

has radius of convergence R ≥ min {R1, R2} for c1, c2 ∈ R.

19 / 47

slide-62
SLIDE 62

Algebraic operations on power series

Definition If f(x) =

  • an(x − x0)n

g(x) =

  • bn(x − x0)n

have radius of convergence R1 and R2 respectively, then c1f(x) + c2g(x) :=

  • (c1an + c2bn)(x − x0)n

has radius of convergence R ≥ min {R1, R2} for c1, c2 ∈ R. Further, we can multiply the series as if they were polynomials, that is f(x)g(x) =

  • cn(x − x0)n;

cn = a0bn + a1bn−1 + . . . + anb0 It also has radius of convergence R ≥ min {R1, R2}.

19 / 47

slide-63
SLIDE 63

Example Find the power series expansion for cosh x in terms of powers of xn.

20 / 47

slide-64
SLIDE 64

Example Find the power series expansion for cosh x in terms of powers of xn. cosh x = 1 2ex + 1 2e−x

20 / 47

slide-65
SLIDE 65

Example Find the power series expansion for cosh x in terms of powers of xn. cosh x = 1 2ex + 1 2e−x = 1 2

  • n=0

xn n! + 1 2

  • n=0

(−1)n xn n!

20 / 47

slide-66
SLIDE 66

Example Find the power series expansion for cosh x in terms of powers of xn. cosh x = 1 2ex + 1 2e−x = 1 2

  • n=0

xn n! + 1 2

  • n=0

(−1)n xn n! =

  • n=0

1 2 [1 + (−1)n] xn n!

20 / 47

slide-67
SLIDE 67

Example Find the power series expansion for cosh x in terms of powers of xn. cosh x = 1 2ex + 1 2e−x = 1 2

  • n=0

xn n! + 1 2

  • n=0

(−1)n xn n! =

  • n=0

1 2 [1 + (−1)n] xn n! =

  • n=0

x2n (2n)!

20 / 47

slide-68
SLIDE 68

Example Find the power series expansion for cosh x in terms of powers of xn. cosh x = 1 2ex + 1 2e−x = 1 2

  • n=0

xn n! + 1 2

  • n=0

(−1)n xn n! =

  • n=0

1 2 [1 + (−1)n] xn n! =

  • n=0

x2n (2n)! Since radius of convergence for Taylor series of ex and e−x are ∞, the power series expansion of cosh x is valid on R.

20 / 47

slide-69
SLIDE 69

Shifting the summation index

If f(x) =

  • n=0

an(x − x0)n = ⇒ f′(x) =

  • n=1

nan(x − x0)n−1

21 / 47

slide-70
SLIDE 70

Shifting the summation index

If f(x) =

  • n=0

an(x − x0)n = ⇒ f′(x) =

  • n=1

nan(x − x0)n−1 Let us rewrite the series for f′(x) in powers of (x − x0)n. Put r = n − 1, we get f′(x) =

  • r=0

(r + 1)ar+1(x − x0)r

21 / 47

slide-71
SLIDE 71

Shifting the summation index

If f(x) =

  • n=0

an(x − x0)n = ⇒ f′(x) =

  • n=1

nan(x − x0)n−1 Let us rewrite the series for f′(x) in powers of (x − x0)n. Put r = n − 1, we get f′(x) =

  • r=0

(r + 1)ar+1(x − x0)r Similarly, f(k)(x) =

  • n=k

n(n − 1) . . . (n − k + 1)an(x − x0)n−k

21 / 47

slide-72
SLIDE 72

Shifting the summation index

If f(x) =

  • n=0

an(x − x0)n = ⇒ f′(x) =

  • n=1

nan(x − x0)n−1 Let us rewrite the series for f′(x) in powers of (x − x0)n. Put r = n − 1, we get f′(x) =

  • r=0

(r + 1)ar+1(x − x0)r Similarly, f(k)(x) =

  • n=k

n(n − 1) . . . (n − k + 1)an(x − x0)n−k =

  • n=0

(n + k)(n + k − 1) . . . (n + 1)an+k(x − x0)n

21 / 47

slide-73
SLIDE 73

Shifting the summation index

If f(x) =

  • n=0

an(x − x0)n = ⇒ f′(x) =

  • n=1

nan(x − x0)n−1 Let us rewrite the series for f′(x) in powers of (x − x0)n. Put r = n − 1, we get f′(x) =

  • r=0

(r + 1)ar+1(x − x0)r Similarly, f(k)(x) =

  • n=k

n(n − 1) . . . (n − k + 1)an(x − x0)n−k =

  • n=0

(n + k)(n + k − 1) . . . (n + 1)an+k(x − x0)n In general,  

  • n=n0

bn(x − x0)n−k =

  • n=n0−k

bn+k(x − x0)n  

21 / 47

slide-74
SLIDE 74

Example Let f(x) =

  • n=0
  • anxn. Write (x − 1)f′′ as a power series around 0.

22 / 47

slide-75
SLIDE 75

Example Let f(x) =

  • n=0
  • anxn. Write (x − 1)f′′ as a power series around 0.

(x − 1)f′′ = xf′′ − f′′

22 / 47

slide-76
SLIDE 76

Example Let f(x) =

  • n=0
  • anxn. Write (x − 1)f′′ as a power series around 0.

(x − 1)f′′ = xf′′ − f′′ = x ∞

  • n=2

n(n − 1)anxn−2

  • n=2

n(n − 1)anxn−2

22 / 47

slide-77
SLIDE 77

Example Let f(x) =

  • n=0
  • anxn. Write (x − 1)f′′ as a power series around 0.

(x − 1)f′′ = xf′′ − f′′ = x ∞

  • n=2

n(n − 1)anxn−2

  • n=2

n(n − 1)anxn−2 =

  • n=2

n(n − 1)anxn−1 −

  • n=2

n(n − 1)anxn−2

22 / 47

slide-78
SLIDE 78

Example Let f(x) =

  • n=0
  • anxn. Write (x − 1)f′′ as a power series around 0.

(x − 1)f′′ = xf′′ − f′′ = x ∞

  • n=2

n(n − 1)anxn−2

  • n=2

n(n − 1)anxn−2 =

  • n=2

n(n − 1)anxn−1 −

  • n=2

n(n − 1)anxn−2 =

  • n=1

(n + 1)nan+1xn −

  • n=0

(n + 2)(n + 1)an+2xn

22 / 47

slide-79
SLIDE 79

Example Let f(x) =

  • n=0
  • anxn. Write (x − 1)f′′ as a power series around 0.

(x − 1)f′′ = xf′′ − f′′ = x ∞

  • n=2

n(n − 1)anxn−2

  • n=2

n(n − 1)anxn−2 =

  • n=2

n(n − 1)anxn−1 −

  • n=2

n(n − 1)anxn−2 =

  • n=1

(n + 1)nan+1xn −

  • n=0

(n + 2)(n + 1)an+2xn =

  • n=0

[(n + 1)nan+1 − (n + 2)(n + 1)an+2] xn

22 / 47

slide-80
SLIDE 80

Example (Solving ODE) Suppose y(x) =

  • n=0

an(x − 1)n for all x in an open interval I containing x0 = 1.

23 / 47

slide-81
SLIDE 81

Example (Solving ODE) Suppose y(x) =

  • n=0

an(x − 1)n for all x in an open interval I containing x0 = 1. Find the power series of y′ and y′′ in terms of x − 1 in the interval I. Use these to express the function (1 + x)y′′ + 2(x − 1)2y′ + 3y as a power series in x − 1 on I.

23 / 47

slide-82
SLIDE 82

Example (Solving ODE) Suppose y(x) =

  • n=0

an(x − 1)n for all x in an open interval I containing x0 = 1. Find the power series of y′ and y′′ in terms of x − 1 in the interval I. Use these to express the function (1 + x)y′′ + 2(x − 1)2y′ + 3y as a power series in x − 1 on I. Find necessary and sufficient conditions on the coefficients an’s, so that y(x) is a solution of the ODE (1 + x)y′′ + 2(x − 1)2y′ + 3y = 0

23 / 47

slide-83
SLIDE 83

Example (Continue . . .)

  • Solution. Write the ODE in (x − 1), that is

(1 + x)y′′ + 2(x − 1)2y′ + 3y = (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y

24 / 47

slide-84
SLIDE 84

Example (Continue . . .)

  • Solution. Write the ODE in (x − 1), that is

(1 + x)y′′ + 2(x − 1)2y′ + 3y = (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y Express each of (x − 1)y′′, 2y′′, 2(x − 1)2y′ and 3y as a power series in powers of (x − 1) and add them.

24 / 47

slide-85
SLIDE 85

Example (Continue . . .)

  • Solution. Write the ODE in (x − 1), that is

(1 + x)y′′ + 2(x − 1)2y′ + 3y = (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y Express each of (x − 1)y′′, 2y′′, 2(x − 1)2y′ and 3y as a power series in powers of (x − 1) and add them. (x − 1)y′′ = (x − 1)

  • n=2

n(n − 1)an(x − 1)n−2

24 / 47

slide-86
SLIDE 86

Example (Continue . . .)

  • Solution. Write the ODE in (x − 1), that is

(1 + x)y′′ + 2(x − 1)2y′ + 3y = (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y Express each of (x − 1)y′′, 2y′′, 2(x − 1)2y′ and 3y as a power series in powers of (x − 1) and add them. (x − 1)y′′ = (x − 1)

  • n=2

n(n − 1)an(x − 1)n−2 =

  • n=2

n(n − 1)an(x − 1)n−1

24 / 47

slide-87
SLIDE 87

Example (Continue . . .)

  • Solution. Write the ODE in (x − 1), that is

(1 + x)y′′ + 2(x − 1)2y′ + 3y = (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y Express each of (x − 1)y′′, 2y′′, 2(x − 1)2y′ and 3y as a power series in powers of (x − 1) and add them. (x − 1)y′′ = (x − 1)

  • n=2

n(n − 1)an(x − 1)n−2 =

  • n=2

n(n − 1)an(x − 1)n−1 =

  • n=1

(n + 1)nan+1(x − 1)n

24 / 47

slide-88
SLIDE 88

Example (Continue . . .)

  • Solution. Write the ODE in (x − 1), that is

(1 + x)y′′ + 2(x − 1)2y′ + 3y = (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y Express each of (x − 1)y′′, 2y′′, 2(x − 1)2y′ and 3y as a power series in powers of (x − 1) and add them. (x − 1)y′′ = (x − 1)

  • n=2

n(n − 1)an(x − 1)n−2 =

  • n=2

n(n − 1)an(x − 1)n−1 =

  • n=1

(n + 1)nan+1(x − 1)n =

  • n=0

(n + 1)nan+1(x − 1)n

24 / 47

slide-89
SLIDE 89

Example (Continue . . .) 2y′′ =

  • n=2

2n(n − 1)an(x − 1)n−2

25 / 47

slide-90
SLIDE 90

Example (Continue . . .) 2y′′ =

  • n=2

2n(n − 1)an(x − 1)n−2 =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n

25 / 47

slide-91
SLIDE 91

Example (Continue . . .) 2y′′ =

  • n=2

2n(n − 1)an(x − 1)n−2 =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ = 2(x − 1)2

  • n=1

nan(x − 1)n−1

25 / 47

slide-92
SLIDE 92

Example (Continue . . .) 2y′′ =

  • n=2

2n(n − 1)an(x − 1)n−2 =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ = 2(x − 1)2

  • n=1

nan(x − 1)n−1 =

  • n=1

2nan(x − 1)n+1

25 / 47

slide-93
SLIDE 93

Example (Continue . . .) 2y′′ =

  • n=2

2n(n − 1)an(x − 1)n−2 =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ = 2(x − 1)2

  • n=1

nan(x − 1)n−1 =

  • n=1

2nan(x − 1)n+1 =

  • n=2

2(n − 1)an−1(x − 1)n

25 / 47

slide-94
SLIDE 94

Example (Continue . . .) 2y′′ =

  • n=2

2n(n − 1)an(x − 1)n−2 =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ = 2(x − 1)2

  • n=1

nan(x − 1)n−1 =

  • n=1

2nan(x − 1)n+1 =

  • n=2

2(n − 1)an−1(x − 1)n =

  • n=0

2(n − 1)an−1(x − 1)n (a−1 = 0)

25 / 47

slide-95
SLIDE 95

Example (Continue . . .) We have

26 / 47

slide-96
SLIDE 96

Example (Continue . . .) We have (x − 1)y′′ =

  • n=0

(n + 1)nan+1(x − 1)n

26 / 47

slide-97
SLIDE 97

Example (Continue . . .) We have (x − 1)y′′ =

  • n=0

(n + 1)nan+1(x − 1)n 2y′′ =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n

26 / 47

slide-98
SLIDE 98

Example (Continue . . .) We have (x − 1)y′′ =

  • n=0

(n + 1)nan+1(x − 1)n 2y′′ =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ =

  • n=0

2(n − 1)an−1(x − 1)n (a−1 = 0) Now we get

26 / 47

slide-99
SLIDE 99

Example (Continue . . .) We have (x − 1)y′′ =

  • n=0

(n + 1)nan+1(x − 1)n 2y′′ =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ =

  • n=0

2(n − 1)an−1(x − 1)n (a−1 = 0) Now we get (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y =

  • n=0

bn(x − 1)n

26 / 47

slide-100
SLIDE 100

Example (Continue . . .) We have (x − 1)y′′ =

  • n=0

(n + 1)nan+1(x − 1)n 2y′′ =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ =

  • n=0

2(n − 1)an−1(x − 1)n (a−1 = 0) Now we get (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y =

  • n=0

bn(x − 1)n where

26 / 47

slide-101
SLIDE 101

Example (Continue . . .) We have (x − 1)y′′ =

  • n=0

(n + 1)nan+1(x − 1)n 2y′′ =

  • n=0

2(n + 2)(n + 1)an+2(x − 1)n 2(x − 1)2y′ =

  • n=0

2(n − 1)an−1(x − 1)n (a−1 = 0) Now we get (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y =

  • n=0

bn(x − 1)n where bn = (n + 1)nan+1 + 2(n + 2)(n + 1)an+2 + 2(n − 1)an−1 + 3an

26 / 47

slide-102
SLIDE 102

Example (Continue . . .) y(x) =

  • an(x − 1)n

is the solution of the ODE (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y = 0

  • n the open interval I containing 1 if and only if

  • n=0

bn(x − 1)n = 0 on I ⇐ ⇒ bn = 0 for all n

27 / 47

slide-103
SLIDE 103

Example (Continue . . .) y(x) =

  • an(x − 1)n

is the solution of the ODE (x − 1)y′′ + 2y′′ + 2(x − 1)2y′ + 3y = 0

  • n the open interval I containing 1 if and only if

  • n=0

bn(x − 1)n = 0 on I ⇐ ⇒ bn = 0 for all n that is an’s satisfy the following recursive relation (n + 1)nan+1 + 2(n + 2)(n + 1)an+2 + 2(n − 1)an−1 + 3an = 0 for all n.

27 / 47

slide-104
SLIDE 104

Definition If a function f(x) is infinitely differentiable at x0, then the Taylor series of f at x0 is defined as the power series TS f|x0 :=

  • f(n)(x0)

n! (x − x0)n When x0 = 0, the series is also called the Maclaurin series of f.

28 / 47

slide-105
SLIDE 105

Definition If a function f(x) is infinitely differentiable at x0, then the Taylor series of f at x0 is defined as the power series TS f|x0 :=

  • f(n)(x0)

n! (x − x0)n When x0 = 0, the series is also called the Maclaurin series of f. Example The function f(x) =

  • e−1/x2

if x = 0 if x = 0 is infinitely differentiable at 0. But f(n)(0) = 0 for all n.

28 / 47

slide-106
SLIDE 106

Definition If a function f(x) is infinitely differentiable at x0, then the Taylor series of f at x0 is defined as the power series TS f|x0 :=

  • f(n)(x0)

n! (x − x0)n When x0 = 0, the series is also called the Maclaurin series of f. Example The function f(x) =

  • e−1/x2

if x = 0 if x = 0 is infinitely differentiable at 0. But f(n)(0) = 0 for all n. Hence the Taylor series of f at 0 is the constant function taking value 0.

28 / 47

slide-107
SLIDE 107

Definition If a function f(x) is infinitely differentiable at x0, then the Taylor series of f at x0 is defined as the power series TS f|x0 :=

  • f(n)(x0)

n! (x − x0)n When x0 = 0, the series is also called the Maclaurin series of f. Example The function f(x) =

  • e−1/x2

if x = 0 if x = 0 is infinitely differentiable at 0. But f(n)(0) = 0 for all n. Hence the Taylor series of f at 0 is the constant function taking value 0. Therefore Taylor series of f at 0 does not converge to function f(x) on any open interval around 0.

28 / 47

slide-108
SLIDE 108

Definition Suppose f(x) is infinitely differentiable at x0; and Taylor series of f at x0 converges to f(x) for all x in some

  • pen interval around x0;

Then f is called analytic at x0.

29 / 47

slide-109
SLIDE 109

Definition Suppose f(x) is infinitely differentiable at x0; and Taylor series of f at x0 converges to f(x) for all x in some

  • pen interval around x0;

Then f is called analytic at x0. Example The function f(x) =

  • e−1/x2

if x = 0 if x = 0 is not analytic at 0. Here 2nd condition fails. However, f is analytic at all x = 0.

29 / 47

slide-110
SLIDE 110

Theorem (Analytic functions)

1 If f(x) and g(x) are analytic at x0, then f(x) ± g(x)

f(x)g(x) f(x)/g(x) (if g(x0) = 0) are analytic at x0.

30 / 47

slide-111
SLIDE 111

Theorem (Analytic functions)

1 If f(x) and g(x) are analytic at x0, then f(x) ± g(x)

f(x)g(x) f(x)/g(x) (if g(x0) = 0) are analytic at x0.

2 If f(x) is analytic at x0 and g(x) is analytic at f(x0), then

g(f(x)) := (g ◦ f)(x) is analytic at x0.

30 / 47

slide-112
SLIDE 112

Theorem (Analytic functions)

1 If f(x) and g(x) are analytic at x0, then f(x) ± g(x)

f(x)g(x) f(x)/g(x) (if g(x0) = 0) are analytic at x0.

2 If f(x) is analytic at x0 and g(x) is analytic at f(x0), then

g(f(x)) := (g ◦ f)(x) is analytic at x0.

3 If a power series

  • an(x − x0)n has radius of convergence

R > 0, then the function f(x) :=

  • an(x − x0)n is analytic

at all points x ∈ (x0 − R, x0 + R).

30 / 47

slide-113
SLIDE 113

Theorem (Analytic functions)

1 If f(x) and g(x) are analytic at x0, then f(x) ± g(x)

f(x)g(x) f(x)/g(x) (if g(x0) = 0) are analytic at x0.

2 If f(x) is analytic at x0 and g(x) is analytic at f(x0), then

g(f(x)) := (g ◦ f)(x) is analytic at x0.

3 If a power series

  • an(x − x0)n has radius of convergence

R > 0, then the function f(x) :=

  • an(x − x0)n is analytic

at all points x ∈ (x0 − R, x0 + R).

30 / 47

slide-114
SLIDE 114

Example The function f(x) = x2 + 1 is analytic everywhere. Since x2 + 1 is never 0, the function h(x) :=

1 x2+1 is analytic everywhere.

31 / 47

slide-115
SLIDE 115

Example The function f(x) = x2 + 1 is analytic everywhere. Since x2 + 1 is never 0, the function h(x) :=

1 x2+1 is analytic everywhere.

However, there is no power series around 0 which represents h(x) everywhere.

31 / 47

slide-116
SLIDE 116

Example The function f(x) = x2 + 1 is analytic everywhere. Since x2 + 1 is never 0, the function h(x) :=

1 x2+1 is analytic everywhere.

However, there is no power series around 0 which represents h(x) everywhere. If there were such a power series, then by uniqueness, it has to be the power series expansion of h(x) around 0, which is 1 − x2 + x4 − x6 + · · · However, the radius of convergence of this is R = 1.

31 / 47

slide-117
SLIDE 117

Example The function f(x) = x2 + 1 is analytic everywhere. Since x2 + 1 is never 0, the function h(x) :=

1 x2+1 is analytic everywhere.

However, there is no power series around 0 which represents h(x) everywhere. If there were such a power series, then by uniqueness, it has to be the power series expansion of h(x) around 0, which is 1 − x2 + x4 − x6 + · · · However, the radius of convergence of this is R = 1. In fact, for any x0, there is no power series around x0 which represents h(x) everywhere.

31 / 47

slide-118
SLIDE 118

Theorem Let F(x) = N(x) D(x)

  • example F(x) = x3 − 1

x2 + 1

  • be a rational function, where N(x) and D(x) are polynomials

without any common factors, that is they do not have any common (complex) zeros. Let α1, . . . , αr be distinct complex zeros

  • f D(x).

32 / 47

slide-119
SLIDE 119

Theorem Let F(x) = N(x) D(x)

  • example F(x) = x3 − 1

x2 + 1

  • be a rational function, where N(x) and D(x) are polynomials

without any common factors, that is they do not have any common (complex) zeros. Let α1, . . . , αr be distinct complex zeros

  • f D(x).

Then F(x) is analytic at all x except at x ∈ {α1, . . . , αr}.

32 / 47

slide-120
SLIDE 120

Theorem Let F(x) = N(x) D(x)

  • example F(x) = x3 − 1

x2 + 1

  • be a rational function, where N(x) and D(x) are polynomials

without any common factors, that is they do not have any common (complex) zeros. Let α1, . . . , αr be distinct complex zeros

  • f D(x).

Then F(x) is analytic at all x except at x ∈ {α1, . . . , αr}. If x0 is different from {α1, . . . , αr}, then the radius of convergence R of the Taylor series of F at x0 TS Fx0 =

  • F (n)(x0)

n! (x − x0)n is given by R = min {|x0 − α1|, |x0 − α2|, . . . , |x0 − αr|}

32 / 47

slide-121
SLIDE 121

Example If F(x) = N(x) D(x) = (2 + 3x) (4 + x)(9 + x2) then D(x) has zeros at −4 and ±3ι, where ι = √−1.

33 / 47

slide-122
SLIDE 122

Example If F(x) = N(x) D(x) = (2 + 3x) (4 + x)(9 + x2) then D(x) has zeros at −4 and ±3ι, where ι = √−1. Hence F is analytic at all x except at x ∈ {−4, ±3ι}.

33 / 47

slide-123
SLIDE 123

Example If F(x) = N(x) D(x) = (2 + 3x) (4 + x)(9 + x2) then D(x) has zeros at −4 and ±3ι, where ι = √−1. Hence F is analytic at all x except at x ∈ {−4, ±3ι}. If x = 2, then radius of convergence of Taylor series of F at x = 2 is min {|2 + 4|, |2 + 3ι|, |2 − 3ι|} = min {6, √ 13} = √ 13

33 / 47

slide-124
SLIDE 124

Example If F(x) = N(x) D(x) = (2 + 3x) (4 + x)(9 + x2) then D(x) has zeros at −4 and ±3ι, where ι = √−1. Hence F is analytic at all x except at x ∈ {−4, ±3ι}. If x = 2, then radius of convergence of Taylor series of F at x = 2 is min {|2 + 4|, |2 + 3ι|, |2 − 3ι|} = min {6, √ 13} = √ 13 If x = −6, then radius of convergence of Taylor series of F at x = −6 is min {| − 6 + 4|, | − 6 ± 3ι|} = min {2, √ 45} = 2

33 / 47

slide-125
SLIDE 125

Power series solution of ODE

Theorem (Existence Theorem) If p(x) and q(x) are analytic functions at x0, then every solution of y′′ + p(x)y′ + q(x)y = 0 is also analytic at x0; and therefore any solution can be expressed as y(x) =

  • an(x − x0)n

34 / 47

slide-126
SLIDE 126

Power series solution of ODE

Theorem (Existence Theorem) If p(x) and q(x) are analytic functions at x0, then every solution of y′′ + p(x)y′ + q(x)y = 0 is also analytic at x0; and therefore any solution can be expressed as y(x) =

  • an(x − x0)n

If R1 = radius of convergence of Taylor series of p(x) at x0,

34 / 47

slide-127
SLIDE 127

Power series solution of ODE

Theorem (Existence Theorem) If p(x) and q(x) are analytic functions at x0, then every solution of y′′ + p(x)y′ + q(x)y = 0 is also analytic at x0; and therefore any solution can be expressed as y(x) =

  • an(x − x0)n

If R1 = radius of convergence of Taylor series of p(x) at x0, R2 = radius of convergence of Taylor series of q(x) at x0,

34 / 47

slide-128
SLIDE 128

Power series solution of ODE

Theorem (Existence Theorem) If p(x) and q(x) are analytic functions at x0, then every solution of y′′ + p(x)y′ + q(x)y = 0 is also analytic at x0; and therefore any solution can be expressed as y(x) =

  • an(x − x0)n

If R1 = radius of convergence of Taylor series of p(x) at x0, R2 = radius of convergence of Taylor series of q(x) at x0, then radius of convergence of y(x) is at least min(R1, R2) > 0.

34 / 47

slide-129
SLIDE 129

Power series solution of ODE

Theorem (Existence Theorem) If p(x) and q(x) are analytic functions at x0, then every solution of y′′ + p(x)y′ + q(x)y = 0 is also analytic at x0; and therefore any solution can be expressed as y(x) =

  • an(x − x0)n

If R1 = radius of convergence of Taylor series of p(x) at x0, R2 = radius of convergence of Taylor series of q(x) at x0, then radius of convergence of y(x) is at least min(R1, R2) > 0. In most applications, p(x) and q(x) are rational functions, that is quotient of polynomial functions.

34 / 47

slide-130
SLIDE 130

Series solution of ODE

Example Let us solve y′′ + y = 0 (1) by power series method.

35 / 47

slide-131
SLIDE 131

Series solution of ODE

Example Let us solve y′′ + y = 0 (1) by power series method. Compare with y′′ + p(x)y′ + q(x)y = 0, p(x) = 0 and q(x) = 1 are analytic at all x.

35 / 47

slide-132
SLIDE 132

Series solution of ODE

Example Let us solve y′′ + y = 0 (1) by power series method. Compare with y′′ + p(x)y′ + q(x)y = 0, p(x) = 0 and q(x) = 1 are analytic at all x. We can find power series solution in x − x0 for any x0. Let us assume x0 = 0 for simplicity.

35 / 47

slide-133
SLIDE 133

Series solution of ODE

Example Let us solve y′′ + y = 0 (1) by power series method. Compare with y′′ + p(x)y′ + q(x)y = 0, p(x) = 0 and q(x) = 1 are analytic at all x. We can find power series solution in x − x0 for any x0. Let us assume x0 = 0 for simplicity. By existence theorem, all solution of (1) can be found in the form

35 / 47

slide-134
SLIDE 134

Series solution of ODE

Example Let us solve y′′ + y = 0 (1) by power series method. Compare with y′′ + p(x)y′ + q(x)y = 0, p(x) = 0 and q(x) = 1 are analytic at all x. We can find power series solution in x − x0 for any x0. Let us assume x0 = 0 for simplicity. By existence theorem, all solution of (1) can be found in the form y(x) =

  • anxn

35 / 47

slide-135
SLIDE 135

Series solution of ODE

Example Let us solve y′′ + y = 0 (1) by power series method. Compare with y′′ + p(x)y′ + q(x)y = 0, p(x) = 0 and q(x) = 1 are analytic at all x. We can find power series solution in x − x0 for any x0. Let us assume x0 = 0 for simplicity. By existence theorem, all solution of (1) can be found in the form y(x) =

  • anxn

and the series will have ∞ radius of convergence. Since y′′ =

  • 2

n(n − 1)anxn−2 =

  • n=0

(n + 2)(n + 1)an+2xn

35 / 47

slide-136
SLIDE 136

Example (Continue . . .) y′′ + y =

  • ((n + 2)(n + 1)an+2 + an)xn = 0

36 / 47

slide-137
SLIDE 137

Example (Continue . . .) y′′ + y =

  • ((n + 2)(n + 1)an+2 + an)xn = 0

By uniqueness of power series in x − x0 with positive radius of convergence, we get the recursion formula (n + 2)(n + 1)an+2 + an = 0 = ⇒ an+2 = −1 (n + 2)(n + 1)an ∀n

36 / 47

slide-138
SLIDE 138

Example (Continue . . .) y′′ + y =

  • ((n + 2)(n + 1)an+2 + an)xn = 0

By uniqueness of power series in x − x0 with positive radius of convergence, we get the recursion formula (n + 2)(n + 1)an+2 + an = 0 = ⇒ an+2 = −1 (n + 2)(n + 1)an ∀n Therefore, a2 = −1 2.1a0, a4 = −1 4.3a2 = 1 4!a0 . . . a2n = (−1)n 1 (2n)!a0 a3 = −1 3.2a1, a5 = −1 5.4a3 = 1 5!a1 . . . a2n+1 = (−1)n 1 (2n + 1)!a1

36 / 47

slide-139
SLIDE 139

Example (Continue . . .) Define y1(x) = 1 − 1 2!x2 + 1 4!x4 − . . . (a0 = 1, a1 = 0) y2(x) = x − 1 3!x3 + 1 5!x5 − . . . (a0 = 0, a1 = 1)

37 / 47

slide-140
SLIDE 140

Example (Continue . . .) Define y1(x) = 1 − 1 2!x2 + 1 4!x4 − . . . (a0 = 1, a1 = 0) y2(x) = x − 1 3!x3 + 1 5!x5 − . . . (a0 = 0, a1 = 1) Then y(x) =

  • anxn = a0y1(x) + a1y2(x)

is a general solution of the ODE (1).

37 / 47

slide-141
SLIDE 141

Example (Continue . . .) Define y1(x) = 1 − 1 2!x2 + 1 4!x4 − . . . (a0 = 1, a1 = 0) y2(x) = x − 1 3!x3 + 1 5!x5 − . . . (a0 = 0, a1 = 1) Then y(x) =

  • anxn = a0y1(x) + a1y2(x)

is a general solution of the ODE (1). In this case, y1(x) = cos x and y2(x) = sin x. Thus, y(x) is an elementary function. In general, however, the solution may not be an elementary function.

37 / 47

slide-142
SLIDE 142

Example (Continue . . .) Define y1(x) = 1 − 1 2!x2 + 1 4!x4 − . . . (a0 = 1, a1 = 0) y2(x) = x − 1 3!x3 + 1 5!x5 − . . . (a0 = 0, a1 = 1) Then y(x) =

  • anxn = a0y1(x) + a1y2(x)

is a general solution of the ODE (1). In this case, y1(x) = cos x and y2(x) = sin x. Thus, y(x) is an elementary function. In general, however, the solution may not be an elementary function. We don’t need to check the series for converges, since the existence theorem guarantees that the series converges for all x.

37 / 47

slide-143
SLIDE 143

Steps for Series solution of linear ODE

1 Write ODE in standard form y′′ + p(x)y′ + q(x)y = 0. 38 / 47

slide-144
SLIDE 144

Steps for Series solution of linear ODE

1 Write ODE in standard form y′′ + p(x)y′ + q(x)y = 0. 2 Choose x0 at which p(x) and q(x) are analytic. If boundary

conditions at x0 are given, choose the center of the power series as x0.

38 / 47

slide-145
SLIDE 145

Steps for Series solution of linear ODE

1 Write ODE in standard form y′′ + p(x)y′ + q(x)y = 0. 2 Choose x0 at which p(x) and q(x) are analytic. If boundary

conditions at x0 are given, choose the center of the power series as x0.

3 Find minimum of radius of convergence of Taylor series of

p(x) and q(x) at x0.

38 / 47

slide-146
SLIDE 146

Steps for Series solution of linear ODE

1 Write ODE in standard form y′′ + p(x)y′ + q(x)y = 0. 2 Choose x0 at which p(x) and q(x) are analytic. If boundary

conditions at x0 are given, choose the center of the power series as x0.

3 Find minimum of radius of convergence of Taylor series of

p(x) and q(x) at x0.

4 Let y(x) =

  • an(x − x0)n, compute the power series for

y′(x) and y′′(x) at x0 and substitute these into the ODE.

38 / 47

slide-147
SLIDE 147

Steps for Series solution of linear ODE

1 Write ODE in standard form y′′ + p(x)y′ + q(x)y = 0. 2 Choose x0 at which p(x) and q(x) are analytic. If boundary

conditions at x0 are given, choose the center of the power series as x0.

3 Find minimum of radius of convergence of Taylor series of

p(x) and q(x) at x0.

4 Let y(x) =

  • an(x − x0)n, compute the power series for

y′(x) and y′′(x) at x0 and substitute these into the ODE.

5 Set the coefficients of (x − x0)n to zero and find recursion

formula.

38 / 47

slide-148
SLIDE 148

Steps for Series solution of linear ODE

1 Write ODE in standard form y′′ + p(x)y′ + q(x)y = 0. 2 Choose x0 at which p(x) and q(x) are analytic. If boundary

conditions at x0 are given, choose the center of the power series as x0.

3 Find minimum of radius of convergence of Taylor series of

p(x) and q(x) at x0.

4 Let y(x) =

  • an(x − x0)n, compute the power series for

y′(x) and y′′(x) at x0 and substitute these into the ODE.

5 Set the coefficients of (x − x0)n to zero and find recursion

formula.

6 From the recursion formula, obtain (linearly independent)

solutions y1(x) and y2(x). The general solution then looks like y(x) = a1y1(x) + a2y2(x).

38 / 47

slide-149
SLIDE 149

The following ODE’s are classical: Bessel’s equation : x2y′′ + xy′ + (x2 − ν2)y = 0 It occurs in problems displaying cylindrical symmetry, example diffusion of light through a circular aperture, vibration of a circular head drum, etc.

39 / 47

slide-150
SLIDE 150

The following ODE’s are classical: Bessel’s equation : x2y′′ + xy′ + (x2 − ν2)y = 0 It occurs in problems displaying cylindrical symmetry, example diffusion of light through a circular aperture, vibration of a circular head drum, etc. Airy’s equation : y′′ − xy = 0 It occurs in astronomy and quantum physics.

39 / 47

slide-151
SLIDE 151

The following ODE’s are classical: Bessel’s equation : x2y′′ + xy′ + (x2 − ν2)y = 0 It occurs in problems displaying cylindrical symmetry, example diffusion of light through a circular aperture, vibration of a circular head drum, etc. Airy’s equation : y′′ − xy = 0 It occurs in astronomy and quantum physics. Legendre’s equation : (1 − x2)y′′ − 2xy′ + α(α + 1)y = 0 It occurs in problems displaying spherical symmetry, particularly in electromagnetism.

39 / 47

slide-152
SLIDE 152

In this course, we will consider ODE P0(x)y′′ + P1(x)y′ + P2(x)y = 0 with Pi(x) polynomials for i = 0, 1, 2 without any common factor.

40 / 47

slide-153
SLIDE 153

In this course, we will consider ODE P0(x)y′′ + P1(x)y′ + P2(x)y = 0 with Pi(x) polynomials for i = 0, 1, 2 without any common factor. If we write ODE in the standard form y′′ + P1(x) P0(x)y′ + P2(x) P0(x)y = 0 we see that if x0 is not a zero of P0(x), then P1(x)/P0(x) and P2(x)/P0(x) will be analytic at x0 hence we can find the series solution of ODE in the form y(x) =

  • an(x − x0)n

40 / 47

slide-154
SLIDE 154

In this course, we will consider ODE P0(x)y′′ + P1(x)y′ + P2(x)y = 0 with Pi(x) polynomials for i = 0, 1, 2 without any common factor. If we write ODE in the standard form y′′ + P1(x) P0(x)y′ + P2(x) P0(x)y = 0 we see that if x0 is not a zero of P0(x), then P1(x)/P0(x) and P2(x)/P0(x) will be analytic at x0 hence we can find the series solution of ODE in the form y(x) =

  • an(x − x0)n

When x0 is a zero of P0(x), then x0 is called a singular point of

  • ODE. This case will be considered later.

40 / 47

slide-155
SLIDE 155

Example Find the power series in x for the general solution of (1 + 2x2)y′′ + 6xy′ + 2y = 0

  • Solution. Note that 0 is not a zero of P0(x) = 1 + 2x2, hence the

series solution in powers of x exists.

41 / 47

slide-156
SLIDE 156

Example Find the power series in x for the general solution of (1 + 2x2)y′′ + 6xy′ + 2y = 0

  • Solution. Note that 0 is not a zero of P0(x) = 1 + 2x2, hence the

series solution in powers of x exists. Put y =

  • anxn in the ODE, we get

41 / 47

slide-157
SLIDE 157

Example Find the power series in x for the general solution of (1 + 2x2)y′′ + 6xy′ + 2y = 0

  • Solution. Note that 0 is not a zero of P0(x) = 1 + 2x2, hence the

series solution in powers of x exists. Put y =

  • anxn in the ODE, we get

(1 + 2x2)y′′ + 6xy′ + 2y

41 / 47

slide-158
SLIDE 158

Example Find the power series in x for the general solution of (1 + 2x2)y′′ + 6xy′ + 2y = 0

  • Solution. Note that 0 is not a zero of P0(x) = 1 + 2x2, hence the

series solution in powers of x exists. Put y =

  • anxn in the ODE, we get

(1 + 2x2)y′′ + 6xy′ + 2y = y′′ + 2x2y′′ + 6xy′ + 2y

41 / 47

slide-159
SLIDE 159

Example Find the power series in x for the general solution of (1 + 2x2)y′′ + 6xy′ + 2y = 0

  • Solution. Note that 0 is not a zero of P0(x) = 1 + 2x2, hence the

series solution in powers of x exists. Put y =

  • anxn in the ODE, we get

(1 + 2x2)y′′ + 6xy′ + 2y = y′′ + 2x2y′′ + 6xy′ + 2y =

  • ((n + 2)(n + 1)an+2 + 2n(n − 1)an + 6nan + 2an)xn

41 / 47

slide-160
SLIDE 160

Example Find the power series in x for the general solution of (1 + 2x2)y′′ + 6xy′ + 2y = 0

  • Solution. Note that 0 is not a zero of P0(x) = 1 + 2x2, hence the

series solution in powers of x exists. Put y =

  • anxn in the ODE, we get

(1 + 2x2)y′′ + 6xy′ + 2y = y′′ + 2x2y′′ + 6xy′ + 2y =

  • ((n + 2)(n + 1)an+2 + 2n(n − 1)an + 6nan + 2an)xn

= ⇒ (n + 2)(n + 1)an+2 + [2n(n − 1) + 6n + 2]an = 0

41 / 47

slide-161
SLIDE 161

Example (Continue . . .) = ⇒ an+2 = − 2n2 + 4n + 2 (n + 2)(n + 1) an = −2 n + 1 (n + 2) an n ≥ 0 Since indices on left and right differ by 2, we write separately for n = 2m and n = 2m + 1, m ≥ 0, so

42 / 47

slide-162
SLIDE 162

Example (Continue . . .) = ⇒ an+2 = − 2n2 + 4n + 2 (n + 2)(n + 1) an = −2 n + 1 (n + 2) an n ≥ 0 Since indices on left and right differ by 2, we write separately for n = 2m and n = 2m + 1, m ≥ 0, so a2m+2 = −22m + 1 2m + 2 a2m = −2m + 1 m + 1 a2m

42 / 47

slide-163
SLIDE 163

Example (Continue . . .) = ⇒ an+2 = − 2n2 + 4n + 2 (n + 2)(n + 1) an = −2 n + 1 (n + 2) an n ≥ 0 Since indices on left and right differ by 2, we write separately for n = 2m and n = 2m + 1, m ≥ 0, so a2m+2 = −22m + 1 2m + 2 a2m = −2m + 1 m + 1 a2m a2m+3 = −22m + 2 2m + 3 a2m+1 = −4 m + 1 2m + 3 a2m+1

42 / 47

slide-164
SLIDE 164

Example (Continue . . .) = ⇒ an+2 = − 2n2 + 4n + 2 (n + 2)(n + 1) an = −2 n + 1 (n + 2) an n ≥ 0 Since indices on left and right differ by 2, we write separately for n = 2m and n = 2m + 1, m ≥ 0, so a2m+2 = −22m + 1 2m + 2 a2m = −2m + 1 m + 1 a2m a2m+3 = −22m + 2 2m + 3 a2m+1 = −4 m + 1 2m + 3 a2m+1 a2 = −1 1 a0

42 / 47

slide-165
SLIDE 165

Example (Continue . . .) = ⇒ an+2 = − 2n2 + 4n + 2 (n + 2)(n + 1) an = −2 n + 1 (n + 2) an n ≥ 0 Since indices on left and right differ by 2, we write separately for n = 2m and n = 2m + 1, m ≥ 0, so a2m+2 = −22m + 1 2m + 2 a2m = −2m + 1 m + 1 a2m a2m+3 = −22m + 2 2m + 3 a2m+1 = −4 m + 1 2m + 3 a2m+1 a2 = −1 1 a0 a4 = −3 2 a2 = 1.3 1.2 a0

42 / 47

slide-166
SLIDE 166

Example (Continue . . .) = ⇒ an+2 = − 2n2 + 4n + 2 (n + 2)(n + 1) an = −2 n + 1 (n + 2) an n ≥ 0 Since indices on left and right differ by 2, we write separately for n = 2m and n = 2m + 1, m ≥ 0, so a2m+2 = −22m + 1 2m + 2 a2m = −2m + 1 m + 1 a2m a2m+3 = −22m + 2 2m + 3 a2m+1 = −4 m + 1 2m + 3 a2m+1 a2 = −1 1 a0 a4 = −3 2 a2 = 1.3 1.2 a0 a6 = −5 3 a4 = −1.3.5 1.2.3 a0

42 / 47

slide-167
SLIDE 167

Example (Continue . . .) a2m = (−1)m 1.3.5. . . . (2m − 1) m! a0

43 / 47

slide-168
SLIDE 168

Example (Continue . . .) a2m = (−1)m 1.3.5. . . . (2m − 1) m! a0 = (−1)m m

j=1(2j − 1))

m! a0

43 / 47

slide-169
SLIDE 169

Example (Continue . . .) a2m = (−1)m 1.3.5. . . . (2m − 1) m! a0 = (−1)m m

j=1(2j − 1))

m! a0 a2m+3 = −4 m + 1 2m + 3 a2m+1

43 / 47

slide-170
SLIDE 170

Example (Continue . . .) a2m = (−1)m 1.3.5. . . . (2m − 1) m! a0 = (−1)m m

j=1(2j − 1))

m! a0 a2m+3 = −4 m + 1 2m + 3 a2m+1 a3 = −41 3 a1

43 / 47

slide-171
SLIDE 171

Example (Continue . . .) a2m = (−1)m 1.3.5. . . . (2m − 1) m! a0 = (−1)m m

j=1(2j − 1))

m! a0 a2m+3 = −4 m + 1 2m + 3 a2m+1 a3 = −41 3 a1 a5 = −42 5 a3 = 42 1.2 3.5 a1

43 / 47

slide-172
SLIDE 172

Example (Continue . . .) a2m = (−1)m 1.3.5. . . . (2m − 1) m! a0 = (−1)m m

j=1(2j − 1))

m! a0 a2m+3 = −4 m + 1 2m + 3 a2m+1 a3 = −41 3 a1 a5 = −42 5 a3 = 42 1.2 3.5 a1 a7 = −43 7 a5 = −43 1.2.3 3.5.7 a1

43 / 47

slide-173
SLIDE 173

Example (Continue . . .) a2m = (−1)m 1.3.5. . . . (2m − 1) m! a0 = (−1)m m

j=1(2j − 1))

m! a0 a2m+3 = −4 m + 1 2m + 3 a2m+1 a3 = −41 3 a1 a5 = −42 5 a3 = 42 1.2 3.5 a1 a7 = −43 7 a5 = −43 1.2.3 3.5.7 a1 a2m+1 = (−1)m4m m! m

j=1(2j + 1) a1

43 / 47

slide-174
SLIDE 174

Example (Continue . . .) We can write the solution y =

  • anxn = a0y1(x) + a1y2(x)

44 / 47

slide-175
SLIDE 175

Example (Continue . . .) We can write the solution y =

  • anxn = a0y1(x) + a1y2(x)

where a0 and a1 are arbitrary scalars and y1(x) =

  • m=0

(−1)m m

j=1(2j − 1)

m! x2m y2(x) =

  • m=0

(−1) 4mm! m

j=1(2j + 1)x2m+1

44 / 47

slide-176
SLIDE 176

Example (Continue . . .) We can write the solution y =

  • anxn = a0y1(x) + a1y2(x)

where a0 and a1 are arbitrary scalars and y1(x) =

  • m=0

(−1)m m

j=1(2j − 1)

m! x2m y2(x) =

  • m=0

(−1) 4mm! m

j=1(2j + 1)x2m+1

Since P0(x) = 1 + 2x2 has complex zeros ±ι √ 2, the power series solution converges in the interval −1 √ 2, 1 √ 2

  • .
  • 44 / 47
slide-177
SLIDE 177

Example Find the coefficients a0, . . . , a6 in the series solution y =

  • anxn
  • f the IVP

(1 + x + 2x2)y′′ + (1 + 7x)y′ + 2y = 0 with y(0) = −1, y′(0) = −2.

45 / 47

slide-178
SLIDE 178

Example Find the coefficients a0, . . . , a6 in the series solution y =

  • anxn
  • f the IVP

(1 + x + 2x2)y′′ + (1 + 7x)y′ + 2y = 0 with y(0) = −1, y′(0) = −2. Zeros of P0(x) = 1 + x + 2x2 are

1 4(−1 ± ι

√ 7) whose absolute values are 1/ √

  • 2. Hence the series solution to the IVP converges
  • n the interval

−1 √ 2, 1 √ 2

  • .

45 / 47

slide-179
SLIDE 179

Example (Continue . . .) (1 + x + 2x2)y′′ + (1 + 7x)y′ + 2y =

  • bnxn = 0

bn = (n + 2)(n + 1)an+2 + (n + 1)nan+1 + 2n(n − 1)an

46 / 47

slide-180
SLIDE 180

Example (Continue . . .) (1 + x + 2x2)y′′ + (1 + 7x)y′ + 2y =

  • bnxn = 0

bn = (n + 2)(n + 1)an+2 + (n + 1)nan+1 + 2n(n − 1)an +(n + 1)an+1 + 7nan + 2an = 0

46 / 47

slide-181
SLIDE 181

Example (Continue . . .) (1 + x + 2x2)y′′ + (1 + 7x)y′ + 2y =

  • bnxn = 0

bn = (n + 2)(n + 1)an+2 + (n + 1)nan+1 + 2n(n − 1)an +(n + 1)an+1 + 7nan + 2an = 0 that is (n + 2)(n + 1)an+2 + (n + 1)2an+1 + (2n2 + 5n + 2)an = 0

46 / 47

slide-182
SLIDE 182

Example (Continue . . .) (1 + x + 2x2)y′′ + (1 + 7x)y′ + 2y =

  • bnxn = 0

bn = (n + 2)(n + 1)an+2 + (n + 1)nan+1 + 2n(n − 1)an +(n + 1)an+1 + 7nan + 2an = 0 that is (n + 2)(n + 1)an+2 + (n + 1)2an+1 + (2n2 + 5n + 2)an = 0 Since 2n2 + 5n + 2 = (n + 2)(2n + 1), an+2 = −n + 1 n + 2 an+1 − 2n + 1 n + 1 an n ≥ 0

46 / 47

slide-183
SLIDE 183

Example (Continue . . .) an+2 = −n + 1 n + 2 an+1 − 2n + 1 n + 1 an n ≥ 0

47 / 47

slide-184
SLIDE 184

Example (Continue . . .) an+2 = −n + 1 n + 2 an+1 − 2n + 1 n + 1 an n ≥ 0 From the initial conditions y(0) = −1, y′(0) = −2 we get a0 = y(0) = −1, a1 = y′(0) = −2 a2 = −1 2a1 − a0 = 2 a3 = −2 3a2 − 3 2a1 = 5 3

47 / 47

slide-185
SLIDE 185

Example (Continue . . .) an+2 = −n + 1 n + 2 an+1 − 2n + 1 n + 1 an n ≥ 0 From the initial conditions y(0) = −1, y′(0) = −2 we get a0 = y(0) = −1, a1 = y′(0) = −2 a2 = −1 2a1 − a0 = 2 a3 = −2 3a2 − 3 2a1 = 5 3 Check that y(x) = −1 − 2x + 2x2 + 5 3x3 − 55 12x4 + 3 4x5 + 61 8 x6 + . . .

47 / 47