11 INFINITE SEQUENCES AND SERIES. 11.11 Applications of Taylor Polynomials INFINITE SEQUENCES AND SERIES In this section, we will learn about: Two types.

Slides:



Advertisements
Similar presentations
Infinite Sequences and Series
Advertisements

Infinite Sequences and Series
INFINITE SEQUENCES AND SERIES
DERIVATIVES Linear Approximations and Differentials In this section, we will learn about: Linear approximations and differentials and their applications.
APPLICATIONS OF DIFFERENTIATION Maximum and Minimum Values In this section, we will learn: How to find the maximum and minimum values of a function.
INFINITE SEQUENCES AND SERIES
INTEGRALS Areas and Distances INTEGRALS In this section, we will learn that: We get the same special type of limit in trying to find the area under.
INFINITE SEQUENCES AND SERIES
APPLICATIONS OF DIFFERENTIATION Newton’s Method In this section, we will learn: How to solve high-degree equations using Newton’s method. APPLICATIONS.
INTEGRALS 5. INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area.  We also saw that it arises when we try to find.
Part 3 Truncation Errors.
INFINITE SEQUENCES AND SERIES
LIMITS The Limit of a Function LIMITS Objectives: In this section, we will learn: Limit in general Two-sided limits and one-sided limits How to.
APPLICATIONS OF DIFFERENTIATION 4. In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
DERIVATIVES 3. We have seen that a curve lies very close to its tangent line near the point of tangency. DERIVATIVES.
DERIVATIVES 3. We have seen that a curve lies very close to its tangent line near the point of tangency. DERIVATIVES.
Copyright © Cengage Learning. All rights reserved. 2 Derivatives.
DERIVATIVES 3. Summary f(x) ≈ f(a) + f’(a)(x – a) L(x) = f(a) + f’(a)(x – a) ∆y = f(x + ∆x) – f(x) dx = ∆x dy = f’(x)dx ∆ y≈ dy.
CHAPTER 2 LIMITS AND DERIVATIVES. 2.2 The Limit of a Function LIMITS AND DERIVATIVES In this section, we will learn: About limits in general and about.
Taylor Series & Error. Series and Iterative methods Any series ∑ x n can be turned into an iterative method by considering the sequence of partial sums.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
The importance of sequences and infinite series in calculus stems from Newton’s idea of representing functions as sums of infinite series.  For instance,
SECOND-ORDER DIFFERENTIAL EQUATIONS Series Solutions SECOND-ORDER DIFFERENTIAL EQUATIONS In this section, we will learn how to solve: Certain.
INTEGRALS Areas and Distances INTEGRALS In this section, we will learn that: We get the same special type of limit in trying to find the area under.
LIMITS AND DERIVATIVES 2. In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.  The.
Consider the following: Now, use the reciprocal function and tangent line to get an approximation. Lecture 31 – Approximating Functions
In Section 4.1, we used the linearization L(x) to approximate a function f (x) near a point x = a:Section 4.1 We refer to L(x) as a “first-order” approximation.
In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.  The result was that the values.
Copyright © Cengage Learning. All rights reserved. 11 Infinite Sequences and Series.
Integrals  In Chapter 2, we used the tangent and velocity problems to introduce the derivative—the central idea in differential calculus.  In much the.
Differential Equations 7. Direction Fields and Euler's Method 7.2.
Warm up Construct the Taylor polynomial of degree 5 about x = 0 for the function f(x)=ex. Graph f and your approximation function for a graphical comparison.
Remainder Estimation Theorem
LIMITS AND DERIVATIVES 2. The problem of finding the tangent line to a curve and the problem of finding the velocity of an object both involve finding.
Infinite Sequences and Series 8. Taylor and Maclaurin Series 8.7.
In section 11.9, we were able to find power series representations for a certain restricted class of functions. Here, we investigate more general problems.
DERIVATIVES 3. DERIVATIVES In this chapter, we begin our study of differential calculus.  This is concerned with how one quantity changes in relation.
LIMITS AND DERIVATIVES The Limit of a Function LIMITS AND DERIVATIVES In this section, we will learn: About limits in general and about numerical.
DIFFERENTIAL EQUATIONS 10. DIFFERENTIAL EQUATIONS Unfortunately, it’s impossible to solve most differential equations in the sense of obtaining an explicit.
Copyright © Cengage Learning. All rights reserved. 2 Limits and Derivatives.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
The Convergence Problem Recall that the nth Taylor polynomial for a function f about x = x o has the property that its value and the values of its first.
In this section we develop general methods for finding power series representations. Suppose that f (x) is represented by a power series centered at.
This is an example of an infinite series. 1 1 Start with a square one unit by one unit: This series converges (approaches a limiting value.) Many series.
12 INFINITE SEQUENCES AND SERIES. In general, it is difficult to find the exact sum of a series.  We were able to accomplish this for geometric series.
Remainder Theorem. The n-th Talor polynomial The polynomial is called the n-th Taylor polynomial for f about c.
3 DIFFERENTIATION RULES. We have:  Seen how to interpret derivatives as slopes and rates of change  Seen how to estimate derivatives of functions given.
Copyright © Cengage Learning. All rights reserved.
–1 –5–4–3–2– Describe the continuity of the graph. Warm UP:
In Chapters 6 and 8, we will see how to use the integral to solve problems concerning:  Volumes  Lengths of curves  Population predictions  Cardiac.
INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area. We also saw that it arises when we try to find the distance traveled.
5 INTEGRALS.
Maclaurin and Taylor Polynomials Objective: Improve on the local linear approximation for higher order polynomials.
9.3 Taylor’s Theorem: Error Analysis yes no.
INFINITE SEQUENCES AND SERIES The convergence tests that we have looked at so far apply only to series with positive terms.
LIMITS The Limit of a Function LIMITS In this section, we will learn: About limits in general and about numerical and graphical methods for computing.
Copyright © Cengage Learning. All rights reserved. 4 Integrals.
Copyright © Cengage Learning. All rights reserved Applications of Taylor Polynomials.
INTEGRALS 5. INTEGRALS In Chapter 3, we used the tangent and velocity problems to introduce the derivative—the central idea in differential calculus.
Convergence of Taylor Series Objective: To find where a Taylor Series converges to the original function; approximate trig, exponential and logarithmic.
INFINITE SEQUENCES AND SERIES In general, it is difficult to find the exact sum of a series.  We were able to accomplish this for geometric series and.
In the special case c = 0, T (x) is also called the Maclaurin Series: THEOREM 1 Taylor Series Expansion If f (x) is represented by a power series.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

