Math  ›  8th Grade  ›  Writing Linear Equations
8th Grade · Math

Writing Linear Equations

Free sample questions, a clear explanation, and 5 practice skills with an AI tutor that guides without giving the answer away.

Concept Review

Writing Linear Equations: The Mathematical Recipe

Imagine you're starting a dog-walking business. You charge $5 just to show up, plus $3 for every hour you walk the dog. How much would you charge for any number of hours? This everyday situation contains the blueprint for writing linear equations.

Every linear equation is like a recipe with exactly two ingredients: the slope (how fast things change) and the y-intercept (where you start). The standard form looks like this: y = mx + b, where m is the slope and b is the y-intercept.

Breaking Down the Recipe

Let's use our dog-walking business as a concrete example:

Let's Build the Equation Step by Step

For 2 hours of dog walking:

  • Step 1:Start with y = mx + b
  • Step 2:Substitute: y = 3x + 5
  • Step 3:Plug in x = 2: y = 3(2) + 5 = 11
  • Result:You'd charge letter: 'H', title: 'Writing Linear Equations', concept: 1 for 2 hours

The Visual Connection

When you graph this equation, the line crosses the y-axis at 5 (your base fee) and rises by 3 units for every 1 unit to the right. The slope tells you the steepness of your line, while the y-intercept tells you exactly where your line begins its journey up the y-axis.

🔑 Key Insight

The y-intercept isn't just a number—it's the starting point of your story. Even when x equals zero (no hours worked, no distance traveled, no time passed), something is still happening. In our dog-walking example, you still charge $5 for showing up, even if you walk for zero hours!

Key Takeaway

Writing linear equations from slope and y-intercept is like following a recipe: combine your rate of change (slope) with your starting value (y-intercept) using the formula y = mx + b. Whether you're calculating business earnings, predicting population growth, or planning a road trip, this mathematical recipe helps you describe how one quantity changes in relation to another—turning real-world relationships into powerful, predictable equations.

Sample questions

1. Write the equation of a line with slope 4 and y-intercept -3.
y = 4x - 3
y = -3x + 4
y = 4x + 3
y = -4x - 3
Answer: y = 4x - 3 — Slope-intercept form: y = mx + b, so y = 4x - 3.
2. A line has slope 0 and y-intercept 5. What is its equation?
y = 5
y = 0x + 5
x = 5
y = 5x
Answer: y = 0x + 5 — y = 0x + 5 simplifies to y = 5, but the question asks for the equation form.
3. Which equation represents a line with slope -2 and y-intercept 7?
y = 2x - 7
y = -7x + 2
y = 7x - 2
y = -2x + 7
Answer: y = -2x + 7 — m = -2, b = 7 → y = -2x + 7.

Skills in this topic

Practice 50+ questions on this topic

Unlimited interactive practice, progress tracking, and Nova — your AI tutor. Free to start.

Start learning free →