Skip to content

Mathematics · Ch 11 — Straight Lines

Slope-Intercept Form

6

Slope-Intercept Form

This section specializes the point-slope form of Section 5 to the one particular point every non-vertical line is guaranteed to have: the point where it crosses the y-axis.

The y-intercept. A non-vertical line crosses the y-axis exactly once, at a point of the form (0,c)(0,c) for some real number cc, called the y-intercept of the line.

Derivation. Apply the point-slope form of Section 5 with (x1,y1)=(0,c)(x_1,y_1)=(0,c):

y−c=m(x−0)=mx.y - c = m(x-0) = mx.

Rearranging,

y=mx+c\boxed{y = mx + c}

— the slope-intercept form. It displays the line's slope mm and y-intercept cc directly as the coefficients once the equation is solved for yy: the coefficient of xx is the slope, and the constant term is the y-intercept.

Reading mm and cc off a general equation. Given any linear equation Ax+By+C=0Ax+By+C=0 with B≠0B\ne 0, solving for yy gives y=−ABx−CBy = -\dfrac{A}{B}x - \dfrac{C}{B}, so by direct comparison with y=mx+cy=mx+c: slope m=−ABm=-\dfrac{A}{B} and y-intercept c=−CBc=-\dfrac{C}{B}. This is the fastest way to extract a line's slope from its general equation, without needing two explicit points on it.

Special case: line through the origin. When c=0c=0, the slope-intercept form reduces to y=mxy=mx, the equation of every line through the origin with slope mm.

Why B≠0B\ne 0 is required. A line parallel to the y-axis (Section 4, x=ax=a) has B=0B=0 in general form and no finite slope, so it has no y-intercept in this sense either (it crosses the y-axis only if a=0a=0, and then coincides with the whole axis) — it is the one line shape that never has a slope-intercept equation. …