Skills › Algebra

Equations of Lines

On the test: GED MathHiSET MathACCUPLACER Math

Answer by: typing · multiple choice

A line passes through (−3, 24) and (1, 4). What is its y-intercept?
Choose an answer

Show the solution

Answer: 9

  1. Slope: m = (4 − 24) ÷ (1 − (−3)) = −20 ÷ 4 = −5.
  2. Put a point into y = mx + b: 24 = −5(−3) + b.
  3. b = 24 − 15 = 9.
Next problem →

Tip: press 1–4 to choose, Enter to check, N for the next problem.

Report a problem with this question

How it works

In y = mx + b, m is the slope and b is the y-intercept: where the line crosses the y-axis (the value of y when x = 0).

Finding b from a point: put the slope and the point's x and y into y = mx + b, then solve for b. Slope 3 through (2, 11): 11 = 3(2) + b, so b = 5.

Parallel lines have the same slope.

Perpendicular lines have slopes that are negative reciprocals: flip the fraction and change the sign. Perpendicular to slope is −.

(The GED® formula sheet gives slope-intercept and point-slope forms.)

Worked example

A line passes through (−2, −12) and (6, −4). What is its y-intercept?

  1. Slope: m = (−4 − (−12)) ÷ (6 − (−2)) = 8 ÷ 8 = 1.
  2. Put a point into y = mx + b: −12 = 1(−2) + b.
  3. b = −12 − (−2) = −10.

Answer: −10

Common mistakes

  • Adding instead of solving for b. Slope 2 through (3, 1): put the point into y = mx + b. 1 = 2(3) + b, so b = 1 − 6 = −5, not 1 + 6 = 7.
  • Mixing up the slope and the y-intercept. In y = 4x − 7, the slope is 4 (the number with x) and the y-intercept is −7.
  • Getting the perpendicular slope wrong. A perpendicular slope is the negative reciprocal: flip and change sign. For slope 2/3 it is −3/2, not 3/2. A parallel line keeps 2/3.
  • Skipping the slope step with two points. Through (1, 5) and (3, 9): first m = (9 − 5)/(3 − 1) = 2, then 5 = 2(1) + b, so b = 3.

Equations of Lines practice problems with answers

One problem at each level. Try it, then open the solution. For unlimited new problems, use the practice box above.

Basic

A line has slope −1 and passes through (3, −8). What is its y-intercept?
  1. A −4
  2. B −11
  3. C 5
  4. D −5
Show the answer and solution

Answer: D, −5

  1. Use y = mx + b with the point: −8 = −1(3) + b.
  2. −8 = −3 + b.
  3. b = −8 − (−3) = −5.

Standard

A line passes through (3, 6) and (−3, 0). What is its y-intercept?
  1. A 3
  2. B −3
  3. C 1
  4. D 9
Show the answer and solution

Answer: A, 3

  1. Slope: m = (0 − 6) ÷ (−3 − 3) = −6 ÷ −6 = 1.
  2. Put a point into y = mx + b: 6 = 1(3) + b.
  3. b = 6 − 3 = 3.

Challenge

What is the slope of a line perpendicular to y = −x + 4?
  1. A
  2. B −
  3. C
  4. D −
Show the answer and solution

Answer: C,

  1. The given line has slope −.
  2. A perpendicular slope is the negative reciprocal: flip the fraction and change the sign.
  3. Flip − to get −, then change the sign: .