RF7 · Find a line equation from a graph, point and slope, two points or a related line
A line equation describes every point on a straight line. You can find one from a graph, from a point and a slope, or from two points.…
Alberta Grade 10 Mathematics
Relations and Functions
Use a graph, a point and slope, two points, or a related line
A line equation describes every point on a straight line. You can find one from a graph, from a point and a slope, or from two points. Information about a related line can also help. This lesson starts with the parts of a line equation, then shows how to use each kind of information. As you work, check that your final equation matches the facts you were given.
What you will learn
Read a line’s slope and vertical intercept from a graph.
Find a line equation when one point and the slope are known.
Calculate slope from two points and use it to find an equation.
Use a parallel or perpendicular line to find a new line equation.
1. Review the parts of a line equation
A coordinate point is written as an ordered pair, such as (2,5). The first number is its x-coordinate, and the second is its y-coordinate. A point lies on a line when its coordinates make the line equation true.
A common form of a line equation is y=mx+b. The letter m stands for slope. Slope tells how much the line rises or falls when you move one unit to the right. The letter b is the vertical intercept: the y-coordinate where the line crosses the vertical axis. For example, in y=2x+3, the slope is 2 and the vertical intercept is 3.
Slope can be described as rise over run. Rise is the change in y; run is the change in x. A positive slope rises as you move right. A negative slope falls. A horizontal line has slope 0 because its y-value does not change as you move right.
To calculate slope from two points, divide the change in the y-coordinates by the change in the x-coordinates. Keep the point order the same in both subtractions. For example, if you move from the first point to the second, subtract the first point’s coordinates from the second point’s coordinates in both places.
The slope rule is the vertical change divided by the horizontal change. In symbols, if the points are (x1,y1) and (x2,y2), then m=x2−x1y2−y1.
In y=mx+b, m is the slope and b is the vertical intercept.
A point is on a line if its coordinates satisfy the equation.
Slope compares the change in y with the change in x.
2. Read a graph or use a point and slope
On a graph, first find where the line crosses the vertical axis. That crossing gives b. Then choose two clear points on the line to find its slope. Count the vertical change and horizontal change from one point to the other. If you move right, record how far the line rises or falls. The slope is rise divided by run.
For example, suppose a line crosses the vertical axis at −1 and rises 2 units for every 1 unit right. Its vertical intercept is −1 and its slope is 2. Put those values into y=mx+b to get y=2x−1.
Sometimes you know the slope and one point, but not the vertical intercept. Start with y=mx+b, substitute the known slope, and then substitute the point’s coordinates for x and y. Solve for b. This works because a point on the line must make its equation true.
For instance, if the slope is 3 and the line passes through (2,7), substitute to get 7=3(2)+b. Solving gives b=1, so the equation is y=3x+1. You can check by putting x=2 into the equation; it gives y=7.
y=mx+b
Read the vertical intercept where the line crosses the vertical axis.
Use the point’s coordinates in the equation to find a missing intercept.
Check the final equation by substituting the known point.
3. Find slope from two points
When two points are given, calculate the slope by dividing the change in the y-coordinates by the change in the x-coordinates. Subtract in the same order in the numerator and denominator. Reversing both subtraction orders gives the same slope; reversing only one gives the wrong sign.
After finding the slope, use either point in y=mx+b to find b. Then check the other point. If both points make the equation true, the equation fits the given information.
A graph can help you understand why the subtraction order matters. Moving from a point on the left to a point on the right gives a particular rise and run. If you instead move from right to left, both changes switch sign. Their ratio stays the same. Changing the sign of only one change would describe a different slope.
Try this: find the equation of the line through (1,4) and (3,8). First find the slope, then use either point to find b. Check your equation by substituting the other point. The worked examples below show these steps with different values.
m=x2−x1y2−y1
Keep the point order consistent when subtracting.
Use one point to find the vertical intercept, then check with the other point.
4. Use information about a related line
Parallel lines have the same slope. They go in the same direction. If a new line is parallel to a known line, use the known line’s slope for the new line. Then use the new line’s point to find its own vertical intercept.
Perpendicular lines meet at a right angle. For two lines whose slopes are defined, the slopes of perpendicular lines are negative reciprocals. To find the negative reciprocal, switch the numerator and denominator, then change the sign. For example, the negative reciprocal of 32 is −23.
Once you know the new slope, use its given point in y=mx+b to find the new vertical intercept. Do not copy the old line’s intercept unless the information says the lines share that intercept.
A horizontal line has slope 0, and a line perpendicular to it is vertical. A vertical line cannot be written in the form y=mx+b. The negative-reciprocal rule applies when both slopes are defined.
m1m2=−1
Parallel lines have equal slopes.
Perpendicular lines with defined slopes have negative reciprocal slopes.
A new line has its own vertical intercept.
Worked example
Read a line from its graph information
A line crosses the vertical axis at 2 and passes through (2,6). Find its equation.
Line from its intercept and a point
The line has equation y = 2x + 2. It crosses the vertical axis at 2 and passes through (2, 6).
Read the intercept
The line crosses the vertical axis at 2, so its vertical intercept is b=2. The crossing point is (0,2). The other given point is (2,6).
b=2
Find the slope
From (0,2) to (2,6), the line rises 4 units while moving right 2 units. Divide rise by run to find the slope.
m=2−06−2=2
Write the equation
Place the slope and vertical intercept into y=mx+b. The result matches the graph information.
y=2x+2
Answer: The equation is y=2x+2.
Check: Substitute (2,6): 2(2)+2=6, so the point is on the line. At x=0, the equation gives y=2, as required.
Worked example
Use one point and a slope
Find the equation of the line with slope −3 that passes through (2,1).
Start with the known slope
The slope is the value of m in y=mx+b. Substitute −3 for m. The vertical intercept is still unknown.
y=−3x+b
Use the point
The point (2,1) lies on the line. Substitute 2 for x and 1 for y, then solve for b.
1=−3(2)+b,b=7
State and check the equation
Put the slope and vertical intercept into the line equation. Substituting the known point confirms the result.
y=−3x+7
Answer: The equation is y=−3x+7.
Check: At x=2, the equation gives y=−3(2)+7=1, matching the point.
Worked example
Use two points and a parallel line
A line passes through (−1,2) and (3,4). Find the equation of a line parallel to it that passes through (1,−2).
Parallel line through a new point
The required line has equation y = 0.5x - 2.5 and passes through (1, -2).
Find the known line’s slope
Use the two points. The change in y is 4−2=2, and the change in x is 3−(−1)=4. Divide the changes to get the slope.
m=3−(−1)4−2=21
Transfer the slope
Parallel lines have the same slope, so the new line also has slope 21. Substitute its point (1,−2) into y=mx+b to find its intercept.
−2=21(1)+b,b=−25
Write the new equation
Use the shared slope and the new line’s vertical intercept. This gives the parallel line through the required point.
y=21x−25
Answer: The parallel line is y=21x−25.
Check: Substituting x=1 gives y=21−25=−2. Its slope is also 21, so it is parallel to the original line.
Common mistakes and how to avoid them
Using the x-coordinate as the vertical intercept.
Correction: The vertical intercept is the y-value where x=0.
Subtracting the x-coordinates in a different order from the y-coordinates.
Correction: Keep the point order the same in the numerator and denominator.
Giving a parallel line a different slope.
Correction: Parallel lines have the same slope. Use the new point to find the new line’s intercept.
Changing a perpendicular slope’s sign without switching numerator and denominator.
Correction: Find the negative reciprocal by switching the numerator and denominator, then changing the sign.
Lesson summary
The form y=mx+b uses slope m and vertical intercept b.
A graph can show the slope and vertical intercept directly.
With a point and slope, substitute the point to find the missing intercept.
With two points, calculate slope from the coordinate changes, then use a point to find the intercept.
Parallel lines share a slope. Perpendicular lines with defined slopes have negative reciprocal slopes.
Check your understanding
Question 1
A line has slope 3 and vertical intercept −2. Which is its equation?
y=3x−2
y=−2x+3
y=3x+2
y=−3x−2
Show answer and explanation
y=3x−2
In y=mx+b, use m=3 and b=−2, giving y=3x−2.
Question 2
What is the slope of the line through (1,2) and (5,10)?
2
−2
21
−21
Show answer and explanation
2
The change in y is 10−2=8 and the change in x is 5−1=4. The slope is 48=2.
Question 3
A line has slope −32. What is the slope of a parallel line?
−32
23
32
−23
Show answer and explanation
−32
Parallel lines have the same slope, so the slope remains −32.
Key terms
Slope
A measure of how much a line rises or falls for a move to the right.
Vertical intercept
The point where a line crosses the vertical axis; its y-coordinate is b.
Parallel lines
Lines that go in the same direction and have the same slope.
Tutor support for RF7 · Find a line equation from a graph, point and slope, two points or a related line
Working on RF7 · Find a line equation from a graph, point and slope, two points or a related line in MATH10C? Bring the question and your own attempt. In a live session, you can label the axes and connect each feature of the graph to the equation or situation. Ask about the first step that does not make sense, then try a similar question yourself.
برای مبحث RF7 · معادلهٔ خط را از نمودار، نقطه و شیب، دو نقطه یا خط مرتبط بیابید در درس MATH10C، سؤال و تلاش خود را همراه بیاورید. در جلسه میتوانید محورها را برچسب بزنید و هر ویژگی نمودار را به معادله یا موقعیت مسئله ربط دهید. راهنمای معلم ریاضی را ببینید یا جلسهٔ معارفهٔ رایگان ۳۰ دقیقهای درخواست کنید. زمان جلسه پس از پذیرش معلم قطعی میشود.
About this lesson and its review
Published by DoAssignment. This reviewed lesson follows Alberta Grade 10 Mathematics (MATH10C), expectation RF7. It is a study resource, not an official curriculum publication.
Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.