Linear Functions- Definition, Graph, and Applications

What Is a Linear Function?

A linear function is any equation that graphs as a straight line. That's it. No curves, no weird shapes—just a line that goes up, down, or sideways at a constant rate.

The standard form looks like this:

f(x) = mx + b

Or in math class notation:

y = mx + b

Where m is the slope and b is the y-intercept. Once you know these two values, you can graph any linear function in seconds.

The Two Parts You Need to Know

Slope (m)

Slope tells you how steep the line is. It's calculated as:

Slope = rise / run (change in y divided by change in x)

Positive slope? Line goes up from left to right. Negative slope? Line goes down. A slope of zero gives you a flat horizontal line.

Y-Intercept (b)

This is where the line crosses the y-axis. Plug in x = 0 and solve for y. That point (0, b) is your y-intercept.

Forms of Linear Equations

Linear equations show up in different outfits. Here's the breakdown:

How to Graph a Linear Function

Here's the fastest way to graph y = mx + b:

  1. Plot the y-intercept (0, b) on the y-axis
  2. Use the slope m to find a second point — rise m units up (or down if negative), run 1 unit right
  3. Draw a line through the two points

Example: Graph y = 2x + 3

Linear Functions vs. Other Function Types

TypeEquationGraph ShapeRate of Change
Lineary = mx + bStraight lineConstant
Quadraticy = ax² + bx + cParabola (U-shape)Changes
Exponentialy = a·bˣCurved, rapid growth/decayPercentage-based
Absolute Valuey = |x|V-shapeChanges at vertex

Real-World Applications

Linear functions aren't just textbook junk. They model actual situations:

Any situation with a constant rate of change is a linear function in disguise.

How to Find the Equation From Two Points

Got two points? Find the slope first:

m = (y₂ - y₁) / (x₂ - x₁)

Then plug one point and the slope into point-slope form: y - y₁ = m(x - x₁)

Example: Points (1, 3) and (3, 7)

Common Mistakes to Avoid

Quick Reference Cheat Sheet

What You KnowUse This Form
Slope and y-intercepty = mx + b
Slope and one pointy - y₁ = m(x - x₁)
Two pointsFind slope, use point-slope
Intercepts onlyPlot (0, b) and (a, 0), draw line

When Linear Functions Don't Apply

Linear models break down when the rate of change isn't constant. Population growth, compound interest, and radioactive decay all curve—they need exponential or other nonlinear models.

If your data points don't form a straight line when plotted, a linear function won't cut it. Always check your scatter plot first.