Mathwords logoMathwords

Standard Form for the Equation of a Line

Standard Form for the Equation of a Line
General Form for the Equation of a Line

Ax + By = C, where A > 0 and, if possible, A, B, and C are relatively prime integers. The standard form is used in some algebra classes for practice in manipulating equations. Otherwise it is used far less often than other forms for the equation of a line.

Note: An alternate standard form, Ax + By + C = 0, is used as part of the formula for distance from a point to a line.

 

 

See also

Slope-intercept, point-slope, two intercept, vertical line, horizontal line

Key Formula

Ax+By=CAx + By = C
Where:
  • AA = A positive integer coefficient of x (A > 0)
  • BB = An integer coefficient of y
  • CC = An integer constant on the right side of the equation
  • xx = The independent variable
  • yy = The dependent variable

Worked Example

Problem: Convert the slope-intercept equation y = (2/3)x - 4 into standard form.
Step 1: Start with the slope-intercept form and move the x-term to the left side by subtracting (2/3)x from both sides.
23x+y=4-\tfrac{2}{3}x + y = -4
Step 2: A must be positive, so multiply every term by -1.
23xy=4\tfrac{2}{3}x - y = 4
Step 3: Eliminate the fraction by multiplying every term by 3.
2x3y=122x - 3y = 12
Step 4: Check the requirements: A = 2 > 0, all coefficients are integers, and gcd(2, 3, 12) = 1, so A, B, and C are relatively prime.
2x3y=122x - 3y = 12 \quad \checkmark
Answer: The standard form is 2x − 3y = 12.

Another Example

This example starts from two points instead of an existing equation, showing how to build the standard form from scratch using the slope formula and point-slope form first.

Problem: Write the equation of the line passing through the points (1, 5) and (3, 9) in standard form.
Step 1: Find the slope using the two points.
m=9531=42=2m = \frac{9 - 5}{3 - 1} = \frac{4}{2} = 2
Step 2: Write the equation in point-slope form using the point (1, 5).
y5=2(x1)y - 5 = 2(x - 1)
Step 3: Distribute and simplify to slope-intercept form.
y=2x2+5=2x+3y = 2x - 2 + 5 = 2x + 3
Step 4: Move the x-term to the left side by subtracting 2x from both sides.
2x+y=3-2x + y = 3
Step 5: Multiply every term by -1 so that A is positive.
2xy=32x - y = -3
Answer: The standard form is 2x − y = −3.

Frequently Asked Questions

What is the difference between standard form and slope-intercept form of a line?
Slope-intercept form is y = mx + b, which directly shows the slope m and the y-intercept b. Standard form is Ax + By = C, which places both variables on the same side and uses integer coefficients. Slope-intercept form is generally more convenient for graphing and identifying slope, while standard form is preferred for certain algebraic manipulations and for representing vertical lines.
Why does A have to be positive in standard form?
Requiring A > 0 is a convention that guarantees a unique way to write the equation. Without this rule, 2x + 3y = 6 and −2x − 3y = −6 would both be valid, creating ambiguity. The positive-A rule ensures every line has exactly one standard-form representation (after also making the coefficients relatively prime).
How do you find the slope from standard form?
Given Ax + By = C, you can solve for y to get y = (−A/B)x + C/B. The slope is therefore m = −A/B, provided B ≠ 0. If B = 0, the line is vertical and its slope is undefined.

Standard Form (Ax + By = C) vs. Slope-Intercept Form (y = mx + b)

Standard Form (Ax + By = C)Slope-Intercept Form (y = mx + b)
FormulaAx + By = Cy = mx + b
What it reveals directlyInteger coefficients; both intercepts are easy to findSlope (m) and y-intercept (b)
Coefficient requirementsA, B, C are relatively prime integers; A > 0m and b can be any real numbers
Vertical linesCan represent them (B = 0, e.g., 3x = 9)Cannot represent vertical lines
Best used forAlgebraic manipulation, systems of equations, distance-to-line formulaQuick graphing, reading off slope and y-intercept

Why It Matters

Standard form appears regularly in algebra courses when you solve systems of linear equations, because having both variables on the left side makes elimination straightforward. It is also the form used in the point-to-line distance formula, which comes up in coordinate geometry and analytic geometry. Standardized tests and textbooks frequently ask you to convert between standard form and other forms, so fluency with this format is a practical skill.

Common Mistakes

Mistake: Leaving A as a negative number.
Correction: The convention requires A > 0. If you end up with a negative coefficient on x, multiply the entire equation by −1 before writing your final answer.
Mistake: Leaving fractions or decimals in the equation.
Correction: Standard form requires A, B, and C to be integers. Multiply every term by the least common denominator to clear all fractions, then verify that the coefficients share no common factor greater than 1.

Related Terms