DoAssignment.ca
G10 · Write a line equation from a graph, point, or slope
Learn to write a line equation from a graph, point, or slope through clear examples and targeted practice.
Ontario Grade 10 Mathematics
Modelling Linear Relations
Use a graph, a point and slope, or a known slope and intercept
A line equation describes every point on a straight line. You may be given the line on a graph, one point and its slope, or information about the line's slope and intercept. In each case, the goal is to find an equation that matches the information. This lesson reviews how to read coordinates and slope, then connects those ideas to a line equation.
What you will learn
- Recognize slope and the vertical intercept in a line equation.
- Find slope from two points on a graph.
- Write a line equation using a graph, or a point and slope.
- Decide when the available information is not enough to identify one line.
1. Grade 9 bridge: coordinates and slope
A coordinate is an ordered pair that names a point on a graph. In , the first number tells how far to move horizontally, and the second tells how far to move vertically. For example, is 3 units right and 2 units up from the origin.
Slope describes how steep a line is and whether it rises or falls as you move from left to right. You can find it by comparing the vertical change with the horizontal change between two points. Vertical change is also called rise; horizontal change is also called run. Keep the changes in the same order for both coordinates.
A positive slope means the line rises from left to right. A negative slope means it falls. A horizontal line has slope 0. A vertical line has no defined slope because its horizontal change is 0, and division by 0 is not allowed.
- Read coordinates in the order horizontal, then vertical.
- Slope compares vertical change to horizontal change.
- A graph's scale matters: count the labelled units, not just the grid spaces.
2. The line equation and what its parts mean
A useful form for a line equation is . Here, and are coordinates of points on the line. The number is the slope. The number is the -intercept: the -value where the line crosses the vertical axis. At that crossing, .
For example, if a line crosses the vertical axis at 1 and rises 2 units for every 1 unit right, its slope is 2 and its intercept is 1. The equation is . A point such as fits because replacing with 1 gives .
A graph gives a line's equation when you can identify its slope and its -intercept. If the intercept is hard to read, choose two clear points on the line to find the slope. Then use a known point to find the intercept. A point is on the line only if it lies exactly on the drawn line, not merely near it.
A slope by itself does not usually identify one unique line. Many lines can have the same slope but cross the vertical axis at different places. To write one specific equation, you also need an intercept or a point on the line.
- In , is slope and is the vertical-axis intercept.
- A graph can provide the slope and intercept directly or through points on the line.
- A slope and a point are enough to identify a line; slope alone is not.
3. From a graph, point, or slope to an equation
From a graph, first read the -intercept if it is clear. Next, find slope using two points on the line. You may choose the intercept as one of the points. Count the vertical and horizontal changes, and keep their signs: a move down is negative, and a move left is negative. Then place the slope and intercept in .
If you know a point and the slope, use the same equation. Replace and with the point's coordinates and replace with the given slope. Solve for . Then write the complete equation using the values of and .
If you are given slope and -intercept, substitute them directly into . If only the slope is given, explain that more information is needed. There is no single answer unless a point or intercept is also known.
Check your equation by putting a known point into it. Both sides should agree. Also compare the sign and steepness of the slope with the graph. This check can catch a reversed rise and run or a sign error.
- For a graph: find the intercept and slope, then substitute.
- For a point and slope: substitute the point to find the intercept.
- Check that a supplied point satisfies the final equation.
4. Guided example and independent practice
The table shows a few points on a line. It is a simple way to organize the coordinates read from a graph. The change in is 2 while the change in is 1, so the slope is 2. The point at gives the intercept. The worked example uses both facts to write and check the equation.
For independent practice, try these without looking at the quick check first. (1) A line has slope 3 and passes through . Write its equation. (2) A line crosses the vertical axis at and has slope . Write its equation. (3) A line has slope and crosses the vertical axis at 4. Explain how you can check a point on your graph against its equation.
For each practice problem, identify what information is given before calculating. If a point and slope are given, find the intercept. If the intercept and slope are given, substitute them directly. In every case, use the equation to test a known point.
- A table of points can make the graph's changes easier to compare.
- When a point and slope are given, calculate the intercept before writing the final equation.
- Use substitution to check the equation against a point.
Points on the line in the worked example
| x | y |
|---|---|
| 0 | 1 |
| 1 | 3 |
| 2 | 5 |
Worked example
Read a line from its points
A line passes through the points in the table. Write an equation for the line.
- Find the slopeFrom to , the horizontal change is 2 and the vertical change is 4. Divide the vertical change by the horizontal change.
- Read the interceptThe point is where the line has . Its -value is therefore the -intercept, so .
- Write the equationSubstitute the slope and intercept into . This gives an equation for every point on the line.
- Check a second pointUse in the equation. The result is , which matches the point from the table.
Answer: The line's equation is .
Check: Both listed points fit: when , ; when , .
Common mistakes and how to avoid them
Reversing rise and run when finding slope.
Correction: Use vertical change divided by horizontal change, and keep the same point order in both differences.
Reading the first coordinate as the vertical position.
Correction: In , is horizontal and is vertical.
Using the slope as the intercept.
Correction: In , slope is and the vertical-axis intercept is .
Writing one equation when only the slope is known.
Correction: Ask for a point on the line or its intercept. Different intercepts give different lines with the same slope.
Lesson summary
- Slope is vertical change divided by horizontal change.
- In , gives slope and gives the -intercept.
- A graph can provide points, slope, and intercept. Use the information it shows.
- A point and slope let you find the intercept and write the equation.
- Check a proposed equation by substituting a point on the line.
Check your understanding
Question 1
A line has slope 2 and -intercept . Which is its equation?
Show answer and explanation
In , substitute and .
Question 2
A line has slope 3 and passes through . Which equation fits?
Show answer and explanation
Substituting the point gives , so .
Question 3
A line passes through and . What is its slope?
Show answer and explanation
The vertical change is and the horizontal change is . Their quotient is .
Question 4
You know only that a line has slope . What else would identify one specific line?
- A point on the line or its -intercept
- The slope written as a fraction
- The direction of the -axis
- The name of the line
Show answer and explanation
A point on the line or its -intercept
Many lines can share slope . A point or intercept tells which one is intended.
Key terms
- Coordinate
- A pair of numbers, written , that names a point on a graph.
- Slope
- A measure of a line's steepness, found by dividing vertical change by horizontal change.
- Rise
- The vertical change between two points.
- Run
- The horizontal change between two points.
- -intercept
- The point where a line crosses the vertical axis; its -coordinate is 0.
Continue through MFM2P
View the complete MFM2P Ontario Grade 10 Mathematics curriculum and lessons
- G1 · Find where two linear models have the same value
- G2 · Solve first-degree equations including fractional coefficients
- G3 · Isolate and evaluate a variable in a formula
- G4 · Convert a line equation to slope-intercept form
- G5 · Connect rate of change to slope as rise over run
- G6 · Identify slope-intercept form and horizontal or vertical lines
About this lesson
Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 10 Mathematics (MFM2P), study topic G10. It is a study resource, not an official curriculum publication.