Ontario Grade 9 Mathematics · MTH1W C4.4
C4.4 · Determine equations of lines and solve problems
Every straight-line relationship follows a rule. That rule is the equation of the line. Once you know the equation, you can answer questions…
Ontario Grade 9 Mathematics
Algebra
Writing and Using Linear Equations to Solve Problems (MTH1W – C4.4)
What you will learn
- Identify the slope and y-intercept of a line from a graph, a table of values, or a description, and use them to write the equation of the line in the form y = mx + b.
- Determine the equation of a line when given two points, by first calculating the slope and then finding the y-intercept.
- Use the equation of a line to solve real-world problems by substituting known values and interpreting the result in context.
What You Need to Remember First
- Slope = rise ÷ run = (change in y) ÷ (change in x).
- The y-intercept b is the y-value when x = 0.
- The slope-intercept form of a line's equation is y = mx + b.
- A positive slope rises left to right; a negative slope falls left to right.
- A horizontal line has slope 0; a vertical line has an undefined slope.
Finding the Equation from a Graph or Table
- From a graph: read two grid-intersection points, calculate slope, read the y-intercept.
- From a table: calculate slope from any two rows, then substitute one point to solve for b.
- Always verify your equation by substituting a second point from the table or graph.
- If the table does not include x = 0, you must substitute to find b — do not guess.
Finding the Equation from Two Points
- With two points, always find slope first, then find b.
- Substitute either given point into y = mx + b to solve for b.
- Verify your equation by substituting the other point.
- The labelling of point 1 and point 2 does not change the slope value.
Using the Equation to Solve Problems
- To find y, substitute the known x-value and evaluate.
- To find x, substitute the known y-value and solve the equation for x.
- Label variables clearly before writing the equation.
- Answer in a full sentence with correct units.
- Check: does your numerical answer make sense for the situation?
Special Lines: Horizontal and Vertical
- Horizontal line: slope = 0, equation is y = k.
- Vertical line: slope is undefined, equation is x = k.
- Vertical lines cannot be written in y = mx + b form.
- Identify these special cases before trying to calculate slope.
Reading the Equation from a Table of Values
| x | y | Change in y (rise) | Change in x (run) | Slope m = rise ÷ run |
|---|---|---|---|---|
| 0 | 3 | — | — | — |
| 1 | 7 | 4 | 1 | 4 |
| 2 | 11 | 4 | 1 | 4 |
| 3 | 15 | 4 | 1 | 4 |
| 4 | 19 | 4 | 1 | 4 |
Worked example
Finding a Line Equation from Two Points — A Real-World Problem
- Identify the two pointsThe problem gives two (hours, charge) pairs. Write them as coordinate points so you can use the slope formula. The first pair, 2 hours for CAD 22, becomes point 1. The second pair, 5 hours for CAD 40, becomes point 2.(x_1, y_1) = (2, 22) and (x_2, y_2) = (5, 40)
- Calculate the slopeThe slope m equals the change in y divided by the change in x. Subtract the y-values to get the rise, and subtract the matching x-values to get the run. The slope tells you the hourly rate — how much the charge increases per extra hour.
- Substitute one point to find the y-intercept bUse point 1, (2, 22), and the slope m = 6. Substitute both into y = mx + b, then isolate b by subtracting 12 from both sides. The value of b represents the fixed booking fee — the charge when x = 0 hours of walking.
- Write the equationNow that you know m = 6 and b = 10, substitute both values into y = mx + b to write the complete equation.
- Verify with the second pointAlways check your equation with the point you did not use to find b. Substitute x = 5 into the equation and confirm you get y = 40.
- Answer the problem: find the charge for 4 hoursSubstitute x = 4 into the equation and evaluate. This gives the total charge for a 4-hour walk.
Common mistakes and how to avoid them
Lesson summary
- The equation of a straight line is written in slope-intercept form as y = mx + b, where m is the slope and b is the y-intercept.
- Slope is calculated as (change in y) ÷ (change in x) between any two points on the line.
- To find the equation from two points: calculate m first, then substitute m and one point into y = mx + b and solve for b.
- Always verify your equation by substituting a second known point and confirming the equation is satisfied.
- Use the equation to solve problems by substituting a known value for x or y and solving for the other variable. Include units and a sentence in your answer.
- Horizontal lines have slope 0 and equations in the form y = k. Vertical lines have undefined slope and equations in the form x = k.
Check your understanding
Question 1
- y = −4x + 3
- y = 3x + 4
- y = 3x − 4
- y = −3x − 4
Show answer and explanation
Question 2
- 2
- 3
- 8
- 6
Show answer and explanation
Question 3
- CAD 23
- CAD 26
- CAD 20
- CAD 29
Show answer and explanation
Question 4
- y = 7
- y = −2
- x = 7
- x = −2
Show answer and explanation
Key terms
- Linear relation
- A relationship between two variables that produces a straight-line graph and can be described by an equation of the form y = mx + b.
- Slope (m)
- A number that describes the steepness and direction of a line. It equals the rise (vertical change) divided by the run (horizontal change) between any two points on the line.
- y-intercept (b)
- The value of y at the point where the line crosses the y-axis, which occurs when x = 0.
- Slope-intercept form
- The equation format y = mx + b, where m is the slope and b is the y-intercept. Every non-vertical straight line can be written this way.
- Rise
- The vertical change between two points on a line. It is found by subtracting the smaller y-value from the larger one (or y₂ − y₁ in order).
- Run
- The horizontal change between two points on a line. It is found by subtracting the x-values in the same order used for the rise.
- y-intercept form for a horizontal line
- A horizontal line has slope 0 and is written as y = k, where k is the constant y-value shared by every point on the line.
- Equation of a vertical line
- A vertical line is written as x = k, where k is the constant x-value shared by every point on the line. Its slope is undefined.
Continue through MTH1W
View the complete MTH1W Ontario Grade 9 Mathematics curriculum and lessons
Use the free MTH1W test and exam review guide
- C4.3 · Translate, reflect, and rotate lines
- D1.1 · Examine the collection, storage, representation, and use of data
- C1.1 · Explore the development and use of an algebraic concept
- C1.2 · Create expressions that generalize relationships
- C1.3 · Compare expressions and identify equivalent forms
- C1.4 · Simplify algebraic expressions
Tutor support for C4.4 · Determine equations of lines and solve problems
Working on C4.4 · Determine equations of lines and solve problems in MTH1W? Bring the question and your own attempt. In a live session, you can show each step of your attempt and compare it with a worked example. 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.
برای مبحث C4.4 · تعیین معادله خط و حل مسئله در درس MTH1W، سؤال و تلاش خود را همراه بیاورید. در جلسه میتوانید گامهای تلاش خود را نشان دهید و آن را با یک نمونهٔ حلشده مقایسه کنید. راهنمای معلم ریاضی را ببینید یا جلسهٔ معارفهٔ رایگان ۳۰ دقیقهای درخواست کنید. زمان جلسه پس از پذیرش معلم قطعی میشود.
About this lesson and its review
Published by DoAssignment. This reviewed lesson follows Ontario Grade 9 Mathematics (MTH1W), expectation C4.4. 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.