Introduction Derivation General formula List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

Similar documents
Introduction Derivation General formula Example 1 List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

REVERSE CHAIN RULE CALCULUS 7. Dr Adrian Jannetta MIMA CMath FRAS INU0115/515 (MATHS 2) Reverse Chain Rule 1/12 Adrian Jannetta

INFINITE SEQUENCES AND SERIES

Section Taylor and Maclaurin Series

BASIC ALGEBRA ALGEBRA 1. Dr Adrian Jannetta MIMA CMath FRAS INU0114/514 (MATHS 1) Basic algebra 1/ 17 Adrian Jannetta

Ma 530 Power Series II

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

Math 113 (Calculus 2) Exam 4

The polar coordinates

PRODUCT & QUOTIENT RULES CALCULUS 2. Dr Adrian Jannetta MIMA CMath FRAS INU0115/515 (MATHS 2) Product & quotient rules 1/13 Adrian Jannetta

TAYLOR AND MACLAURIN SERIES

8.5 Taylor Polynomials and Taylor Series

Taylor Series. Math114. March 1, Department of Mathematics, University of Kentucky. Math114 Lecture 18 1/ 13

Math 230 Mock Final Exam Detailed Solution

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

AP Calculus Chapter 9: Infinite Series

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function.

SECTION A. f(x) = ln(x). Sketch the graph of y = f(x), indicating the coordinates of any points where the graph crosses the axes.

MATH 1231 MATHEMATICS 1B Calculus Section 4.4: Taylor & Power series.

Math Numerical Analysis

11.10a Taylor and Maclaurin Series

You can learn more about the services offered by the teaching center by visiting

Infinite Series. Copyright Cengage Learning. All rights reserved.

Section 5.8. Taylor Series

Math 0230 Calculus 2 Lectures

Taylor and Maclaurin Series

MATH 118, LECTURES 27 & 28: TAYLOR SERIES

Power series and Taylor series

July 21 Math 2254 sec 001 Summer 2015

COMPLEX NUMBERS ALGEBRA 7. Dr Adrian Jannetta MIMA CMath FRAS INU0114/514 (MATHS 1) Complex Numbers 1/ 22 Adrian Jannetta

Completion Date: Monday February 11, 2008

PARTIAL DIFFERENTIATION

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

y = x 3 and y = 2x 2 x. 2x 2 x = x 3 x 3 2x 2 + x = 0 x(x 2 2x + 1) = 0 x(x 1) 2 = 0 x = 0 and x = (x 3 (2x 2 x)) dx

b n x n + b n 1 x n b 1 x + b 0

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

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

AP Calculus Testbank (Chapter 9) (Mr. Surowski)

Week #6 - Taylor Series, Derivatives and Graphs Section 10.1

DETERMINANTS, MINORS AND COFACTORS ALGEBRA 6. Dr Adrian Jannetta MIMA CMath FRAS INU0114/514 (MATHS 1)

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved.

Math Final Exam Review

8.7 MacLaurin Polynomials

Constructing Taylor Series

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0:

Part 3.3 Differentiation Taylor Polynomials

Friday 09/15/2017 Midterm I 50 minutes

n=1 ( 2 3 )n (a n ) converges by direct comparison to

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Power Series. x n. Using the ratio test. n n + 1. x n+1 n 3. = lim x. lim n + 1. = 1 < x < 1. Then r = 1 and I = ( 1, 1) ( 1) n 1 x n.

Taylor and Maclaurin Series. Approximating functions using Polynomials.

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

Study # 1 11, 15, 19

16.4. Power Series. Introduction. Prerequisites. Learning Outcomes

2.8 Linear Approximation and Differentials

(e) 2 (f) 2. (c) + (d). Limits at Infinity. 2.5) 9-14,25-34,41-43,46-47,56-57, (c) (d) 2

MATH 163 HOMEWORK Week 13, due Monday April 26 TOPICS. c n (x a) n then c n = f(n) (a) n!

Functions and Graphs. Chapter Numbers (1.2.1, 1.2.4)

2t t dt.. So the distance is (t2 +6) 3/2

Let s Get Series(ous)

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2009.

Infinite series, improper integrals, and Taylor series

Math 112 Rahman. Week Taylor Series Suppose the function f has the following power series:

1 Question related to polynomials

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

Homework Problem Answers

SET 1. (1) Solve for x: (a) e 2x = 5 3x

Infinite series, improper integrals, and Taylor series

RATIONAL FUNCTIONS AND

MATH 31B: MIDTERM 2 REVIEW. sin 2 x = 1 cos(2x) dx = x 2 sin(2x) 4. + C = x 2. dx = x sin(2x) + C = x sin x cos x

