Sequences as Functions

A sequence is a function whose domain is a set of consecutive integers (usually the positive integers or natural numbers). The output for input is called the -th term, written instead of . Reframing sequences as functions unlocks tools from algebra and calculus — graphs, growth rates, limits, and transformations. Foundational topic in precalculus, calculus, and discrete mathematics; formalized through the 17th–19th century development of functions and limits.

A sequence is an ordered list of numbers, but more precisely it is a function (or a similar discrete domain) that assigns to each index a unique value . The "function" viewpoint matters because it lets us apply everything we know about functions — domains, ranges, monotonicity, boundedness, and ultimately limits — to lists of numbers. This is the bridge between static algebra and the dynamic ideas of calculus, where the limit of a sequence becomes the gateway to convergence, series, and continuity. A surprising fact: although a sequence has infinitely many terms, its entire behavior can often be captured by a single closed-form rule like — and two completely different-looking rules can generate the same sequence.

The Core Insight

A sequence is not just a list — it is a rule of assignment from a discrete domain to a codomain. Writing instead of is pure notation: the index is the input, and is the output. Because the domain is discrete (separated integers, not a continuous interval), the graph of a sequence is a set of isolated points, never a connected curve. Everything about functions — composition, inverses, transformations, growth comparison, and limiting behavior — transfers directly to sequences, with the single restriction that we only ever evaluate at integers.

Formal Statement

Sequence as a Function

A sequence of real numbers is a function

1
⟳This is simply the definition of a function whose domain is restricted to (some authors start at ).

Here:

  • is the index (or position), an element of the domain .
  • is the -th term, the function's output, an element of the codomain .
  • The whole sequence is denoted or .
  • The range is a set; the sequence is an ordered object, so order and repetition matter even though they do not in the range.

A sequence may be specified in three equivalent ways:

2
⟳Direct functional rule — substitute the index to compute any term in one step.
3
⟳Define later terms in terms of earlier ones plus one or more initial conditions (base cases).

Uniqueness of Terms

If a sequence is a well-defined function, then each index produces exactly one term . Two sequences and are equal if and only if for every .

Monotonicity and Boundedness

Treating the sequence as a function lets us classify it:

4
⟳Same definition as monotonic functions, applied only at integer inputs by comparing consecutive terms.
5
⟳A single constant caps the absolute value of every term — the analogue of a bounded function.

Why It Holds / Derivation

Why the Function Framework Is Valid

We justify that the list-and-function views coincide.

  1. A list defines a function. Given an ordered list , define = the -th entry. Since each position has one entry, is single-valued — a genuine function on .
  1. A function defines a list. Given , write the outputs in index order: . This is an ordered list.
  1. The two operations are inverse. Going list function list returns the original list, and similarly for function list function. Hence the descriptions are interchangeable.
  1. Transfer of structure. Because is a function, every function property defined pointwise — comparison of values, bounds, and limiting behavior — applies. In particular, may be substituted into any real function: , , etc., are themselves sequences (compositions of functions).

Leonhard Euler | 1707–1783

Euler systematized the modern notation and treatment of sequences and series, popularizing the use of functional notation and treating infinite sequences with the freedom of functions. His work on the harmonic series, the constant as a limit of , and infinite products embodies the function-centric view of sequences. Euler's manipulations — sometimes formal and bold — drove the 18th-century explosion of results that later mathematicians made rigorous through the theory of limits.

Building Intuition

Think of a sequence as a vending machine for numbers. You press a button labeled with an integer , and out comes exactly one number . You can never press button — the machine only accepts whole-number buttons. That restriction (a discrete domain) is the only difference between a sequence and an ordinary function .

This is why the graph of a sequence looks like a dotted constellation rather than a smooth curve: you can only plot points above , never in between. If you mentally "fill in the gaps" with a continuous function that agrees at the integers, you get a powerful tool: the curve's behavior as tells you the sequence's behavior as .

A sequence as isolated points: $a_n = 1 + 1/n$ versus its continuous companion $f(x) = 1 + 1/x$

n a limit = 1 f(x)=1+1/x 1 2 3 4 5 6 7 8

Worked Examples

Explicit Rule and Term Computation

Given: A sequence defined by the explicit function for . Find: (a) the first four terms, (b) the 50th term, (c) which index gives the value . Steps:

(a) Evaluate the function at :

(b) Substitute :

(c) Solve . Since , the value occurs.

This is an arithmetic sequence (constant difference ); the function is linear in .

Answer:

