How to Derive the Cosine Function Using Power Series and Taylor Expansions

The cosine function is a fundamental mathematical function with applications in geometry, physics, and engineering. Deriving its power series expansion using Taylor series provides insight into its behavior and properties. This article explains the step-by-step process of deriving the cosine function through these methods.

Understanding Power Series and Taylor Expansions

A power series is an infinite sum of terms in the form an xn. Taylor series expand a function into an infinite sum of derivatives at a specific point, typically around x = 0 (Maclaurin series). For a function f(x), the Taylor series around x = 0 is:

f(x) = f(0) + f'(0) x + (f”(0) / 2!) x2 + (f”'(0) / 3!) x3 + …

Deriving the Cosine Function

To derive the power series for cos x, we start with the function itself and compute its derivatives at x = 0.

Step 1: Find the derivatives of cos x

The derivatives of cos x follow a cycle:

  • f(x) = cos x
  • f'(x) = -sin x
  • f”(x) = -cos x
  • f”'(x) = sin x
  • f⁽⁴⁾(x) = cos x

Step 2: Evaluate derivatives at x = 0

At x = 0, the derivatives are:

  • f(0) = cos 0 = 1
  • f'(0) = -sin 0 = 0
  • f”(0) = -cos 0 = -1
  • f”'(0) = sin 0 = 0
  • f⁽⁴⁾(0) = cos 0 = 1

Step 3: Write the Taylor series

Using the derivatives, the Taylor series expansion around 0 (Maclaurin series) is:

cos x = 1 + 0 x + (-1 / 2!) x2 + 0 x3 + (1 / 4!) x4 + …

Final Power Series for Cosine

Recognizing the pattern, the series includes only even powers with alternating signs:

  • cos x = ∑n=0 (−1)n x2n / (2n)!

This infinite series converges to the cosine function for all real x, providing a powerful tool for approximation and analysis.