engi 3424 chapter 5 gapped notes - memorial …ggeorge/3424/handout/h5series.doc · web view5.03...

82
ENGI 3424 5 – Series Page 5-01 5. Series Contents : 5.01 Sequences; general term, limits, convergence 5.02 Series; summation notation, convergence, divergence test 5.03 Series; telescoping series, geometric series, p-series 5.04 Tests for Convergence: comparison and limit comparison tests 5.05 Tests for Convergence: alternating series; absolute and conditional convergence 5.06 Tests for Convergence: ratio and root tests 5.07 Power Series, radius and interval of convergence 5.08 Taylor and Maclaurin Series, remainder term 5.09 Binomial Series 5.10 Introduction to Fourier Series 5.11 Introduction to Series Solutions of ODEs Appendix: 5.A Integral Test [not examinable; for reference only]

Upload: buinhu

Post on 21-Mar-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5 – Series Page 5-01

5. Series

Contents:

5.01 Sequences; general term, limits, convergence5.02 Series; summation notation, convergence, divergence test5.03 Series; telescoping series, geometric series, p-series5.04 Tests for Convergence: comparison and limit comparison tests5.05 Tests for Convergence: alternating series; absolute and conditional convergence5.06 Tests for Convergence: ratio and root tests5.07 Power Series, radius and interval of convergence5.08 Taylor and Maclaurin Series, remainder term5.09 Binomial Series5.10 Introduction to Fourier Series5.11 Introduction to Series Solutions of ODEs

Appendix:

5.A Integral Test [not examinable; for reference only]

Page 2: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.01 – Sequences Page 5-02

5.01 Sequences; general term, limits, convergence

A sequence is a set of related objects that all follow the same rule. There is a logical progression from current and previous elements to the next element.

Example 5.01.1

The alphabet: { a, b, c, ... , y, z }

The rule is: The nth element an = (the nth letter of the alphabet)

Example 5.01.2

The set of all natural numbers = { 1, 2, 3, ... }

Two ways to express the rule are:

or the direct definition

We are usually interested in two features: An explicit form for the general term (often from a recurrence relationship); The behaviour of the terms of a sequence as .

Example 5.01.3

The terms of a sequence form an arithmetic progression if consecutive terms differ by a common non-zero constant difference d :

, with an initial term a1 = a

Writing down the first few terms of the sequence,

The general term is therefore

Page 3: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.01 – Sequences Page 5-03

Example 5.01.4

The terms of a sequence form a geometric progression if consecutive terms change by a common constant ratio r :

, with an initial term

Writing down the first few terms of the sequence,

The general term is therefore

The sequence alternates in sign if r < 0

The sequence converges to a limit of zero if

If r = –1 then

Page 4: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.01 – Sequences Page 5-04

The power sequence converges to 0 for r < 0, converges to 1 for r = 0 anddiverges for r > 0.

Page 5: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.01 – Sequences Page 5-05

Example 5.01.5

Find the general term of this sequence and determine whether it converges.

Algebra of Sequences:

Given two convergent sequences with limit value A and with limit value B ,

is a convergent sequence with limit value (pA + qB) for all constants p, q;

is a convergent sequence with limit value AB;

is a convergent sequence with limit value A/B (provided that );

If f (x) is a continuous function with and if

then converges with limit value L ;

If and if converges with limit value C then .

Page 6: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.01 – Sequences Page 5-06

Example 5.01.6

Find the limit of the sequence .

The “Race to Infinity”

There is a hierarchy of functional forms that all diverge to infinity with increasing n:

for all sufficiently large n.

Example 5.01.7

because “nn goes to infinity faster than n ! ”

OR the sequence is positive and

Therefore all terms are bounded above by the terms of a sequence that converges to 0.

Page 7: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.01 – Sequences Page 5-07

If every term of a sequence is no less than all of its predecessors , then the sequence is an increasing sequence.

If every term of a sequence is no greater than all of its predecessors , then the sequence is a decreasing sequence.

A sequence is monotonic if and only if it is either increasing or decreasing.

If for some constant value U, then the sequence is upper-bounded.

If for some constant value L, then the sequence is lower-bounded.A sequence is bounded if it is both upper and lower bounded.

Every upper-bounded increasing sequence is convergent.

Every lower-bounded decreasing sequence is convergent.

Every bounded monotonic sequence is convergent.

Page 8: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.02 – Series Page 5-08

5.02 Series

The partial sum Sn of a sequence is the sum of the first n terms of that sequence:

This partial sum is also a finite series.The sum of an infinite series is the sum of all terms in the associated infinite sequence,

