Maclaurin series and approximation
Build the standard series · Diagrams
Compare cosine with successive even-power partial sums
Build cosine with even powers
Use radians. Compare the constant, quadratic, quartic and sixth-degree partial sums with cosine, then move away from zero to inspect the error.
Series and source notes
P₀ = 1; P₂ = 1 − x²/2!; P₄ = P₂ + x⁴/4!; P₆ = P₄ − x⁶/6!. Odd-power coefficients vanish, so P₁ = P₀, P₃ = P₂, and P₅ = P₄.
The cosine series converges for every real x in radians. Shading shows a local comparison window, not a convergence interval or accuracy guarantee. A fixed truncation can have a large error far from zero.
The original sheet adds several partial sums before isolating P₆. This explorer compares one chosen truncation with cosine. Original selections and colours remain in the linked source diagram. The initial window is illustrative; the vertical range expands to include the selected values. Visual agreement near zero is not a convergence proof.