Sub topic 12
Choosing the Right Form for a Linear Equation
Assume you know how to plot points, calculate slope as rise over run, solve linear equations, and work with fractions and negative numbers. You should also recognize slope-intercept form, y = mx + b.
A line can be written in several equivalent forms. The best form depends on the information you have and what you need to find.
Match the form to the information
Point-slope form is
y - y₁ = m(x - x₁)
Here, m is the slope and (x₁, y₁) is a known point on the line. This form is usually the fastest choice when a problem gives one point and the slope.
Slope-intercept form is
y = mx + b
It shows the slope, m, and the y-intercept, b, directly. Use it when you need to graph by starting at the y-intercept and applying the slope, or when you need to compare rates of change.
Standard form is
Ax + By = C
where A, B, and C are usually integers and A is non-negative. This form is useful for finding both intercepts and for comparing equations written with integer coefficients.
| Given information or goal | Useful form | Reason |
|---|---|---|
| One point and the slope | Point-slope | Substitution is direct |
| Slope and y-intercept | Slope-intercept | Both values are visible |
| x- and y-intercepts | Standard form | Set one variable to zero |
| Graph using intercepts | Standard form | Intercepts are easy to calculate |
| Compare slopes | Slope-intercept or point-slope | The slope is explicit |
A decision process
Use this process when choosing a form:
- Identify the information in the problem.
- Choose the form that accepts that information with the fewest extra steps.
- Substitute known values carefully.
- Convert to another form only if the question requires it.
- Check the result using a known point.
For example, find the equation of the line with slope -3 through (2, 5). Point-slope form fits immediately:
y - 5 = -3(x - 2)
If the problem asks for standard form, continue:
y - 5 = -3x + 6
3x + y = 11
The point-slope form was efficient for building the equation. The standard form is more useful for finding intercepts.
from fractions import Fraction
def standard_form_from_point_slope(m, x1, y1):
m = Fraction(m)
# y - y1 = m(x - x1)
# Rearrange: -m*x + y = y1 - m*x1
a = -m
b = Fraction(1)
c = Fraction(y1) - m * x1
denominator = a.denominator * c.denominator
a, b, c = int(a * denominator), int(b * denominator), int(c * denominator)
if a < 0 or (a == 0 and b < 0):
a, b, c = -a, -b, -c
print(f"{a}x + {b}y = {c}")
standard_form_from_point_slope(-3, 2, 5)This prints 3x + 1y = 11, which is normally written as 3x + y = 11.
Graphing and modeling choices
Use point-slope form when a line is described by a starting measurement and a rate of change. For instance, a cost that starts at a known amount and changes at a fixed rate can be modeled from one known data point.
Use slope-intercept form when the initial value matters. In y = mx + b, b represents the value when x = 0.
Use standard form when two quantities share a fixed total. For example, 2x + 5y = 20 can represent combinations of two items costing a total of 20 units. Its intercepts show the result when only one item is purchased.
Check by substitution
Substitution is a reliable check. Replace x and y with the coordinates of a known point. For 3x + y = 11 and (2, 5):
3(2) + 5 = 11
6 + 5 = 11
The equation works for that point. If it fails, check signs, parentheses, and the slope calculation.
Exercise
Which form is most efficient for a line with slope 4 passing through (-1, 7), and what equation does it produce?
Show answer
Use point-slope form: y - 7 = 4(x + 1). In slope-intercept form, this is y = 4x + 11.