11 INFINITE SEQUENCES AND SERIES

11.11 Applications of Taylor Polynomials INFINITE SEQUENCES AND SERIES In this section, we will learn about: Two types of applications of Taylor polynomials.

APPLICATIONS IN APPROXIMATING FUNCTIONS First, we look at how they are used to approximate functions.  Computer scientists like them because polynomials are the simplest of functions.

APPLICATIONS IN PHYSICS AND ENGINEERING Then, we investigate how physicists and engineers use them in such fields as:  Relativity  Optics  Blackbody radiation  Electric dipoles  Velocity of water waves  Building highways across a desert

APPROXIMATING FUNCTIONS Suppose that f(x) is equal to the sum of its Taylor series at a:

In Section 11.10, we introduced the notation T n (x) for the nth partial sum of this series.  We called it the nth-degree Taylor polynomial of f at a. NOTATION T n (x)

Thus, APPROXIMATING FUNCTIONS

Since f is the sum of its Taylor series, we know that T n (x) → f(x) as n → ∞.  Thus, T n can be used as an approximation to f : f(x) ≈ T n (x) APPROXIMATING FUNCTIONS

Notice that the first-degree Taylor polynomial T 1 (x) = f(a) + f’(a)(x – a) is the same as the linearization of f at a that we discussed in Section 3.10 APPROXIMATING FUNCTIONS

Notice also that T 1 and its derivative have the same values at a that f and f’ have.  In general, it can be shown that the derivatives of T n at a agree with those of f up to and including derivatives of order n.  See Exercise 38. APPROXIMATING FUNCTIONS

To illustrate these ideas, let’s take another look at the graphs of y = e x and its first few Taylor polynomials. APPROXIMATING FUNCTIONS

The graph of T 1 is the tangent line to y = e x at (0, 1).  This tangent line is the best linear approximation to e x near (0, 1). APPROXIMATING FUNCTIONS

The graph of T 2 is the parabola y = 1 + x + x 2 /2 The graph of T 3 is the cubic curve y = 1 + x + x 2 /2 + x 3 /6  This is a closer fit to the curve y = e x than T 2. APPROXIMATING FUNCTIONS

The next Taylor polynomial would be an even better approximation, and so on. APPROXIMATING FUNCTIONS

The values in the table give a numerical demonstration of the convergence of the Taylor polynomials T n (x) to the function y = e x. APPROXIMATING FUNCTIONS

When x = 0.2, the convergence is very rapid. When x = 3, however, it is somewhat slower.  The farther x is from 0, the more slowly T n (x) converges to e x. APPROXIMATING FUNCTIONS

When using a Taylor polynomial T n to approximate a function f, we have to ask these questions:  How good an approximation is it?  How large should we take n to be to achieve a desired accuracy? APPROXIMATING FUNCTIONS

To answer these questions, we need to look at the absolute value of the remainder: |R n (x)| = |f(x) – T n (x)| APPROXIMATING FUNCTIONS