.

Example 5.02.1

Find the first three partial sums of the sequence

and find the limit of the sequence of partial sums.

Page 9: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.02 – Series Page 5-09

Divergence Test

If the general term of a series does not converge to zero, then the series diverges.

diverges (the sum does not exist)

Example 5.02.2

Prove that all arithmetic series diverge, (where ).

However, the converse of the divergence test is false. Some divergent series do have general terms that converge to zero,

or equivalently: does not guarantee that converges

(except for alternating series, section 5.05 below).

Page 10: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.02 – Series Page 5-10

Example 5.02.3

Show that the harmonic series diverges.

The divergence of the harmonic series is very slow.4 terms are needed for the partial sum to exceed 2.31 terms are needed for the partial sum to exceed 4.1674 terms are needed for the partial sum to exceed 8.The sum of the first billion (109) terms is still well under 25. Yet the sum of the complete series does not exist (diverges to infinity)!

Page 11: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.03 – Series Page 5-11

5.03 Series; telescoping series, geometric series, p-series

Example 5.03.1

Find the exact sum of the series .

This is an example of a telescoping series.The simplest such series have general terms similar to .Such series often involve the use of partial fractions.

Page 12: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.03 – Series Page 5-12

Example 5.03.2

Find the exact sum of the series .

Page 13: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.03 – Series Page 5-13

Example 5.03.2 (continued)

Sn =

Collecting the surviving terms from this telescoping series, we find that

Page 14: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.03 – Series Page 5-14

Geometric Series

Each term in a geometric series is a constant multiple r (the common ratio) of the immediately preceding term, except for the [non-zero] first term a . Quoting the general term from the geometric progression on page 5.03, the geometric series is

Applying the divergence test:

Page 15: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.03 – Series Page 5-15

Example 5.03.3 (Example 5.02.1 revisited)

Evaluate .

Example 5.03.4

Find the sum of the power series

Page 16: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.03 – Series Page 5-16

p-series

Another important family of standard series is the p-series (also known as “hyperharmonic” series):

The divergence test establishes divergence for p < 0 .

It can be shown [section 5.A] that p-series converge for all p > 1 and diverge for all p < 1 .

The case p = 1 is the harmonic series, for which Example 5.02.3 established divergence.

In 1741 Leonhard Euler proved that .

The removal or insertion of a finite number of finite terms does not affect the convergence of a series.

If converges, then so does ,

provided that a1 and a2 are finite.

Page 17: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.04 – Comparison Tests Page 5-17

5.04 Tests for Convergence: comparison and limit comparison tests

If all terms an in a series are positive, then the sequence of partial sums { Sn } is necessarily increasing.

If another series is convergent with a sum B and if , then

B is an upper bound to { Sn }Recall that an increasing sequence that has an upper bound is convergent [page 5.07]

{ Sn } must converge to a value < B

converges to some value A < B .

This is the basis of the comparison test.

Example 5.04.1

Is the series convergent?

[This is Example 5.03.1, for which the exact value of the sum was found by telescoping the series.]

Page 18: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.04 – Comparison Tests Page 5-18

Example 5.04.2

Is the series convergent?

Put very briefly, the essence of the comparison test is:A convergent ceiling forces convergence:

converges converges.A divergent floor forces divergence:

diverges diverges.

Page 19: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.04 – Comparison Tests Page 5-19

Limit Comparison Test

All terms and must be non-negative and L is some finite constant.

converges converges.

diverges diverges.

The reference series is often the geometric series or a p-series.

Example 5.04.3

Is the series convergent?

Page 20: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.04 – Comparison Tests Page 5-20

Example 5.04.4

Is the series convergent?

Page 21: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.05 – Alternating Series Test Page 5-21

5.05 Tests for Convergence: alternating series; absolute and conditional convergence

Alternating Series Test

If consecutive terms of a series alternate in sign, then a simpler test for convergence is available.

If and then converges.

Example 5.05.1

Is the alternating harmonic series

convergent?

Note that if we take the absolute values of the terms in the alternating harmonic series,

then we obtain the harmonic series , which diverges.

Page 22: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.05 – Alternating Series Test Page 5-22

Absolute Convergence

If and only if the series converges,

then the series is absolutely convergent.

If and only if the series converges but the series diverges,

then the series is conditionally convergent.

The alternating harmonic series is an example of a conditionally convergent series.

If a series is absolutely convergent, then the alternating series test is a waste of time.

Another test to establish the convergence of automatically establishes that

is absolutely convergent in one step.

If a series is conditionally convergent, then the alternating series test is often required to

