Alberta Grade 10 Mathematics · MATH10C RF7

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)(2,5). The first number is its xx-coordinate, and the second is its yy-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+by=mx+b. The letter mm stands for slope. Slope tells how much the line rises or falls when you move one unit to the right. The letter bb is the vertical intercept: the yy-coordinate where the line crosses the vertical axis. For example, in y=2x+3y=2x+3, the slope is 22 and the vertical intercept is 33.
Slope can be described as rise over run. Rise is the change in yy; run is the change in xx. A positive slope rises as you move right. A negative slope falls. A horizontal line has slope 00 because its yy-value does not change as you move right.
To calculate slope from two points, divide the change in the yy-coordinates by the change in the xx-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)(x_1,y_1) and (x2,y2)(x_2,y_2), then m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}.
  • In y=mx+by=mx+b, mm is the slope and bb is the vertical intercept.
  • A point is on a line if its coordinates satisfy the equation.
  • Slope compares the change in yy with the change in xx.

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 bb. 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-1 and rises 22 units for every 11 unit right. Its vertical intercept is −1-1 and its slope is 22. Put those values into y=mx+by=mx+b to get y=2x−1y=2x-1.
Sometimes you know the slope and one point, but not the vertical intercept. Start with y=mx+by=mx+b, substitute the known slope, and then substitute the point’s coordinates for xx and yy. Solve for bb. This works because a point on the line must make its equation true.
For instance, if the slope is 33 and the line passes through (2,7)(2,7), substitute to get 7=3(2)+b7=3(2)+b. Solving gives b=1b=1, so the equation is y=3x+1y=3x+1. You can check by putting x=2x=2 into the equation; it gives y=7y=7.
y=mx+by=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 yy-coordinates by the change in the xx-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+by=mx+b to find bb. 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)(1,4) and (3,8)(3,8). First find the slope, then use either point to find bb. Check your equation by substituting the other point. The worked examples below show these steps with different values.
m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}
  • 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 23\frac{2}{3} is −32-\frac{3}{2}.
Once you know the new slope, use its given point in y=mx+by=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 00, and a line perpendicular to it is vertical. A vertical line cannot be written in the form y=mx+by=mx+b. The negative-reciprocal rule applies when both slopes are defined.
m1m2=−1m_1m_2=-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 22 and passes through (2,6)(2,6). Find its equation.
Line from its intercept and a point
Line from its intercept and a pointThe line has equation y = 2x + 2. It crosses the vertical axis at 2 and passes through (2, 6).-5-5-4-4-3-3-2-2-1-101122334455xyy = 2x + 2

The line has equation y = 2x + 2. It crosses the vertical axis at 2 and passes through (2, 6).

  1. Read the intercept
    The line crosses the vertical axis at 22, so its vertical intercept is b=2b=2. The crossing point is (0,2)(0,2). The other given point is (2,6)(2,6).
    b=2b=2
  2. Find the slope
    From (0,2)(0,2) to (2,6)(2,6), the line rises 44 units while moving right 22 units. Divide rise by run to find the slope.
    m=6−22−0=2m=\frac{6-2}{2-0}=2
  3. Write the equation
    Place the slope and vertical intercept into y=mx+by=mx+b. The result matches the graph information.
    y=2x+2y=2x+2
Answer: The equation is y=2x+2y=2x+2.
Check: Substitute (2,6)(2,6): 2(2)+2=62(2)+2=6, so the point is on the line. At x=0x=0, the equation gives y=2y=2, as required.

Worked example

Use one point and a slope

Find the equation of the line with slope −3-3 that passes through (2,1)(2,1).
  1. Start with the known slope
    The slope is the value of mm in y=mx+by=mx+b. Substitute −3-3 for mm. The vertical intercept is still unknown.
    y=−3x+by=-3x+b
  2. Use the point
    The point (2,1)(2,1) lies on the line. Substitute 22 for xx and 11 for yy, then solve for bb.
    1=−3(2)+b,b=71=-3(2)+b,\quad b=7
  3. State and check the equation
    Put the slope and vertical intercept into the line equation. Substituting the known point confirms the result.
    y=−3x+7y=-3x+7
Answer: The equation is y=−3x+7y=-3x+7.
Check: At x=2x=2, the equation gives y=−3(2)+7=1y=-3(2)+7=1, matching the point.

Worked example

Use two points and a parallel line

A line passes through (−1,2)(-1,2) and (3,4)(3,4). Find the equation of a line parallel to it that passes through (1,−2)(1,-2).
Parallel line through a new point
Parallel line through a new pointThe required line has equation y = 0.5x - 2.5 and passes through (1, -2).-5-5-4-4-3-3-2-2-1-101122334455xyy = 0.5x + -2.5

The required line has equation y = 0.5x - 2.5 and passes through (1, -2).

  1. Find the known line’s slope
    Use the two points. The change in yy is 4−2=24-2=2, and the change in xx is 3−(−1)=43-(-1)=4. Divide the changes to get the slope.
    m=4−23−(−1)=12m=\frac{4-2}{3-(-1)}=\frac{1}{2}
  2. Transfer the slope
    Parallel lines have the same slope, so the new line also has slope 12\frac{1}{2}. Substitute its point (1,−2)(1,-2) into y=mx+by=mx+b to find its intercept.
    −2=12(1)+b,b=−52-2=\frac{1}{2}(1)+b,\quad b=-\frac{5}{2}
  3. 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=12x−52y=\frac{1}{2}x-\frac{5}{2}
Answer: The parallel line is y=12x−52y=\frac{1}{2}x-\frac{5}{2}.
Check: Substituting x=1x=1 gives y=12−52=−2y=\frac{1}{2}-\frac{5}{2}=-2. Its slope is also 12\frac{1}{2}, so it is parallel to the original line.

Common mistakes and how to avoid them

Using the xx-coordinate as the vertical intercept.
Correction: The vertical intercept is the yy-value where x=0x=0.
Subtracting the xx-coordinates in a different order from the yy-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+by=mx+b uses slope mm and vertical intercept bb.
  • 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 33 and vertical intercept −2-2. Which is its equation?
  1. y=3x−2y=3x-2
  2. y=−2x+3y=-2x+3
  3. y=3x+2y=3x+2
  4. y=−3x−2y=-3x-2
Show answer and explanation
y=3x−2y=3x-2
In y=mx+by=mx+b, use m=3m=3 and b=−2b=-2, giving y=3x−2y=3x-2.

Question 2

What is the slope of the line through (1,2)(1,2) and (5,10)(5,10)?
  1. 22
  2. −2-2
  3. 12\frac{1}{2}
  4. −12-\frac{1}{2}
Show answer and explanation
22
The change in yy is 10−2=810-2=8 and the change in xx is 5−1=45-1=4. The slope is 84=2\frac{8}{4}=2.

Question 3

A line has slope −23-\frac{2}{3}. What is the slope of a parallel line?
  1. −23-\frac{2}{3}
  2. 32\frac{3}{2}
  3. 23\frac{2}{3}
  4. −32-\frac{3}{2}
Show answer and explanation
−23-\frac{2}{3}
Parallel lines have the same slope, so the slope remains −23-\frac{2}{3}.

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 yy-coordinate is bb.
Parallel lines
Lines that go in the same direction and have the same slope.
Perpendicular lines
Lines that meet at a right angle.

Continue through MATH10C

View the complete MATH10C Alberta Grade 10 Mathematics curriculum and lessons

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.

Explore math tutoring · Request an eligible free 30-minute introduction. Your request is matched by subject and language; a tutor must accept before a time is confirmed.

برای مبحث 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.

Official curriculum reference

Report a correction or ask a question