Sub topic 9
Writing an Equation from a Slope and a Point
Prerequisites and the key idea
Assume you can plot points, work with signed numbers and fractions, and solve simple linear equations. You should also recognize slope-intercept form:
\[ y = mx + b \]
Here, \(m\) is the slope and \(b\) is the \(y\)-intercept. Sometimes you know the slope and one point on the line, but you do not yet know \(b\). You can find the equation without graphing first.
A point has coordinates \((x1, y1)\). If the line has slope \(m\), use point-slope form:
\[ y - y1 = m(x - x1) \]
This form works because it compares any point \((x,y)\) on the line with the known point \((x1,y1)\).
Using point-slope form
Suppose a line has slope \(3\) and passes through \((2,5)\). Substitute \(m=3\), \(x1=2\), and \(y1=5\):
\[ y - 5 = 3(x - 2) \]
This is already a correct equation for the line. To write it in slope-intercept form, simplify:
\[ \begin{aligned} y - 5 &= 3x - 6\\ y &= 3x - 1 \end{aligned} \]
The equation is:
\[ y = 3x - 1 \]
The slope is \(3\), and the \(y\)-intercept is \(-1\). Check the known point by substituting \(x=2\):
\[ y = 3(2)-1=5 \]
The point fits the equation.
A reliable procedure
- Write \(y-y1=m(x-x1)\).
- Substitute the slope and the coordinates of the known point.
- Distribute and combine like terms.
- Solve for \(y\) if slope-intercept form is required.
- Substitute the known \(x\)-value to verify the known \(y\)-value.
The signs in the formula require care. If the point is \((-4,7)\), then:
\[ y-7=m(x-(-4))=m(x+4) \]
The subtraction in the formula turns a negative coordinate into addition.
Reading the result
The slope tells how much \(y\) changes when \(x\) increases by one. The constant term tells where the line crosses the \(y\)-axis.
For example, start with slope \(-\frac{2}{5}\) and point \((10,3)\):
\[ \begin{aligned} y-3&=-\frac25(x-10)\\ y-3&=-\frac25x+4\\ y&=-\frac25x+7 \end{aligned} \]
The line falls from left to right because its slope is negative. Its \(y\)-intercept is \(7\).
| Given information | Equation |
|---|---|
| \(m=3\), point \((2,5)\) | \(y=3x-1\) |
| \(m=-\frac25\), point \((10,3)\) | \(y=-\frac25x+7\) |
Common errors and checks
A common error is reversing the coordinate order. In \((x1,y1)\), the first value belongs to \(x\), and the second belongs to \(y\).
Another error is changing the slope's sign while distributing. Keep the sign attached to the slope:
\[ -2(x-3)=-2x+6 \]
Finally, test the original point. If substitution does not produce its \(y\)-coordinate, check the signs and distribution.
Exercise
Write the equation of the line with slope -3 that passes through (4, -2). Give your answer in slope-intercept form.
Show answer
Start with y + 2 = -3(x - 4). Simplify: y + 2 = -3x + 12, so y = -3x + 10.