Sub topic 2
Standard form: Ax + By = C
This chapter assumes you can plot points, compute slope as rise over run, rewrite y = mx + b, and solve linear equations with fractions and negative numbers. Standard form writes every line as Ax + By = C, where A, B and C are integers and A is not negative.
Why standard form
Slope-intercept form shows slope and y-intercept directly. Standard form shows the intercepts directly and keeps all coefficients integers, which makes it useful for systems of equations and for checking answers.
Converting slope-intercept to standard form
Start with y = (2/3)x + 1. Multiply both sides by the denominator, 3, to clear fractions:
3y = 2x + 3
Move the x term to the left side:
2x - 3y = -3
Here A = 2, B = -3 and C = -3. Each form describes the same line.
Converting point-slope to standard form
Start with y - 4 = -2(x - 1). Expand the right side and collect terms:
y - 4 = -2x + 2, so 2x + y = 6
Substitute the point (1, 4) to check: 2(1) + 4 = 6.
Reading intercepts from standard form
The x-intercept is where y = 0, so it equals C/A. The y-intercept is where x = 0, so it equals C/B. Either one is undefined when its denominator is zero.
def intercepts(A, B, C):
"""Return (x_intercept, y_intercept) for Ax + By = C. None means undefined."""
x_int = None if A == 0 else C / A
y_int = None if B == 0 else C / B
return x_int, y_int
print(intercepts(2, -3, 6)) # (3.0, -2.0)
print(intercepts(0, 4, 8)) # (None, 2.0)For 2x - 3y = 6, the x-intercept is 6/2 = 3 and the y-intercept is 6/(-3) = -2. Plot these two points and draw the line through them.
Exercise
Find the intercepts of 3x + 4y = 12 and state whether the line has an x-intercept.
Show answer
Set y = 0: 3x = 12, so x = 4. Set x = 0: 4y = 12, so y = 3. Intercepts are (4, 0) and (0, 3). Both exist because A and B are nonzero.