Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of...

58
www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester

Transcript of Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of...

Page 1: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

www.le.ac.uk

Binomial Expansion and Maclaurin series

Department of MathematicsUniversity of Leicester

Page 2: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Binomial expansion

• The binomial expansion is a series approximation of a function:

• Where n is a real number.

nxxf )1()(

Page 3: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Positive and Integer exponents

• Let n be any positive integer. The the series will always be of finite length.

• Example: Let n=2.

221 xx

2)1( x

Page 4: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Pascal's triangle

• Pascal’s triangle can be used to solve expansions of . Pascal’s triangle has the form

1

1 1

1 2 1

1 3 3 1

1 4 6 4 1

nx)1(

Page 5: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Pascal's triangle

• Where every number is the sum of the two numbers above it.

Page 6: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Pascal's triangle

• We first take 1 on its own, then proceed in a triangle below it. The numbers on the diagonals always take the value 1.

1

1 1

Page 7: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Pascal's triangle

• With the 2nd line, we start on the left. The fist number has only one above it, so is again 1. The 2nd has 2 ones above it, so added together equal 2. And the 3rd is again 1. 1

1 1

1 2 1

Page 8: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Pascal's triangle

• This carries on line by line:

111121133114641

Page 9: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Generate Pascal’s Triangle

Order of Pascals Triangle

Generate

Clear

Page 10: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Pascal's triangle

• To solve an expansion ,

we take the line in the triangle where the 2nd and 2nd to last element is n, and multiply each number, from left to right, by and so on.

nx)1(

,,,1 2xx

Page 11: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Pascal's triangle

• Example: for , we take the line 1 3 3 1. and multiply each element by

3)1( x32 ,,,1 xxx

323 .1.3.31.1)1( xxxx

32331 xxx

Page 12: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Positive n

• Any positive integer n will always have a finite number of elements. Thus being a finite sequence.

• This is not the same for negative integers or other real numbers that aren’t positive integers.

• To work these we use the Binomial expansion.

Page 13: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Binomial expansion

• The series is given by, for |x|<1:

k

kk

nn xCx

1

)1(

Page 14: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Binomial expansion

• Where:

...!3

)2)(1(

!2

)1(1 32

x

nnnx

nnnx

!

)1)...(2)(1(

k

knnnnCkn

Page 15: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Binomial expansion

• As any other terms after the first 3 are very small, we can discount them. Making it an approximation.

• Otherwise it would go on forever.

• The expansion only matches the true function if |x|<1, otherwise it is a non-convergent series and therefore can not exist.

Page 16: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Binomial expansion: example

• Example: Let :

• So that n=-2. Rearrange so that it is of the form (1+x).

2)32()( xxf

22 )2

31(

4

1)32(

xx

Page 17: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Binomial expansion: example

• Then using the formula:

• Which is valid for |x|< 2/3

...

2

27

4

273

4

1 32 xxx

Page 18: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Binomial expansion: example

• This is valid for |x|< because, as

the 2nd term in the equation, here , has to

have a modulus of less than 1.

Therefore:

And:

3

2

2

3x

12

3

2

3 x

x

3

21.

3

2x

Page 19: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Series expansion of rational functions• We can expand more complicated

expressions, now, using the method of partial fractions where needed:

• Example: let:

• We can split this up using partial fractions, into:

)25)(1(

)36()(

xx

xxf

)25(

1

)1(

1

)25)(1(

)36(

xxxx

x

Page 20: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Series expansion of rational functions: example

• Where we can see:

• Then using the binomial series to expand both functions:

11 )25()1()25(

1

)1(

1

xxxx

Page 21: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Series expansion of rational functions: example

• Therefore:

• Given: |x|<1

...!3

)3)(2)(1(

!2

)2)(1(

1

)1(1)1(

321

xxx

x

...1 32 xxx

Page 22: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Series expansion of rational functions: example

• And:

• Given:|x|<

..!3

2

5)3)(2)(1(

!2

2

5)2)(1(

12

5)1(

12

11

2

5

2

1

32

1xxx

x

...

8

125

4

25

2

51

2

1 32 xxx

5

2

Page 23: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Series expansion of rational functions: example

• Therefore:

11 )25()1( xx

...16

141

8

33

4

9

2

3 32

xxx

Page 24: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series

• The Binomial expansion is used to approximate a function of the form:

as a polynomial representation.

• But this doesn’t work for all functions, such as that of sinx or cosx. For these we use Maclaurin series.

nxxf )1()(

Page 25: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series

• Maclaurin series is used to approximate a function as a series around the origin, to see what a function would look like in this area.

• As we do the proof, bare in mind the number of assumptions needed to prove this, and that all must apply for the function to satisfy the expansion.

Page 26: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series

• Maclaurin series is given by:

...!3

)0(''

!2

)0('')0(')0()( 32 x

fx

fxffxf

Page 27: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: proof

• Take any function f(x) and represent it as a power series:

• Assuming that the function can be written in this way.

...)( 33

2210 xaxaxaaxf

Page 28: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: proof

• Using this, we can equate this at x=0:

• Therefore:

...000)0( 3210 aaaaf

0)0( af

Page 29: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: proof

• This is assuming that f(x) exists at x=0:

• For instance:

does NOT exist as x=0, and therefore cannot be used as part of this series.

• This also assumes that both f(x) and the polynomial representation are differentiable.

xxf

1)(

Page 30: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: proof

• Now differentiate both sides:

• Then again equating at x=0:

...32)(' 2321 xaxaaxf

1)0(' af

Page 31: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: proof

• This again assumes that f’(x) exists as 0.

• For all successive derivatives of f(x) in this series we will assume exists at x=0.

• We will also assume from now on that all successive differentials and their polynomial representation are differentiable.

Page 32: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: proof

• Then differentiate again:

Then equating at x=0:

...2.32)('' 32 xaaxf

2!2

)0(''a

f

Page 33: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: proof

• We can find all of the by doing this. And Thus achieving the formula:

...!3

)0(''

!2

)0('')0(')0()( 32 x

fx

fxffxf

sai '

Page 34: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Example: Let f(x)=

• Using the formula, and the fact that

which at x=0,

xe

xx eedx

d

1)0( 0 ef

Page 35: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Then:

• Which we can simplify to:

for all x

...!3

1

!2

11 32 xxxe x

0 !n

nx

n

xe

Page 36: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Example: Let f(x)=

• Using a table of differentiation:

Differentiated: at x=0:

xcos

0sin

1cos

0sin

1cos

x

x

x

x

Page 37: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Then. Using the formula:

• Which we can simplify to:

for all x

...0!4

10

!2

101cos 42 xxx

n

n

n

xn

x 2

0 )!2(

)1(cos

Page 38: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Example: Let f(x)=

• Using a table of differentiation:

Differentiated: at x=0:

xsin

1cos

0sin

1cos

0sin

x

x

x

x

Page 39: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Then. Using the formula:

• Which we can simplify to:

for all x

...0!5

10

!3

100sin 53 xxxx

)12(

0 )!12(

)1(sin

n

n

n

xn

x

Page 40: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Example: Let f(x)=

• Using a table of differentiation:

Differentiated: at x=0:

11),1log( xforx

2)1(

12

1)1(

1

11

1

0)1log(

3

2

x

x

x

x

Page 41: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Then. Using the formula:

• Which we can simplify to:

...32

0)1log(32

xx

xx

1

)1log(n

n

n

xx

Page 42: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Example: Let f(x)=

• Using a table of differentiation:

Differentiated: at x=0:

11),1log( xforx

2)1(

12

1)1(

1

11

1

0)1log(

3

2

x

x

x

x

Page 43: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Then. Using the formula:

• Which we can simplify to:

...32

0)1log(32

xx

xx

n

n

n

xn

x

1

1)1()1log(

Page 44: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: Chain rule example• Example: Let f(x)=

• Let

• Then we know that , using Maclaurin series, equals:

2xe

ye

2xy

...!3

1

!2

11 32 yyye y

Page 45: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Then, substituting back in , we get:

...)(!3

1)(

!2

1)(1 322222

xxxe x

2xy

...!3

1

!2

11 642 xxx

Page 46: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Maclaurin series: example

• Which we can then simplify to:

0

2

!

2

n

nx

n

xe

Page 47: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using integration and differentiation to solve other functions

• If we know a function, we can take it’s series expansion and use it to find the expansion for it’s integral or differential.

Page 48: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using integration

• For finding the series expansion for an integral of f(x), we use the same expansion for f(x), but we integrate the expansion. Then add the integral of f(x) at x=0 to the series.

Page 49: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using integration

• For example:

• Let f(x)=cos(x). The series expansion is:

• The integral of f(x) equals sin(x).

...!4!2

1)cos(42

xx

x

Page 50: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using integration

• If we integrate the expansion, we get:

dxxx

dxx ...!4!2

1)cos(42

...!5!3

...!4.5!2.3

5353

xx

xxx

x

Page 51: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using integration

• Then we add the integral of f(x) at x=0, which is: sin(0)=0.

• Therefore:

• Which we know is the series expansion for sin(x).

...!5!3

53

xx

x

Page 52: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using differentiation

• For finding the series expansion for a differential of f(x), we use the same expansion for f(x), but we differentiate the expansion.

Page 53: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using differentiation

• For example:

• Let f(x)=cos(x). The series expansion is:

• The differential of f(x) equals -sin(x).

...!4!2

1)cos(42

xx

x

Page 54: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using differentiation

• If we differentiate the series expansion, we get:

...!4!2

1)cos(42 xx

dx

dx

dx

d

...!6

6

!4

4

!2

.20

53

xxx

Page 55: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Using differentiation

• Which equals:

• Which we know is the series expansion for

–sin(x).

...!5!3

53

xx

x

Page 56: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Conclusion

• Binomial expansion and Maclaurin series are used to represent functions as a polynmial series.

Page 57: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.

Conclusion

• Binomial expansion:

• Maclaurin seires:

k

kk

nn xCx

1

)1(

...!3

)0(''

!2

)0('')0(')0()( 32 x

fx

fxffxf

Page 58: Www.le.ac.uk Binomial Expansion and Maclaurin series Department of Mathematics University of Leicester.