ALL EXPERIMENTS
Chapter 8 · Sequences and Series

Every generation, the tree doubles.

The chapter opens with a person's ancestors doubling each generation: 2, 4, 8, 16 … This is a geometric progression growing in front of you. Drag the slider to grow the family tree, then explore every other idea in the chapter in the tabs below.

a₄ = 2×2³ = 16 ancestors in this generation
Total ancestors so far: 30  (Sₙ = a(rⁿ−1)/(r−1), a=2, r=2) Gₙ = 2ⁿ

Sequences: a rule for every position

A sequence is a function whose domain is the natural numbers — plug in n, get the term aₙ. Pick a rule from the textbook, or write your own, and watch the terms appear one position at a time.

Choose a rule

Finite or infinite?

This sequence's domain is all of ℕ — it never ends. We're only ever looking at a window of it.

aₙ = 2ⁿ  →  a₁₀ = 1024

Series: adding a sequence up

A series is the indicated sum a₁ + a₂ + a₃ + … + aₙ, written compactly with sigma notation Σₖ₌₁ⁿ aₖ. Set the bounds and the rule for the term, and watch each term stack onto the running total.

Sigma notation builder

Σn   k=1 to 6

Remark

"Series" refers to the indicated sum, not the total itself. 1 + 3 + 5 + 7 is a finite series with four terms; its sum is 16.

Terms added
6
Sum of series
297

Geometric Progression: a constant ratio

In a G.P., every term after the first is the previous term times a fixed common ratio r: a, ar, ar², ar³, … The general term is aₙ = arn−1. Drag a and r and watch the bars grow, shrink, or flip sign.

G.P. controls

What r tells you

|r| > 1 → terms grow without bound.

aₙ = 2 · (1.5)ⁿ⁻¹
a₁
2
a₂/a₁ = r
1.5
aₙ (last)
17.3

Summing a G.P. — finite and infinite

The sum of the first n terms is Sₙ = a(rⁿ − 1)/(r − 1) (for r ≠ 1). When |r| < 1 and n → ∞, the terms shrink to nothing and the running sum converges to a finite limit S∞ = a/(1 − r).

Finite sum Sₙ

Sₙ = 3(1−0.5¹⁰)/(1−0.5) = 5.99
|r| < 1 → as n grows, Sₙ is converging toward a limit.
Sₙ (current n)
5.99
S∞ (limit)
6.00

Each bar is the running total Sₖ for k = 1 … n. The dashed line is the infinite-sum limit a/(1−r), only meaningful when |r| < 1.

Arithmetic Mean vs Geometric Mean

For positive numbers a, b: A = (a+b)/2 and G = √(ab). Draw a semicircle on a diameter of length a+b, split at the point between a and b, and the perpendicular chord there has length exactly G — while the radius is exactly A. That's a visual proof that A ≥ G, always.

Pick a and b

Insert G.M.s between a & b

A.M.
10
G.M.
8
A − G
2

Radius (gold) = A. Perpendicular chord at the split point (mint) = G. The gold radius never gets shorter than the mint chord — equal only when a = b.

Fibonacci: a rule with memory

Not every sequence has a closed formula. Fibonacci's rule looks back two steps: a₁=a₂=1, aₙ = aₙ₋₁ + aₙ₋₂. Watch the ratio of consecutive terms settle toward the golden ratio φ ≈ 1.618, and see the squares spiral outward.

How many terms

Sequence

Ratio aₙ₊₁ / aₙ → φ

Where G.P.s show up

Three of the chapter's story problems, made adjustable.

Bacteria that double

A culture doubles every hour. Starting count and hours elapsed → population.

Population = 30 × 2⁶ = 1920

Compound interest

₹P compounded annually at rate r% behaves like a G.P. with ratio (1 + r/100).

A = 500(1.1)¹⁰ = 1296.87

Ancestors over generations

Every generation back doubles the ancestor count — same G.P. as the hero above.

Generations = 10 → total ancestors S = 2046

Chain letter

A person mails a letter to k friends; each copies it to k more. Cost per stamp given.

Letters in this round = 4⁸ = 65536