How Equations Represent Linear Functions- Explained
What Linear Functions Actually Are
A linear function is just a relationship where output changes at a constant rate relative to input. That's it. No curves, no sudden jumps—just straight-line behavior.
When you see an equation like y = 3x + 5, you're looking at a linear function. The equation tells you exactly how y changes when x changes. Every time x increases by 1, y increases by 3. The "+5" is where y starts when x is zero.
The Basic Equation Format
Every linear function can be written as:
y = mx + b
Where:
- m = slope (rate of change)
- b = y-intercept (where the line crosses the y-axis)
This is called slope-intercept form. It's the most common way to represent linear functions, and once you see it this way, everything else clicks.
Breaking Down the Slope
The slope tells you how steep the line is. A slope of 2 means y rises 2 units for every 1-unit increase in x. A slope of -0.5 means y drops half a unit for every increase in x.
Calculate slope between two points using:
slope = (y₂ - y₁) ÷ (x₂ - x₁)
Pick any two points on the line, plug in the values, and you get the slope.
Understanding the Y-Intercept
The y-intercept is where the line hits the y-axis. This happens when x = 0. So in y = 2x + 7, the line crosses the y-axis at (0, 7).
If you have a table of values and need to find the equation, check what y equals when x is zero. That's your b value.
Different Forms of Linear Equations
Linear equations aren't limited to y = mx + b. You can rearrange them depending on what information you have.
Point-Slope Form
When you know one point on the line and the slope, use:
y - y₁ = m(x - x₁)
This is useful when you're given a point and slope but haven't solved for y yet.
Standard Form
Ax + By = C
Here, A, B, and C are integers, and A should be non-negative. This format makes it easy to find intercepts. Set x = 0 to find the y-intercept, set y = 0 to find the x-intercept.
How to Match Equations to Tables and Graphs
This is where students get tripped up. You're given a table or graph and asked to write the equation. Here's how to do it:
From a Table
- Pick two points and calculate the slope
- Use one point and the slope in point-slope form
- Solve for y to get slope-intercept form
Example: Table shows (2, 7) and (5, 16)
Slope = (16 - 7) ÷ (5 - 2) = 9 ÷ 3 = 3
Using point (2, 7): y - 7 = 3(x - 2)
Simplify: y = 3x + 1
From a Graph
- Find the y-intercept (where it crosses the y-axis)
- Pick two points and calculate slope using rise over run
- Plug into y = mx + b
Comparing Linear Equation Forms
| Form | Equation | Best When You Know |
|---|---|---|
| Slope-Intercept | y = mx + b | Slope and y-intercept |
| Point-Slope | y - y₁ = m(x - x₁) | Slope and one point |
| Standard | Ax + By = C | Intercepts or integer coefficients |
| Two-Point | Derive from two points | Two points, nothing else |
Common Mistakes That Mess Up Your Equations
- Swapping the slope formula — (y₁ - y₂) ÷ (x₁ - x₂) gives the same result as (y₂ - y₁) ÷ (x₂ - x₁). Sign errors are the real killer here.
- Confusing x and y — The variable in the numerator of your slope calculation must match the variable in the denominator's corresponding point.
- Forgetting to solve for y — If you use point-slope form, you still need to isolate y to get the final equation.
- Misreading the y-intercept — It's the y-value when x = 0, not when x = 1.
How to Get Started: Writing Linear Equations From Scratch
Here's a practical process you can use every time:
- Identify what you know — Do you have a slope and point? Two points? A graph? A table?
- Find the slope first — This is usually the critical step. If you have a graph, count the rise and run between two clear points.
- Find or calculate the y-intercept — Use b = y - mx with one of your points.
- Write the equation — Plug m and b into y = mx + b.
- Verify — Plug in a point you know is on the line. It should satisfy the equation.
Example: You know the line passes through (4, 11) with slope 2.
b = 11 - 2(4) = 11 - 8 = 3
Equation: y = 2x + 3
Check with the point: 2(4) + 3 = 8 + 3 = 11 ✓
When Linear Functions Show Up in Real Problems
Word problems often describe linear relationships without using the word "linear." Watch for phrases like:
- "increases by a constant amount" or "decreases by a fixed rate"
- "costs $X plus $Y per unit"
- "starts at [value] and changes by [amount] for each [unit]"
These all translate directly to y = mx + b. The starting value is b, the rate of change is m, and the variable you're tracking is x.