Math Review for Exam Answer each of the following questions as either True or False. Circle the correct answer.

Fall 2016, MA 252, Calculus II, Final Exam Preview Solutions

5.9 Representations of Functions as a Power Series

Math 115 HW #5 Solutions

Sec 4.1 Limits, Informally. When we calculated f (x), we first started with the difference quotient. f(x + h) f(x) h

Taylor Series and Maclaurin Series

Calculus I Review Solutions

a k 0, then k + 1 = 2 lim 1 + 1

Introduction Growthequations Decay equations Forming differential equations Case studies Shifted equations Test INU0115/515 (MATHS 2)

Section 10.7 Taylor series

SMALL INCREMENTS CALCULUS 13. Dr Adrian Jannetta MIMA CMath FRAS INU0115/515 (MATHS 2) Small increments 1/15 Adrian Jannetta

Final exam for MATH 1272: Calculus II, Spring 2015

1.4 Techniques of Integration

1 Lecture 24: Linearization

Sequences and Series

Math 106: Review for Exam II - SOLUTIONS

Math 1552: Integral Calculus Final Exam Study Guide, Spring 2018

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1.

Section 8.7. Taylor and MacLaurin Series. (1) Definitions, (2) Common Maclaurin Series, (3) Taylor Polynomials, (4) Applications.

Practice Differentiation Math 120 Calculus I Fall 2015

Multiple Choice. (c) 1 (d)

Math 106 Fall 2014 Exam 2.1 October 31, ln(x) x 3 dx = 1. 2 x 2 ln(x) + = 1 2 x 2 ln(x) + 1. = 1 2 x 2 ln(x) 1 4 x 2 + C

Differentiation ( , 9.5)

Math 334 A1 Homework 3 (Due Nov. 5 5pm)

TAYLOR SERIES [SST 8.8]

State Precalculus/Trigonometry Contest 2008

Series. Xinyu Liu. April 26, Purdue University

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) 4. (a) (b) (c) (d) (e)...

Math 162 Review of Series

Transcription:

MACLAURIN SERIES SERIES 4 INU0114/514 (MATHS 1) Dr Adrian Jannetta MIMA CMath FRAS Maclaurin Series 1/ 21 Adrian Jannetta

Recap: Binomial Series Recall that some functions can be rewritten as a power series in x. For example: (1+x) 4 1+4x+6x 2 + 4x 3 + x 4 This is a finite series. It was obtained by multiplying out the brackets, or by using the rules for expanding binomials. Here is another: (1+2x) 1 2 1+x 1 2 x2 + 1 2 x3 5 8 x4 +... This is an infinite series, with no final term on the RHS. The methods we learned for expanding binomials (e.g. Pascal s triangle, or equivalent) are restricted to functions of the form (a+x) n. Sometimes we need power series for other functions... Maclaurin Series 2/ 21 Adrian Jannetta

Power series Consider the functions f(x)=e x or f(x)=sinx How can we find a power series for these? (There are no brackets to expand!) The answer lies with calculus; we can use differentiation to generate the series. Colin Maclaurin (1698 1746) Pioneers in this approach to the analysis of functions include the mathematicians James Gregory, Brook Taylor, Isaac Newton and Colin Maclaurin who lived in the 17th and early 18th centuries. Maclaurin Series 3/ 21 Adrian Jannetta

Deriving a power series Consider the function f(x)=e x. FIrst, we assume a power series exists and that we can write it like this: e x = a 0 + a 1 x+a 2 x 2 + a 3 x 3 + a 4 x 4 +... (1) where a 0, a 1, a 2, etc are constants we have to find. Substitute x=0 into (1) to get: e 0 = a 0 + a 1 (0)+a 2 (0 2 )+a 3 (0 3 )+... 1 = a 0 Now differentiate and evaluate at x= 0 again: e x = a 1 + 2a 2 x+3a 3 x 2 + 4a 4 x 3 +... e 0 = a 1 + 2a 2 (0)+3a 3 (0 2 )+4a 4 (0 3 )+... 1 = a 1 Maclaurin Series 4/ 21 Adrian Jannetta

Repeat: differentiate and set x=0 e x = 2a 2 + 6a 3 x+12a 4 x 2 +... 1 = 2a 2 a 2 = 1 2 Repeat and we find a 3 = 1 6 and a 4= 1 24. Substituting these into the original series (1) we see: e x = 1+x+ x2 2 + x3 6 + x4 24... A power series whiderived for x=0 Maclaurin Series 5/ 21 Adrian Jannetta

