01 / 20

Constructing Linear &
Exponential Functions

Learn to build functions from tables, graphs, and descriptions: identify constant vs. multiplicative change and write the equation.

Algebra 1

What Is a Function?

A function is a rule that assigns exactly one output to each input. We write \( f(x) = \text{expression} \), where \( x \) is the input and \( f(x) \) is the output.

Linear
Output changes by a constant amount each step: \( f(x) = mx + b \)
Exponential
Output changes by a constant ratio each step: \( f(x) = a \cdot r^x \)

Constant Difference vs. Constant Ratio

The single most important test: look at how the outputs change when the inputs increase by equal steps.

Arithmetic (Linear)
Successive outputs differ by the same number: \( f(n) - f(n-1) = d \). This constant difference \( d \) is the slope \( m \).
Geometric (Exponential)
Successive outputs have the same ratio: \( \frac{f(n)}{f(n-1)} = r \). This common ratio \( r \) is the base of the exponent.

Seeing the Shapes

0 1 2 3 4 5 0 5 10 15 20 25 Linear Exponential

The Linear Function Formula

$$ f(x) = mx + b $$

\( m \) : Slope
The constant difference between successive outputs: \( m = \frac{f(x_2) - f(x_1)}{x_2 - x_1} \)
\( b \) : y-intercept
The output when \( x = 0 \): this is the starting value of the function.

The Exponential Function Formula

$$ f(x) = a \cdot r^{x} $$

\( a \) : Initial Value
The output when \( x = 0 \): \( f(0) = a \). This is the starting amount.
\( r \) : Common Ratio
The constant multiplier between successive outputs: \( r = \frac{f(x+1)}{f(x)} \)

Linear vs. Exponential: Side by Side

Feature Linear Exponential
Change pattern Add/subtract same amount Multiply/divide by same factor
Formula \( f(x) = mx + b \) \( f(x) = a \cdot r^x \)
Graph shape Straight line Curve (J-shape or decay)
Sequence name Arithmetic Geometric
Key parameter Slope \( m \) (common diff.) Base \( r \) (common ratio)

How to Construct the Function

1
Organize the data. List input-output pairs in a table with equal input steps.
2
Compute differences. Subtract consecutive outputs. If they are constant, it is linear.
3
Compute ratios. Divide consecutive outputs. If they are constant, it is exponential.
4
Find starting value. Identify \( b = f(0) \) for linear, or \( a = f(0) \) for exponential.
5
Write the equation. Plug \( m \) and \( b \) (linear) or \( a \) and \( r \) (exponential) into the formula.

Example 1: Linear from a Table

\( x \) 0 1 2 3 4
\( f(x) \) 5 8 11 14 17

Example 2: Exponential from a Table

\( x \) 0 1 2 3 4
\( g(x) \) 4 12 36 108 324

Example 3: From Two Points

An exponential function passes through \( (1, 10) \) and \( (3, 40) \). Find \( f(x) = a \cdot r^x \).

Example 4: Linear from a Description

"A plumber charges a $50 service fee plus $30 per hour." Write a function \( C(h) \) for the total cost after \( h \) hours.

Example 5: Exponential from a Description

"A colony of bacteria starts at 500 and doubles every hour." Write a function \( P(t) \) for the population after \( t \) hours.

Reading from a Graph

0 1 2 3 4 5 0 10 20 30 40
\( (0, 40) \)
\( (1, 20) \)
\( (2, 10) \)
Decay

Common Mistakes

✕ Confusing \( m \) with \( r \)
A constant difference means linear (add). A constant ratio means exponential (multiply). Always test both.
✕ Wrong starting value
Use \( f(0) \) for the initial value, not \( f(1) \). If only \( f(1) \) is given, divide by \( r \) to get \( a \).
✕ Forgetting unequal steps
Differences and ratios only work when \( x \) increases by equal steps. Re-space the table first if needed.

Question 1 of 5

A table shows: \( f(0) = 7 \), \( f(1) = 11 \), \( f(2) = 15 \), \( f(3) = 19 \). Which function matches the data?

Question 2 of 5

A geometric sequence begins: \( 6, 18, 54, 162, \ldots \). Which function gives the \( n \)th term?

Question 3 of 5

An exponential function passes through \( (0, 8) \) and \( (2, 50) \). What is the value of \( r \) (the common ratio)?

Question 4 of 5

"A car loses 15% of its value each year. It was purchased for $20,000." Which function models the car's value \( V(t) \) after \( t \) years?

Question 5 of 5

An arithmetic sequence has \( a_3 = 14 \) and \( a_7 = 30 \). What is the explicit formula for \( a_n \)?