establish convergence of , but another test is required on to complete the

proof of conditional convergence. Therefore test the convergence of first!

Absolute convergence allows the algebra of finite series to be extended to infinite series. In particular, the order of an infinite number of terms may be changed without affecting the sum of the series. The derivative of an absolutely convergent series is the sum of the derivatives of the individual terms.

This is no longer necessarily true for conditionally convergent series. For example,

but .

Page 23: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.05 – Alternating Series Test Page 5-23

Example 5.05.2

Investigate the convergence of the alternating p-series

This is obviously an alternating series.

Example 5.05.3

Is absolutely convergent, conditionally

convergent or divergent?

Page 24: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.05 – Alternating Series Test Page 5-24

Approximation Errors

For any convergent alternating series, the error in approximating the sum S of the entire series caused by evaluating the partial sum Sn of just the first n terms is

Example 5.05.4

Estimate correct to four decimal places.

The signs of the terms of this series are clearly alternating and

this series converges (by the alternating series test).

The error caused by using Sn to estimate S is

Page 25: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.06 – Ratio and Root Tests Page 5-25

5.06 Tests for Convergence: ratio and root tests

Among the most useful tests for series convergence is the ratio test:

If then is absolutely convergent.

If then is divergent.

If then the test fails and there is no information on series convergence.

The ratio test is most useful when the general term includes an exponential or factorial factor. The test fails when the general term is an algebraic function (terms of the form

in the numerator and/or denominator) only.

Example 5.06.1

Is the series absolutely convergent, conditionally convergent or

divergent?

Page 26: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.06 – Ratio and Root Tests Page 5-26

Note:

Proof that :

Page 27: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.06 – Ratio and Root Tests Page 5-27

Root Test:

If then is absolutely convergent.

If then is divergent.

If then the root test fails (provides no information).

Like the ratio test, the root test fails for purely algebraic functions.The root test fails whenever the ratio test fails.The root test works best for general terms of the form .Usually the ratio test can be applied more easily whenever the root test provides a result.

Example 5.06.2

Is the series absolutely convergent, conditionally convergent or

divergent?

Page 28: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.07 – Power Series Page 5-28

5.07 Power series, radius and interval of convergence

A power series with centre x = c is of the form

where b and d are real constants and .

A common choice of parameters for power series is b = 1 and d = 0:

Let un now represent the general term a n (x – c)bn+d and let us apply the ratio test for convergence of a power series:

The series is absolutely convergent whenever

where R is the radius of convergence

The interval of convergence I includes and may include one or both

endpoints, which must be tested separately.I is also the domain of the function f (x).

Also note that f (c) = a0 . All power series are absolutely convergent at the centre, even if R = 0.If , then the power series is absolutely convergent for all x.

Page 29: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.07 – Power Series Page 5-29

Example 5.07.1

Determine the radius of convergence and interval of convergence for the power series

Page 30: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-30

5.08 Taylor and Maclaurin Series; Remainder Term

A function f (x) that is represented by a power series (using only non-negative integer powers of ) is a Taylor series:

Assuming that the series exists and is absolutely convergent, then

and so on, so that the general term is and the Taylor series for f (x) is

The ratio test can determine the radius of convergence R .

Page 31: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-31

Example 5.08.1

Find the Taylor series for about x = 1.

Page 32: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-32

Example 5.08.2

Prove L’Hôpital’s rule for the case of a (0/0) indeterminacy.

Let functions f (x) and g (x) be such that f (a) = g (a) = 0.

Then is a type of indeterminacy.

Represent both functions by their Taylor series about x = a, then

Page 33: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-33

Maclaurin Series

A Taylor series with a centre at x = c = 0 is a Maclaurin series.

Example 5.08.3

Find the Maclaurin series for f (x) = ex and find its interval of convergence.

Page 34: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-34

Example 5.08.4

Find the Maclaurin series for f (x) = cos x and find its interval of convergence.

Page 35: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-35

Example 5.08.4 (Alternative Solution)

Use the Euler expression for the cosine function in terms of the exponential function:

and

Page 36: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-36

Example 5.08.5

Use the Maclaurin series for the cosine function to find the Maclaurin series for the sine function.

The Maclaurin series for f (x) = sin x may also be found directly, through repeated differentiations, or via the Euler equation and the Maclaurin series for the exponential function (as in Example 5.08.4 for the cosine function) or by differentiation of –cos x .

Page 37: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.08 – Taylor and Maclaurin series Page 5-37

Remainder Term

