Does the Taylor series expansion for e^x converge quickly?

Click For Summary

Discussion Overview

The discussion revolves around the convergence of the Taylor series expansion for the function f(x) = e^x, specifically examining the accuracy of approximating e^(-2) using a finite number of terms from the series. Participants explore the relative errors associated with different numbers of terms and the behavior of these errors as more terms are included.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • One participant calculated the relative errors for e^(-2) using the first 4, 6, and 8 terms of the Taylor series, initially reporting very high errors.
  • Another participant questioned the accuracy of the first participant's calculations, suggesting a possible mistake in entering the even powers.
  • After correcting the calculations, the first participant reported a relative error of 346.3% for the first four terms.
  • A subsequent participant noted that the errors decrease in magnitude with each successive term, providing specific error values for additional terms and suggesting that the series converges quickly enough.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the initial calculations of relative error, but there is agreement that the error decreases with more terms, although the specific behavior of the error is debated.

Contextual Notes

There are indications of potential calculation errors and assumptions about the accuracy of the Taylor series expansion, as well as varying interpretations of how quickly the series converges based on the number of terms used.

Who May Find This Useful

Readers interested in the convergence properties of Taylor series, numerical methods for approximating functions, and error analysis in mathematical computations may find this discussion relevant.

sandy.bridge
Messages
797
Reaction score
1
Hello all,
My question is in regards to the Taylor series expansion of
[tex]f(x)=e^x=1+x+x^2/(2!)+x^3/(3!)...[/tex]
I calculated the value of
[tex]e^(-2)[/tex]
using the first 4 terms, 6 terms, and then the first 8 terms. I then calculated the relative error to compare it to the true value, depcited by my calculator to 6 significant figures. Using the first four terms, I found an error of 2609%. Using the first 6 terms I found an error of 2905%, and lastly using the first 8 terms I found an error of 2952%.

What can I conclude from this? Does the error increase (at a decreasing rate) until it begins decreasing (at an increasing rate)?
 
Physics news on Phys.org
How did you get to 2609%?
If I take 4 terms I get an error of around 46%.

Are you sure you entered the even powers correctly? One of the most common mistakes is to enter (-2)2 as -22 = -(22).
 
Oops, I had a mistake.n However, upon doing it again, I get an error of 346.3.
relative error=100((e^(-2)-(sum of first four terms))/e^(-2))=100((e^(-2)-(-0.333333))/e^(-2))=346%
 
Yes the error after 4 terms is 346%. But in the next 4 terms the errors are 146%, -51%, 15% and 4%; after another 4 terms the error is only 5 parts in a thousand and another four, -2 in 1 million. The error decreases in magnitude with each successive term (except for the second term, x) and converges fast enough for me.
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
17K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K