Sub topic 13
Common Mistakes and Checking by Substitution
Assume you can plot points, calculate slope, solve linear equations, and work with fractions. This chapter focuses on finding and correcting errors in point-slope and standard forms.
Sign mistakes in point-slope form
Point-slope form is
\[ y-y1=m(x-x1). \]
The signs inside the parentheses often cause errors. If the known point is \((x1,y1)=(-2,5)\), substitute both coordinates exactly:
\[ y-5=m(x-(-2))=m(x+2). \]
The plus sign is correct because subtracting a negative becomes addition. A useful check is to substitute the known point immediately. Both sides should equal zero:
\[ 5-5=m(-2+2)=0. \]
If they do not, the point was entered incorrectly.
Reversing the slope
For two points \((x1,y1)\) and \((x2,y2)\), calculate slope with
\[ m=\frac{y2-y1}{x2-x1}. \]
Keep the order consistent. If the numerator uses \(y2-y1\), the denominator must use \(x2-x1\). Reversing only one difference changes the sign.
For \((1,3)\) and \((4,9)\),
\[ m=\frac{9-3}{4-1}=\frac{6}{3}=2. \]
Using \((3-9)/(4-1)\) would incorrectly give \(-2\).
Errors when converting forms
Starting with
\[ y-3=2(x-1), \]
distribute first:
\[ y-3=2x-2. \]
Then move terms to get standard form:
\[ 2x-y=-1. \]
A common mistake is changing the sign of only one term. Multiplying an entire equation by \(-1\) is allowed, but every term must change:
\[ 2x-y=-1 \]
and
\[ -2x+y=1 \]
describe the same line.
Standard form usually requires integer coefficients and \(A\geq 0\) in \(Ax+By=C\). Reduce any common factor. For example,
\[ 4x-2y=6 \]
simplifies to
\[ 2x-y=3. \]
| Mistake | What changes | Quick correction |
|---|---|---|
| Wrong point sign | The line misses the known point | Substitute the point into both sides |
| Reversed slope sign | The line rises instead of falls, or vice versa | Keep coordinate differences in the same order |
| Partial sign change | The equation no longer stays equivalent | Multiply every term by the same nonzero number |
| Unreduced standard form | Coefficients share a factor | Divide \(A\), \(B\), and \(C\) by their greatest common factor |
Checking by substitution
A point lies on an equation if replacing \(x\) and \(y\) with its coordinates makes the equation true. To check
\[ 2x-y=-1 \]
with \((1,3)\), calculate
\[ 2(1)-3=-1. \]
The result matches the right side, so the point lies on the line. Check a second point when possible. This can reveal an error that happens to be hidden by one correct substitution.
The following process works for most line equations:
from fractions import Fraction
def check_point(A, B, C, point):
x, y = point
left = A * x + B * y
return left == C, left
equation = (2, -1, -1) # 2x - y = -1
for point in ((1, 3), (4, 9), (2, 5)):
valid, left_side = check_point(*equation, point)
print(point, valid, left_side)Special cases
A horizontal line has slope \(0\), so its equation is \(y=c\). A vertical line has equation \(x=c\). Its slope is undefined because the run is zero, so it cannot be written in point-slope form.
Exercise
Convert \(y-4=-3(x+2)\) to standard form and check whether \((-2,4)\) lies on the resulting line.
Show answer
Expanding gives \(y-4=-3x-6\), so \(3x+y=-2\). Substitution gives \(3(-2)+4=-2\), so the point lies on the line.