The y-intercept is the point where a line crosses the y-axis, and it is often written as the coordinate (0, b). So the key is to use the slope formula first, then substitute one point into the slope-intercept equation y = mx + b and solve for b. If you know two points on a straight line, you can find the y-intercept without seeing the graph. This method works for most straight lines, and it is one of the most practical algebra skills students use when analyzing linear relationships.
What the y-Intercept Represents
Every non-vertical straight line can be written in slope-intercept form:
y = mx + b
In this equation:
- m is the slope, which tells you how steep the line is.
- b is the y-intercept, which tells you where the line crosses the y-axis.
- x and y are coordinates of any point on the line.
The y-intercept always has an x-coordinate of 0, because the y-axis is the vertical line where x = 0. So when someone asks for the y-intercept, they usually want the value of b in the point (0, b).
Knowing two points is enough to define a straight line. Once the line is defined, its y-intercept is fixed. That is why “how to find y int with two points” is a common algebra question: two points give you the slope, and the slope plus one point gives you the intercept.
The Formula for Finding the y-Intercept from Two Points
Suppose you are given two points:
(x₁, y₁) and (x₂, y₂)
Follow these steps It's one of those things that adds up. And it works..
Step 1: Label the points clearly
Write down which point is point 1 and which is point 2. For example:
- Point 1: (x₁, y₁)
- Point 2: (x₂, y₂)
The order does not matter as long as you keep each x-value paired with its correct y-value.
Step 2: Calculate the slope
Use the slope formula:
m = (y₂ − y₁) / (x₂ − x₁)
This tells you how much y changes for every one-unit change in x.
Step 3: Substitute the slope and one point into y = mx + b
Choose either point. Substitute its x-value for x, its y-value for y, and the slope you found for m. Then solve for b Most people skip this — try not to..
To give you an idea, using point 1:
y₁ = m x₁ + b
So:
b = y₁ − m x₁
You can also use point 2:
b = y₂ − m x₂
Both formulas give the same answer if your slope is correct It's one of those things that adds up. Took long enough..
Step 4: Write the y-intercept as a coordinate
If you find b = 4, the y-intercept is the point (0, 4). Some teachers accept just 4 as the y-intercept, but writing it as a coordinate is clearer The details matter here..
Worked Example 1: Positive Slope
Find the y-intercept of the line passing through (2, 5) and (6, 13).
Label the points:
- (x₁, y₁) = (2, 5)
- (x₂, y₂) = (6, 13)
Find the slope:
m = (13 − 5) / (6 − 2) = 8 / 4 = 2
Now use y = mx + b with the point (2, 5):
5 = 2(2) + b
5 = 4 + b
b = 1
The y-intercept is (0, 1) That alone is useful..
Check with the other point (6, 13):
13 = 2(6) + 1
13 = 12 + 1
13 = 13
The answer is correct.
Worked Example 2: Negative Slope
Find the y-intercept of the line through (−3, 7) and (1, −1).
Label:
- **(
(x₁, y₁) = (−3, 7)
- (x₂, y₂) = (1, −1)
Find the slope:
m = (−1 − 7) / (1 − (−3)) = −8 / 4 = −2
Now use y = mx + b with the point (−3, 7):
7 = −2(−3) + b
7 = 6 + b
b = 1
The y-intercept is (0, 1) Nothing fancy..
Check with the other point (1, −1):
−1 = −2(1) + 1
−1 = −2 + 1
−1 = −1
The answer is correct But it adds up..
Worked Example 3: Fractional Slope
Find the y-intercept of the line through (1, 1) and (4, 3) Small thing, real impact..
Label the points:
- (x₁, y₁) = (1, 1)
- (x₂, y₂) = (4, 3)
Find the slope:
m = (3 − 1) / (4 − 1) = 2 / 3
Substitute the slope and the point (1, 1) into y = mx + b:
1 = (2/3)(1) + b
1 = 2/3 + b
b = 1 − 2/3 = 1/3
The y-inter
The y‑intercept is ((0,\tfrac13)) Simple, but easy to overlook. No workaround needed..
To verify, substitute the second point ((4,3)) into the equation (y = \frac{2}{3}x + \tfrac13):
[ 3 = \frac{2}{3}(4) + \frac13 \quad\Longrightarrow\quad 3 = \frac{8}{3} + \frac{1}{3} = \frac{9}{3}=3, ]
which holds true, confirming the result.
When the slope is a fraction, the arithmetic proceeds in the same manner; the only extra care needed is to handle the rational operations correctly.
If the two given points share the same (x)-value, the denominator in the slope formula becomes zero, indicating an undefined slope. A vertical line has the form (x = c) and therefore never intersects the y‑axis, so a y‑intercept does not exist in this case.
Conversely, if the points have identical (y)-values, the slope equals zero and the line is horizontal, described by (y = k). The y‑intercept is simply (k), which can be read directly from either point.
Another approach is to employ the point‑slope form, (y - y_1 = m(x - x_1)). Setting (x = 0) yields (y
Setting (x = 0) yields (y = y_1 - m x_1), which is exactly the (b)-value we have been calculating. This method is algebraically equivalent to substituting into (y = mx + b) but can be slightly faster when you want to avoid solving a separate equation for (b).
Quick Reference: Steps to Find the y‑Intercept from Two Points
| Step | Action |
|---|---|
| 1 | Label the coordinates ((x_1, y_1)) and ((x_2, y_2)). |
| 2 | Compute the slope (m = \dfrac{y_2 - y_1}{x_2 - x_1}). |
| 3 | Substitute (m) and one point into (y = mx + b) (or use (b = y_1 - m x_1)). |
| 4 | Solve for (b). |
| 5 | Write the y‑intercept as the ordered pair ((0, b)). |
| 6 | (Optional) Verify by plugging the other point into the final equation. |
Common Pitfalls to Avoid
- Mixing up the order of subtraction in the slope formula. Always use (\frac{y_2 - y_1}{x_2 - x_1}) consistently.
- Forgetting that a vertical line has no y‑intercept. If (x_1 = x_2), the slope is undefined and the line never crosses the y‑axis.
- Reporting only the number (b) when the instructions ask for the coordinate ((0, b)). Both are often accepted, but the coordinate is unambiguous.
- Sign errors when substituting negative coordinates. Use parentheses: (m = \frac{-1 - 7}{1 - (-3)}), not (\frac{-1 - 7}{1 - -3}).
Conclusion
Finding the y‑intercept of a line when given two points is a fundamental skill that combines slope calculation with basic algebraic manipulation. So remember to check for the special case of a vertical line, where the y‑intercept does not exist. Because of that, whether the slope is positive, negative, zero, or a fraction, the process remains the same: determine (m), substitute into (y = mx + b) (or the equivalent point‑slope shortcut), and solve for (b). With practice, these steps become automatic, providing a reliable foundation for more advanced topics in coordinate geometry and linear modeling The details matter here..