MathPath
Grades 1–13 Math Hub
Grade 8 Tutorial · Linear & Geometry

How to Solve Slope & Linear Functions Problems (Grade 8)

Follow these step-by-step Grade 8 slope & linear functions worked examples. Each step explains why the move works so you can apply it to homework and tests.

Worked Example 1: Write the Equation of a Line Through Two PointsWorked Example 2: Interpret Slope and y-Intercept in ContextHow to Check Your Slope & Linear Functions Answer

Worked Example 1: Write the Equation of a Line Through Two Points

Problem: Find the equation in y = mx + b form of the line through (2, 5) and (6, 13).

Key Example: Find the equation in y = mx + b form of the line through (2, 5) and (6, 13).
  1. Calculate slope: m = (13 − 5) / (6 − 2) = 8 / 4 = 2.
  2. Substitute m = 2 and point (2, 5) into y = mx + b: 5 = 2(2) + b ⇒ b = 1.
  3. Write the equation: y = 2x + 1.
  4. Verify with the second point (6, 13): 2(6) + 1 = 13 ✓.

Worked Example 2: Interpret Slope and y-Intercept in Context

Problem: A gym charges $35 to join plus $20 per month: C = 20t + 35. What do 20 and 35 mean?

Key Example: A gym charges $35 to join plus $20 per month: C = 20t + 35. What do 20 and 35 mean?
  1. Slope m = 20 is the monthly rate of change ($20 added per month).
  2. y-intercept b = 35 is the initial starting fee at t = 0 months ($35).

How to Check Your Slope & Linear Functions Answer

Plug BOTH given points (x₁, y₁) and (x₂, y₂) into your final equation y = mx + b. If both satisfy the equation, your slope and y-intercept are guaranteed right.

Try It Yourself: Real Grade 8 Practice

Apply the steps above to these Easy, Medium, and Hard problems, then expand each solution to check your reasoning.

Easy Practice #1

Find the slope $m$ of the line passing through $(1, 3)$ and $(2, 1)$ shown below.

  • A. $-2$
  • B. $-3$
  • C. $1$
  • D. $0$
Show Answer & Step-by-Step Solution
Answer: $-2$
Step 1: Use $m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{1 - (3)}{2 - (1)}$. Step 2: Simplify to get $m = -2$.
Why This Works: Slope $m = \frac{y_2 - y_1}{x_2 - x_1}$ measures constant vertical change per 1-unit horizontal step, and $b$ is where the line crosses the y-axis.
Medium Practice #2

Find the equation ($y = mx + b$) of the line passing through $(-2, 0)$ and $(0, -3)$.

  • A. $y = -\frac{3}{2}x + 3$
  • B. $y = \frac{3}{2}x - 3$
  • C. $y = -\frac{3}{2}x - 1$
  • D. $y = -\frac{3}{2}x - 3$
Show Answer & Step-by-Step Solution
Answer: $y = -\frac{3}{2}x - 3$
Step 1: Compute slope $m = \frac{-3 - (0)}{0 - (-2)} = -\frac{3}{2}$. Step 2: Find $y$-intercept $b = 0 - (-\frac{3}{2})(-2) = -3$, giving $y = -\frac{3}{2}x - 3$.
Why This Works: Slope $m = \frac{y_2 - y_1}{x_2 - x_1}$ measures constant vertical change per 1-unit horizontal step, and $b$ is where the line crosses the y-axis.
Hard Practice #3

Find the equation ($y = mx + b$) of the line passing through $(0, -4)$ and $(1, -3)$.

  • A. $y = -x - 4$
  • B. $y = x - 2$
  • C. $y = x + 4$
  • D. $y = x - 4$
Show Answer & Step-by-Step Solution
Answer: $y = x - 4$
Step 1: Compute slope $m = \frac{-3 - (-4)}{1 - (0)} = 1$. Step 2: Find $y$-intercept $b = -4 - (1)(0) = -4$, giving $y = x - 4$.
Why This Works: Slope $m = \frac{y_2 - y_1}{x_2 - x_1}$ measures constant vertical change per 1-unit horizontal step, and $b$ is where the line crosses the y-axis.

Check Your Understanding

Question 1: Explain the key rule behind slope & linear functions using this example: Slope through (1, 3) and (4, 9) is m = (9 − 3)/(4 − 1) = 2

Solution: Grade 8 Slope & Linear Functions describes constant-rate relationships using slope m = (y₂ − y₁)/(x₂ − x₁), slope-intercept form y = mx + b, graphs, tables, and real-world rate-of-change interpretations.

Question 2: How can you verify an answer in Grade 8 slope & linear functions?

Solution: Plug BOTH given points (x₁, y₁) and (x₂, y₂) into your final equation y = mx + b. If both satisfy the equation, your slope and y-intercept are guaranteed right.

Frequently Asked Questions

How do I graph y = −(2/3)x + 4 quickly?

Plot the y-intercept at (0, 4), then move down 2 and right 3 to (3, 2), and connect the points.

Master Slope & Linear Functions: Visuals, Practice & Quizzes

Build complete mastery by connecting concept tutorials, visual models, step-by-step examples, common mistakes, and printable practice.