The practical use of Taylor (and Maclaurin) series arises when the partial sum of the first few terms of the series Tn(x) is used to approximate the value of a non-linear function. The error caused by truncating the series at the nth term is the nth remainder term Rn(x) :

where is some number between x and c .

The Taylor series is well-defined only if .

Example 5.08.6

The Maclaurin series for the exponential function f (x) = ex is

Because factorial functions diverge to infinity faster than exponential functions,

and the Maclaurin series is therefore well-defined.

The error caused by approximating f (x) = ex by the quadratic on

the interval (0 < x < a) is at most .

For a = 0.1, this maximum error is less than 2×10–4, with a maximum relative error of under 0.03%.However, for a = 10, the maximum error is substantial: more than 3×106. Many more terms need to be taken to maintain accuracy, the further away from the centre one goes.

Note that y = T1(x) is the equation of the tangent line to y = f (x) at x = c.

Page 38: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.09 – Binomial Series Page 5-38

5.09 Binomial Series

A special case of Maclaurin series arises for .

Page 39: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.09 – Binomial Series Page 5-39

Summary:

Interval of convergence:for n = 0 or [ the series terminates at k = n ]

I = [ –1, 1 ] for n > 0 and not an integer, with absolute convergence at x = ±1.I = ( –1, 1 ] for –1 < n < 0 with conditional convergence at x = +1.I = ( –1, 1 ) for n < –1 with divergence at x = ±1.

Page 40: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.09 – Binomial Series Page 5-40

Example 5.09.1

Find the Maclaurin series for and its interval of convergence.

In the binomial expansion, for "x" read "2x" and for "n" read "½".

Page 41: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-41

5.10 Fourier Series

This section offers a very brief overview of [discrete] Fourier series. Some majors will explore Fourier series and transforms in much greater detail in subsequent semesters.

The Fourier series of f (x) on the interval (–L, L) is

where

and

The {an, bn} are the Fourier coefficients of f (x).

Note that the cosine functions (and the function 1) are even, while the sine functions are odd.

If f (x) is even (f (–x) = + f (x) for all x), then bn = 0 for all n, leaving a Fourier cosine series (and perhaps a constant term) only for f (x).

If f (x) is odd (f (–x) = – f (x) for all x), then an = 0 for all n, leaving a Fourier sine series only for f (x).

Note that

with the multiplication table × odd function even function odd function | even oddeven function | odd even

Page 42: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-42

Example 5.10.1

Expand in a Fourier series.

Page 43: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-43

Example 5.10.1 (Additional Notes – also see "www.engr.mun.ca/~ggeorge/3424/demos/")

The first few partial sums in the Fourier series

are

and so on.

The graphs of successive partial sums approach f (x) more closely, except in the vicinity of any discontinuities, (where a systematic overshoot occurs, the Gibbs phenomenon).

Page 44: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-44

Example 5.10.2

Find the Fourier series expansion for the standard square wave,

The graphs of the third and ninth partial sums (containing two and five non-zero terms respectively) are displayed here, together with the exact form for f (x), with a periodic extension beyond the interval (–1, +1) that is appropriate for the square wave.

y = S3(x)

Page 45: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-45

Example 5.10.2 (continued)

y = S9(x)

Convergence

At all points x = xo in (–L, L) where f (x) is continuous and is either differentiable or the

limits and both exist, the Fourier series converges to f (x).

At finite discontinuities, (where the limits and both exist), the

Fourier series converges to ,

(using the abbreviations ).

f (x) not continuous continuous but continuous and at x = xo not differentiable differentiable

In all cases, the Fourier series at x = xo converges to (the red dot).

Page 46: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-46

Half-Range Fourier Series

A Fourier series for f (x), valid on [0, L], may be constructed by extension of the domain to [–L, L].

An odd extension leads to a Fourier sine series:

where

An even extension leads to a Fourier cosine series:

where

and there is automatic continuity of the Fourier cosine series at x = 0 and at x =  L.

Page 47: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-47

Example 5.10.3

Find the Fourier sine series and the Fourier cosine series for f (x) = x on [0, 1].

f (x) = x happens to be an odd function of x for any domain centred on x = 0. The odd extension of f (x) to the interval [–1, 1] is f (x) itself.

Evaluating the Fourier sine coefficients,

This function happens to be continuous and differentiable at x = 0, but is clearly discontinuous at the endpoints of the interval (x = 1).

Fifth order partial sum of the Fourier sine series for f (x) = x on [0, 1]

Page 48: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-48

Example 5.10.3 (continued)

The even extension of f (x) to the interval [–1, 1] is f (x) = | x |. Evaluating the Fourier cosine coefficients,

