How Precise Should My McLaurin Series Be?

  • Thread starter Thread starter Dafydd
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on determining the appropriate truncation point for McLaurin series expansions, specifically when to stop at O(x^3) versus O(x^5). The example provided involves evaluating the limit of the expression \(\frac{(x+1)e^x -1-2x}{cosx-1}\) as \(x\) approaches 0. The conclusion drawn is that the Taylor remainder theorem is essential for deciding how many terms are necessary for accurate approximations, particularly when the limit results in an indeterminate form.

PREREQUISITES
  • Understanding of McLaurin series and Taylor series expansions
  • Familiarity with the Taylor remainder theorem
  • Basic knowledge of limits and indeterminate forms in calculus
  • Proficiency in manipulating series expansions for functions like \(e^x\) and \(\cos x\)
NEXT STEPS
  • Study the Taylor remainder theorem in detail
  • Practice evaluating limits involving series expansions
  • Explore examples of function approximations using McLaurin series
  • Learn about higher-order derivatives and their role in series truncation
USEFUL FOR

Students and educators in calculus, particularly those focusing on series expansions and limit evaluations, as well as anyone seeking to improve their understanding of function approximation techniques.

Dafydd
Messages
11
Reaction score
0

Homework Statement



I have a problem with McLaurin series. I never know when to stop. How do I know if O(x3) is adequate, or O(x5)?

Let's take this exam question as an example.

[tex] \lim_{x \to 0} \frac{(x+1)e^x -1-2x}{cosx-1}[/tex]
[tex] \frac{(x+1)e^x -1-2x}{cosx-1} = \frac{(x+1)(1+x+\frac{x^2}{2!}+...) -1-2x}{1-\frac{x^2}{2!}+...-1} = [/tex]
[tex] \frac{(1+2x+\frac{3x^2}{2}+O(x^3) -1-2x}{-\frac{x^2}{2}+O(x^4)} = [/tex]
[tex] \frac{\frac{3x^2}{2}+O(x^3)}{-\frac{x^2}{2}+O(x^4)} =<br /> \frac{\frac{3}{2}+O(x^3)}{-\frac{1}{2}+O(x^4)} = -3[/tex]

How do I know to stop at O(x3) for ex and at O(x4) for cosx? Any tactics?

Homework Equations


[tex] e^x = 1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+...+ \frac{x^n}{n!}+O(x^{n+1})[/tex]
[tex] cosx = 1+x+\frac{x^2}{2!}+\frac{x^4}{4!}+...+(-1)^{n-1} \frac{x^{2n}}{2n!}+O(x^{2n+2})[/tex]

The Attempt at a Solution



...?
 
Last edited:
Physics news on Phys.org
Dafydd said:
I have a problem with McLaurin series. I never know when to stop. How do I know if O(x3) is adequate, or O(x5)?
The application tells you.

If you're looking to approximate the value of a function, you use the Taylor remainder theorem (or similar) to compute how many terms you need.

In this application you had in your post, you note that

[tex]\lim_{x \rightarrow 0} \frac{O(x^2)}{O(x^2)}[/tex]

is undetermined, so the first-order approximation is inadequate.
 

Similar threads

Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
17
Views
3K
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K