There are three possible methods for estimating the size of the error. METHODS FOR ESTIMATING ERROR

If a graphing device is available, we can use it to graph |R n (x)| and thereby estimate the error. METHOD 1

If the series happens to be an alternating series, we can use the Alternating Series Estimation Theorem. METHOD 2

In all cases, we can use Taylor’s Inequality (Theorem 9 in Section 11.10), which states that, if |f (n + 1) (x)| ≤ M, then METHOD 3

a.Approximate the function f(x) = by a Taylor polynomial of degree 2 at a = 8. b.How accurate is this approximation when 7 ≤ x ≤ 9? APPROXIMATING FUNCTIONS Example 1

APPROXIMATING FUNCTIONS Example 1 a

Hence, the second-degree Taylor polynomial is: APPROXIMATING FUNCTIONS Example 1 a

The desired approximation is: APPROXIMATING FUNCTIONS Example 1 a

The Taylor series is not alternating when x < 8.  Thus, we can’t use the Alternating Series Estimation Theorem here. APPROXIMATING FUNCTIONS Example 1 b

However, we can use Taylor’s Inequality with n = 2 and a = 8: where f’’’(x) ≤ M. APPROXIMATING FUNCTIONS Example 1 b

Since x ≥ 7, we have x 8/3 ≥ 7 8/3, and so:  Hence, we can take M = APPROXIMATING FUNCTIONS Example 1 b

Also, 7 ≤ x ≤ 9. So, –1 ≤ x –8 ≤ 1 and |x – 8| ≤ 1.  Then, Taylor’s Inequality gives:  Thus, if 7 ≤ x ≤ 9, the approximation in part a is accurate to within APPROXIMATING FUNCTIONS Example 1 b

Let’s use a graphing device to check the calculation in Example 1. APPROXIMATING FUNCTIONS

The figure shows that the graphs of y = and y = T 2 (x) are very close to each other when x is near 8. APPROXIMATING FUNCTIONS

This figure shows the graph of |R 2 (x)| computed from the expression  We see that |R 2 (x)| < when 7 ≤ x ≤ 9 APPROXIMATING FUNCTIONS

Thus, in this case, the error estimate from graphical methods is slightly better than the error estimate from Taylor’s Inequality. APPROXIMATING FUNCTIONS

a.What is the maximum error possible in using the approximation when – 0.3 ≤ x ≤ 0.3?  Use this approximation to find sin 12° correct to six decimal places. APPROXIMATING FUNCTIONS Example 2

b. For what values of x is this approximation accurate to within ? APPROXIMATING FUNCTIONS Example 2

Notice that the Maclaurin series alternates for all nonzero values of x and the successive terms decrease in size as |x| < 1.  So, we can use the Alternating Series Estimation Theorem. APPROXIMATING FUNCTIONS Example 2 a

The error in approximating sin x by the first three terms of its Maclaurin series is at most  If –0.3 ≤ x ≤ 0.3, then |x| ≤ 0.3  So, the error is smaller than APPROXIMATING FUNCTIONS Example 2 a

To find sin 12°, we first convert to radian measure.  Correct to six decimal places, sin 12° ≈ APPROXIMATING FUNCTIONS Example 2 a

The error will be smaller than if:  Solving this inequality for x, we get:  The given approximation is accurate to within when |x| < 0.82 APPROXIMATING FUNCTIONS Example 2 b

What if we use Taylor’s Inequality to solve Example 2? APPROXIMATING FUNCTIONS

Since f (7) (x) = –cos x, we have |f (7) (x)| ≤ 1, and so  Thus, we get the same estimates as with the Alternating Series Estimation Theorem. APPROXIMATING FUNCTIONS

What about graphical methods? APPROXIMATING FUNCTIONS

The figure shows the graph of APPROXIMATING FUNCTIONS

We see that |R 6 (x)| < 4.3 x when |x| ≤ 0.3  This is the same estimate that we obtained in Example 2. APPROXIMATING FUNCTIONS

For part b, we want |R 6 (x)| <  So, we graph both y = |R 6 (x)| and y = , as follows. APPROXIMATING FUNCTIONS

By placing the cursor on the right intersection point, we find that the inequality is satisfied when |x| < 0.82  Again, this is the same estimate that we obtained in the solution to Example 2. APPROXIMATING FUNCTIONS

If we had been asked to approximate sin 72° instead of sin 12° in Example 2, it would have been wise to use the Taylor polynomials at a = π/3 (instead of a = 0).  They are better approximations to sin x for values of x close to π/3. APPROXIMATING FUNCTIONS

Notice that 72° is close to 60° (or π/3 radians).  The derivatives of sin x are easy to compute at π/3. APPROXIMATING FUNCTIONS

The Maclaurin polynomial approximations to the sine curve are graphed in the following figure. APPROXIMATING FUNCTIONS

