Algebra 2 • Construct & Compare Functions

Constructing Linear and Exponential Functions

Learn to identify, build, and distinguish the two most fundamental function families that model change in the real world.

Historical Context & Motivation

The concepts of linear and exponential growth are far older than modern algebra. From the earliest civilizations tracking harvests that grew by fixed amounts each season, to the legendary tale of grains doubling on a chessboard, humans have long recognized that some quantities change at a steady pace while others accelerate explosively. Understanding these two patterns of change sits at the foundation of mathematics, economics, biology, and nearly every quantitative discipline.

~1800 BCE
Babylonian clay tablets contain arithmetic progressions — sequences that increase by a constant difference — used to predict astronomical events. These are the earliest recorded linear patterns.
~300 BCE
Euclid's Elements formalizes geometric sequences (each term is a fixed multiple of the previous one), laying the groundwork for what we now call exponential functions.
1614 CE
John Napier publishes his work on logarithms, providing the inverse operation for exponential functions and revolutionizing computation in the sciences.
1798 CE
Thomas Malthus contrasts linear growth of food supplies with exponential growth of human populations, making these two function families central to social science and policy.
20th–21st Century
Linear and exponential models become essential tools in finance (compound interest), epidemiology (viral spread), computer science (algorithm analysis), and climate science (carbon accumulation).

The central question of this lesson is deceptively simple: given a real-world situation or a set of data, how do we decide whether the relationship is linear or exponential, and how do we write the function that describes it? Answering this question equips you to model, predict, and reason about change in virtually any field.

Core Principles & Definitions

At the heart of function construction lies a single distinction: how does the output change as the input increases by equal steps? If the output changes by a constant amount, the function is linear. If the output changes by a constant ratio (a constant percentage), the function is exponential. Every definition, formula, and graph property you'll learn traces back to this one idea.

1

Constant Rate of Change

A linear function has a constant first difference. For every unit increase in x, y changes by the same fixed amount, called the slope (m). This produces a straight-line graph.
2

Constant Ratio of Change

An exponential function has a constant ratio between successive outputs. For every unit increase in x, y is multiplied by a fixed factor, called the base (b). This produces a curve that grows or decays.
3

Initial Value

Both function types begin from an initial value: the output when x = 0. For linear functions this is the y-intercept (b in slope-intercept form). For exponential functions it is the coefficient a in f(x) = a · bx.
4

Domain & Range

Both linear and exponential functions have a domain of all real numbers. However, while a linear function's range is all real numbers, an exponential function (with a > 0, b > 0, b ≠ 1) has a range of y > 0 — it never touches zero.
Key Takeaway
Think of a linear function like walking up a staircase where every step is the same height — you climb steadily. An exponential function is like a staircase where each step is twice as tall as the last — at first it seems gentle, but soon the steps tower above you. The type of change — additive versus multiplicative — is the single idea that separates these two function families.

Visual Explanation

The most powerful way to distinguish linear from exponential functions is to see them side by side on a coordinate plane. The diagram below plots the linear function f(x) = 2x + 3 alongside the exponential function g(x) = 3 · 2x. Both share the same initial value of 3 when x = 0, but their behavior diverges rapidly.

Coordinate plane comparing f(x) = 2x + 3 (linear) and g(x) = 3 · 2ˣ (exponential)

Notice how both functions start at the same point, (0, 3). The linear function rises steadily — each step to the right adds exactly 2 to the output. The exponential function, by contrast, multiplies the output by 2 at each step. At x = 3 the exponential has already reached 24 while the linear function is only at 9, and by x = 5 the exponential would be at 96 — far off the chart. This "slow start, dramatic finish" behavior is the signature of exponential growth, and it is the visual intuition you should carry throughout this lesson.

Mathematical Framework

To construct a linear or exponential function from data or context, you need to know the standard forms, what each parameter means, and how to find the unknowns. Below are the key equations and the strategies for extracting their components.

Slope-Intercept Form (Linear)
f(x) = mx + b
m = slope (constant rate of change); b = y-intercept (initial value when x = 0)

The slope is calculated from any two points (x₁, y₁) and (x₂, y₂) on the line:

Slope Formula
m = (y₂ − y₁) / (x₂ − x₁)
The change in output divided by the change in input — rise over run.

