Geometric Sequence Calculator
Solve geometric progressions (GP) for any target $n$-th term ($a_n$), common ratio ($r$), finite partial sum ($S_n$), or sum to infinity ($S_\infty$). Generates explicit formulas, discrete SVG exponential plots, and cumulative sum tables.
Geometric Sequence Overview & Direct Answer
A geometric sequence is a sequence of numbers where each term after the first is obtained by multiplying the preceding term by a fixed non-zero constant called the common ratio (r). The nth term is given by a_n = a_1 · r^(n - 1). For common ratio |r| < 1, the infinite series converges to S_∞ = a_1 / (1 - r).
Geometric Progression Foundations & Common Ratio
A geometric progression (GP) is a sequence of numbers where each term after the first is found by multiplying the previous term by a fixed scalar factor $r$, known as the common ratio:
Geometric progressions differ fundamentally from additive progressions. In additive recurrences such as the Fibonacci Sequence Generator, terms are produced by summing prior terms. In a geometric progression, the change is purely multiplicative, yielding exponential growth or decay curves analyzed in our Exponential Growth Calculator.
Derivation of the Nth-Term Formula
By inspecting how each consecutive term compounds multiplicatively from the initial value $a_1$:
To reach position $n$ starting from position 1, the ratio $r$ is applied as a multiplicative factor exactly $n - 1$ times. When working with non-integer power exponents, explore our Fractional Exponent Calculator.
Finite Geometric Series Sum Derivation
The sum of the first $n$ terms $S_n = a_1 + a_1 r + a_1 r^2 + \dots + a_1 r^{n-1}$ is derived using algebraic multiplication and telescoping subtraction:
Telescoping Series Proof
-
Write the finite series sum equation:
S_n = a_1 + a_1 r + a_1 r^2 + \dots + a_1 r^{n-1} — (Equation 1)
-
Multiply the entire equation by the common ratio $r$:
r S_n = a_1 r + a_1 r^2 + a_1 r^3 + \dots + a_1 r^n — (Equation 2)
-
Subtract Equation 2 from Equation 1. All intermediate terms from $a_1 r$ through $a_1 r^{n-1}$ cancel out:
S_n - r S_n = a_1 - a_1 r^n \implies S_n(1 - r) = a_1(1 - r^n)
-
Divide both sides by $(1 - r)$ (assuming $r \neq 1$):
S_n = \frac{a_1(1 - r^n)}{1 - r} = \frac{a_1(r^n - 1)}{r - 1}
Infinite Geometric Series & Convergence Criterion
An infinite geometric series has an infinite number of terms ($n \to \infty$). Evaluating its limit using the finite sum formula:
Convergent Case ($|r| < 1$)
When $|r| < 1$, $\lim_{n \to \infty} r^n = 0$. The sum converges to a finite value:
Divergent Case ($|r| \ge 1$)
When $|r| \ge 1$, $r^n$ grows infinitely or oscillates without settling. The infinite sum diverges and has no finite sum.
Real-World Applications in Finance, Physics & Fractals
Compound Interest & Annuities
Annual compound balance growth represents a geometric sequence with ratio $r = 1 + i$. Retirement annuity payout streams are calculated as finite geometric series sums.
Radioactive Decay & Half-Life
Nuclear isotopes decay by halving their remaining mass every half-life interval ($r = 0.5$). Remaining activity follows an exact decaying geometric sequence.
Fractal Geometry (Koch Snowflake)
Fractals like the Koch Snowflake or Sierpinski Triangle generate infinite perimeter and finite enclosed area by summing infinite geometric series ($r = 4/9$).
Graded Step-by-Step Numerical Solutions
Find the 6th term and sum of first 6 terms for $a_1 = 4, r = 3$.
1. Compute $a_6$: $a_6 = 4 \cdot 3^{6 - 1} = 4 \cdot 3^5 = 4 \cdot 243 = 972$.
2. Compute $S_6$: $S_6 = \frac{4(1 - 3^6)}{1 - 3} = \frac{4(1 - 729)}{-2} = \frac{4(-728)}{-2} = 1456$.
Evaluate the sum of the infinite series $18 + 6 + 2 + \frac{2}{3} + \dots$
1. Identify parameters: $a_1 = 18$, $r = \frac{6}{18} = \frac{1}{3}$.
2. Verify convergence: $|r| = \left|\frac{1}{3}\right| < 1$, so the series converges.
3. Calculate $S_\infty$: $S_\infty = \frac{18}{1 - \frac{1}{3}} = \frac{18}{\frac{2}{3}} = 18 \times \frac{3}{2} = 27$.
Common Calculation Pitfalls & Mistake Avoidance
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.