What does it mean? We just expressed a function as a power series: e x = 1+x+ x2 2 + x3 6 + x4 24... The two sides are identical if we substitute x=0. To find other function values we must use more terms on the RHS. For example you may know the value of the constant e is approximately 2.718. We can check this with the series: e 1 1+1+ 1 2 + 1 6 + 1 24 2.708 Summing the first four terms gives a value close to the actual value of e. If we use a fifth term the sum increases to 2.717. After six terms we get 2.718. Just as we saw with binomial series the more terms we use, the better the approximation of series. Maclaurin Series 6/ 21 Adrian Jannetta

General formula for a Maclaurin series Any differentiable function f(x) can be expressed as a power series of the form: f(x)=a 0 + a 1 x+a 2 x 2 + a 3 x 3 +... (2) where a 0, a 1,... are constants that we must find. We will derive a formula to represent any differentiable function as a power series. Substitute x=0 into equation (2) to get f(0)=a 0. If we differentiate the series in 2 we obtain: f (x)=a 1 + 2a 2 x+3a 3 x 2 + 4a 4 x 3 +... (3) Substitute x=0 and we obtain f (0)=a 1. Differentiating (3) and putting x=0: f (x) = 2a 2 +(2)3a 3 x+4(3)a 4 x 2 +... f (0) = 2a 2 1 2 f (0) = a 2 Maclaurin Series 7/ 21 Adrian Jannetta

Differentiating again and setting x=0 gives: f (x) = (2)3a 3 + 4(3)(2)a 4 x+... f (0) = (2)(3)a 3 1 (2)(3) f (0) = a 3 It can be shown that a 4 = 1 (2)(3)(4) f iv (0) and that a k = 1 k! f k (0). Evaluating the constants a k at x=0 in the power series (2) leads to this: f(x)=f(0)+xf (0)+ f (0) 2! x 2 + f (0) 3! This series is called Maclaurin series. x 3 +...+ f k (0) x k +... (4) k! It shows that a power series for a given function can be obtained in straightforward way by repeated differentiation and evaluation at x=0. Maclaurin Series 8/ 21 Adrian Jannetta

Maclaurin series Find the Maclaurin series for the function sin x. Let s do this in a systematic way by writing down the function and its derivatives and then evaluating each at x=0. f(x)=sinx f(0)=0 f (x)=cos x f (0)=1 f (x)= sinx f (0)=0 f (x)= cosx f (0)= 1 f iv (x)=sinx f iv (0)=0 The pattern of derivatives will repeat after this, so that f v (0)=f (0). Substituting into Maclaurin s series (4) gives: Simplify this to get: sinx=0+(1)x+(0) x2 2! x3 x4 x5 +( 1) +(0) +(1) 3! 4! 5!... sinx=x x3 3! + x5 5!... Maclaurin Series 9/ 21 Adrian Jannetta

Some common series As a test you should try to obtain the following series for yourself: e x sinx cosx tanx = 1+x+ x2 2! + x3 3! + x4 4! +... = x x3 3! + x5 5! x7 7! +... = 1 x2 2! + x4 4! x6 6! +... = x+ x3 3 + 2x5 15 + 17x7 315 +... ln(1+x) = x x2 2 + x3 3 x4 4 +... (1+x) n = 1+nx+ n(n 1) 2! x 2 + n(n 1)(n 2) x 3 +... 3! Some functions don t have a Maclaurin series expansion. For example f(x) = lnx is not defined at x= 0 and so does not have a Maclaurin series. The series for(1+x) n is identical to the binomial series seen earlier in the course. Maclaurin Series 10/ 21 Adrian Jannetta

Convergence of Maclaurin Series Consider again the series sinx=x x3 3! + x5 5!... Let s compare how taking more terms on the RHS affects the graph of the series. We ll plot the result against the curve y= sinx. 2 1 y y= x 2π π 1 π 2π x 2 With one term the expansion is sinx x but it s only valid when x is close to zero. The difference is great at x= π 2 for example. Maclaurin Scientists Series often use this relationship11/ and 21 it s called a small angle Adrian Jannetta

Taking the next term in the series: y= x x3 3! 2 1 y 2π π 1 π 2π x 2 The extra term in the series extends the range of values for which the polynomial matches the sine curve. Maclaurin Series 12/ 21 Adrian Jannetta

Adding another term to the series: 2 1 y y= x x3 3! + x5 5! 2π π 1 π 2π x 2 The range of x values for which the two curves are in agreement is extended a little further. Maclaurin Series 13/ 21 Adrian Jannetta

Continuing to use more terms increases the range of x values for which the series is a valid representation of the function sin x. y 2 1 y= x x3 3! + x5 5! x7 7! 2π π 1 π 2π x 2 For this series it can be shown that the radius of convergence (the values for which the series is valid) can increase without limit if we use enough terms. Maclaurin Series 14/ 21 Adrian Jannetta

