How To Find Maclaurin Series For A Function

6 min read

How to Find Maclaurin Series for a Function: A Complete Step-by-Step Guide

Finding the Maclaurin series for a function is one of the most powerful techniques in calculus for approximating complex functions using simple polynomials. Also, whether you are a student preparing for an exam or someone who wants to understand how calculators compute values like e^0. 5 or sin(1), mastering the Maclaurin series gives you a practical tool that bridges abstract theory and real computation. This guide walks you through the definition, the core formula, a reliable step-by-step method, and several fully worked examples so you can apply the technique with confidence Turns out it matters..

What Is a Maclaurin Series?

A Maclaurin series is a special type of Taylor series that is expanded around the point x = 0. Simply put, it represents a function as an infinite sum of polynomial terms calculated from the values of the function's derivatives at zero.

The general idea is simple: many functions, such as exponential, trigonometric, and logarithmic functions, cannot be expressed neatly with basic algebra. On the flip side, near the point x = 0, they often behave very much like a polynomial. The Maclaurin series captures that polynomial behavior and extends it into an infinite sum Nothing fancy..

The formal definition is:

f(x) = f(0) + f'(0)x + f''(0)/2! · x² + f'''(0)/3! · x³ + ...

Written compactly using summation notation, this becomes:

f(x) = Σ (n = 0 to ∞) [ f⁽ⁿ⁾(0) / n! ] · xⁿ

Here, f⁽ⁿ⁾(0) represents the nth derivative of the function evaluated at zero, and n! (n factorial) is the product of all positive integers up to n.

The Core Formula Explained

Before jumping into examples, it helps to break down each part of the formula so you understand what you are actually computing:

  • f(0) is the value of the function at zero. This is the constant term.
  • f'(0) is the first derivative evaluated at zero, multiplied by x.
  • f''(0)/2! is the second derivative at zero, divided by 2 factorial, multiplied by x².
  • The pattern continues indefinitely, with each term using a higher-order derivative.

The presence of the factorial in the denominator is essential. It ensures the series converges properly and prevents the terms from growing out of control And that's really what it comes down to..

Step-by-Step Method to Find a Maclaurin Series

Follow this reliable process for almost any function:

  1. Identify the function you want to expand, and confirm that its derivatives exist at x = 0.
  2. Compute the derivatives of the function: f'(x), f''(x), f'''(x), and so on, until you notice a repeating pattern.
  3. Evaluate each derivative at x = 0, giving you f(0), f'(0), f''(0), and so forth.
  4. Substitute these values into the Maclaurin formula, dividing each by the appropriate factorial.
  5. Simplify and look for a pattern in the terms so you can express the result using summation notation.
  6. Optionally, determine the interval of convergence using the ratio test to know where the series is valid.

Worked Example 1: The Maclaurin Series for e^x

The exponential function is the classic starting point because its derivatives are so clean It's one of those things that adds up..

  • f(x) = e^x, so f(0) = 1
  • f'(x) = e^x, so f'(0) = 1
  • f''(x) = e^x, so f''(0) = 1

Every derivative of e^x is simply e^x, and each evaluated at zero equals 1. Substituting into the formula:

e^x = 1 + x + x²/2! + x³/3! + x⁴/4! + ...

In summation notation:

e^x = Σ (n = 0 to ∞) xⁿ / n!

This series converges for all real values of x, which is one reason the exponential function is so widely used.

Worked Example 2: The Maclaurin Series for sin(x)

The sine function requires a little more attention because its derivatives cycle through a pattern Worth keeping that in mind..

  • f(x) = sin(x), so f(0) = 0
  • f'(x) = cos(x), so f'(0) = 1
  • f''(x) = −sin(x), so f''(0) = 0
  • f'''(x) = −cos(x), so f'''(0) = −1
  • f⁽⁴⁾(x) = sin(x), so f⁽⁴⁾(0) = 0

Notice the cycle: 0, 1, 0, −1 repeats indefinitely. Because the even derivatives at zero are all zero, only the odd-powered terms survive:

sin(x) = x − x³/3! + x⁵/5! − x⁷/7! + ...

In summation notation:

sin(x) = Σ (n = 0 to ∞) [ (−1)ⁿ / (2n + 1)! ] · x^(2n+1)

The alternating signs come from the (−1)ⁿ factor, and this series also converges for all real x Not complicated — just consistent..

Worked Example 3: The Maclaurin Series for cos(x)

Cosine follows a similar cyclic pattern but keeps only the even-powered terms:

  • f(x) = cos(x), so f(0) = 1
  • f'(x) = −sin(x), so f'(0) = 0
  • f''(x) = −cos(x), so f''(0) = −1
  • f'''(x) = sin(x), so f'''(0) = 0
  • f⁽⁴⁾(x) = cos(x), so f⁽⁴⁾(0) = 1

The result is:

cos(x) = 1 − x²/2! + x⁴/4! − x⁶/6! + ...

In summation notation:

cos(x) = Σ (n = 0 to ∞) [ (−1)ⁿ / (2n)! ] · x^(2n)

Commonly Used Maclaurin Series to Memorize

Keeping a short list of standard expansions on hand saves enormous time. Here are the most important ones:

  • e^x = 1 + x + x²/2! + x³/3! + ... (converges for all x)

  • sin(x) = x − x³/3! + x⁵/5! − ... (converges for all x)

  • cos(x) = 1 − x²/2! + x⁴/4! − ... (converges for all x)

  • 1/(1 − x) = 1 + x + x² + x³ + ... (converges for |x| < 1)

  • **ln(1 + x) = x − x²/2 + x³/3 −

  • ln(1 + x) = x – x²⁄2 + x³⁄3 – x⁴⁄4 + x⁵⁄5 – …
    In compact form:
    [ \ln(1+x)=\sum_{n=1}^{\infty}\frac{(-1)^{,n+1}}{n},x^{n}, ]
    which converges for (-1<x\le 1) (conditionally at (x=1), diverges at (x=-1)) Not complicated — just consistent. No workaround needed..

  • arctan x = x – x³⁄3 + x⁵⁄5 – x⁷⁄7 + …
    [ \arctan x=\sum_{n=0}^{\infty}\frac{(-1)^{,n}}{2n+1},x^{,2n+1}, ]
    valid for (|x|\le 1) (the endpoint (x=\pm1) gives the Leibniz series for (\pi/4)).

  • **ln(1 – x) = –\bigl(x + x²⁄2 + x³⁄3 + x⁴⁄4 + …\

ln(1 – x)

From the binomial‑logarithmic identity one obtains

[ \ln(1-x)=-\Bigl(x+\frac{x^{2}}{2}+\frac{x^{3}}{3}+\frac{x^{4}}{4}+\cdots\Bigr). ]

In summation form

[ \boxed{\displaystyle \ln(1-x)= -\sum_{n=1}^{\infty}\frac{x^{,n}}{n}}, \qquad\text{valid for }|x|<1;(\text{the series also converges conditionally at }x=1\text{, but diverges beyond}). ]


Why these series matter

The Maclaurin (i.e., Taylor about (0)) formulas above are the work‑horses of calculus and analysis Turns out it matters..

Up Next

Fresh from the Desk

Picked for You

Still Curious?

Thank you for reading about How To Find Maclaurin Series For A Function. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home