Sequence (Mathematics)
Context: FIT1058_MOC Β· an ordered list, formalised as a function on Β· contrast with an unordered set Β· the home of recurrences, limits and growth analysis
Quick Revision
- π― Objective: an ordered list = a function on β -th term .
- π¦ Core Components: ordered + may repeat β closed form vs recurrence.
- β‘ Key Constraint: must be pinned by a rule, not an informal ""; contrast the unordered set.
π Core
1. The Definition
- Sequence β a function (infinite) or (finite).
- -th term β ; number sequence when is a number set.
- Length β size of a finite sequenceβs domain.
2. Sequence vs Set
- Set β unordered, no repetition.
- Sequence β ordered, may repeat ().
- Finite sequence β an -tuple; a string is a sequence of letters.
3. Defining a Sequence
- Not an "" list β only suggests a pattern.
- Closed form β in alone ().
- Recurrence β from earlier terms + base case(s).
Key identities:
βοΈ Core Decision Matrix
| Feature | Sequence | Set |
|---|---|---|
| order | matters | irrelevant |
| repetition | allowed | none |
| formalism | function on | collection |
| finite form | -tuple | β |
When It Flips: sequences are fundamental to computation β memory is laid out in order, and time-vs-input-size is the sequence Big-O Notation analyses. Closed form gives any term in one step; a recurrence is often more natural but hides growth until unrolled.
π Exam Execution Trace
Applied Exercise
Problem: List the first five terms of and state domain/codomain. Derivation Proof / Hand-Calculation Walkthrough:
Final Extracted Output: an infinite sequence (function on ); repetition allowed but here all distinct.
β οΈ Common Mistakes
- π‘ "" is not a definition β many sequences share any finite prefix; pin it with a closed form or a recurrence + base case.
π§ Active Recall
Define a sequence precisely, and how it differs from a set.
- Hint: Ordered + repeatable.
Answer
- Short answer: A function (or ); ordered and may repeat, unlike a set.
- Why: -tuple β a finite sequence is a tuple; length = domain size.
Why is " " not a definition, and what are the two valid ways?
- Hint: Rule required.
Answer
- Short answer: An "" list only hints a pattern; define by closed form or recurrence + base case.
- Why: Ambiguity β many sequences share any prefix.