Write linear equations from two points or a point and a slope

Grade 9 math · Patterns, expressions and equations · A-CED.A.2

A line can be written three common ways. Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept. Point-slope form is y - y₁ = m(x - x₁), built from the slope and one point (x₁, y₁). Standard form is Ax + By = C, with whole-number A, B and C. To write a line through two points, find the slope first, then use either point.

Tip. In point-slope form the signs flip: the point (2, -5) gives y + 5 = m(x - 2).

Worked examples

Example 1

A line has slope and passes through . Its equation is . What is ?

Show the answer and the steps

Answer: 1

Example 2

Which equation describes the line through and ?

xy−10−10−8−8−6−6−4−4−2−20224466881010AB
Show the answer and the steps

Answer:

  1. Slope: .
  2. Use A: , so .
  3. The equation is .

Example 3

Write in standard form, , with whole-number coefficients and .

Show the answer and the steps

Answer:

  1. Multiply by 5: .
  2. Add on both sides: .
  3. In standard form: .

Practice this skill

Answer a question and get it checked. The questions get harder as you get them right. No account needed.

Want it on paper? Print a worksheet for this skill, with an answer key.

Is this the right skill to work on?

Lean's free placement check finds what your child already knows in grade 9 math and what to learn next. It takes about 10 minutes.

Start the free placement check