You can see that as n increases, T n (x) is a good approximation to sin x on a larger and larger interval. APPROXIMATING FUNCTIONS

One use of the type of calculation done in Examples 1 and 2 occurs in calculators and computers. APPROXIMATING FUNCTIONS

For instance, a polynomial approximation is calculated (in many machines) when:  You press the sin or e x key on your calculator.  A computer programmer uses a subroutine for a trigonometric or exponential or Bessel function. APPROXIMATING FUNCTIONS

The polynomial is often a Taylor polynomial that has been modified so that the error is spread more evenly throughout an interval. APPROXIMATING FUNCTIONS

Taylor polynomials are also used frequently in physics. APPLICATIONS TO PHYSICS

To gain insight into an equation, a physicist often simplifies a function by considering only the first two or three terms in its Taylor series.  That is, the physicist uses a Taylor polynomial as an approximation to the function.  Then, Taylor’s Inequality can be used to gauge the accuracy of the approximation. APPLICATIONS TO PHYSICS

The following example shows one way in which this idea is used in special relativity. APPLICATIONS TO PHYSICS

In Einstein’s theory of special relativity, the mass of an object moving with velocity v is where:  m 0 is the mass of the object when at rest.  c is the speed of light. SPECIAL RELATIVITY Example 3

The kinetic energy of the object is the difference between its total energy and its energy at rest: K = mc 2 – m 0 c 2 SPECIAL RELATIVITY Example 3

a.Show that, when v is very small compared with c, this expression for K agrees with classical Newtonian physics: K = ½m 0 v 2 b. Use Taylor’s Inequality to estimate the difference in these expressions for K when |v| ≤ 100 ms. SPECIAL RELATIVITY Example 3

Using the expressions given for K and m, we get: SPECIAL RELATIVITY Example 3 a

With x = –v 2 /c 2, the Maclaurin series for (1 + x) –1/2 is most easily computed as a binomial series with k = –½.  Notice that |x| < 1 because v < c. SPECIAL RELATIVITY Example 3 a

Therefore, we have: SPECIAL RELATIVITY Example 3 a

Also, we have: SPECIAL RELATIVITY Example 3 a

If v is much smaller than c, then all terms after the first are very small when compared with the first term.  If we omit them, we get: SPECIAL RELATIVITY Example 3 a

Let:  x = – v 2 /c 2  f(x) = m 0 c 2 [(1 + x) – 1/2 – 1]  M is a number such that |f”(x)| ≤ M SPECIAL RELATIVITY Example 3 b

Then, we can use Taylor’s Inequality to write: SPECIAL RELATIVITY Example 3 b

We have and we are given that |v| ≤ 100 m/s. Thus, SPECIAL RELATIVITY Example 3 b

Thus, with c = 3 x 10 8 m/s,  So, when |v| ≤ 100 m/s, the magnitude of the error in using the Newtonian expression for kinetic energy is at most (4.2 x )m 0. SPECIAL RELATIVITY Example 3 b

SPECIAL RELATIVITY The upper curve in the figure is the graph of the expression for the kinetic energy K of an object with velocity in special relativity.

SPECIAL RELATIVITY The lower curve shows the function used for K in classical Newtonian physics.

SPECIAL RELATIVITY When v is much smaller than the speed of light, the curves are practically identical.

Another application to physics occurs in optics. OPTICS

This figure is adapted from Optics, 4th ed., by Eugene Hecht. OPTICS

It depicts a wave from the point source S meeting a spherical interface of radius R centered at C.  The ray SA is refracted toward P. OPTICS

Using Fermat’s principle that light travels so as to minimize the time taken, Hecht derives the equation where:  n 1 and n 2 are indexes of refraction.  ℓ o, ℓ i, s o, and s i are the distances indicated in the figure. OPTICS Equation 1

By the Law of Cosines, applied to triangles ACS and ACP, we have: OPTICS Equation 2

As Equation 1 is cumbersome to work with, Gauss, in 1841, simplified it by using the linear approximation cos ø ≈ 1 for small values of ø.  This amounts to using the Taylor polynomial of degree 1. OPTICS

Then, Equation 1 becomes the following simpler equation: OPTICS Equation 3

The resulting optical theory is known as Gaussian optics, or first-order optics.  It has become the basic theoretical tool used to design lenses. GAUSSIAN OPTICS

A more accurate theory is obtained by approximating cos ø by its Taylor polynomial of degree 3.  This is the same as the Taylor polynomial of degree 2. OPTICS

This takes into account rays for which ø is not so small—rays that strike the surface at greater distances h above the axis. OPTICS

We use this approximation to derive the more accurate equation OPTICS Equation 4

The resulting optical theory is known as third-order optics. THIRD-ORDER OPTICS