Slope Formula

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

Description

Calculates the slope of a line between two points.

Variables

Symbol Meaning
m Slope
(x_1, y_1) First point
(x_2, y_2) Second point

Example

Problem

Find slope between (2,3) and (5,9)

Solution

m = (9-3)/(5-2) = 2

Real-World Applications

  • Linear regression
  • Rate of change
  • Engineering