A sequence is a function because it pairs each position in the list with exactly one value. That is the whole idea, and once you see it, the definition stops feeling like a technicality and starts explaining why sequences behave the way they do. This guide walks you through the reasoning step by step, shows you how to rewrite any sequence in function notation, and points out the mistakes that trip people up when they first meet the definition. You only need basic familiarity with what a function is and with the counting numbers.
What You’ll Need
- A pencil and paper, or a notes app you can scribble in.
- A working definition of a function: a rule that assigns exactly one output to each allowed input.
- Comfort with the counting numbers (the positive whole numbers) and with subscripts such as a1, a2, a3.
- Patience to check a few examples by hand rather than just reading them.
Step-by-Step
- Write down a concrete sequence. Start with something small, such as the even numbers: 2, 4, 6, 8, 10, and so on. Write it as a list with the positions labelled underneath: position one holds 2, position two holds 4, position three holds 6, and so on. Seeing the positions explicitly is the key move.
- Identify the two sets involved. The inputs are the positions: one, two, three, four, and onward. The outputs are the values sitting in those positions. In the even-number example, the inputs are the counting numbers and the outputs are the even numbers. Name both sets clearly before going further.
- Check the two conditions for a function. A rule is a function when every allowed input gets an output, and no input gets more than one output. Ask yourself: does every position have a value? Yes, because a sequence is defined for each position in order. Does any position hold two different values at once? No, because a list cannot have two different entries in the same slot. Both conditions hold, so the pairing is a function.
- Rewrite the sequence in function notation. Replace the subscript notation with ordinary function notation. Instead of writing a1 for the first term, write f(1). Instead of a2, write f(2). The sequence 2, 4, 6, 8, 10 becomes f(1) = 2, f(2) = 4, f(3) = 6, f(4) = 8, f(5) = 10. Nothing about the values changed; only the notation did. This is the moment the definition usually clicks.
- Find the rule that generates the outputs. Look for a pattern connecting each input to its output. In the even-number example, f(n) = 2n works: put in one and get two, put in two and get four, put in three and get six. Write the rule as a formula and test it against the terms you already listed. If the formula reproduces every term you wrote, you have found the function that defines the sequence.
- Confirm the domain. State clearly which inputs are allowed. For most sequences in school mathematics the domain is the counting numbers, sometimes extended to include zero. Write the domain down explicitly, because a function is not fully specified without it. If the sequence is finite, the domain is a finite set of positions.
- Test a sequence that is not given by a simple formula. Take the decimal digits of a fraction or a list defined by a recurrence, such as each term being the sum of the two before it. Even here, each position still produces exactly one value. The absence of a neat formula does not stop the pairing from being a function; it only means you cannot write the rule as a short expression.
- Compare with a non-example. Consider a rule that assigns to each positive number its square root. That is not a function from all real numbers, because negative inputs have no real output, and because a positive input can be paired with two different roots unless you restrict the rule. Sequences avoid both problems by construction: every position has a term, and each position has one term. Seeing the contrast sharpens the definition.
- Say the definition in your own words. Write one or two sentences explaining that a sequence is a function whose domain is a set of positions, usually the counting numbers, and whose outputs are the terms. If you can say it without looking at the notes, you understand it.
Common Mistakes
The most frequent error is treating the sequence and the function as two different objects. They are the same object described in two notations. Another common slip is forgetting the domain: a formula alone is not a sequence until you say which positions it applies to. Students also confuse the input with the output, writing f(2) = 1 when they mean the second term is 2; keep the position and the value in separate columns until the habit sticks. A further mistake is assuming every sequence must have a tidy formula. Many do not, and that does not disqualify them. Finally, watch for off-by-one confusion when a sequence starts at position zero rather than one; the definition still holds, but the formula changes.
Tips
Always write the positions in a row above the terms, even when the problem does not ask for it. That single habit prevents most errors. When a formula is hard to spot, list several terms and look at differences between consecutive terms; constant differences point to a linear rule, while changing differences suggest something else. Practise translating back and forth between subscript notation and function notation until it feels automatic. If you are working with a recurrence, compute the first few terms by hand before trusting any pattern. And when in doubt, return to the definition: one output per input, every input covered.
Troubleshooting
If the formula you guessed fails on a later term, do not patch it with exceptions; go back and list more terms so the pattern is clearer. If you cannot decide whether a given list is a sequence, check whether each position has exactly one entry; if a position is missing or holds two values, it is not a sequence in the usual sense. If function notation feels unnatural, rewrite a familiar formula such as f(n) = 3n + 1 as a list of terms and then convert it back; the round trip builds fluency. If a textbook uses a different starting position, follow the textbook for that problem but note the difference, because the underlying definition is unchanged. When a recurrence gives terms that grow quickly, compute only a few by hand and rely on the rule rather than on listing everything.
Frequently Asked Questions
Is every function a sequence? No. A sequence is a function whose domain is a set of positions, usually the counting numbers. A function defined on all real numbers, such as a quadratic, is not a sequence because its inputs are not positions in a list.
Why do we use two kinds of notation? Subscript notation emphasises the list-like nature of a sequence, while function notation emphasises the rule connecting position to value. Both describe the same pairing, and different problems are easier in one notation than the other.
Can a sequence have repeated terms? Yes. A function may send different inputs to the same output. The constant sequence 5, 5, 5, and so on is a perfectly good function: every position maps to the same value.
Does a sequence need a formula? No. The definition only requires that each position has exactly one term. Many sequences, including those defined by recurrences or by data, have no short formula.
What is the domain of a sequence? Usually the counting numbers, sometimes including zero. For a finite sequence, the domain is the finite set of positions the list actually has.
How is this different from a set? Order and repetition matter in a sequence but not in a set. The sequence 1, 2, 3 differs from 3, 2, 1, while the set of those values is the same.