Skip to main content

Recurrence relations

Recurrence relations are equations that define a sequence by using earlier terms, like when a probability or count depends on the previous step. In Intro to Probability, they show up in counting problems, generating functions, and step-by-step random processes.

Last updated July 2026•Fiveable Content Team

What are recurrence relations?

Recurrence relations are equations that define a sequence from earlier terms, instead of giving a direct formula right away. In Intro to Probability, that usually means you describe a probability, count, or expected value at stage n using the value from stage n - 1, n - 2, or another earlier stage.

A simple recurrence might say that the number of ways to build a result at step n depends on the number of ways to build smaller results. That is why recurrence relations show up so often in counting problems and generating functions. You are not listing every term separately, you are capturing the pattern that makes the sequence grow.

The first thing you need is the rule, but the rule alone usually does not determine a unique sequence. You also need initial conditions, which pin down the starting values. In probability, those starting values might be the chance of success after 0 trials, the count for a tiny case, or the expected value for a base state.

A common Intro to Probability move is to turn a verbal process into a recurrence. For example, if a random process can end one way after one step or continue into a smaller version of itself, you can write a relation for the probability or expected count at size n. Then the hard part becomes solving or simplifying the recurrence.

Some recurrences are homogeneous, meaning every term comes from earlier terms with no extra add-on. Others are non-homogeneous, which means there is an extra term outside the recurrence, often a constant or another known function. In probability courses, that extra piece can represent a fixed chance, a baseline count, or a contribution from a special case.

A compact example is Fibonacci-style counting: if a process at size n can be formed from size n - 1 or size n - 2, you might write a recurrence like a_n = a_{n-1} + a_{n-2}. In probability, the same structure can describe counts of outcomes or the expected number of steps in a recursive experiment. The point is always the same, each new value is built from earlier ones in a rule-based way.

Why recurrence relations matter in Intro to Probability

Recurrence relations matter in Intro to Probability because many probabilistic models are recursive even when the original problem does not look recursive at first. If a process repeats with smaller and smaller versions of the same situation, a recurrence is often the cleanest way to write it down.

This comes up in counting problems, where you count outcomes by splitting them into cases based on the last move or last trial. It also shows up when you use generating functions, since recurrences can be translated into algebraic equations that are easier to manipulate. That is a big reason they appear in sections on applications of generating functions.

They are also useful when you want to describe an expected value over repeated steps. Instead of trying to jump straight to a closed form, you can set up the value at step n in terms of the value at a smaller step. That makes it easier to check whether your setup makes sense before you solve anything.

If you can read a recurrence well, you can spot the structure behind a probability question instead of getting lost in the arithmetic. That is a useful skill for homework, quiz problems, and any problem that asks you to model a process one step at a time.

Keep studying Intro to Probability Unit 13

Official unit cheatsheet

open one-pager

How recurrence relations connect across the course

Generating functions

Generating functions often turn a recurrence relation into algebra. In probability, that can make a messy step-by-step sequence easier to solve or compare with a known distribution. If you have a recurrence, a generating function may give you a cleaner path to a closed form or a coefficient pattern.

Initial conditions

A recurrence relation does not fully determine a sequence until you know the starting values. In probability problems, those initial conditions might come from a zero-step case, a base count, or a guaranteed outcome. Without them, you can describe the pattern but not identify the actual sequence.

Counting Problems

Many counting problems naturally lead to recurrences because you break a problem into smaller cases. In Intro to Probability, that same move helps you count outcomes or sample paths before turning the count into a probability. The recurrence usually comes from casework on the first step or last step.

Shift Property

The shift property shows how terms move when you rewrite a sequence in generating function form. That matters because recurrences usually involve earlier terms like a_{n-1} or a_{n-2}. Recognizing the shift makes it easier to match the recurrence to an algebraic expression.

Are recurrence relations on the Intro to Probability exam?

A quiz problem or homework question will usually give you a process, then ask you to write the recurrence before solving anything. You might need to identify the base case, decide which earlier terms feed into the next term, and state the initial conditions clearly. If generating functions are involved, you may be asked to convert the recurrence into an algebraic equation and extract coefficients.

The most common mistake is jumping to a formula too early and skipping the setup. For probability problems, that often means forgetting a starting value or mixing up whether the recurrence uses n - 1 or n - 2. A clean answer shows the rule, the base case, and the reasoning behind the step-by-step structure.

Recurrence relations vs Generating functions

A recurrence relation is the step-by-step rule for a sequence, while a generating function is a transformed expression that packages the sequence into a power series. In probability, you often start with a recurrence and then use a generating function to solve it. One is the setup, the other is a method for handling the setup.

Key things to remember about recurrence relations

  • A recurrence relation defines a sequence by using earlier terms, not by giving a direct formula first.

  • In Intro to Probability, recurrences often describe counts, probabilities, or expected values that grow step by step.

  • You usually need initial conditions to make the recurrence determine one specific sequence.

  • Generating functions are a common tool for solving recurrences because they turn a recursive rule into algebra.

  • The biggest setup mistake is forgetting the base case or writing the wrong earlier term in the relation.

Frequently asked questions about recurrence relations

What is a recurrence relation in Intro to Probability?

It is an equation that defines a probability sequence, count, or expected value using earlier terms in the same sequence. In probability, this often comes from a process that repeats one step at a time, so each new value depends on smaller or previous cases.

How do recurrence relations show up in probability problems?

They show up when you count outcomes by cases, model repeated trials, or describe a process that can restart from a smaller state. A common pattern is to write the value at n in terms of values at n - 1 or n - 2, then use starting values to anchor the sequence.

What is the difference between a recurrence relation and a generating function?

A recurrence relation is the rule that links terms in a sequence, while a generating function is a tool that rewrites the whole sequence as a power series. In Intro to Probability, you often use the recurrence first, then use the generating function to solve or simplify it.

Why do initial conditions matter for recurrence relations?

Without initial conditions, a recurrence usually has many possible sequences that fit the same rule. The starting values tell you where the sequence begins, which is what makes the answer specific. In probability, that base case might represent no trials, one trial, or a simple known outcome.