Taylor and Maclaurin Series. Approximating functions using Polynomials.

Similar documents
Taylor and Maclaurin Series. Approximating functions using Polynomials.

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

Completion Date: Monday February 11, 2008

Section 5.8. Taylor Series

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

Math 113 (Calculus 2) Exam 4

Math 651 Introduction to Numerical Analysis I Fall SOLUTIONS: Homework Set 1

The polar coordinates

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

TAYLOR SERIES [SST 8.8]

Section 10.7 Taylor series

Section Taylor and Maclaurin Series

MAT137 Calculus! Lecture 45

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

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

AP Calculus (BC) Chapter 9 Test No Calculator Section Name: Date: Period:

8.7 MacLaurin Polynomials

Study # 1 11, 15, 19

Constructing Taylor Series

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

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

Ma 530 Power Series II

1 Question related to polynomials

(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.

Taylor and Maclaurin Series

Math Numerical Analysis

Chapter 9: Infinite Series Part 2

This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus II.

Section Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence.

TAYLOR AND MACLAURIN SERIES

Families of Functions, Taylor Polynomials, l Hopital s

July 21 Math 2254 sec 001 Summer 2015

MORE APPLICATIONS OF DERIVATIVES. David Levermore. 17 October 2000

11.10a Taylor and Maclaurin Series

Power, Taylor, & Maclaurin Series Page 1

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES

Math 115 HW #5 Solutions

AP Calculus Chapter 9: Infinite Series

Let s Get Series(ous)

X. Numerical Methods

False. 1 is a number, the other expressions are invalid.

Section 4.2: The Mean Value Theorem

Math 1B, lecture 15: Taylor Series

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

AP Calculus BC. Free-Response Questions

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

AP CALCULUS BC 2009 SCORING GUIDELINES

APPLICATIONS OF INTEGRATION

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

Taylor Series. richard/math230 These notes are taken from Calculus Vol I, by Tom M. Apostol,

8.5 Taylor Polynomials and Taylor Series

Section 9.7 and 9.10: Taylor Polynomials and Approximations/Taylor and Maclaurin Series

Practice Final Exam Solutions

10.1 Approximating f (x): Taylor Polynomials. f (x) is back. Approximate behavior of f (x) at (a, f (a))? Degree 0 Taylor polynomial: f (a)

f ( c ) = lim{x->c} (f(x)-f(c))/(x-c) = lim{x->c} (1/x - 1/c)/(x-c) = lim {x->c} ( (c - x)/( c x)) / (x-c) = lim {x->c} -1/( c x) = - 1 / x 2

WebAssign Lesson 6-3 Taylor Series (Homework)

Final Examination 201-NYA-05 May 18, 2018

Homework 4 Solutions, 2/2/7

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.

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

Formulas that must be memorized:

Announcements. Topics: Homework: - sections , 6.1 (extreme values) * Read these sections and study solved examples in your textbook!

MA 162 FINAL EXAM PRACTICE PROBLEMS Spring Find the angle between the vectors v = 2i + 2j + k and w = 2i + 2j k. C.

3.4 Introduction to power series

1S11: Calculus for students in Science

Calculus I Announcements

As f and g are differentiable functions such that. f (x) = 20e 2x, g (x) = 4e 2x + 4xe 2x,

Chapter 11. Taylor Series. Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27

Math 221 Notes on Rolle s Theorem, The Mean Value Theorem, l Hôpital s rule, and the Taylor-Maclaurin formula. 1. Two theorems

Suppose that f is continuous on [a, b] and differentiable on (a, b). Then

AP Calculus BC 2015 Free-Response Questions

Math 131. The Derivative and the Tangent Line Problem Larson Section 2.1

MATHEMATICS AP Calculus (BC) Standard: Number, Number Sense and Operations

Unit #3 Rules of Differentiation Homework Packet

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

Solutions to Math 1b Midterm II

The First Derivative and Second Derivative Test

Test for Increasing and Decreasing Theorem 5 Let f(x) be continuous on [a, b] and differentiable on (a, b).

Topics Covered in Calculus BC

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

Review Guideline for Final

c n (x a) n c 0 c 1 (x a) c 2 (x a) 2...

MA1021 Calculus I B Term, Sign:

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

The First Derivative and Second Derivative Test

Caculus 221. Possible questions for Exam II. March 19, 2002

MAT137 Calculus! Lecture 48

Final exam (practice) UCLA: Math 31B, Spring 2017

Error Bounds in Power Series

10.1 Sequences. Example: A sequence is a function f(n) whose domain is a subset of the integers. Notation: *Note: n = 0 vs. n = 1.

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

Continuity. MATH 161 Calculus I. J. Robert Buchanan. Fall Department of Mathematics

MATH 1372, SECTION 33, MIDTERM 3 REVIEW ANSWERS

MAT 1339-S14 Class 4

The function graphed below is continuous everywhere. The function graphed below is NOT continuous everywhere, it is discontinuous at x 2 and

TEST CODE: MMA (Objective type) 2015 SYLLABUS

Multiple Choice. (c) 1 (d)

Homework Problem Answers

Calculus. Weijiu Liu. Department of Mathematics University of Central Arkansas 201 Donaghey Avenue, Conway, AR 72035, USA

1 Exam 1 Spring 2007.

Transcription:

Taylor and Maclaurin Series Approximating functions using Polynomials.

Approximating f x = e x near x = 0 In order to approximate the function f x = e x near x = 0, we can use the tangent line (The Linear Approximation). f 0 = 1 f x = e x f (0) = e 0 = 1 P x P x 1 = 1(x 0) P x = 1 + x P 1 (x) = 1 + x The 1 st Degree Polynomial Approximation P 1 0 = f 0 = 1 P 1 0 = f 0 = 1

A Better Approximation to f x = e x As we move away from x = 0, our line is not a good approximation to e x. How could we get a better approximation? To get a better approximation, we can create a function, P 2 x, that also has the same concavity or 2 nd Derivative as f x = e x. P 2 0 = f 0 = 1 P 2 0 = f 0 = 1 P 2 0 = f 0 = 1 f x = e x P 2 x = 1 + x + x2 2 The 2 nd Degree Polynomial Approximation Graph

The next step, in order to get an even better approximation is to allow their third derivatives to equal one another. This can be done with the following equation: P 3 x = 1 + x + x2 2 + x3 6 Graph In general, the function e x can be approximated exactly by the following: P n x = 1 + x + x2 2 + x3 3! + + xn e x = x n

For what values of x will e x = x n For all x values in the interval of convergence!!? lim n a n+1 a n < 1 lim n x n+1 n + 1! x n lim n x n+1 n + 1! x n lim n x n + 1 < 1 This holds for all values of x. Therefore, Graph e x = x n everywhere!

Use our Polynomial approximation for e x in order to estimate e and e 2. What is the maximum error involved in our estimation? e x = x n e = 1 n = 1 e = 1 e 1 + 1 + 1 2 + 1 6 + 1 24 2.7088 e = 2.718 e x = x n P n x = 1 + x + x2 2 + x3 6 P 3 1 = *The maximum error will just be the absolute value of the first omitted term. (This is very similar to the alternating series error). *This is a simplified way of calculating the error but will work 90% of the time. We do not have time to actually calculate the error this year.

Maclaurin Polynomial Approximation When developing a polynomial to estimate a function centered at c = 0, you can use the following: P n x = f 0 + f 0 x + f 0 2! x 2 + f 0 3! x 3 + + fn 0 x n P n x = f n 0 x n *A Maclaurin Polynomial is centered at c = 0.

Develop a Maclaurin Polynomial Approximation for the graph of f(x) = sin x. P 1 x = x P n x = f n 0 x n P 0 x = sin 0 0! P 1 0 = f(0) P 1 0 = f (0) 1 st Degree Polynomial Approximation P 1 x = 0 + cos 0 1! P 1 x x 0 = 0 1 1 = 0 = x (Tangent line at x = 0) P 1 x x 1 = x = x

2 nd Degree Polynomial Approximation P n x = P 2 x = 0 + x + f n 0 x n f x = sin x f 0 = sin 0 = 0 P 2 x = x 3 rd Degree Polynomial Approximation f x = cos x f o = cos 0 = 1 P 3 x = x +? P 3 x = x x3 3!

P 4 x 4 th Degree Polynomial Approximation P n x = f n 0 = x x3 3! + f4 x = sin x f 0 = sin 0 = 0 P 4 x = x x3 3! 5 th Degree Polynomial Approximation f 5 x = cos x f 5 o = cos 0 = 1 x n P 5 x = x x3 3! + x5 5!

Maclaurin Polynomial for f x = sin x P 5 x = x x3 3! + x5 5! P n x = x x3 3! + x5 5! x7 7! + x9 9! + 1 n x 2n+1 2n + 1! sin x = 1 n x 2n+1 2n + 1!

For what values of x does sin x = 1 n x 2n+1 2n + 1!? For all x values in the interval of convergence!! lim n a n+1 a n < 1

Homework Using the formula for a Maclaurin Polynomial, Write the first 5 nonzero terms of the polynomial P n x = f n 0 approximation for f x = cos x, f x = sin x and f x = e x. x n Try to find the pattern so you can come up with the formula for the n th term of the series in each case. **This is very important for the BC Calculus test.**

cos x sin x 1 x2 2! + x4 4! x6 6! + x8 8! + 1 n x 2n 2n! x x3 3! + x5 5! x7 7! + x9 9! + 1 n x 2n+1 2n + 1! e x 1 + x + x2 2 + x3 6 + x4 24 + x5 120 + + xn

Interval of Convergence for Power Series Representation of cos x P n x = 1 x2 2! + x4 4! x6 6! + x8 8! + 1 n x 2n 2n! cos x = 1 n x 2n 2n!

Taylor Series Polynomials How can we develop a Polynomial whose center is not c = 0?

Taylor and Maclaurin Series We can take this formula and use it to come up with a Power Series that will exactly represent many elementary functions including: sin x, cos x, e x P n x = f c + f c x c + f c 2! x c 2 + f c 3! x c 3 + + fn c x c n Taylor Series f n c x c n Maclaurin Series f n 0 x n

Finding the third degree Taylor Polynomial for f(x) = ln x centered at c = 1. f n c x c n f x = ln x f x = 1/x f x = 1/x 2 f 1 = 0 f 1 = 1 f 1 = 1 f x = 2/x 3 f 1 = 2 P 3 x = 0 0! x 1 0 + 1 1! x 1 1 + 1 2! x 1 2 + 2 3! x 1 3 P 3 x = x 1 1/2 x 1 2 + 1/3 x 1 3 GRAPH

Find the third order Taylor Polynomial for f x = 2x 3 3x 2 + 4x 5 centered at c = 1. f n c x c n f x = 2x 3 3x 2 + 4x 5 f x = 6x 2 6x + 4 f x = 12x 6 f 1 = 2 f 1 = 4 f 1 = 6 f x = 12 f 1 = 12 P 3 x = 2 0! x 1 0 + 4 1! x 1 1 + 6 2! x 1 2 + 12 3! x 1 3 P 3 x = 2 + 4 x 1 + 3 x 1 2 + 2 x 1 3 P 3 x = 2 x 1 3 + 3 x 1 2 + 4 x 1 2 Now use the expand key on your calculator to verify that P 3 x = f x (Home > F2 > expand).

Find the Taylor Series generated by f x c = 2. f n c x c n = e x at f x = f x = f (x) = f x = f 4 x = e x f 2 0! x 2 0 f 2 + x 2 1 + 1! e 2 + e 2 (x 2) + f 2 2! e 2 x 2 2 + f 2 3! 2 x 2 2 + x 2 3 + e 2 6 x 2 3 + + e2 x 2 n k=0 e 2 k! x 2 k Graph

Find the third Taylor polynomial for f x expanded about c = π/6. f n c x c n f x = sin x f x = cos x f x = sin x f x = cos x = sin x, f π/6 = 1/2 f π/6 = 3/2 f π/6 = 1/2 f π/6 = 3/2 P 3 x = f π 6 +f π 6 x π 6 + f π 6 2! x π 6 2 + f π 6 3! x π 6 3 P 3 x = 1 2

f x = sin x

The General Formula for a Polynomial Approximation What is the equation of the tangent line, P(x), to a function f(x) at the point c? P x f c = f (c)(x c) P x = f c + f (c)(x c)

P 1 x = f c + f (c)(x c) P c P x P c x = c = f c = f (c) = f c (f c constant) In order to make P(x) a better approximation for f(x), I am going to add a term so that the second derivatives also equal one another. P 2 x = f c + f c x c + f c 2 x c 2 The 2 nd Degree Polynomial Approximation

P 2 x = f c + f c x c + f c x = c P c = f(c) 2 x c 2 First Derivative of P(x) P x = f c + f (c)(x c) P c = f (c) f c constant (f c constant) Second Derivative of P(x) P x = f (c) P c = f (c)

Allowing the 3 rd Derivatives to be Equal P 3 x = f c + f c x c + f c 2 x c 2 + f c 6 x c 3 The 3 rd Degree Polynomial Approximation x = c P c = f(c) P c = f (c) P c = f (c) P 3 c = f 3 (c) f c constant (f c constant) P n x = f c + f c x c + f c 2! x c 2 + f c 3! x c 3 + + fn c x c n The N th Degree Polynomial Approximation

Homework (Finney/Demana) Taylor and Maclaurin WS Section 9.2 (13, 14, 16, 20, 21) Try to do 13 two ways: A: Developing a Taylor Polynomial B: Using a Geometric Series

Developing a Taylor Series for a Composite Function How do you develop a Taylor Series for a composite function like sin x 2?

Taylor and Maclaurin Series We can take this formula and use it to come up with a Power Series that will exactly represent many elementary functions including: sin x, cos x, e x P n x = f c + f c x c + f c 2! x c 2 + f c 3! x c 3 + + fn c x c n Taylor Series f n c x c n Maclaurin Series f n 0 x n

Find the Maclaurin series for f x = sin x 2 f n 0 x n sin x = x x3 3! + x5 5! x7 7! + x9 9! + 1 n x 2n+1 2n + 1! sin(x 2 ) = (x 2 ) (x2 ) 3 3! + (x2 ) 5 5! (x2 ) 7 7! + (x2 ) 9 9! + 1 n (x 2 ) 2n+1 2n + 1! sin x 2 = x 2 x6 3! + x10 5! x14 7! + x18 9! + 1 n x 4n+2 2n + 1! GRAPH

Write the first three nonzero terms and then general term of the power series centered at 0 that will represent the following: g x = e x 1 x e x = 1 + x + x2 2 + x3 6 + x4 24 + x5 120 + + xn g x = 1 + x + x2 2 + x3 6 + x4 24 + x5 120 + + xn 1 x g x = 1 + x 2 + x2 6 + + xn 1

Write the first three nonzero terms and then general term of the power series centered at 0 that will represent the following: g x = 4x sin 3x sin x = x x3 3! + x5 5! x7 7! + x9 9! + 1 n x 2n+1 2n + 1! sin(3x) = (3x) (3x)3 3! + (3x)5 5! (3x)7 7! + (3x)9 9! + 1 n (3x) 2n+1 2n + 1! g x = (4x) 3x (4x) 3x 3 3! + (4x) 3x 5 5! + (4x) 1 n (3x) 2n+1 2n + 1!

Homework (Finney/Demana) Taylor and Maclaurin WS Section 9.2 (2, 5, 14, 20, 23a) Section 9.3 (7, 8)