Sub topic 6
Finding x- and y-Intercepts
Assume you can solve linear equations and work with slope-intercept form, y = mx + b. An intercept is where a graph crosses an axis. The x-intercept is where the graph crosses the x-axis. The y-intercept is where it crosses the y-axis.
The two rules
Every point on the x-axis has a y-coordinate of 0. Therefore, find the x-intercept by setting y = 0 and solving for x. Write the result as (x, 0).
Every point on the y-axis has an x-coordinate of 0. Therefore, find the y-intercept by setting x = 0 and solving for y. Write the result as (0, y).
| Intercept | Coordinate condition | Resulting point |
|---|---|---|
| x-intercept | `y = 0` | `(x, 0)` |
| y-intercept | `x = 0` | `(0, y)` |
Example: standard-form equation
Find both intercepts of 2x + 3y = 12.
For the x-intercept, set y = 0:
2x + 3(0) = 12
2x = 12, so x = 6.
The x-intercept is (6, 0).
For the y-intercept, set x = 0:
2(0) + 3y = 12
3y = 12, so y = 4.
The y-intercept is (0, 4).
You can graph the line by plotting these two points and drawing the line through them.
Intercepts from slope-intercept form
In y = mx + b, the y-intercept is immediately visible: it is (0, b).
To find the x-intercept, set y = 0:
0 = mx + b
-b = mx
x = -b/m, provided m is not 0.
For example, consider y = 3x - 1. The y-intercept is (0, -1). For the x-intercept:
0 = 3x - 1
3x = 1
x = 1/3
Thus, the x-intercept is (1/3, 0).
def intercepts(m, b):
y_intercept = (0, b)
x_intercept = None if m == 0 else (-b / m, 0)
return x_intercept, y_intercept
print(intercepts(3, -1)) # ((0.3333333333333333, 0), (0, -1))Special cases and common errors
A horizontal line has equation y = c. If c is not 0, it has a y-intercept (0, c) but no x-intercept. If c = 0, the line is the x-axis, so every point on it is an x-intercept.
A vertical line has equation x = c. If c is not 0, it has an x-intercept (c, 0) but no y-intercept.
For GRE questions, setting a coordinate equal to zero is often faster than graphing. In a quantitative comparison question, calculate each relevant intercept before comparing. Watch for negative signs and remember that the x-intercept is not the same as the slope.
Exercise
Find the x- and y-intercepts of 4x - 2y = 8.
Show answer
Set y = 0 to get 4x = 8, so the x-intercept is (2, 0). Set x = 0 to get -2y = 8, so the y-intercept is (0, -4).