Finding The Equation Of A Straight-Line Graph From Its Slope or a Point
Theory
Learn how to write the equation of a straight line when you are given its slope together with either the y-intercept, the x-intercept, or any other point on the line. Use the point-slope form
The slope-intercept form
Here
The x-intercept is just a special point: the place where the line crosses the
The first diagram shows a line drawn through a given point with a chosen slope — the situation the point-slope form is built for. The second shows the two special cases: a horizontal line (constant
Pick the right form based on what the question gives you:
Choosing the right approach
| You are given… | Use… |
|---|---|
| slope | |
| slope | |
| slope | |
| horizontal line through | |
| vertical line through |
How to find the equation from a slope and a point
- Substitute the slope
and the point into . - Expand the brackets on the right-hand side.
- Add
to both sides to isolate . - Tidy into the form
.
Substitute
Substitute
The
(a) Horizontal lines have constant
(b) Vertical lines have constant
Common pitfalls
Frequently asked questions
What is the point-slope form of a line?
The point-slope form is y minus y1 equals m times the quantity x minus x1, where m is the slope and (x1, y1) is any known point on the line. Solve for y to rearrange it into slope-intercept form y equals m x plus c.
When do I use point-slope form instead of slope-intercept form?
Use slope-intercept form y equals m x plus c when the question gives you the slope and the y-intercept directly. Use point-slope form when you have the slope and any other point on the line, including the x-intercept.
How do I find the equation of a line through a point with a given slope?
Substitute the slope m and the coordinates (x1, y1) of the point into y minus y1 equals m times (x minus x1). Expand the brackets, then add y1 to both sides to put it in the form y equals m x plus c.
What is the equation of a horizontal line through a point?
A horizontal line through the point (a, b) has equation y equals b. The slope is 0 and the y-value stays constant at b for every x.
What is the equation of a vertical line through a point?
A vertical line through the point (a, b) has equation x equals a. The slope is undefined and the x-value stays constant at a for every y.
What happens to the point-slope form when the point has negative coordinates?
The subtraction of a negative becomes addition. If (x1, y1) is (-1, 2), then y minus 2 equals m times the quantity x minus negative 1, which simplifies to y minus 2 equals m times (x plus 1).
Video Lessons
Practice Questions
10 questions available.
Practice Questions