Writing Equations in Slope-Intercept Form
You'll learn how to build a linear equation when you're given the slope and y-intercept.
Now that you understand slope-intercept form (y = mx + b) and can graph lines from it, it's time to go the other direction: writing equations when you know information about a line.
The Core Idea
Remember that in y = mx + b:
- m is the slope
- b is the y-intercept (where the line crosses the y-axis)
Writing an equation is simply plugging in the values you're given. Think of it like filling in blanks in a template.
Step-by-Step Process
Given: A slope and a y-intercept
Do this:
- Identify the slope value (this becomes m)
- Identify the y-intercept value (this becomes b)
- Substitute both into y = mx + b
- Simplify if needed
Examples
Example 1: Slope = 3, y-intercept = -2
Start with: y = mx + b
Substitute: y = 3x + (-2)
Simplify: y = 3x - 2
Example 2: Slope = -1/2, y-intercept = 5
Start with: y = mx + b
Substitute: y = (-1/2)x + 5
Written: y = -½x + 5
Example 3: Slope = 0, y-intercept = 4
Start with: y = mx + b
Substitute: y = 0x + 4
Simplify: y = 4 (a horizontal line!)
The Analogy
Think of y = mx + b as a recipe card with two blank spaces. Someone hands you the ingredients (slope and intercept), and you write them in the correct spots. The equation is your finished recipe for that specific line.
Key Takeaway: Writing equations in slope-intercept form means substituting the slope for m and the y-intercept for b in y = mx + b.