WordGPT

Taylor series of tan x up to degree 9

The Taylor polynomial of degree 9 for tan x about 0 (the Maclaurin polynomial) is x + x³/3 + 2x⁵/15 + 17x⁷/315 + 62x⁹/2835. The full series converges for |x| < π/2.

tan x and its degree 9 Taylor polynomial-2-112-15-10-551015tan xdegree 9
tan x and its degree 9 Taylor polynomial. The polynomial hugs the curve inside the radius of convergence (π/2) and leaves it outside.

How to work it out

  1. 1

    The Taylor series of f about 0 uses the derivatives of f at 0:

    f(x)=∑k=0∞f(k)(0)k! xkf(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(0)}{k!}\,x^k
  2. 2

    For f(x) = tan x the first derivatives at 0 are:

    f(0)(0)=0,f(1)(0)=1,f(2)(0)=0,f(3)(0)=2,f(4)(0)=0,f(5)(0)=16,f(6)(0)=0f^{(0)}(0) = 0,\quad f^{(1)}(0) = 1,\quad f^{(2)}(0) = 0,\quad f^{(3)}(0) = 2,\quad f^{(4)}(0) = 0,\quad f^{(5)}(0) = 16,\quad f^{(6)}(0) = 0
  3. 3

    Divide each by k! and keep the terms up to degree 9:

    tan⁡(x)≈x+13x3+215x5+17315x7+622835x9\tan\left(x\right) \approx x + \frac{1}{3}x^{3} + \frac{2}{15}x^{5} + \frac{17}{315}x^{7} + \frac{62}{2835}x^{9}
  4. 4

    Radius of convergence: π/2 ≈ 1.5708. Inside it, more terms give a better approximation; outside, the series does not settle.

LaTeX source of the formulas on this page
\[ \tan\left(x\right) \approx x + \frac{1}{3}x^{3} + \frac{2}{15}x^{5} + \frac{17}{315}x^{7} + \frac{62}{2835}x^{9} \]
\[ f(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(0)}{k!}\,x^k \]
\[ f^{(0)}(0) = 0,\quad f^{(1)}(0) = 1,\quad f^{(2)}(0) = 0,\quad f^{(3)}(0) = 2,\quad f^{(4)}(0) = 0,\quad f^{(5)}(0) = 16,\quad f^{(6)}(0) = 0 \]

Degree 9 polynomial against the real tan x

xPolynomialExactError
0.10.100334670.100334678.90e-14
0.50.546297670.546302494.82e-6
0.91.25601751.26015824.14e-3
227.038448-2.18503992.92e+1

Questions

What is the Taylor series of tan x?

x + x³/3 + 2x⁵/15 + 17x⁷/315 + …

What is the degree 9 Taylor polynomial of tan x?

x + x³/3 + 2x⁵/15 + 17x⁷/315 + 62x⁹/2835

What is the radius of convergence of the series of tan x?

π/2 ≈ 1.5708

What is the Maclaurin series?

A Taylor series centred at 0.

Other degrees of tan x

Degree 9 of other functions

    Taylor series of tan x: degree 9 polynomial and error | WordGPT