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

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

Section 5.8. Taylor Series

Completion Date: Monday February 11, 2008

MAT137 Calculus! Lecture 45

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

(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 (BC) Chapter 9 Test No Calculator Section Name: Date: Period:

Math 113 (Calculus 2) Exam 4

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

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

The polar coordinates

Constructing Taylor Series

TAYLOR SERIES [SST 8.8]

Section 10.7 Taylor series

Ma 530 Power Series II

Section Taylor and Maclaurin Series

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

Chapter 9: Infinite Series Part 2

Taylor and Maclaurin Series

AP Calculus Chapter 9: Infinite 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

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

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

8.7 MacLaurin Polynomials

Study # 1 11, 15, 19

11.10a Taylor and Maclaurin Series

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

X. Numerical Methods

Section 4.2: The Mean Value Theorem

1 Question related to polynomials

MORE APPLICATIONS OF DERIVATIVES. David Levermore. 17 October 2000

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

Math Numerical Analysis

Math 1B, lecture 15: Taylor Series

Let s Get Series(ous)

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

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. Copyright Cengage Learning. All rights reserved.

Families of Functions, Taylor Polynomials, l Hopital s

July 21 Math 2254 sec 001 Summer 2015

8.5 Taylor Polynomials and Taylor Series

Power, Taylor, & Maclaurin Series Page 1

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials

Math 115 HW #5 Solutions

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

1S11: Calculus for students in Science

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

MAT137 Calculus! Lecture 48

MATH 1372, SECTION 33, MIDTERM 3 REVIEW ANSWERS

AP Calculus BC. Free-Response Questions

Analysis II: Basic knowledge of real analysis: Part V, Power Series, Differentiation, and Taylor Series

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

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.

TAYLOR AND MACLAURIN SERIES

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

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

AP CALCULUS BC 2009 SCORING GUIDELINES

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

Solutions to Math 1b Midterm II

APPLICATIONS OF INTEGRATION

Practice Final Exam Solutions

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

Properties of a Taylor Polynomial

Chapter 4 Sequences and Series

Aim: How do we prepare for AP Problems on limits, continuity and differentiability? f (x)

Math 0230 Calculus 2 Lectures

MTH 133 Exam 2 November 16th, Without fully opening the exam, check that you have pages 1 through 12.

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)

Multiple Choice. (c) 1 (d)

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

Friday 09/15/2017 Midterm I 50 minutes

1.10 Continuity Brian E. Veitch

WebAssign Lesson 6-3 Taylor Series (Homework)

Infinite Series. Copyright Cengage Learning. All rights reserved.

Final Examination 201-NYA-05 May 18, 2018

Name. Instructor K. Pernell 1. Berkeley City College Due: HW 4 - Chapter 11 - Infinite Sequences and Series. Write the first four terms of {an}.

AP Calculus BC. Free-Response Questions

and lim lim 6. The Squeeze Theorem

Homework 4 Solutions, 2/2/7

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions

2015 Math Camp Calculus Exam Solution

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

Formulas that must be memorized:

Homework Problem Answers

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

Math 106: Review for Final Exam, Part II - SOLUTIONS. (x x 0 ) 2 = !

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

APPLICATIONS OF DIFFERENTIATION

Calculus I Announcements

3.4 Introduction to power series

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

2018 FREE RESPONSE QUESTION TENTATIVE SOLUTIONS

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

Without fully opening the exam, check that you have pages 1 through 12.

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

Tangent Lines Sec. 2.1, 2.7, & 2.8 (continued)

Final Exam Study Guide

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 P x f (0) = e 0 = 1 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 found by the following power series: 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, e x = x n everywhere! Graph

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 a Taylor Polynomial 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) x 0 = 0 1 1 st Degree Polynomial Approximation P 1 x = 0 + cos 0 1! P 1 x = x (Tangent line at x = 0) P 1 x 1 = 0 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 4 nonzero terms of the polynomial P n x = approximation for f x = cos x, f x = sin x and f x = e x. f n 0 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. Section 9.2 (2, 3, 22, 24, 31) **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!

Problem 2 from homework e 2x = 1 + 2x + 2x 2 + 4 3 x3 + 2 3 x4 + Can you come up with a formula for the nth term? e x = 1 + x + x2 2! + x3 3! + x4 4! +

Problem 24b, c

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

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!

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

Taylor and Maclaurin Series Maclaurin Series f n 0 x n Taylor Series f n c x c n 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

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 k=0 e 2 k! x 2 k Graph + + e2 x 2 n

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

Steps to Developing a Taylor Polynomial: 1. Write out the formula for a Taylor Polynomial f n c x c n 2. Write out the function and its derivatives. 3. Evaluate the derivatives at x = c. 4. Write out terms and plug in for f n c, c and n. 5. If possible, come up with a formula for the n th term. 6. Graph the original function and the polynomial to be sure they are equal.

Homework (Finney/Demana) Section 9.2: (13, 16, 20, 21, 23) (5, 8, 33) Section 9.3: (6, 8, 9) Try to do 13 two ways: A: Developing a Taylor Polynomial B: Using a Geometric Series

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

Error in an Approximation