Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 Recurrence Relations

MTH401 — Discrete Mathematics 9 min read

Practice MCQs Subjective questions
Text size
100%

I. Foundations and Governing Framework

A recurrence relation defines each term of a sequence through one or more preceding terms. Together with sufficient initial conditions, it converts a local rule into a uniquely determined sequence and provides a discrete model for processes that evolve in stages.

A. Defining Properties and Conventions

The study of recurrence relations depends on identifying the sequence, its order, its coefficients, and the information required to determine its terms.

  • Sequence notation: A sequence is written as , where denotes the term indexed by the non-negative integer .
  • Initial conditions: An order- recurrence usually requires independent starting values, such as .
  • Order: The order is the largest backward displacement appearing in the relation; a relation involving and has order two.
  • Linear relation: A recurrence is linear when sequence terms occur only to the first power and are not multiplied together.
  • Homogeneous relation: A linear relation is homogeneous when its right-hand side is zero after all sequence terms are collected on one side.
  • Constant coefficients: Coefficients are constant when they do not depend on , as in .
  • Closed-form solution: A closed form expresses directly as a function of , avoiding the calculation of all preceding terms.
  • Verification convention: A proposed solution must satisfy both the recurrence relation and every given initial condition.

II. Recurrence Relations — Definition and Classification

A. Recurrence relation

A recurrence relation is an equation that defines a sequence term using earlier terms of the same sequence.

  • General order- form: A recurrence may be represented as:
Text
F(n, a_n, a_(n-1), ..., a_(n-k)) = 0
  • is a specified function.
  • is the sequence index.
  • is the current term.
  • is the order of the recurrence.
  • Explicit form: If the current term is isolated, the relation has the form:
Text
a_n = f(n, a_(n-1), ..., a_(n-k))

Here is the rule used to calculate .

  • Linear form: An order- linear recurrence can be written as:
Text
a_n + c_1 a_(n-1) + ... + c_k a_(n-k) = g(n)

Here are coefficients and is the forcing term.

  • Classification:

    1. If , the relation is homogeneous.
    2. If , it is non-homogeneous.
    3. If every is independent of , it has constant coefficients.
    4. If a coefficient depends on , it has variable coefficients.
  • Concrete example: The recurrence below generates the Fibonacci sequence:

Text
a_n = a_(n-1) + a_(n-2),  n >= 2
a_0 = 0,  a_1 = 1

It gives , , and . The relation alone is insufficient without both initial values.

III. Mathematical Modelling — Translating Processes into Sequences

A. Modelling with recurrence relations

Modelling with recurrence relations represents the state of a discrete process at stage in terms of its state at earlier stages.

  • Modelling procedure:

    1. Define the sequence variable and its unit.
    2. Identify how one stage changes into the next.
    3. Translate that change into an equation.
    4. state the valid range of .
    5. Supply enough initial conditions.
    6. Check that computed terms agree with the process.
  • Population or finance model: If a quantity grows by a fixed proportion per period and receives an addition , then:

Text
P_n = (1 + r)P_(n-1) + d

Here is the quantity after periods, is the proportional growth rate per period, and is the fixed addition per period.

  • Counting model: If a valid object of size is formed either by extending an object of size in ways or one of size in ways, then:
Text
a_n = p a_(n-1) + q a_(n-2)

Here counts valid objects of size , while and count the corresponding extensions.

  • Worked model: A bank balance starts at 1,000 units, earns 5% annually, and receives 200 units at each year-end:
Text
B_0 = 1000
B_n = 1.05B_(n-1) + 200

Thus and . The model assumes a constant annual rate and fixed year-end deposits.

  • Limitations: A recurrence is only as accurate as its assumptions; varying rates, random events, capacity limits, or timing differences require a modified relation.

IV. Homogeneous Equations — The Characteristic-Root Method

A. Homogeneous linear recurrence relations with constant coefficients

A homogeneous linear recurrence with constant coefficients is solved by converting shifts of the sequence into powers of an algebraic variable.

  • Standard form:
Text
a_n + c_1 a_(n-1) + ... + c_k a_(n-k) = 0

Here is the order and are constants with .

  • Trial solution: Substituting , where is a constant, produces the characteristic equation:
Text
r^k + c_1 r^(k-1) + ... + c_k = 0
  • Distinct roots: If the characteristic roots are distinct, then:
Text
a_n = A_1 r_1^n + ... + A_k r_k^n

The constants are determined from the initial conditions.

  • Repeated roots: If a root has multiplicity , its contribution is:
Text
(A_0 + A_1 n + ... + A_(m-1)n^(m-1))r^n
  • Complex roots: Conjugate roots produce real terms involving and , where is the modulus and is the argument.

  • Worked example: For , , and :

Text
r^2 - 5r + 6 = 0
(r - 2)(r - 3) = 0
a_n = A2^n + B3^n

From and , and . Therefore:

Text
a_n = -2^n + 2(3^n)

V. Non-Homogeneous Equations — Inverse-Operator Technique

A. Method of inverse operator to solve the non-homogeneous recurrence relation with constant coefficient

The inverse-operator method treats a recurrence as an algebraic equation in a shift operator and applies the inverse polynomial operator to the forcing term.

  • Shift operator: Define the backward-shift operator by:
Text
E^(-1)a_n = a_(n-1)

Consequently, , where is a non-negative integer.

  • Operator form: The recurrence becomes:
Text
P(E^(-1))a_n = g(n)

Here is the characteristic operator polynomial and is the non-homogeneous term.

  • Complete solution:
Text
a_n = a_n^(h) + a_n^(p)
a_n^(p) = [1 / P(E^(-1))]g(n)

Here is the complementary homogeneous solution and is a particular solution.

  • Exponential forcing: If , then . Provided :
Text
a_n^(p) = b^n / P(b^(-1))
  • Resonance: If , the trial overlaps the homogeneous solution and must be multiplied by a sufficient power of .

  • Worked example: Consider . Its operator equation is:

Text
(1 - 2E^(-1))a_n = 3^n

Since :

Text
a_n^(p) = 3^n / (1 - 2/3) = 3^(n+1)

The homogeneous solution is , so the general solution is , where is fixed by an initial condition.

VI. Generating Functions — Encoding Sequences as Power Series

A. Generating functions

A generating function packages an entire sequence into a formal power series whose algebraic properties reflect relationships among sequence terms.

  • Ordinary generating function: For the sequence , define:
Text
A(x) = sum from n=0 to infinity of a_n x^n

Here is the generating function and is a formal variable.

  • Coefficient interpretation: The notation means that is the coefficient of in .

  • Basic identities:

Text
1 / (1 - x) = 1 + x + x^2 + ...
1 / (1 - cx) = sum from n=0 to infinity of c^n x^n

Here is a constant.

  • Shifting terms:
Text
sum from n=1 to infinity of a_(n-1)x^n = xA(x)

Index shifts are the main mechanism for translating a recurrence into an equation involving .

  • Usefulness: Generating functions transform recurrence relations, convolution sums, and counting constructions into algebraic operations such as multiplication, differentiation, and partial-fraction decomposition.

  • Formal character: In discrete mathematics, convergence is often unnecessary; the series may be manipulated formally because its coefficients, rather than its numerical value at , are the primary concern.

VII. Generating-Function Solution Method — From Recurrence to Coefficients

A. Solution of recurrence relation using generating functions

A recurrence is solved using generating functions by summing its terms, isolating the generating function, and extracting the coefficient of .

  • Standard procedure:

    1. Define .
    2. Multiply the recurrence by .
    3. Sum over the recurrence’s valid range.
    4. Separate missing initial terms.
    5. solve algebraically for .
    6. Expand or use partial fractions to recover .
  • Worked example: Let for , with . Multiplication by and summation give:

Text
sum from n=1 to infinity of a_n x^n
= 3 sum from n=1 to infinity of a_(n-1)x^n

Using on the left and on the right:

Text
A(x) - 2 = 3xA(x)
A(x) = 2 / (1 - 3x)

Applying the geometric-series identity:

Text
A(x) = 2 sum from n=0 to infinity of 3^n x^n

Therefore the coefficient of is:

Text
a_n = 2(3^n)
  • Partial fractions: When has several linear denominator factors, decomposing it into terms of the form converts each part directly into coefficients .

  • Scope: The method is especially effective for linear recurrences and counting sequences, but coefficient extraction may become difficult when the resulting generating function has complicated or non-factorable denominators.

Test yourself on unit 2

60 MCQs on what you just read, each marked as you answer with an explanation.