A geometric sequence (also called a geometric progression, GP) is a sequence where each term is obtained by multiplying the previous term by a constant. The constant is called the common ratio, denoted r.
• The n-th term: an=a1rn−1. • Sum of first n terms: Sn=a1r−1rn−1 for r=1; Sn=na1 for r=1. • Infinite sum: S∞=1−ra1 when ∣r∣<1; diverges otherwise.
Parametric nature. Like arithmetic sequences, geometric sequences depend on two parameters: a1 and r. The explorer lets you set both and explore the resulting sequence and sums.
For deeper coverage see geometric sequence, geometric series, and exponential function.
The n-th Term Formula
Derivation. Starting from a1, multiply by r once to get a1r, twice to get a1r2. After n−1 multiplications, the n-th term is
an=a1rn−1
Inverting the formula. Given an, a1, and r, solve for n using logarithms:
n=lnrln(an/a1)+1
This works only when r>0, r=1, a1=0, and an/a1>0. Negative r requires complex logarithms; r=1 makes every term equal to a1 and n is undetermined.
Examples.
• Sequence 3,6,12,24,…: a1=3, r=2. The 10th term: a10=3⋅29=3⋅512=1536. • Sequence 1000,500,250,…: a1=1000, r=1/2. The 10th term: a10=1000⋅(1/2)9=1000/512≈1.95. • Membership test: is 162 in the sequence 2,6,18,54,… (with r=3)? Solve 162=2⋅3n−1⟹81=3n−1⟹n−1=4⟹n=5. Yes — 162=a5.
Two-parameter recovery. Given two terms am and an with m<n: rn−m=an/am, so r=(an/am)1/(n−m). Then a1=am/rm−1.
Sign of $r$. Negative r produces alternating-sign sequences: a1=1,r=−2 gives 1,−2,4,−8,16,−32,…. The closed form still applies; signs alternate based on parity of n−1.
The Finite Sum Formula
Finite geometric sum. The sum of the first n terms of a geometric sequence is
Solving for $n$. Given Sn, a1, and r, the formula is invertible:
rn=a1Sn(r−1)+1⟹n=lnrln(a1Sn(r−1)+1)
This requires r>0,r=1, and the argument of the logarithm to be positive.
Solving for $r$. Given Sn, a1, and n, the equation Sn=a1(rn−1)/(r−1) is transcendental in r — no closed-form solution in general. The solver flags this as unsupported.
The Infinite Sum and Convergence
Infinite geometric series. What happens as n→∞?
S∞=a1+a1r+a1r2+⋯=n→∞lima1r−1rn−1
Convergence condition. The series converges if and only if ∣r∣<1. When it converges:
S∞=1−ra1
Why $|r| < 1$. As n→∞, rn→0 when ∣r∣<1, giving the formula. When ∣r∣≥1, rn does not converge (it grows, oscillates, or stays bounded but doesn't approach zero), and the series diverges.
Classic examples.
• Zeno's paradox.1+1/2+1/4+1/8+⋯=1−1/21=2. The pieces sum to a finite total despite there being infinitely many. • Repeating decimals.0.3=0.333…=1−0.10.3=31. Every repeating decimal is a geometric series. • Convergent but slowly.a1=1,r=0.99: S∞=100. The sequence approaches zero so slowly that it takes thousands of terms to get close.
Diverging cases.
• r=1: Sn=na1→∞ (unless a1=0). • r=−1: Sn oscillates between 0 and a1, never converging. • ∣r∣>1: ∣Sn∣ grows without bound.
The geometric series test. The convergence behavior of ∑rn is used as a benchmark for testing other series: comparison test, ratio test, root test all reference geometric series.
Power series. The geometric series is the simplest power series. ∑rn=1/(1−r) for ∣r∣<1 extends to functions: 1/(1−x)=1+x+x2+x3+⋯ for ∣x∣<1. The cornerstone of formal power series and generating functions.
Using the Solver — Three Modes
The geometric-sequence explorer includes a solver mode with three sub-modes:
• Find term ($a_n$) — uses an=a1rn−1. Fill any three of {a1,r,n,an} and the solver computes the fourth. • Sum $S_n$ — uses Sn=a1(rn−1)/(r−1) for r=1. Fill any three of {a1,r,n,Sn} and the solver computes the fourth (except solving for r, which is transcendental and not supported). • Infinite sum $S_\infty$ — uses S∞=a1/(1−r) for ∣r∣<1. Fill any two of {a1,r,S∞} and the solver computes the third, flagging cases where ∣r∣≥1 as divergent.
Solving for $a_n$. Direct: an=a1rn−1.
Solving for $a_1$. Rearrange: a1=an/rn−1 (term sub-mode), a1=Sn(r−1)/(rn−1) (sum sub-mode), or a1=S∞(1−r) (infinite sum).
Solving for $r$.(n−1)-th root: r=(an/a1)1/(n−1) (term sub-mode). For infinite sum: r=1−a1/S∞ (with a convergence check). For finite sum: transcendental — not supported.
Solving for $n$. Logarithm: n=ln(an/a1)/lnr+1 (term sub-mode); n=ln(Sn(r−1)/a1+1)/lnr (sum sub-mode). Both require r>0, r=1.
Edge cases the solver handles.
• r=1: term-sub-mode has every term equal; sum sub-mode reduces to Sn=na1. • r≤0 in solve-for-n: real logarithm doesn't exist, the solver flags this. • ∣r∣≥1 in infinite sum: divergence flagged. • a1=0: most equations become degenerate; flagged.
Practical use. Solve word problems: "An investment of \1000growsby52000?" → solve for n given a1=1000, r=1.05, an=2000.
Common Applications
Geometric sequences model exponential growth and decay across science, finance, and computing.
• Compound interest. \1000at51000, 1050, 1102.50, \ldotswithr = 1.05$. • Population growth. Bacterial population doubles every hour: r=2. After n hours, population is a1⋅2n−1 relative to the starting count. • Radioactive decay. Mass remaining after each half-life follows r=1/2. After n half-lives, a1/2n mass remains. • Mortgage payments. Outstanding balance after each payment follows a geometric-related sequence (with adjustments for the principal payment). The total payment formula is the geometric sum. • Algorithm analysis. Binary search splits the search space by half each step — a geometric sequence with r=1/2. Total steps: log2n. • Fractals and self-similarity. The Koch snowflake's perimeter at each iteration multiplies by 4/3: a geometric sequence with r=4/3 that grows without bound. • Repeating decimals as fractions.0.abc=abc/999, derived from the geometric-series formula. • Pyramid schemes. Each level multiplies participants by some ratio r. Total participants grow exponentially until the scheme exceeds the population. • Music tuning. Equal-temperament tuning divides the octave into 12 equal ratios, each 122≈1.0595. Frequencies follow a geometric sequence. • Light absorption. Light passing through a medium of uniform absorption loses a fixed fraction per unit length — Beer's law, an exponential decay (geometric in the discrete approximation).
Common Mistakes
• Off-by-one in the $n$-th term formula.an=a1rn−1, nota1rn. The 1st term is a1 (zero multiplications), the 2nd is a1r (one multiplication).
• Wrong sum formula.Sn=a1(rn−1)/(r−1) or equivalently a1(1−rn)/(1−r). Both are correct; common errors include using n as an exponent on r−1 or forgetting to divide by r−1.
• Treating $r = 1$ with the general formula. When r=1, the formula has 0/0 — undefined. The correct value is Sn=na1. Always check r=1 as a special case.
• Forgetting the convergence condition for $S_\infty$. The infinite sum exists only when ∣r∣<1. Applying a1/(1−r) when ∣r∣≥1 gives a meaningless number. The classic error: writing 1+2+4+8+⋯=1/(1−2)=−1. The series diverges; the formula doesn't apply.
• Confusing arithmetic and geometric. Arithmetic adds; geometric multiplies. "Increases by 10% per year" is geometric (r=1.1); "increases by \10peryear"isarithmetic(d = 10$).
• Negative $r$ and parity. With r<0, terms alternate in sign. a1=1,r=−2 gives 1,−2,4,−8,16. The sum formula still works but the result oscillates as n grows.
• Logarithm restrictions in solve-for-$n$.n=ln(an/a1)/lnr+1 requires positive arguments. Negative or zero r, or an and a1 with opposite signs, makes the formula fail. The solver flags these.
• Floating-point errors with non-integer ratios.r=1/3 is exact in mathematics but approximate in floating-point. Computing a100 with r=1/3 accumulates rounding error. Use symbolic computation or rational arithmetic for exact results.
• Conflating geometric series with arithmetic series for ratio. "Common ratio" is for geometric; "common difference" is for arithmetic. The terms are not interchangeable.
Related Sequences and Concepts
Arithmetic Sequence — adds a constant: an=a1+(n−1)d. Geometric's linear counterpart.
Geometric Series — the sum of a geometric sequence. Both finite and infinite versions are central.
Exponential Function — the continuous analog. f(x)=a1rx. Geometric sequences are exponentials sampled at integer points.
Power Series — the generalization to varying coefficients: ∑cnxn. The geometric series ∑rn=1/(1−r) is the simplest non-trivial power series.
Convergence — the criterion for infinite-series sums. ∣r∣<1 for geometric is the prototype.
Ratio Test — convergence test for series, comparing consecutive terms' ratio to a geometric series benchmark.
Compound Interest — the canonical finance application. Future value follows a geometric sequence with r=1+i where i is the per-period rate.
Exponential Growth and Decay — the natural-science applications. Bacterial growth, radioactive decay, drug elimination — all modeled as geometric sequences (discrete) or exponentials (continuous).
Logarithm — the inverse of exponential. Solving for n in a geometric sequence uses logarithms.
Common Ratio — the parameter r. Determines whether the sequence grows, decays, oscillates, or stays constant.
Geometric Mean — the average. For a geometric sequence, the geometric mean of any two terms equals the term between them: an=an−1⋅an+1 for any n≥2.
Repeating Decimal — every repeating decimal is a geometric series, converting to a rational number via the infinite-sum formula.
Geometric Progression — alternate name for geometric sequence. Used interchangeably.
Linear Recurrence (homogeneous) — the general class. Geometric sequences are first-order linear recurrences an=r⋅an−1.
Half-Life — the time for a quantity to halve. A geometric sequence with r=1/2 measured at half-life intervals.
Doubling Time — the time for a quantity to double. A geometric sequence with r=2 at doubling-time intervals.
Beer's Law — light absorption following exponential (geometric in discrete steps) decay through a medium.