DoAssignment.ca
G1 · Find slope from two points and write a line equation
Learn to find slope from two points and write a line equation through clear examples and targeted practice.
Ontario Grade 10 Mathematics
Analytic Geometry
Use two points to describe a line’s change and write a rule for it.
A line on a graph shows a steady relationship between two values. For example, a graph of distance against time may be a straight line when an object moves at a steady rate. Slope tells us how much one value changes compared with another. You will use two points to find a line’s slope, then use the slope and a point to write an equation for the line.
What you will learn
- Find the slope of a line through two points.
- Explain slope as vertical change compared with horizontal change.
- Use the slope and a point to write a line equation in the form .
- Recognize a vertical line and write its equation.
1. Grade 9 bridge: coordinates and change
A point on a coordinate grid is written as an ordered pair, such as . The first number is the -coordinate, which tells the horizontal position. The second number is the -coordinate, which tells the vertical position. The -axis runs across the grid, and the -axis runs up and down.
To compare two points, subtract matching coordinates. The change in is found using the two -coordinates. The change in is found using the two -coordinates. Keep the point order consistent. If you subtract the first point’s coordinate from the second point’s coordinate for , do the same for .
Slope describes vertical change compared with horizontal change. It is also called rise over run. Rise means the change in ; run means the change in . A line with positive slope rises as you move from left to right. A line with negative slope falls as you move from left to right. A horizontal line has no vertical change, so its slope is zero.
The letter is commonly used for slope. Slope is the change in divided by the change in . This tells us how much the line moves up or down for each unit it moves sideways.
- Subtract -coordinates from each other and -coordinates from each other.
- Use the same point order for both subtractions.
- Slope compares vertical change with horizontal change.
2. See rise and run, then use the slope rule
Imagine moving along a line from one point to another. Count the horizontal movement first. This is the run. Then count the vertical movement. This is the rise. For instance, moving from to means moving units right and units up. The slope is divided by , which is . The line rises units for each unit it moves right.
The slope formula uses the coordinates of two points. In the formula, the subscripts and identify the first and second points. You may choose either point as the first point. If you reverse the order, both coordinate differences change signs, so their quotient stays the same. Reversing the order in only one subtraction gives an incorrect slope.
A run of zero means the line does not move sideways between the points. Dividing by zero is not possible, so the slope is undefined. This happens for a vertical line. A vertical line has the same -coordinate at every point.
- Run is the horizontal change; rise is the vertical change.
- Slope is rise divided by run.
- A vertical line has zero run and an undefined slope.
3. Use the slope and a point to write an equation
An equation of a line is a rule that is true for every point on the line. A useful form is . The letter stands for the slope. The letter is the -intercept, which is the -coordinate where the line crosses the -axis.
Once you know the slope, substitute the coordinates of a point on the line into the equation. The known - and -values and the slope let you find . Then write the equation using the slope and the value of . Either point from the question can be used.
Check your equation by substituting the coordinates of a point into it. If the equation is correct, its left and right sides will be equal. When two points are given, checking both points is a useful way to catch a calculation or substitution error.
- In , is the slope and is the -intercept.
- Substitute a known point to find .
- Check the equation by substituting the given points.
4. Special lines and independent practice
A vertical line has the same -coordinate at every point. Its run is zero, so it has an undefined slope. Write its equation by stating the fixed -coordinate. For example, if every point has an -coordinate of , its equation is .
A horizontal line has the same -coordinate at every point. Its rise is zero, so its slope is zero. Its equation states the fixed -coordinate. These cases help you decide whether a slope calculation makes sense.
Independent practice: Find the slope through and , then write the equation in the form . Keep the subtraction order consistent. Use one point to find , then substitute both points into your equation to check it.
- A vertical line has zero run, an undefined slope, and an equation such as .
- A horizontal line has zero rise and slope zero.
- Substituting the given points checks whether your equation fits the line.
Reading rise and run from two points
| Starting point | Ending point | Run: change in | Rise: change in | Slope |
|---|---|---|---|---|
Worked example
Find the slope and equation
Find the slope of the line through and . Then write its equation in the form .
- Find the coordinate changesUse as the first point and as the second point. Subtract the first point’s coordinates from the second point’s matching coordinates.
- Calculate the slopeDivide the change in by the change in . The line rises units while moving units to the right.
- Find the interceptSubstitute the slope and the point into . Then solve for .
- Write and check the equationPlace the slope and intercept in the line form. Substitute the second point to check that the equation is true for it.
Answer: The slope is , and the equation is .
Check: For the first point, the equation gives . For the second point, it gives . Both points satisfy the equation.
Common mistakes and how to avoid them
Using an -coordinate and a -coordinate together in one subtraction.
Correction: Find the change in using only -coordinates, and the change in using only -coordinates.
Switching the point order in only one subtraction.
Correction: Subtract in the same order for both coordinates. For example, use second point minus first point for both.
Putting the slope in place of in .
Correction: Remember that is the slope. Find by substituting a point into the equation.
Calling the slope of a vertical line zero.
Correction: A vertical line has zero run, so its slope is undefined. A horizontal line has zero rise and slope zero.
Lesson summary
- Find slope by dividing the change in by the change in .
- Keep the subtraction order consistent for both coordinates.
- Use the slope and a known point to find the equation in the form .
- A vertical line has undefined slope; a horizontal line has slope zero.
Check your understanding
Question 1
What is the slope of the line through and ?
Show answer and explanation
The change in is , and the change in is . The slope is .
Question 2
A line has slope and passes through . What is its equation in the form ?
Show answer and explanation
Substitute the point into : , so . Therefore the equation is .
Question 3
Which statement describes a vertical line?
- Its slope is undefined because its run is zero.
- Its slope is zero because its rise is zero.
- Its slope is one because its rise and run are equal.
- Its equation always has the form with a number for .
Show answer and explanation
Its slope is undefined because its run is zero.
A vertical line has the same -coordinate at every point. Its run is zero, and division by zero is not possible.
Key terms
- Coordinate
- A number that gives a point’s position on an axis.
- Slope
- The change in vertical position divided by the change in horizontal position.
- Rise
- The change in between two points.
- Run
- The change in between two points.
- -intercept
- The -coordinate where a line crosses the -axis.
- Undefined slope
- A slope that cannot be calculated because the change in is zero.
Continue through MPM2D
View the complete MPM2D Ontario Grade 10 Mathematics curriculum and lessons
- G2 · Use slopes of parallel and perpendicular lines
- G3 · Translate among common forms of a line equation
- G4 · Solve two-variable linear systems by substitution or elimination
- G5 · Model and solve real situations with linear systems
- G6 · Develop and use the midpoint formula
- G7 · Develop and use the distance formula for line segments
About this lesson
Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 10 Mathematics (MPM2D), study topic G1. It is a study resource, not an official curriculum publication.