Equation through two points
Use the two-point gradient, then recover the intercept from either point
- Check the points This method requires different horizontal coordinates. Coincident points do not determine a unique line
- Gradient Take both differences in the same point order \(\displaystyle m=\frac{y_2-y_1}{x_2-x_1}\)
- Intercept Substitute either point with the exact gradient \(\displaystyle c=y_1-mx_1\)
- Check The other point must also satisfy the completed equation
Worked example
Find the equation through the two points
- \(\displaystyle m=\frac{0-9}{2-(-4)}\)Keep the point order consistent in both differences
- \(\displaystyle m=\frac{-9}{6}\)Evaluate the coordinate changes
- \(\displaystyle m=-\frac{3}{2}\)Keep the gradient exact
- \(\displaystyle 0=-\frac{3}{2}(2)+c\)Use the second point because its vertical coordinate is zero
- \(\displaystyle 0=-3+c\)Simplify the product and retain the equation
- \(\displaystyle 0+3=c\)Remove the negative contribution from both sides
- \(\displaystyle 3=c\)Evaluate the remaining sum
- \(\displaystyle y=-\frac{3}{2}x+3\)Place both coefficients into the rule
- \(\displaystyle \begin{aligned}-\frac{3}{2}(-4)+3&=6+3\\&=9\end{aligned}\)Substitution reproduces the first point's vertical coordinate
Common mistakes
Difficulty levels
Questions about this topic
Does it matter which point I substitute?+
Either point gives the same intercept when the gradient is correct. Choose the easier arithmetic
What if the points have the same horizontal coordinate?+
Distinct points then form a vertical line. Use the vertical-line form from the earlier special-lines topic
What if their vertical coordinates agree?+
The line is horizontal. Its gradient is zero and its intercept is the common vertical coordinate
Why keep the gradient exact?+
Rounding it can change the recovered intercept and produce a line that misses the supplied points
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 11, VCE Units 1 & 2, General Mathematics, chapter 5: Linear functions and models