Sequences are functions
A sequence is a function , usually written or . The index is the input; is the output.
Two ways to define a sequence:
- Explicit (closed-form): gives the value directly from .
- Recursive: , — gives the next term from the previous.
Same sequence, two descriptions. The explicit form is almost always more useful for finding distant terms; the recursive form is usually easier to discover. Pick your weapon based on the problem. Don't be the person who grinds through a recursive formula 47 times when the explicit form was right there.
Arithmetic sequences: linear in disguise
An arithmetic sequence has a constant difference between consecutive terms:
The general term:
This is a linear function of — slope , y-intercept (in terms of ) would be . Everything you know about lines applies: constant rate of change, predictable behavior.
Common difference : increasing. : decreasing. : constant sequence.
Geometric sequences: exponential in disguise
A geometric sequence has a constant ratio between consecutive terms:
The general term:
This is an exponential function of — the same constant-ratio structure from the Exponential Functions lesson, now counting discrete steps instead of continuous .
: exponential growth. : exponential decay. : oscillating (alternating signs).
Sigma notation
The sum is written:
Read: "sum from to of ." The variable is a dummy index — it runs through and doesn't exist outside the sum. Properties:
These are linearity properties, and they follow from the commutativity and associativity of addition.
Sum of an arithmetic series: the pairing trick
Theorem. for an arithmetic sequence.
Proof. Let . Write forward AND backward:
Add the two expressions, pairing corresponding terms. Each pair sums to (the first plus the last — and since the sequence is arithmetic, every pair has the same sum):
This is the Gauss pairing argument — allegedly the trick Gauss used as a child to compute in seconds while his teacher was expecting him to suffer through it. The proof is one line once you see it, and once you see it you can't unsee it. That's how all great mathematics works.
Induction cameo. We could also prove by induction (base case : ; inductive step: assume it holds for , show for ). The pairing proof is cleaner, but induction works — see the Induction node.
Sum of a geometric series: the multiply-and-subtract trick
Finite sum. for .
Proof. Let . Multiply by : Subtract from : almost everything cancels:
This "multiply by and subtract" trick is the standard proof — elegant, surgical, and worth understanding deeply. Memorize the trick, not the formula. The formula follows from the trick in 30 seconds, and if you forget the formula on an exam you can re-derive the whole damn thing on a napkin. That's the power of actually understanding the proof.
Infinite geometric series
When , the terms shrink toward 0 as . The finite sum becomes:
(Since : , so the numerator .)
When , the terms don't shrink; the series diverges (the sum grows without bound or oscillates). No finite answer.
The fight. .
This is not a philosophical opinion, not a limit "approaching" something, not a rounding error. It is an exact equality, derived directly from the infinite geometric series formula. The decimal and the integer are the same real number, full stop. Anyone who argues otherwise in the comments section is wrong. Provably, mathematically, demonstrably wrong.