Finding Taylor Polynomial for tan(x) - Wondering

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Polynomial Taylor
Click For Summary

Discussion Overview

The discussion revolves around finding the Taylor polynomial for the function \( f(x) = \tan(x) \) at \( x = 0 \). Participants are exploring how to determine the degree \( N \) of the polynomial such that the difference between \( \tan(x) \) and its Taylor polynomial \( P_N(x) \) is less than \( 10^{-5} \) within the interval \( \left[-\frac{1}{10}, \frac{1}{10}\right] \). The conversation includes considerations of power series, remainder terms, and various methods for estimating the required degree of the polynomial.

Discussion Character

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

Main Points Raised

  • Some participants suggest writing the power series for \( \tan(x) \) based on the known series for \( \sin(x) \) and \( \cos(x) \).
  • Others propose using the known expansion for \( \tan(x) \) involving Bernoulli numbers, questioning how to apply this to find the polynomial.
  • Several participants discuss the Lagrange form of the remainder for Taylor series and its implications for estimating the error.
  • There is a suggestion to use the maximum of the higher order derivatives of \( \tan(x) \) to find an upper bound for the remainder.
  • Some participants express uncertainty about how to choose \( N \) and whether to check multiple values until the remainder condition is satisfied.
  • One participant mentions that the error in truncating an alternating series is bounded by the next term, but this is debated regarding its applicability to the series in question.
  • There is a discussion about whether the series for \( \tan(x) \) is alternating and the conditions under which the error estimates hold.

Areas of Agreement / Disagreement

Participants generally agree on the need to find a suitable \( N \) for the Taylor polynomial, but there are multiple competing views on the methods to achieve this and the nature of the series involved. The discussion remains unresolved regarding the best approach to estimate the remainder and the conditions for the series.

Contextual Notes

Limitations include the dependence on the behavior of higher order derivatives of \( \tan(x) \) and the assumptions made about the series' convergence properties. There is also uncertainty regarding the application of the alternating series error estimation to the series for \( \tan(x) \).

  • #31
I like Serena said:
No, the Taylor expansion is $\cos x = 1-\frac 12 x^2 + \frac 1{4!}x^4 - ...$.
It's just that $\cos$ has a horizontal tangent at $x=0$.
We can set a bound with a line that has a non-horizontal tangent.$|\cos x|\le 1$. Therefore $\frac{1}{|\cos(x)|}\ge 1$. (Nerd)
Ah ok... (Thinking)
I like Serena said:
The remainder term is actually:
$$R_3(x) = \frac{1}{4!} f^{(4)}\,(\xi) x^4$$
I think we need a couple more factors... (Thinking)
What do you mean? (Wondering)
 
Physics news on Phys.org
  • #32
mathmari said:
What do you mean? (Wondering)

We've evaluated an upper bound for $f^{(4)}(\xi)$, which is approximately $2.6$.
Btw, I think there's a factor $8$ missing in the expression. (Worried)

But we need an upper bound for $R_3(x) = \frac 1{4!}f^{(4)}(\xi)\left(\frac 1{10}\right)^4 = \frac{1}{24}\cdot 10^{-4}f^{(4)}(\xi) < 4\cdot 10^{-6}\cdot f^{(4)}(\xi)$. (Thinking)
 
  • #33
I like Serena said:
We've evaluated an upper bound for $f^{(4)}(\xi)$, which is approximately $2.6$.
Btw, I think there's a factor $8$ missing in the expression. (Worried)

But we need an upper bound for $R_3(x) = \frac 1{4!}f^{(4)}(\xi)\left(\frac 1{10}\right)^4 = \frac{1}{24}\cdot 10^{-4}f^{(4)}(\xi) < 4\cdot 10^{-6}\cdot f^{(4)}(\xi)$. (Thinking)

I see! Thanks a lot! (Mmm)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
32
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
5K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K