01 / 20

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.

Algebra 1

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.

3 7 11 15 ...
\( n = 1 \)
\( n = 2 \)
\( n = 3 \)
\( n = 4 \)
\( +4 \)
\( +4 \)
\( +4 \)

Two Ways to Describe a Pattern

Every sequence can be described in two fundamentally different ways. Each has its own strengths:

Explicit Formula
Gives the \( n \)-th term directly from its position number \( n \). Jump to any term instantly.
Recursive Formula
Gives each term from the previous one. You must know the term before to find the next.

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.

Predict
What will the 100th term be? Explicit formulas answer instantly.
Build
How does each step depend on the last? Recursive rules describe the process.
Connect
Converting between forms deepens understanding of linear and exponential growth.

The Explicit Formula

An explicit formula defines the \( n \)-th term as a direct function of its index \( n \).

Arithmetic
\( a_n = a_1 + (n-1) \cdot d \)
where \( a_1 \) is the first term and \( d \) is the common difference.
Geometric
\( a_n = a_1 \cdot r^{\,n-1} \)
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.

Arithmetic
\( a_1 = \text{(start)} \)
\( a_n = a_{n-1} + d \)
Geometric
\( a_1 = \text{(start)} \)
\( 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

1
Identify the pattern. Is there a constant difference (arithmetic) or a constant ratio (geometric)?
2
Find the first term \( a_1 \) and the common difference \( d \) or common ratio \( r \).
3
Write the recursive form: state \( a_1 \) and the rule \( a_n = a_{n-1} + d \) or \( a_n = a_{n-1} \cdot r \).
4
Write the explicit form: \( a_n = a_1 + (n-1)d \) or \( a_n = a_1 \cdot r^{n-1} \).
5
Verify by plugging in a known term to check both formulas.

Example 1: Arithmetic Sequence

Sequence: \( 5, \; 9, \; 13, \; 17, \; 21, \; \ldots \)

5 9 13 17 21
\( n=1 \)
\( n=2 \)
\( n=3 \)
\( n=4 \)
\( n=5 \)
\( +4 \)
\( +4 \)
\( +4 \)
\( +4 \)
Explicit
\( a_n = 5 + 4(n - 1) \)
Simplifies to: \( a_n = 4n + 1 \)
Recursive
\( a_1 = 5 \)
\( a_n = a_{n-1} + 4 \)

Example 2: Geometric Sequence

Sequence: \( 2, \; 6, \; 18, \; 54, \; 162, \; \ldots \)

2 6 18 54 162
\( n=1 \)
\( n=2 \)
\( n=3 \)
\( n=4 \)
\( n=5 \)
Explicit
\( a_n = 2 \cdot 3^{\,n-1} \)
Recursive
\( a_1 = 2 \)
\( 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.

1
Identify: The total grows by a constant \( \$40 \) each month: arithmetic.
2
First term: After 1 month, total = \( 25 + 40 = 65 \), so \( a_1 = 65 \) and \( d = 40 \).
3
Recursive: \( a_1 = 65, \quad a_n = a_{n-1} + 40 \)
4
Explicit: \( a_n = 65 + 40(n - 1) = 40n + 25 \)
5
Verify: \( a_3 = 40(3) + 25 = 145 \). Check: \( 65 + 40 + 40 = 145 \). ✓

Converting Between Forms

You can always convert between explicit and recursive representations. The key is extracting \( a_1 \), \( d \), or \( r \).

Recursive → Explicit
From \( a_n = a_{n-1} + d \), read off \( a_1 \) and \( d \), then write \( a_n = a_1 + (n-1)d \).
Explicit → Recursive
From \( a_n = a_1 + (n-1)d \), identify \( d \) and \( a_1 \), then write \( a_n = a_{n-1} + d \) with \( a_1 \).

Visualizing the Difference

Explicit
\( n = 5 \)
\( 4(5) + 1 = 21 \)
21 One step Recursive 5 9 13 17 21 +4 each step Four steps to reach n = 5

Common Mistakes

✕ Forgetting \( a_1 \)
A recursive formula without the initial condition is incomplete. Always state \( a_1 = \ldots \) alongside the rule.
✕ Off-by-one in exponent
For geometric: \( a_n = a_1 \cdot r^{n-1} \), not \( r^n \). When \( n = 1 \), the exponent must be 0.
✕ Confusing \( d \) and \( r \)
Arithmetic uses addition (\( +d \)). Geometric uses multiplication (\( \cdot r \)). Mixing them gives wrong formulas.

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?