Slope-intercept equation from m and b
Given a y-intercept and a slope, write the equation in slope-intercept form.
A short walkthrough explaining what you need to know and how to solve this question type lands here once it's recorded.
ALEKS randomizes the numbers each attempt, but the question shape stays the same. Here are three example versions you might see.
A line has slope m = 4 and y-intercept (0, −7).
Write the equation in slope-intercept form.
y =
A line has slope m = −1/2 and y-intercept (0, 5).
Write the equation in slope-intercept form.
y =
A line has slope m = 0 and y-intercept (0, 6).
Write the equation in slope-intercept form.
y =
plug in m, plug in b, done
m = 4, intercept (0, −7).
Read the prompt: m = 4, b = −7 (the y-coordinate of the intercept).
Drop them into y = mx + b:
Clean it up: + (−7) becomes − 7. Final answer: y = 4x − 7.
m = −1/2, intercept (0, 5).
m = −1/2, b = 5.
Most write this as y = −(1/2)x + 5 or y = −x/2 + 5 — all three are the same equation.
m = 0, intercept (0, 6).
Slope of zero is the special case: the line is horizontal. The mx term disappears because 0 · x = 0.
Final answer: y = 6. The line is at y = 6 for every x — flat across.
Walk through this practice problem one step at a time. Each step unlocks the next.
Pull m from the prompt.
Pull b from the intercept.
Assemble y = mx + b.
y=mx+b with no spaces (e.g. y=2x+5 or y=-x-3).You walked the slope-intercept move end to end.
Same three steps every time: pull m, pull b, drop them into y = mx + b. No algebra, no manipulation — just two numbers in two slots.