AI Tutor
Imagine you are programming a self-driving rover: sometimes a sensor measures where a boundary line cuts across two coordinate grid walls, while other times a radar measures the exact shortest distance and heading angle to an obstacle.
While slope-intercept form (y=mx+by = mx + b) is great for functions, two specialized representations β€” intercept form and normal form β€” let you read geometric measurements directly off the equation.

The Two-Intercept Form

When a straight line crosses the axes at (a,0)(a, 0) and (0,b)(0, b), we call aa the non-zero xx-intercept and bb the non-zero yy-intercept.
The slope between (a,0)(a, 0) and (0,b)(0, b) is m = rac{b - 0}{0 - a} = - rac{b}{a}.
Plugging this slope and the yy-intercept into y=mx+by = mx + b gives y = - rac{b}{a}x + b. Dividing every term by bb and moving xx to the left gives the two-intercept form:
\frac{x}{a} + rac{y}{b} = 1
Let's see how quickly this lets us analyze coordinate geometry problems.

Worked Example: Intercepts and Triangle Area

Convert the general linear equation 3x+4y=123x + 4y = 12 into intercept form, then find the area of the triangle it encloses with the coordinate axes.
To make the right side equal to 11, divide every term by the constant 1212:
\frac{3x}{12} + rac{4y}{12} = rac{12}{12} \implies rac{x}{4} + rac{y}{3} = 1