The key idea
Read it as: start at on the y-axis, then for every 1 step to the right, go up . In , the line crosses the y-axis at and drops 2 for every step right, so it also passes through and .
| Form | Equation | Best when |
|---|---|---|
| Slope-intercept | you want to graph it or read the slope and y-intercept | |
| Point-slope | you know a slope and any point | |
| Standard | the answer must have whole numbers, or you want both intercepts fast |
All three describe the same line. You can move between them with ordinary algebra.
Worked examples
Example 1: a slope and a point
Problem Write the equation of the line with slope 4 that passes through .
- Start with . Put in the point: and .
- Multiply.
- Subtract 8.
- Write the full equation and check the point: . It works.
Answer
Example 2: two points
Problem Write the equation of the line through and .
- Find the slope.
- Use either point to find b. Here we use .
- Simplify: , so subtract 4.
- Check the other point: . It works.
Answer
Example 3: point-slope form, then standard form
Problem Write the equation of the line through that is parallel to . Give it in slope-intercept form and in standard form with whole numbers.
- Parallel lines have the same slope, so . Plug the point into point-slope form. Since , becomes .
- Distribute the to both terms.
- Subtract 1, which is .
- For standard form, multiply every term by 2 to clear the fractions.
- Move the x term to the left side. Standard form usually keeps A positive.
Answer , which is in standard form.
Example 4 (test-hard): perpendicular line and its x-intercept
Problem A line passes through and is perpendicular to . Where does it cross the x-axis?
- The given line has slope . The perpendicular slope is the negative reciprocal, . Use point-slope form.
- Distribute and add 1.
- The x-intercept is where .
- Add 5, then multiply by .
Answer
Common mistakes
- Mixing up b and the x-intercept. is where the line crosses the y-axis, the value of y when .
- Sign slips in point-slope form. For the point , you get . Fix: write first, then simplify.
- Distributing to only one term. is , not .
- Reading the slope straight from standard form. In , the slope is , not 2.
- Swapping x and y when you plug in a point. In , 2 is x and 5 is y. Fix: write before substituting.
Quick methods
Practice
5 practice questions
What are the slope and y-intercept of ?
- slope , y-intercept
- slope , y-intercept
- slope , y-intercept
- slope , y-intercept
Show answer
Answer: slope , y-intercept
Rewrite it as . The slope is the number multiplied by x, sign included, so it is . The order of the terms does not change which number is which.
Which equation describes the line through and ?
Show answer
Answer:
Slope: . The point is on the y-axis, so . The choice uses run over rise, and swaps m and b.
Which is an equation of the line with slope through ?
Show answer
Answer:
Point-slope form is . With , becomes . The other choices flip a sign or swap the coordinates.
Which is written in standard form with whole numbers?
Show answer
Answer:
Multiply every term by 3: . Subtract and multiply by so the x term is positive: . The choice ending in 4 forgot to multiply the by 3.
Which line is parallel to and passes through ?
Show answer
Answer:
Solve for y: , so the slope is 3. That is the original line itself, and it misses . Use point-slope: , so . The last choice is the perpendicular line through .
Frequently asked questions
What do m and b stand for in y = mx + b?
is the slope, how much y changes when x goes up by 1. is the y-intercept, the value of y when x is 0, which is where the line crosses the y-axis. The letters are just tradition; what matters is their position in the equation.
How do I find b if I know the slope and a point?
Put the slope and the point's x and y into . Everything is a number except b, so solve that small equation. For slope 4 through : , so .
When should I use point-slope form?
Use it when you know a slope and a point that is not the y-intercept. You can write the equation right away with no solving. If your teacher wants slope-intercept form, distribute and solve for y afterward.
How do I change standard form to slope-intercept form?
Solve for y. Move the x term to the right side, then divide every term by the number in front of y. For : , so .