Algebra I
Writing Equations: Slope-Intercept Form
Lesson
The slope-intercept form of a linear equation is:
where is the slope and is the y-intercept — the value of when .
To write the equation of a line given two points:
- Find the slope using the slope formula.
- Plug and one of the points into and solve for .
- Write the final equation with both values plugged in.
Worked example 1
Write the equation through and .
Slope:
Plug and the point into :
Final equation:
Worked example 2
Write the equation through and .
Slope:
Notice the y-intercept is given directly — at we have , so .
How to type your answer
Write the equation in standard slope-intercept form: y, equals, slope times x, plus or minus b. No spaces. Examples: y=3x+2, y=2x-4, y=-x+5. For a horizontal line, just write y=7.
Practice
Work through these. Stuck? Click Get a hint.
Warm-Up
Quick problems to get going.
Problem 1
Problem 2
Problem 3
Problem 4
Practice
Standard problems matching the lesson.
Problem 5
Problem 6
Problem 7
Problem 8
Problem 9
Problem 10
Problem 11
Problem 12
Problem 13
Problem 14
Problem 15
Problem 16
Challenge
Harder problems — edge cases, trickier numbers, multiple steps.
Problem 17
Problem 18
Problem 19
Problem 20
Problem 21
Problem 22
Practice
Standard problems matching the lesson.
Problem 23
A taxi fare is 5 dollars at 0 miles and 13 dollars at 4 miles. Write y = mx + b for fare y after x miles.
Problem 24
A plant is 3 cm tall at week 0 and 11 cm tall at week 4. Write y = mx + b for height y at week x.
Challenge
Harder problems — edge cases, trickier numbers, multiple steps.
Problem 25
A car's odometer reads 30 mi at hour 0 and 210 mi at hour 3. Write y = mx + b for the reading y at hour x.
Ask the tutor
Stuck on a concept? Want another example? Ask anything about this topic.
Type your own question below, or tap one of the suggestions. The tutor can re-explain the lesson, work through a specific problem with you, generate fresh practice tuned to where you are, or check your reasoning.
Quiz
Test yourself on this topic →
10 questions, no hints. About 5 minutes.