WordGPT

Taylor series of sin x up to degree 9

The Taylor polynomial of degree 9 for sin x about 0 (the Maclaurin polynomial) is x - x³/6 + x⁵/120 - x⁷/5040 + x⁹/362880. The full series converges for every x.

sin x and its degree 9 Taylor polynomial-3-2-1123-1-0.50.51sin xdegree 9
sin x and its degree 9 Taylor polynomial. The polynomial follows the curve closely near 0 and drifts away further out; more terms stretch the good region.

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) = sin x the first derivatives at 0 are:

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

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

    sin⁡(x)≈x−16x3+1120x5−15040x7+1362880x9\sin\left(x\right) \approx x - \frac{1}{6}x^{3} + \frac{1}{120}x^{5} - \frac{1}{5040}x^{7} + \frac{1}{362880}x^{9}
  4. 4

    Euler's formula: e^{iθ} = cos θ + i sin θ. The cos series collects the even powers of the exe^{x} series and the sin series the odd powers.

    eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta
  5. 5

    Radius of convergence: ∞. Inside it, more terms give a better approximation; outside, the series does not settle.

LaTeX source of the formulas on this page
\[ \sin\left(x\right) \approx x - \frac{1}{6}x^{3} + \frac{1}{120}x^{5} - \frac{1}{5040}x^{7} + \frac{1}{362880}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) = -1,\quad f^{(4)}(0) = 0,\quad f^{(5)}(0) = 1,\quad f^{(6)}(0) = 0 \]
\[ e^{i\theta} = \cos\theta + i\sin\theta \]

Degree 9 polynomial against the real sin x

xPolynomialExactError
0.10.0998334170.0998334171.39e-17
0.50.479425540.479425541.22e-11
0.90.783326920.783326917.82e-9
20.909347440.909297435.00e-5

Questions

What is the Taylor series of sin x?

x - x³/6 + x⁵/120 - x⁷/5040 + …

What is the degree 9 Taylor polynomial of sin x?

x - x³/6 + x⁵/120 - x⁷/5040 + x⁹/362880

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

∞

What is the Maclaurin series?

A Taylor series centred at 0.

Other degrees of sin x

Degree 9 of other functions

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