AP Calculus BC · Study guide

Representing Functions as Power Series

AP® Calculus BC · Unit 10 · Infinite Sequences and Series

Functions as Power Series

The geometric series 1/(1 − x) = 1 + x + x² + ⋯ is a template. Rewriting other fractions into that shape, then differentiating or integrating, gives power series for many functions. This guide shows the moves and keeps track of where each series is valid.

The idea in one paragraph

Start from \(\dfrac{1}{1 - u} = \displaystyle\sum_{n=0}^{\infty}u^n\) for \(|u| \lt 1\). Rewrite a fraction until its denominator is \(1 - u\), substitute \(u\) into every term, and multiply any outside factor into every term. Differentiating or integrating term by term gives series for related functions with the same radius. The new series equals the function only where \(|u| \lt 1\).

1The template

\[ \frac{1}{1 - u} = \sum_{n=0}^{\infty} u^n = 1 + u + u^2 + \cdots,\qquad |u| \lt 1 \]
Figure 1. 1/(1 − x) exists at x = −1.5, but the series 1 + x + x² + ⋯ does not converge there. A power series stands for the function only on its interval of convergence.

2Reshaping

Worked Example 1 Substitute into the geometric series

\(\dfrac{1}{1 + x^2}\)

  1. 1
    Write it as \(\dfrac{1}{1 - (-x^2)}\), so \(u = -x^2\).
  2. 2
    \(\sum u^n = \sum(-x^2)^n = \sum(-1)^n x^{2n} = 1 - x^2 + x^4 - \cdots\)
  3. 3
    Valid when \(|u| = x^2 \lt 1\): \(|x| \lt 1\).
Answer: \(\displaystyle\frac{1}{1 + x^2} = \sum_{n=0}^{\infty}(-1)^n x^{2n}\), \(|x| \lt 1\).
Write it like this

“With \(u = -x^2\), \(\dfrac{1}{1 + x^2} = \displaystyle\sum_{n=0}^{\infty}(-1)^n x^{2n}\) for \(|x| \lt 1\).”

Worked Example 2 Force a 1 into the denominator

\(\dfrac{1}{3 - x}\)

  1. 1
    Factor out 3: \(\dfrac{1}{3 - x} = \dfrac13\cdot\dfrac{1}{1 - x/3}\).
  2. 2
    \(\dfrac13\sum\left(\dfrac x3\right)^n = \sum\dfrac{x^n}{3^{n+1}}\).
  3. 3
    Valid when \(\left|\frac x3\right| \lt 1\): \(|x| \lt 3\).
Answer: \(\displaystyle\sum_{n=0}^{\infty}\frac{x^n}{3^{n+1}}\), \(|x| \lt 3\).
Worked Example 3 Carry a factor through

\(\dfrac{x}{1 - 2x}\)

  1. 1
    \(\dfrac{1}{1 - 2x} = \sum(2x)^n\) for \(|2x| \lt 1\).
  2. 2
    Multiply every term by \(x\): \(\sum 2^n x^{n+1} = x + 2x^2 + 4x^3 + \cdots\)
Answer: \(\displaystyle\sum_{n=0}^{\infty}2^n x^{n+1}\), \(|x| \lt \frac12\).
Common Mistake 1 · Substituting before the denominator is 1 − u

\(\frac{1}{3 - x}\) is not \(\sum(3 - x)^n\) or \(\sum\left(\frac x3\right)^n\). Factor the 3 out first so the denominator reads \(1 - \frac x3\); the \(\frac13\) in front stays.

Common Mistake 2 · Forgetting the factor out front

A factor such as \(x\) or \(\frac13\) multiplies every term. Applying it to the first term only gives the wrong series.

3Differentiating and integrating

Worked Example 4 Differentiate to reach the target

\(\dfrac{1}{(1 - x)^2}\)

  1. 1
    \(\dfrac{d}{dx}\left[\dfrac{1}{1 - x}\right] = \dfrac{1}{(1 - x)^2}\).
  2. 2
    Differentiate \(\sum_{n=0}^{\infty}x^n\) term by term: \(\sum_{n=1}^{\infty}n\,x^{n-1} = 1 + 2x + 3x^2 + \cdots\) (the \(n = 0\) term was a constant).
Answer: \(\displaystyle\sum_{n=1}^{\infty}n\,x^{n-1} = \sum_{n=0}^{\infty}(n + 1)x^n\), \(|x| \lt 1\).
Worked Example 5 Integrate to reach the target

\(\ln(1 + x)\) and \(\arctan x\)

  1. 1
    \(\ln(1 + x) = \displaystyle\int_0^x\frac{dt}{1 + t} = \int_0^x\sum(-1)^n t^n\,dt = \sum\frac{(-1)^n x^{n+1}}{n + 1}\).
  2. 2
    \(\arctan x = \displaystyle\int_0^x\frac{dt}{1 + t^2} = \sum\frac{(-1)^n x^{2n+1}}{2n + 1} = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots\)
Answer: Both have radius 1. Integrating from 0 matches each function’s value at 0, so no extra constant appears.
Common Mistake 3 · Keeping the old starting index

After differentiating \(\sum_{n=0}^{\infty}x^n\), the \(n = 0\) term is gone. Start the new sum at \(n = 1\), or shift the index to \((n + 1)x^n\) from \(n = 0\).

4Where it is valid

Common Mistake 4 · Keeping the radius 1 after substituting

The condition \(|u| \lt 1\) becomes a condition on \(x\): \(|2x| \lt 1\) gives \(|x| \lt \frac12\), and \(\left|\frac x3\right| \lt 1\) gives \(|x| \lt 3\). Rescale every time.

Quick reference

FunctionSeriesValid for
\(\frac{1}{1 + x^2}\)\(\sum(-1)^n x^{2n}\)\(|x| \lt 1\)
\(\frac{1}{3 - x}\)\(\sum\frac{x^n}{3^{n+1}}\)\(|x| \lt 3\)
\(\frac{1}{(1 - x)^2}\)\(\sum(n + 1)x^n\)\(|x| \lt 1\)
\(\ln(1 + x)\)\(\sum\frac{(-1)^n x^{n+1}}{n + 1}\)\(|x| \lt 1\)
\(\arctan x\)\(\sum\frac{(-1)^n x^{2n+1}}{2n + 1}\)\(|x| \lt 1\)