Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
AlgebraAlgebra 1High school

Slope and Lines

Slope, slope-intercept and point-slope form, parallel and perpendicular lines.

Slope measures how steep a line is: the change in yy divided by the change in xx between any two points, m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}. Because a line has constant steepness, every pair of points gives the same slope, which is what makes a straight line straight.

Two forms of a line's equation cover almost every task. Slope-intercept form y=mx+by = mx + b shows the slope and the yy-intercept directly. Point-slope form y−y1=m(x−x1)y - y_1 = m(x - x_1) lets you write the equation the moment you know one point and the slope.

Key terms

Slope
Rise over run between two points on a line.
m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}
Perpendicular slopes
Non-vertical perpendicular lines have slopes whose product is -1.
m1m2=−1m_1 m_2 = -1

Key ideas

  • Positive slope rises left to right, negative slope falls, zero slope is horizontal, and a vertical line has undefined slope.
  • Parallel lines have equal slopes.
  • Perpendicular lines have slopes whose product is −1-1, such as 22 and −12-\frac{1}{2}.
  • Interpret slope as a rate: units of yy per unit of xx.

Worked example

Find the equation of the line through (2,5)(2, 5) and (6,−3)(6, -3).

  1. Slope: m=−3−56−2=−84=−2m = \frac{-3 - 5}{6 - 2} = \frac{-8}{4} = -2.
  2. Point-slope with (2,5)(2, 5): y−5=−2(x−2)y - 5 = -2(x - 2).
  3. Expand: y−5=−2x+4y - 5 = -2x + 4.
  4. Solve for yy: y=−2x+9y = -2x + 9.

Answer: y=−2x+9y = -2x + 9

Common mistakes

  • Mixing the order of points: y2−y1x1−x2\frac{y_2 - y_1}{x_1 - x_2} flips the sign.
  • Putting the change in xx on top.
  • Taking the negative instead of the negative reciprocal for a perpendicular slope.

Practice questions

Try each one, then open the answer. Numerical answers on this page are verified by an automated calculation check.

  1. 1.Find the slope through (1,4)(1, 4) and (5,12)(5, 12).

    Show answer

    22

  2. 2.What is the yy-intercept of the line with slope 33 through (2,1)(2, 1)?

    Show answer

    −5-5

  3. 3.What slope is perpendicular to y=23x−1y = \frac{2}{3}x - 1?

    Show answer

    −32-\frac{3}{2}

Keep practising

More in Algebra 1