Once you know m, substitute any known point into y = mx + b and solve for b. Alternatively, if you are given a table of equally spaced x-values, check whether the first differences (the differences between consecutive y-values) are constant. If they are, the function is linear and that constant difference equals the slope (when the x-spacing is 1).

General Exponential Form
g(x) = a · bˣ
a = initial value (output when x = 0); b = base (constant growth/decay factor, b > 0, b ≠ 1)

The base b is the ratio of any two consecutive outputs when x-values are equally spaced:

Finding the Base
b = g(x + 1) / g(x)
If this ratio is constant across the data, the function is exponential.

When b > 1 the function models growth; when 0 < b < 1 it models decay. The percentage rate of growth or decay is (b − 1) × 100%. For instance, a base of 1.05 corresponds to 5% growth per period, and a base of 0.92 corresponds to 8% decay per period.

Percent Change Form
g(x) = a(1 + r)ˣ
r = percent rate as a decimal (positive for growth, negative for decay); 1 + r = b
Key Takeaway
The recipe is the same for both families: identify the type of change (additive → linear, multiplicative → exponential), find the rate (slope m or base b), and find the initial value (b or a). Plug into the standard form and you have your function.

Identifying the Function Type from Data

In practice, you are often given a table of values and asked to determine whether the relationship is linear, exponential, or neither. The systematic approach is to compute both first differences and ratios of consecutive outputs, then check which one is constant. The table and flowchart below demonstrate this process.

xyFirst Difference (Δy)Ratio (yₙ₊₁ / yₙ)Conclusion
04Exponential
y = 4 · 3x
112+83
236+243
3108+723
4324+2163

The first differences are 8, 24, 72, 216 — clearly not constant, so the function is not linear. The ratios, however, are all equal to 3, confirming an exponential relationship with base 3. Since y = 4 when x = 0, the initial value a = 4, and the function is y = 4 · 3x.

Flowchart for identifying whether a data set is linear, exponential, or neither

This flowchart is your algorithm for classifying any discrete data set. When the data points are not at equally spaced x-values, you can still apply the same logic by computing rates of change (difference quotients) and checking for constancy, or by computing ratios over equal intervals.

Worked Example

A biologist tracks a bacterial colony every hour. At hour 0 the colony has 500 cells, at hour 1 it has 750 cells, at hour 2 it has 1,125 cells, and at hour 3 it has 1,687.5 cells. Construct the function that models this population.

Bacterial Colony Growth
1
Step 1 — Check for a Linear PatternCompute the first differences between consecutive y-values:
750 − 500 = 250 ; 1125 − 750 = 375 ; 1687.5 − 1125 = 562.5 The differences are 250, 375, 562.5 — not constant. The relationship is not linear.
2
Step 2 — Check for an Exponential PatternCompute the ratios of consecutive outputs:
750 / 500 = 1.5 ; 1125 / 750 = 1.5 ; 1687.5 / 1125 = 1.5 Every ratio equals 1.5 — constant! The data is exponential with base b = 1.5.
3
Step 3 — Identify the Initial ValueAt x = 0 (hour 0), the population is 500. Therefore a = 500.
4
Step 4 — Write the FunctionSubstituting into the exponential form:
P(t) = 500 · 1.5ᵗ where t is the number of hours since the first measurement.
5
Step 5 — InterpretThe base 1.5 means the colony grows by 50% per hour (since 1.5 − 1 = 0.5 = 50%). Using this function we can predict, for example, the population at hour 6:
P(6) = 500 · 1.5⁶ = 500 · 11.390625 ≈ 5,695 cells

Linear vs. Exponential — A Comprehensive Comparison

Understanding the differences and similarities between linear and exponential functions helps you choose the right model for any situation. The table below summarizes the key properties side by side.

PropertyLinear f(x) = mx + bExponential g(x) = a · bˣ
Type of changeConstant addition (additive)Constant multiplication (multiplicative)
Graph shapeStraight lineCurve (J-shape or decay curve)
Key parameterSlope mBase b
Initial valueb (y-intercept)a (coefficient)
DomainAll real numbersAll real numbers
RangeAll real numbersy > 0 (when a > 0)
AsymptoteNoneHorizontal: y = 0
Real-world exampleHourly wage, constant-speed travelCompound interest, population growth
Long-run behaviorGrows/decreases without bound at steady rateGrows without bound (b > 1) or approaches 0 (0 < b < 1)
Key Takeaway
Linear functions are the right choice when something changes by a fixed amount per period — like earning $15 per hour or losing 3 gallons of water per day. Exponential functions are the right choice when something changes by a fixed percentage per period — like a 5% annual return on an investment or a 10% daily decrease in a drug's concentration. The distinction isn't about "fast" versus "slow" growth; it's about addition versus multiplication.

