A recurrence relation is an equation that expresses a term of a sequence using earlier terms. In quant work, it turns a period-by-period rule—update a cash balance, propagate a model state, count admissible paths—into mathematics that can be computed and checked. The rule needs starting values, called initial conditions, to select a particular sequence. Brandt's recurrence notes introduce this distinction.
A balance sheet that advances one period
Consider a fictional account with 100 currency units initially. Each period, its opening balance grows by a stipulated 5%, then a deposit of 10 arrives at the end of the period. There are no fees, taxes, withdrawals or rounding during the calculation. Let be the balance after complete periods and their deposits, so
Applying the rule gives
The recurrence is a compact statement of the accounting convention: the new deposit earns no growth in the period when it arrives. The 5% is an assumption of this deterministic example, not a prediction of market returns.
Change the timing to a deposit at the beginning of each period, and the equation becomes , with the same initial 100 measured before the first deposit. Its first closing balance is 115.5, because the deposit also earns 5% that period. Parentheses encode a real economic difference.
Original deterministic comparison. Changing the order of the two operations changes the recurrence and every subsequent closing balance.
Unroll the rule to see every deposit
A closed form computes directly from , without first computing all preceding balances. Repeated substitution reveals where each contribution comes from:
The initial 100 grows for periods. The deposits grow for periods; reversing their order gives the displayed geometric series. At , the sum is empty and equals zero. A finite geometric sum is valid here even though the growth factor exceeds one; convergence of an infinite series is a separate question.
More generally, for with constant ,
The case needs its own expression: substituting it into the fraction would divide by zero. To verify a proposed formula, check both its initial value and that substituting it into the update equation works. Mathematical induction then establishes it for every nonnegative integer index.
For the finite-sum derivation and finance applications, see Series and the Geometric Series (public preview; full lesson requires membership).
Recognise the kind of recurrence
The balance equation is first order: only one earlier balance is needed. It is linear with constant coefficients and a nonhomogeneous term: the multiplier is constant and the added 10 is an external input. Removing that input gives the homogeneous equation .
A second-order rule can need two starting values. For example, needs both and . For homogeneous linear recurrences with constant coefficients, characteristic roots provide a systematic solution method; repeated roots require additional polynomial factors, as Western's Theorem 4.38 illustrates. A combinatorial generating function offers another route by translating shifts in the sequence into algebra, while preserving the initial terms. Shor's notes work through that translation.
Not every recurrence is linear. The Catalan numbers satisfy and
which combines products of earlier counts rather than a fixed linear combination. NIST records this recurrence.
A recurrence also need not be deterministic. An autoregressive model adds random innovations and assumptions about their distribution and dependence. Its probabilistic interpretation cannot be inferred from an equation's visual resemblance to the cash-balance rule. Finally, a recurrence describes a mathematical relationship; programming recursion is one way to implement such a relationship. A loop can compute the same sequence.
Sources
- Alexander Brandt, Discrete Structures for Computing, §3.2.2: recurrence definitions, initial conditions and substitution.
- Western University, Math 1600 Lecture 35: order and characteristic-root solutions, including repeated roots.
- Peter Shor, MIT 18.310, Generating Function Notes, pp. 3–6: converting linear recurrences into generating-function equations.
- NIST DLMF §26.5(iii), equation 26.5.3: the Catalan convolution recurrence.