Formula

Standard form of a line

Also written: Ax + By = C · general form of a linear equation

Ax+By=CAx + By = C

Standard form writes a linear equation with both variables on one side. It is the only common form that can describe a vertical line.

What each part means

A,BA, B
coefficients, not both zero; usually written as integers with A positive
CC
the constant term

When to use it

You need both intercepts quickly, you are setting up a system of equations, or the line is vertical and slope-intercept form cannot express it.

Why it survives alongside the friendlier form

Slope-intercept form is easier to graph, so standard form needs a reason to exist. It has two.

It can write a vertical line. Set B=0B = 0 and you get Ax=CAx = C, which is x=kx = k. No value of mm can do that, because a vertical line has undefined slope.

It lines up for elimination. In a system of equations, matching coefficients sit in columns and add away cleanly.

Both intercepts in two steps

Set each variable to zero in turn.

y=0    x=CAx=0    y=CBy = 0 \;\Rightarrow\; x = \frac{C}{A} \qquad x = 0 \;\Rightarrow\; y = \frac{C}{B}

For 3x+4y=123x + 4y = 12: the xx-intercept is (4,0)(4, 0) and the yy-intercept is (0,3)(0, 3). Plot both and draw the line — often faster than converting.

Reading the slope without converting

Solve the general form for yy:

By=Ax+Cy=ABx+CBBy = -Ax + C \quad\Rightarrow\quad y = -\frac{A}{B}x + \frac{C}{B}

So the slope is AB-\tfrac{A}{B} and the yy-intercept is CB\tfrac{C}{B}, whenever B0B \ne 0.

For 3x+4y=123x + 4y = 12 that gives a slope of 34-\tfrac{3}{4} — no rearranging needed.

Worked examples

Convert y=23x4y = \tfrac{2}{3}x - 4 to standard form.

Clear the fraction by multiplying through by 33, then move the xx term across:

3y=2x122x+3y=122x3y=123y = 2x - 12 \quad\Rightarrow\quad -2x + 3y = -12 \quad\Rightarrow\quad 2x - 3y = 12

The last step multiplies by 1-1 so that AA is positive, which is the usual convention.

Convert 2x5y=202x - 5y = 20 to slope-intercept form.

5y=2x+20y=25x4-5y = -2x + 20 \quad\Rightarrow\quad y = \tfrac{2}{5}x - 4

Lessons that teach this

Related