Connections to Advanced Mathematics

Linear and exponential functions are the starting points for a much richer landscape of mathematical models. Understanding them well provides the scaffolding for several advanced topics you may encounter later in your studies.

Arithmetic and geometric sequences are the discrete counterparts of linear and exponential functions, respectively. A linear function evaluated at integer inputs produces an arithmetic sequence, and an exponential function evaluated at integer inputs produces a geometric sequence. The study of series — summing these sequences — leads directly to formulas for compound interest, annuities, and the convergence of infinite geometric series.

Logarithmic functions are the inverses of exponential functions. Just as subtraction undoes addition, logarithms undo exponentiation. Solving the equation a · bx = c for x requires logarithms, making them essential whenever you need to find when an exponential process reaches a certain level (e.g., "when will my investment double?").

Piecewise and logistic models extend these ideas to situations where growth starts exponential but levels off due to constraints (limited resources, market saturation). The logistic function, f(x) = L / (1 + e−k(x − x₀)), combines exponential growth with an upper bound — a critical model in epidemiology and ecology.

ConceptThis LessonAdvanced Extension
Constant additionLinear function f(x) = mx + bArithmetic sequences & series
Constant multiplicationExponential function g(x) = a · bxGeometric sequences & series, continuous compounding
Solving for xIsolate x in linear equationsLogarithmic equations, change-of-base formula
Modeling real growthUnlimited growth or decayLogistic models, bounded growth, differential equations

By mastering the construction of linear and exponential functions now, you are building the conceptual foundation for calculus (where rates of change become instantaneous), statistics (where regression models fit these functions to noisy data), and mathematical modeling in any applied science.

Practice Problems

PROBLEM 1CONCEPTUAL
A function has the property that every time x increases by 1, the output doubles. Is this function linear or exponential? Explain your reasoning without using a formula.
PROBLEM 2BASIC IDENTIFICATION
The table below shows input-output pairs. Determine whether the function is linear, exponential, or neither, and write its equation. x: 0, 1, 2, 3, 4 y: 7, 11, 15, 19, 23
PROBLEM 3INTERMEDIATE
A car purchased for $28,000 depreciates so that its value decreases by 18% each year. Write an exponential function V(t) that models the car's value after t years, and find its value after 5 years (round to the nearest dollar).
PROBLEM 4APPLIED / MULTI-STEP
Two bank accounts are opened on the same day. Account A starts with $1,000 and earns a flat $50 per month (simple interest). Account B starts with $1,000 and earns 4% per month (compounded). Write a function for each account. In which month does Account B first exceed Account A?
PROBLEM 5CRITICAL THINKING / SYNTHESIS
A student claims: "Exponential functions always grow faster than linear functions." Construct a specific counterexample where a linear function has a greater output than an exponential function for all x-values from 0 to 100. Then explain under what conditions the student's claim would eventually become true.

Putting It All Together

In this lesson you learned to construct and distinguish the two most fundamental function families in algebra. A linear function, written f(x) = mx + b, models situations where the output changes by a constant amount (the slope m) for each unit increase in the input, producing a straight-line graph. An exponential function, written g(x) = a · bx, models situations where the output changes by a constant ratio (the base b) for each unit increase, producing a curve that accelerates or decays. To identify the type from data, you compute first differences (constant → linear) or consecutive ratios (constant → exponential). Both functions are anchored by an initial value — the output at x = 0.

The percent-change form g(x) = a(1 + r)x connects the base to a real-world growth or decay rate. While linear functions are appropriate for constant-rate processes (hourly wages, steady-speed travel), exponential functions capture percentage-rate processes (compound interest, population dynamics, radioactive decay). Though exponential growth always overtakes linear growth in the long run, the crossover point depends on the specific parameters. Mastery of these two families prepares you for logarithms, sequences and series, and ultimately the broader world of mathematical modeling.

Varsity Tutors • Algebra 2 • Constructing Linear and Exponential Functions