Pengi Editor's Note: This article was originally published by Think Academy. We're sharing it here for educational value. Think Academy is a leading K-12 math education provider.
How to Graph and Solve a Linear Function Step by Step
Understanding how to graph linear functions is a key Algebra 1 skill. In this guide, we'll explain what linear functions are, how to graph them, and how slope and intercepts workβcomplete with examples.
What Is a Linear Function?
A linear function is a function whose graph is a straight line. Its general form is:
π¦ = ππ₯ + π
where:
- π is the slope (rate of change)
- π is the y-intercept (where the line crosses the y-axis)
Key Features of a Linear Function Graph
1. Slope
The slope tells us how steep the line is:
[ \text{Slope} = \frac{\Delta y}{\Delta x} ]
- If a line is horizontal, the slope is 0
- If a line is vertical, the slope is undefined
2. Increasing or Decreasing
- Increasing if π > 0 (line goes up)
- Constant if π = 0 (line is flat)
- Decreasing if π < 0 (line goes down)
3. X-Intercept
The x-intercept is where the line crosses the x-axis (when π¦ = 0).
Example: in π¦ = 2π₯ + 3, set π¦ = 0:
0 = 2x + 3 β x = β3/2
4. Y-Intercept
The y-intercept is the constant π in π¦ = ππ₯ + π. Set π₯ = 0 to find it.
Example: in π¦ = 2π₯ + 3, the y-intercept is (0, 3).
Example Problems
Example 1
Problem: A line passes through (2, 7) and (8, 4). What is the slope?
Solution:
[ \text{Slope} = \frac{4 - 7}{8 - 2} = \frac{-3}{6} = -\frac{1}{2} ]
Example 2
Problem: What are the x-intercept and y-intercept of π¦ = 4π₯ β 5?
Solution:
- y-intercept: set π₯ = 0 β π¦ = β5, so (0, β5)
- x-intercept: set π¦ = 0 β 4π₯ = 5 β π₯ = 5/4, so (5/4, 0)
Summary
- A linear function has the form π¦ = ππ₯ + π
- Slope (m) tells us the steepness and direction
- Y-intercept (b) is where the line crosses the y-axis (set π₯ = 0)
- X-intercept is where the line crosses the x-axis (set π¦ = 0)
Try Pengi AI β Smarter Math Practice for Students
Pengi AI supports Kβ12 learners with personalized math practice, guided explanations, and feedback designed to help them build confidence and improve steadily.