Recursive Rule Converted and a Limit Read Off

Given: A recursive sequence , with . Find: (a) the first four terms, (b) the long-run value (limit) by treating it as a fixed point. Steps:

(a) Apply the recursion:

The terms increase and appear to approach a ceiling.

(b) If the sequence converges to a limit , then for large both and approach . Substitute:

Check: terms climb toward , never exceeding it — consistent with a bounded, increasing sequence.

Answer:

Common Misconceptions

A sequence is not a continuous curve. Even when you write , you must not evaluate it at or draw a smooth line through the points. The domain is the integers only. The continuous companion is a separate function used as an analytical aid — it is not the sequence itself. The range is not the sequence. The sequence has range — just two numbers — but it is an infinite, non-constant sequence. Order and repetition are essential to the sequence even though they vanish in the range set. Claim (false): "If a closed-form formula gives the first few terms correctly, it is the only sequence fitting them." Refutation: Consider the partial list . The natural guess is , giving . But the formula
also yields for , then continues as — a completely different sequence. A finite list of terms never uniquely determines a sequence; the defining function (rule) must be specified.

Connections

Viewing sequences as functions ties together several neighbouring topics. Arithmetic Sequences are sequences whose generating function is linear in (), and Geometric Sequences are those whose function is exponential in (). The classification of a sequence as increasing, decreasing, or bounded is the discrete shadow of the same concepts for Functions and Their Properties. Pushing the index to infinity leads directly to the Limit of a Sequence, and summing the terms produces an Infinite Series. Recursive definitions connect to Mathematical Induction, the proof technique tailored to statements indexed by .

Real-World Applications

  1. Compound interest (finance): The balance after periods is the geometric sequence — a function of the integer period count.
  2. Population biology: Discrete generation models like the logistic map are recursively defined sequences used to model animal populations year by year.
  3. Computer science / algorithms: The number of operations an algorithm performs on input size is a sequence; Big-O analysis compares the growth rate of these sequences-as-functions.
  4. Digital signal processing: A sampled audio or sensor signal is literally a sequence — a function evaluated at discrete time steps.
  5. Amortization schedules (loans): Monthly remaining balance follows a recursive sequence combining interest accrual and fixed payment, exactly like the worked fixed-point example.
  6. Numerical methods: Newton's method generates a sequence that converges to a root; its limit behavior is read off as a function of the iteration index.
  7. Fibonacci modeling (nature): Branching patterns, phyllotaxis, and rabbit-population puzzles use the recursive sequence .

Historical Development

  • c. 300 BCE — Euclid: Elements Book IX treats geometric progressions and proves the sum formula, an early systematic study of structured number lists.
  • c. 1202 — Fibonacci (Leonardo of Pisa): Liber Abaci introduces the rabbit problem, popularizing the recursively defined Fibonacci sequence in the West.
  • 1655 — John Wallis: Arithmetica Infinitorum uses infinite sequences and interpolation, foreshadowing limits.
  • 1668 — Nicholas Mercator / James Gregory: Develop infinite series and the sequences of partial sums, linking sequences to function expansions.
  • 1734 — Leonhard Euler: Establishes the limit and treats sequences with full functional notation.
  • 1821 — Augustin-Louis Cauchy: Cours d'analyse gives the first rigorous -style definition of the limit of a sequence, founding modern analysis.
  • 1872 — Karl Weierstrass & Eduard Heine: Formalize convergence and the Bolzano–Weierstrass theorem; the function view of sequences becomes fully rigorous.
  • 1888 — Richard Dedekind / Giuseppe Peano (1889): Axiomatize , providing the precise domain on which sequences-as-functions are defined.

Subtleties & Limits

Several conceptual subtleties survive at higher levels. Indexing conventions differ: some define to start at , others at , which shifts every closed-form formula — there is no universal convention. Existence of a closed form is not guaranteed: many recursively defined sequences (and famous ones from number theory, like the prime-counting sequence) have no known elementary explicit formula, and proving that none exists can be deeply hard. The Collatz sequence (if even) or (if odd) is perfectly well-defined as a function, yet whether it always reaches remains an unsolved problem. Finally, distinguishing a sequence (function on ) from a net or generalized sequence (function on an arbitrary directed set) matters in advanced topology, where ordinary sequences are no longer sufficient to detect continuity.

See Also

Functions and Their Properties · Arithmetic Sequences · Geometric Sequences · Limit of a Sequence · Infinite Series · Mathematical Induction · Recursive Definitions · The Natural Numbers

Before this

Where this leads