Sub topic 6
Standard Form: \(Ax + By = C\)
What standard form shows
Assume you already know how to plot points, calculate slope, solve one-variable equations, and work with fractions and negative numbers.
The standard form of a linear equation is
\[ Ax + By = C \]
Here, \(A\), \(B\), and \(C\) are usually integers. The coefficient \(A\) is normally non-negative, and \(A\) and \(B\) have no common factor greater than 1.
For example,
\[ 2x - 3y = 12 \]
is in standard form. The equation
\[ -2x + 3y = -12 \]
describes the same line, but it is usually rewritten by multiplying every term by \(-1\):
\[ 2x - 3y = 12 \]
Standard form is useful because it keeps both variables on the same side and makes the intercepts easy to find.
Finding intercepts
An intercept is where a line crosses an axis.
- To find the x-intercept, set \(y=0\).
- To find the y-intercept, set \(x=0\).
For the line
\[ 2x + 3y = 12 \]
set \(y=0\):
\[ 2x+3(0)=12 \]
\[ 2x=12 \]
\[ x=6 \]
The x-intercept is \((6,0)\).
Now set \(x=0\):
\[ 2(0)+3y=12 \]
\[ 3y=12 \]
\[ y=4 \]
The y-intercept is \((0,4)\).
You can graph the line by plotting these two points and drawing the line through them.
| Value set to zero | Remaining equation | Intercept |
|---|---|---|
| \(y=0\) | \(2x=12\) | \((6,0)\) |
| \(x=0\) | \(3y=12\) | \((0,4)\) |
Converting to standard form
Start with a point-slope equation:
\[ y-y1=m(x-x1) \]
For example, use slope \(2\) and point \((1,3)\):
\[ y-3=2(x-1) \]
Distribute:
\[ y-3=2x-2 \]
Move the \(x\)-term to the left and constants to the right:
\[ -2x+y=1 \]
The coefficient of \(x\) is negative, so multiply every term by \(-1\):
\[ 2x-y=-1 \]
This is standard form with \(A=2\), \(B=-1\), and \(C=-1\).
When fractions appear, multiply every term by the least common denominator. For example:
\[ y-1=\frac12(x-4) \]
Multiply by 2 after expanding:
\[ 2y-2=x-4 \]
Move terms:
\[ -x+2y=-2 \]
Multiply by \(-1\):
\[ x-2y=2 \]
from fractions import Fraction
from math import gcd
def point_slope_to_standard(m, x1, y1):
m, x1, y1 = Fraction(m), Fraction(x1), Fraction(y1)
a, b, c = -m, Fraction(1), y1 - m * x1
den = a.denominator * c.denominator
a, b, c = int(a * den), int(b * den), int(c * den)
g = gcd(gcd(a, b), c)
a, b, c = a // g, b // g, c // g
if a < 0 or (a == 0 and b < 0):
a, b, c = -a, -b, -c
return a, b, c
print(point_slope_to_standard(Fraction(1, 2), 4, 1))The output is (1, -2, 2), which represents \(x-2y=2\).
Checking a standard-form equation
Substitute a known point into the equation. For \(2x-y=-1\), test \((1,3)\):
\[ 2(1)-3=-1 \]
The result is true, so the point lies on the line.
Exercise
Find the x- and y-intercepts of \(4x+5y=20\).
Show answer
Set \(y=0\) to get \(x=5\), so the x-intercept is \((5,0)\). Set \(x=0\) to get \(y=4\), so the y-intercept is \((0,4)\).