Where Did These Functions Come From?
Functions are at the heart of mathematics because they describe how one quantity depends on another. The idea might sound abstract, but humans have been tracking relationships between numbers for thousands of years — every time a merchant calculated cost based on quantity, or an astronomer predicted where a planet would be tomorrow, they were using the concept of a function. The two most common types you'll meet in Algebra 1, linear functions and exponential functions, each have their own fascinating history.
The central question this lesson answers is straightforward: when you're given information about a relationship — a table of values, a graph, or a description in words — how do you decide whether it's linear or exponential, and how do you write the function rule that captures it?
Core Principles & Definitions
Before you can construct a function, you need a clear understanding of the two types you'll be building. A linear function describes a relationship where the output changes by the same amount every time the input increases by one unit. An exponential function describes a relationship where the output is multiplied by the same factor every time the input increases by one unit. These two ideas — constant addition versus constant multiplication — are the key to telling them apart.
Constant Rate of Change (Linear)
Constant Ratio of Change (Exponential)
Initial Value
Constructing = Writing the Rule
Seeing the Difference: Linear vs. Exponential
One of the fastest ways to tell whether a relationship is linear or exponential is to look at its graph. A linear function always produces a straight line, while an exponential function produces a curve that bends upward (growth) or downward (decay). The diagram below plots both types on the same coordinate plane so you can compare them side by side.
Notice how the linear function (the straight line) rises at a perfectly constant pace — it gains the same vertical distance for every horizontal step. The exponential function (the curve) starts out slowly, nearly flat, then rockets upward as x increases. Both functions happen to share the point (0, 1), but they quickly diverge because they grow in fundamentally different ways. By x = 3, the linear function outputs 7 while the exponential outputs 8 — close — but by x = 5 the linear would give 11 while the exponential would give 32. That widening gap is what makes exponential growth so powerful and so important to recognize.
The Equations You'll Use
Every linear and exponential function can be described by a simple equation once you know its key parameters. Let's look at each form, understand what every part means, and see how to find the values you need.
The slope (m) tells you how much the output changes each time x increases by 1. If the slope is positive, the function increases; if negative, it decreases. You can calculate slope from any two points (x₁, y₁) and (x₂, y₂) using the formula below.
Once you have the slope, plug one of your known points into f(x) = mx + b to solve for b. That gives you the complete equation.
The initial value (a) is the output at x = 0. The common ratio (b) is the factor by which the output multiplies every time x increases by 1. If b > 1 the function models exponential growth; if 0 < b < 1 it models exponential decay. You can find the common ratio by dividing any output by the previous output when the x-values increase by 1.
Identifying the Type from a Table
In many problems, you'll be handed a table of (x, y) values and asked to construct the function that fits it. The process has two stages: first, determine whether the data is linear or exponential; second, find the parameters and write the equation. The table and diagram below walk through this process step by step.
| x | y (Output) | Difference (Δy) | Ratio (y_next / y) |
|---|---|---|---|
| 0 | 3 | — | — |
| 1 | 6 | +3 | ×2 |
| 2 | 12 | +6 | ×2 |
| 3 | 24 | +12 | ×2 |
| 4 | 48 | +24 | ×2 |
The differences column is not constant (3, 6, 12, 24 — those keep changing), so the data is not linear. But the ratios column is constant at 2 every time. That tells us this is an exponential function with a common ratio of b = 2. Since the output at x = 0 is 3, the initial value is a = 3. The function is f(x) = 3 · 2x.
Follow this flowchart any time you need to identify a function type. Compute the differences first — if they're all the same, you've found a linear function and you're done. If not, compute the ratios. Constant ratios mean exponential. If neither column is constant, the data doesn't fit a simple linear or exponential model (which is a topic for a later course). In Algebra 1, the vast majority of problems you'll encounter will clearly be one type or the other.
Worked Example: Building Two Functions
Let's work through a full problem that asks you to construct both a linear and an exponential function from given data.
Linear vs. Exponential — Side by Side
It helps to see all the similarities and differences in one place. The table below compares the two function types across every important characteristic you'll encounter in Algebra 1.
| Feature | Linear | Exponential |
|---|---|---|
| Equation form | f(x) = mx + b | f(x) = a · bˣ |
| Change pattern | Add the same amount each step | Multiply by the same factor each step |
| Graph shape | Straight line | Curve (steep rise or gradual decay) |
| Key parameter | Slope (m) | Common ratio (b) |
| Starting value | y-intercept (b) | Initial amount (a) |
| Identification test | Constant differences | Constant ratios |
| Real-world example | Earning $12/hour at a job | Bacteria doubling every hour |
| Long-run behavior | Grows (or shrinks) steadily forever | Growth: explodes upward; Decay: approaches zero |
Looking Ahead: Beyond the Basics
The skills you're building here — recognizing patterns in data and translating them into equations — are the foundation for a huge range of more advanced topics. In later courses, you'll encounter situations where a relationship isn't purely linear or purely exponential, and you'll need new tools to handle them.
| What You Know Now | What Comes Next |
|---|---|
| Linear functions: f(x) = mx + b | Systems of linear equations — solving where two lines intersect (Algebra 1/2) |
| Exponential functions: f(x) = a · bˣ | Logarithms — the inverse of exponentials, used to "undo" exponential growth (Algebra 2) |
| Constructing functions from tables | Regression analysis — using technology to find best-fit functions for messy real-world data (Statistics) |
| Recognizing growth patterns | Quadratic and polynomial functions — patterns where neither differences nor ratios are constant (Algebra 2) |
For now, the most important thing is to get comfortable with the difference-and-ratio tests, and to practice writing equations from tables, graphs, and verbal descriptions. Every future function type you meet will build on these exact skills. One particularly useful connection: compound interest in finance uses the exponential formula directly. If you deposit $500 in a savings account that earns 3% annual interest, after x years you'd have f(x) = 500 · 1.03x. The math you're learning right now has real money attached to it.
Practice Problems
Try these five problems on your own before revealing the answers. They start with a straightforward concept check and build up to multi-step reasoning.
Lesson Review
In this lesson, you learned to construct two of the most important function types in algebra. A linear function, written as f(x) = mx + b, models situations where the output changes by a constant amount (the slope m) for every unit increase in the input, starting from an initial value b. An exponential function, written as f(x) = a · bˣ, models situations where the output is multiplied by a constant factor (the common ratio b) for every unit increase, starting from an initial amount a. On a graph, linear functions produce straight lines and exponential functions produce curves that either rise steeply or decay toward zero.
To identify which type fits a set of data, use the difference test (constant differences → linear) and the ratio test (constant ratios → exponential). Once you know the type, extract the key parameters — slope and intercept for linear, or initial value and common ratio for exponential — and plug them into the appropriate equation template. These two function families appear everywhere, from budgeting and pricing to population growth and radioactive decay, making them essential tools for understanding the quantitative world around you.