Deriving other series If we already know a Maclaurin series for a function then we might use it to derive the series of a related function without doing the differentiation and evaluation at x=0. For example, the Maclaurin series for e x is e x = 1+x+ x2 2! + x3 3! + x4 4!... If we need a series for e 2x then we replace each x with 2x in the original: e 2x = 1+( 2x)+ ( 2x)2 + ( 2x)3 + ( 2x)4... 2! 3! 4! Expanding the brackets and simplifying the coefficients: e 2x = 1 2x+ 4x2 2 + 8x3 + 16x4 6 24... = 1 2x+2x 2 4 3 x3 + 2 3 x4... Maclaurin Series 15/ 21 Adrian Jannetta

Deriving another series Use the Maclaurin series for e x and cos x to obtain the first few terms in the series for f(x)=e x cos x This function would rapidly become difficult to differentiate. Instead we ll use the series for each function. e x cos x= 1+x+ x2 2 + x3 6 +... 1 x2 2 + x4 24... Let s take each term in the first brackets and multiply it with the entire second set of brackets. We ll only write down the terms which have powers of x of 4 or less. e x cos x = 1 x2 2 + x4 x3 + x 24 2 + x2 2 x4 4 + x3 6 +... = 1+x x3 3 5x4 24 +... Maclaurin Series 16/ 21 Adrian Jannetta

An application from physics... A pendulum of length L at an angleθ to the vertical will swing back and forth. But this is cannot be solved to findθ(t) exactly advanced numerical methods are needed! θ If the angleθ is kept small then, because sinθ θ, we can write L d 2 θ dt 2 + g L θ= 0 mg sinθ mg The equation of motion is d 2 θ dt 2 + g L sinθ= 0 mg cosθ Solving this equation would tell us the angleθ at time t. This is much easier to solve! It describes simple harmonic motion and we ll study it in Maths 2 later in the course. Using terms in a power series to approximate a function can make the maths much easier. Maclaurin Series 17/ 21 Adrian Jannetta

Applications of Maclaurin Series Evaluating limits sin x Find the value of lim x 0 x. This function is not defined at x=0. Using the series for sin x we can see that: sin x x x 3 3! lim = lim + x5 5!... x 0 x x 0 x = lim 1 x2 x 0 3! + x4 5!... Taking the limit x 0 and all but the first term will vanish: sin x lim = 1 x 0 x Maclaurin Series 18/ 21 Adrian Jannetta

A difficult integral Evaluate 0.1 0 e x2 dx The indefinite integral of the function e x2 does not exist in terms of elementary functions. Instead we ll use its series. Starting with e x = 1+x+ x2 2! + x3 3! +... we obtain the required series by substituting x 2 for x: e x2 = 1+(x 2 )+ (x2 ) 2 + (x2 ) 3 +...= 1+x 2 + x4 2! 3! 2 + x6 6 +... The original integral can be approximated by: 0.1 0.1 e x2 dx 1+x 2 + x4 2 + x6 dx 6 0 0 0.1 x+ x3 3 + x5 10 + x7 42 0.1003343(7 D.P.) Maclaurin Series 19/ 21 Adrian Jannetta 0

Binomial and Maclaurin series In some mathematical situations that scientists and engineers encounter, it is preferable to replace a function with its power series expansion. The series might simplify a particular piece of maths or make it easier to analyse. We have now seen two methods to do this: with a binomial series or a Maclaurin series. Maclaurin series can be used for any function, while a binomial series can only be found for functions of the form(a+b) n. Binomial series for(1+x) n converges when x < 1. It is more complicated to find values for which Maclaurin series converges. Some series converge for x < (e.g. sinx). Others do not. Testing for convergence is beyond the scope of this course but if you re interested you should research radius of convergence for series. A more general version of Maclaurin series, valid for other values of x, is called Taylor series. We don t study that series on this course but you will see it later in your mathematical career. Maclaurin Series 20/ 21 Adrian Jannetta

Test yourself... You should be able to solve the following problems if you have understood everything in these notes. 1 Expand x+4 as a Maclaurin s series up to the x 3 term. 2 Find the first three terms in the expansion of e x. 3 Given that ln(1+x) x 1 2 x2 + 1 3 x3... find an expansion for ln(1 2x) 4 Find the first three terms of x 2 e x Answers: 1 (x+4) 1 2 = 2+ 1 4 x 1 64 x2 + 1 512 x3 +... 2 e x = 1 x+ 1 2 x2 1 6 x3 +... (leaving factorials in is fine!) 3 ln(1 2x)= 2x 2x 2 8 3 x3... 4 Multiply the series in (2) by x 2 to get x 2 e x = x 2 x 3 + 1 2 x4 1 6 x5 +... Maclaurin Series 21/ 21 Adrian Jannetta