Page 49: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.10 – Fourier Series Page 5-49

Example 5.10.3 (continued)

Third order partial sum of the Fourier cosine series for f (x) = x on [0, 1]

Note how rapid the convergence is for the cosine series compared to the sine series.

S3(x) for cosine series and S5(x) for sine series for f (x) = x on [0, 1]

Page 50: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.11 – Series Solutions of ODEs Page 5-50

5.11 Introduction to Series Solutions of ODEs

If the functions p(x) , q(x) and r(x) in the ODE

are all analytic in some interval (and therefore possess Taylor series expansions around xo with radii of convergence of at least h), then a series solution to the ODE around xo with a radius of convergence of at least h exists:

Example 5.11.1

Find a series solution as far as the term in x3, to the initial value problem

None of our previous methods apply to this problem.The functions –x, ex and 4 are all analytic everywhere.

The solution of this ODE, expressed as a power series, is

Page 51: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.11 – Series Solutions of ODEs Page 5-51

Example 5.11.2

Find the general solution (as a power series about x = 0) to the ordinary differential equation

Let the general solution be .

Then

and

Substitute into the ODE:

We want the exponent of x to be the same in both summations, so that we can bring the two summations together.

and

Bring the two summations together for all terms from n = 2 onwards:

But this equation must be true regardless of the choice of x.Therefore the coefficient of each power of x must be zero.

Page 52: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.11 – Series Solutions of ODEs Page 5-52

Example 5.11.2 (continued)

and a0 = y(0) and a1 = y'(0) are arbitrary.

Therefore the general solution is

or

The arbitrary constants can be determined from initial conditions:

The Maple commands > with(DEtools):> ode := diff(y(x),x,x) + x*x*y(x) = 0;> Order := 15;> dsolve(ode, y(x), series);

produce the output

Follow the link for this example on the course web site, at "http://www.engr.mun.ca/~ggeorge/3424/demos/index.html".

Page 53: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.11 – Series Solutions of ODEs Page 5-53

Example 5.11.3

Find the complete solution (as a power series about x = 0) to the initial value problem

Let the general solution be .

Then .

Substitute into the ODE:

We prefer all summations to involve the same exponent in the general term.Substitute m = n – 2 (and thus n = m + 2) into the first term:

Start each summation from n = 2:

,

and

and combine the summations for all n from 2 onwards:

Page 54: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.11 – Series Solutions of ODEs Page 5-54

Example 5.11.3 (continued)

Equating coefficients of xn :

x0:

x1:

All higher powers of x :

The Maple commands > with(DEtools):> ode := (1-x^2)*diff(y(x),x,x) - 5*x*diff(y(x),x) - 3*y(x) = 0;> Order := 11;> dsolve(ode, y(x), series);produce the output

Follow the link for this example on the course web site, at "http://www.engr.mun.ca/~ggeorge/3424/demos/index.html".

Page 55: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.A – Integral Test Page 5-55

5.A Integral Test [for reference only – not examinable in this course]

If f (x) is a continuous function with positive values that are decreasing for all x > k ,

and the improper integral

exists as a finite real number, then the series converges and

If the improper integral does not have a finite value, then the series diverges.

Proof:

Examine the area between x = i – 1 and x = i under the curve y = f (x) :

Both rectangles have width one unit.The smaller rectangle has height f (i) and area smaller than that under the curve.The larger rectangle has height f (i – 1) and area larger than that under the curve.Therefore

This inequality is true for all areas from i – 1 = k onwards.Adding all of these areas together, we find

The left side can be re-arranged as

The right side can be re-arranged as

Page 56: ENGI 3424 Chapter 5 Gapped Notes - Memorial …ggeorge/3424/handout/H5Series.doc · Web view5.03 Series; telescoping series, geometric series, p-series Example 5.03.1 Find the exact

ENGI 3424 5.A – Integral Test Page 5-56

Also note that the ith term of the series is . It then follows that

The convergence or divergence of the series is therefore linked completely to the convergence or divergence of the improper integral.

The double inequality also allows upper and lower bounds to be evaluated for the sum of a convergent series whose terms form a sequence drawn from a positive, continuous and decreasing function f (x).

The convergence of the p-series can be established by a combination of the divergence and integral tests:

the p-series diverges for p < 0.

When p > 0 the function is positive, continuous and decreasing on

so that we may use the integral test.

Therefore the p-series converges for p > 1 and diverges otherwise.

Another example of the integral test arises in showing that

converges if and only if p > 1 [– details omitted].

END OF CHAPTER 5END OF ENGI 3424 !