Write Explicit or
Recursive Functions
Learn to describe sequences and patterns using explicit formulas and recursive definitions: the two fundamental ways to capture how patterns grow.
What Is a Sequence?
A sequence is an ordered list of numbers that follows a pattern. Each number in the list is called a term, and its position is called the index.
Two Ways to Describe a Pattern
Every sequence can be described in two fundamentally different ways. Each has its own strengths:
Why Does This Matter?
Functions that model real patterns appear everywhere: population growth, loan payments, stacking objects, and more. Choosing the right representation lets you predict, calculate, and communicate efficiently.
The Explicit Formula
An explicit formula defines the \( n \)-th term as a direct function of its index \( n \).
where \( a_1 \) is the first term and \( d \) is the common difference.
where \( a_1 \) is the first term and \( r \) is the common ratio.
The Recursive Formula
A recursive formula defines each term using the previous term(s) plus a rule, along with an initial condition.
\( a_n = a_{n-1} + d \)
\( a_n = a_{n-1} \cdot r \)
Explicit vs. Recursive
| Explicit | Recursive | |
|---|---|---|
| Input needed | Only \( n \) | Previous term(s) + \( a_1 \) |
| Find 100th term | One calculation | 99 steps from \( a_1 \) |
| Shows pattern | Closed-form relationship | Step-by-step process |
| Best for | Distant terms, graphing | Modeling growth processes |
| Example | \( a_n = 3 + 4(n-1) \) | \( a_1 = 3,\; a_n = a_{n-1} + 4 \) |
How to Write the Functions
Example 1: Arithmetic Sequence
Sequence: \( 5, \; 9, \; 13, \; 17, \; 21, \; \ldots \)
Simplifies to: \( a_n = 4n + 1 \)
\( a_n = a_{n-1} + 4 \)
Example 2: Geometric Sequence
Sequence: \( 2, \; 6, \; 18, \; 54, \; 162, \; \ldots \)
\( a_n = a_{n-1} \cdot 3 \)
Example 3: From a Real Context
A gym charges a $25 sign-up fee plus $40 per month. Write both an explicit and recursive function for the total cost after \( n \) months.
Converting Between Forms
You can always convert between explicit and recursive representations. The key is extracting \( a_1 \), \( d \), or \( r \).
Visualizing the Difference
Common Mistakes
Summary Table
| Arithmetic | Geometric | |
|---|---|---|
| Pattern | Add constant \( d \) | Multiply by constant \( r \) |
| Explicit | \( a_n = a_1 + (n-1)d \) | \( a_n = a_1 \cdot r^{n-1} \) |
| Recursive | \( a_1;\; a_n = a_{n-1} + d \) | \( a_1;\; a_n = a_{n-1} \cdot r \) |
| Graph shape | Linear | Exponential |
| Real example | Saving $50/month | Bacteria doubling daily |
Question 1 of 5
The sequence \( 10, \; 15, \; 20, \; 25, \; \ldots \) is arithmetic with \( a_1 = 10 \) and \( d = 5 \). Which is the correct explicit formula?
Question 2 of 5
Which recursive formula correctly describes the sequence \( 3, \; 12, \; 48, \; 192, \; \ldots \)?
Question 3 of 5
A recursive formula is given: \( a_1 = 7, \; a_n = a_{n-1} + 3 \). What is the explicit formula?
Question 4 of 5
A population of bacteria starts at 500 and doubles every hour. If \( n = 1 \) represents the initial population, which explicit formula gives the population at hour \( n \)?
Question 5 of 5
Which of the following is not a valid recursive definition?