Tutorials › AP Calculus › Substituting into a Geometric Series

Power Series and Taylor Polynomials · Tutorial 858 of 999

Substituting into a Geometric Series

Use the geometric-series formula with a substituted expression, then determine exactly where the resulting function representation converges.

Advanced 9 min read

What You'll Learn

  • Substitute a function of x for the common ratio in the geometric series.
  • Transform the condition that the substituted ratio has absolute value less than one.
  • Find and test the endpoints of the resulting convergence interval.
  • Generate series for 1/(1+x²) and 1/(1-3x).
  • Recognize when a series converges only on part of a function’s domain.

From a Geometric Series to a Function Series

A geometric series can do more than sum a list of numerical terms. When its common ratio depends on \(x\), it can represent a function as a power series wherever the geometric series converges. The central task is to substitute carefully and then translate the convergence condition into a condition on \(x\).

The basic formula, for a real number \(r\) satisfying \(|r|<1\), is

$$ 1+r+r^2+r^3+\cdots=\sum_{n=0}^{\infty}r^n=\frac{1}{1-r}. $$

If an expression \(g(x)\) takes the place of \(r\), the corresponding formula is

$$ \sum_{n=0}^{\infty}[g(x)]^n=\frac{1}{1-g(x)} \qquad\text{provided that}\qquad |g(x)|<1. $$

The condition is essential. Substitution does not make the geometric series converge for every input where the function on the right happens to be defined. First require \(|g(x)|<1\); then, if necessary, examine any boundary values separately.

Definition: A power series representation obtained by substituting \(g(x)\) for the common ratio in a geometric series is valid at the values of \(x\) for which the substituted terms form a convergent geometric series. In particular, the geometric-series formula applies when \(|g(x)|<1\).

Why the Substitution Works

The geometric-series formula comes from the finite partial sum. If \(r\ne 1\), then multiplying the sum of the first \(N+1\) terms by \(1-r\) cancels all intermediate powers:

$$ (1-r)(1+r+r^2+\cdots+r^N)=1-r^{N+1}. $$

Therefore

$$ 1+r+r^2+\cdots+r^N=\frac{1-r^{N+1}}{1-r}. $$

When \(|r|<1\), the powers \(r^{N+1}\) approach zero as \(N\) increases. Taking the limit of the finite sums gives \(1/(1-r)\). For a fixed value of \(x\), set \(r=g(x)\). If \(|g(x)|<1\), the same argument applies to that numerical ratio, and the sum is \(1/[1-g(x)]\). Thus substitution works because, at each eligible \(x\), it is precisely the original geometric-series argument with a particular value of \(r\).

Worked Example: A Series for \(1/(1+x^2)\)

Worked Example: A Series for \(1/(1+x^2)\)

Rewrite the function using the geometric-series formula, and find the full convergence interval.

We want the denominator to have the form \(1-r\). Since \(1+x^2=1-(-x^2)\), choose \(r=-x^2\). Substitution gives

$$ \frac{1}{1+x^2} =\sum_{n=0}^{\infty}(-x^2)^n =\sum_{n=0}^{\infty}(-1)^n x^{2n} =1-x^2+x^4-x^6+\cdots. $$

This equality follows from the geometric-series formula only when

$$ |-x^2|<1 \quad\Longleftrightarrow\quad x^2<1 \quad\Longleftrightarrow\quad -1<x<1. $$

We must test the endpoints because the strict inequality does not include them. At \(x=1\), the terms are \((-1)^n\), which do not approach zero, so the series diverges. At \(x=-1\), the terms are also \((-1)^n\), so the series diverges there as well.

Check the representation at \(x=\tfrac12\). The series becomes

$$ 1-\frac14+\frac1{16}-\frac1{64}+\cdots. $$

Its common ratio is \(-\tfrac14\), so its sum is

$$ \frac{1}{1-(-1/4)} =\frac{1}{5/4} =\frac45. $$

The function value agrees:

$$ \frac{1}{1+(1/2)^2} =\frac{1}{1+1/4} =\frac45. $$

Therefore the series represents the function on the interval \((-1,1)\), with neither endpoint included.

Transforming the Convergence Condition

After substitution, the convergence question is an inequality involving the substituted expression, not automatically the familiar interval \((-1,1)\) for \(x\). The original geometric series requires \(-1<r<1\). If \(r=g(x)\), solve \(-1<g(x)<1\) for \(x\), taking care with signs, squares, and any domain restrictions.

The set of eligible \(x\)-values can be an interval, several intervals, or another set, depending on \(g\). Even if the function \(1/[1-g(x)]\) is defined at a point, the series still needs to be tested there: the formula for the sum was derived under the geometric-series convergence condition.

1
Match the denominator.
Express the function in the form \(1/[1-g(x)]\), including any constant factor if one is needed.
2
Substitute into the series.
Replace every occurrence of \(r\) in \(\sum_{n=0}^{\infty}r^n\) by \(g(x)\).
3
Solve the convergence inequality.
Find the \(x\)-values satisfying \(|g(x)|<1\).
4
Test boundary values.
At each candidate endpoint, inspect the actual terms; the strict inequality alone gives no endpoint conclusion.

