Calculate and analyze recursive sequences. Generate terms, visualize patterns, and determine convergence.
A recursive sequence (or recurrence relation) defines each term as a function of preceding terms. Unlike explicit formulas that directly compute aₙ from n, recursive formulas require initial terms to begin computation.
General Form of a Linear Recurrence:
aₙ = c₁aₙ₋₁ + c₂aₙ₋₂ + ... + cₖaₙ₋ₖ + f(n)
where cᵢ are constants and f(n) is a function of n (often 0 for homogeneous relations).
Relation: aₙ = aₙ₋₁ + aₙ₋₂
Initial: a₁ = 1, a₂ = 1
Properties: Each term is the sum of the two preceding terms. Appears in nature, art, and mathematics.
Relation: aₙ = aₙ₋₁ + d
Initial: a₁ = first term
Properties: Constant difference between consecutive terms. Linear growth.
Relation: aₙ = r·aₙ₋₁
Initial: a₁ = first term
Properties: Constant ratio between consecutive terms. Exponential growth/decay.
Relation: aₙ = n·aₙ₋₁
Initial: a₁ = 1
Properties: Grows faster than exponential. Counts permutations.
Characteristic Equation Method: For linear homogeneous recurrences with constant coefficients, assume a solution of the form aₙ = rⁿ. Substitute to get the characteristic equation.
Generating Functions: Represent the sequence as a power series G(x) = Σ aₙxⁿ. The recurrence relation becomes an equation for G(x).
Iteration/Substitution: Repeatedly apply the recurrence relation to express aₙ in terms of initial conditions and n.
Calculator Features:
aₙ = aₙ₋₁ + aₙ₋₂
Fibonacci
aₙ = r·aₙ₋₁
Geometric
aₙ = aₙ₋₁ + d
Arithmetic
aₙ = n·aₙ₋₁
Factorial