Taylor's Theorem Approximation

In summary, the conversation discusses using Taylor's theorem to approximate the square root of 5 with an error of no more than 2^(-9). The most common way to obtain a square root is through iteration, but Taylor's theorem may be easier to use. The theorem states that the Taylor Series of a function centered around a certain x coordinate is given by a sum involving the nth derivative of the function. The conversation suggests centering around 4 to make the calculation easier.
  • #1
Rosey24
12
0

Homework Statement



I need to use Taylor's thm to get an approximation to sqrt(5) with an error of no more than 2^(-9) and am totally lost.


Homework Equations



Taylor's theorem: Rn(x) = f(n)(y)/n! *x^n -- where f(n) is the nth derivative of f and Rn is R sub n.


The Attempt at a Solution

 
Physics news on Phys.org
  • #2
Are you sure you need Taylor's theorem?

The most common way to obtain the square root of y is through the iteration

x(n+1)=(1/2)*(x(n)+y/(x(n)))
 
Last edited:
  • #3
Oh- ok, I can guess.

You're probably after expanding

(x+4)^1/2

The first few terms are 2+1/4-1/64+1/512+... (check!)

There's probably a general pattern you can work out.
 
  • #4
Rosey24 said:
Taylor's theorem: Rn(x) = f(n)(y)/n! *x^n -- where f(n) is the nth derivative of f and Rn is R sub n.

It may be easier in this form:

The Taylor Series, If it exists, of a function centered about the x coordinate a is given by: [tex]\sum_{n=0}^{\infty} \frac{ f^n (x-a)^n}{n!}[/tex].

So in this let a=4, and also try and find a general pattern for the derivatives.

We centered around 4 because the square root of that is just 2, and also because if we were to get more accurate by centering around 5, the derivatives would contain sqrt 5, which we are trying to find.
 

FAQ: Taylor's Theorem Approximation

What is Taylor's Theorem Approximation?

Taylor's Theorem Approximation is a mathematical tool used to approximate a function using a polynomial. It is based on the idea that a function can be represented as an infinite sum of polynomial terms, and by truncating this sum at a certain point, a close approximation of the function can be obtained.

How is Taylor's Theorem Approximation calculated?

To calculate Taylor's Theorem Approximation, the function must be expanded using its derivatives at a specific point, known as the center of the approximation. The higher the degree of the polynomial used, the more accurate the approximation will be.

What is the purpose of using Taylor's Theorem Approximation?

Taylor's Theorem Approximation is used to approximate complex or non-polynomial functions, making them easier to work with and analyze. It is also used to estimate the values of a function at points where it is difficult or impossible to calculate directly.

What is the difference between Taylor's Theorem Approximation and Taylor Series?

The main difference between Taylor's Theorem Approximation and Taylor Series is that the former is a truncated version of the latter. Taylor Series is an infinite sum of polynomial terms, while Taylor's Theorem Approximation only considers a finite number of terms. This makes Taylor's Theorem Approximation a more practical and usable tool in many situations.

How accurate is Taylor's Theorem Approximation?

The accuracy of Taylor's Theorem Approximation depends on the degree of the polynomial used and the distance from the center of approximation. The closer the point is to the center, the more accurate the approximation will be. However, as the degree of the polynomial increases, the approximation becomes more accurate for a larger range of points.

Back
Top