Worked Example: A Series for \(1/(1-3x)\)

Worked Example: A Series for \(1/(1-3x)\)

Find a geometric-series representation and determine exactly where it converges.

Here the denominator already has the form \(1-r\), with \(r=3x\). Thus

$$ \frac{1}{1-3x} =\sum_{n=0}^{\infty}(3x)^n =\sum_{n=0}^{\infty}3^n x^n =1+3x+9x^2+27x^3+\cdots. $$

The geometric condition becomes

$$ |3x|<1 \quad\Longleftrightarrow\quad |x|<\frac13 \quad\Longleftrightarrow\quad -\frac13<x<\frac13. $$

At \(x=\tfrac13\), the \(n\)th term \((3x)^n\) equals \(1\). At \(x=-\tfrac13\), it equals \((-1)^n\). In both cases the terms fail to approach zero, so the series diverges at both endpoints.

For a check, choose \(x=\tfrac16\). The substituted ratio is \(3x=\tfrac12\), so the series sums to

$$ 1+\frac12+\frac14+\frac18+\cdots =\frac{1}{1-1/2} =2. $$

The function gives the same value:

$$ \frac{1}{1-3(1/6)} =\frac{1}{1-1/2} =2. $$

Consequently, the power series represents the function for \(-\tfrac13<x<\tfrac13\), and not at either endpoint.

Worked Example: A Shifted Geometric Ratio

Worked Example: A Shifted Geometric Ratio

Represent \(1/(2-2x)\) by a geometric series centered at \(x=\tfrac12\), and determine where the representation is valid.

Rewrite the denominator as

$$ 2-2x=1-(2x-1). $$

Thus the substituted ratio is \(g(x)=2x-1\), giving

$$ \frac{1}{2-2x} =\sum_{n=0}^{\infty}(2x-1)^n =\sum_{n=0}^{\infty}\left[2\left(x-\frac12\right)\right]^n. $$

The condition is

$$ |2x-1|<1 \quad\Longleftrightarrow\quad -1<2x-1<1 \quad\Longleftrightarrow\quad 0<x<1. $$

At \(x=0\), the terms are \((-1)^n\), and at \(x=1\), they are \(1\). Neither sequence of terms approaches zero, so both endpoints are excluded.

Check at \(x=\tfrac14\). The common ratio is \(2(\tfrac14)-1=-\tfrac12\), so

$$ \sum_{n=0}^{\infty}\left(-\frac12\right)^n =\frac{1}{1-(-1/2)} =\frac{1}{3/2} =\frac23. $$

Direct evaluation confirms the result:

$$ \frac{1}{2-2(1/4)} =\frac{1}{2-1/2} =\frac{1}{3/2} =\frac23. $$

The convergence interval is therefore \((0,1)\). This example shows that the interval for \(x\) depends on the substituted expression: it need not be centered at zero.

A Common Mistake: Dropping the Absolute Value

A frequent error is to solve only one side of the geometric condition. For \(1/(1-3x)\), it is incorrect to say that convergence requires merely \(3x<1\), and therefore \(x<\tfrac13\). That inequality would include \(x=-1\), even though the terms there are \((-3)^n\), which do not approach zero.

The correct requirement includes both sides:

$$ |3x|<1 \quad\Longleftrightarrow\quad -1<3x<1 \quad\Longleftrightarrow\quad -\frac13<x<\frac13. $$

Another mistake is to assume that equality at an endpoint automatically gives convergence. At \(x=-\tfrac13\), the ratio is \(-1\), so the terms alternate between \(1\) and \(-1\); they do not approach zero. A series can converge only if its terms approach zero, so this endpoint must be rejected.

Why the Result Matters

Substitution turns one known series into representations for many functions, but the condition travels with the substitution. The resulting series describes the function only at inputs where the substituted ratio has magnitude less than one, except for any boundary cases that must be assessed separately. This distinction matters when using a series to calculate approximate values: an expansion that is algebraically correct as a pattern is not a valid function representation outside its convergence set.

For each substitution, keep the three checks distinct:

  • Confirm that the denominator has been matched to \(1-g(x)\) correctly.
  • Solve the full inequality \(|g(x)|<1\), rather than just one-sided inequality.
  • Test boundary values using the terms of the series, not only the function’s formula.

Check Your Understanding

For each question, state the substituted ratio and justify the convergence conditions.

  1. Use substitution to write a geometric series for \(1/(1+x^4)\). Find its convergence interval and test both endpoints.
  2. For the series \(\sum_{n=0}^{\infty}(2-4x)^n\), solve the geometric convergence condition for \(x\).
  3. At \(x=-\tfrac13\), why does the series for \(1/(1-3x)\) diverge even though the function is defined there?
  4. Write \(1/(3+x)\) as a constant multiple of a geometric series, and find the condition on \(x\) under which the representation applies.
  5. Explain why \(|g(x)|<1\) must be checked after substituting \(g(x)\), rather than assuming the original condition \(|r|<1\) is already a condition on \(x\).

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon