Last Updated on June 20, 2026 by Statnzee Team
Introduction
When studying recurrence relations such as those found in the Gambler’s Ruin problem, we often encounter a statement like:
If Aᵢ and Bᵢ are solutions, then any linear combination of them is also a solution.
At first glance, this may seem surprising. Why should adding two solutions produce another solution?
The answer lies in a fundamental property of linear equations known as the Principle of Superposition.
The Recurrence Relation
Suppose we are trying to solve the recurrence relation
where:
- Pᵢ is the unknown sequence
- p and q are constants
This is called a linear second-order recurrence relation.
Assume We Already Know Two Solutions
Suppose we have somehow found two sequences:
Aᵢ
and
Bᵢ
that satisfy the recurrence relation.
For Aᵢ we have:
For Bᵢ we have:
Since both equations satisfy the same recurrence, we call Aᵢ and Bᵢ solutions.
Multiplying a Solution by a Constant
Take the first solution and multiply every term by a constant C₁:
Notice that the equation remains valid.
The same is true for Bᵢ:
This tells us that multiplying a solution by a constant creates another solution.
Adding Two Solutions
Now add the two equations together:
Left side:
Right side:
The resulting equation has exactly the same structure as the original recurrence relation.
Defining a New Sequence
Let
Then
and
Substituting these expressions into the previous equation gives
which is exactly the original recurrence relation.
Therefore Pᵢ is also a solution.
Why Does This Work?
The recurrence relation contains only:
- Addition
- Multiplication by constants
There are no powers, square roots, products of unknown terms, or other nonlinear operations.
Because of this, the equation preserves linear combinations.
This special property is called linearity.
A Simple Numerical Example
Suppose two solutions are
and
Choose
Then the new sequence becomes
Without any additional work, this new sequence is also a solution.
Why This Is Important
The Principle of Superposition allows us to build an entire family of solutions from a small set of basic solutions.
If we know two independent solutions:
and
then every solution can be written as
where A and B are constants.
This expression is called the general solution.
Why Doesn’t This Work for Nonlinear Equations?
Consider the equation
Two solutions are
and
If we add them together, we obtain
but
Therefore the sum is not a solution.
The superposition principle works only for linear equations, not nonlinear ones.
Key Takeaway
The Principle of Superposition states that:
Any linear combination of solutions to a linear recurrence relation is itself a solution.
This is why, after finding the two independent solutions
and
we can combine them to obtain the general solution
This idea appears throughout mathematics, including recurrence relations, differential equations, linear algebra, probability theory, and physics.
Discover more from Statnzee
Subscribe to get the latest posts sent to your email.

Leave a Reply