Understanding and Calculating Slope
Understanding and Calculating Slope
The slope of a line measures its steepness and direction. In mathematics, slope is the rate of change: it tells you exactly how much the y-value changes for every one-unit increase in the x-value.
The Slope Formula
The most common way to calculate the slope (usually represented by the letter m) when you are given two points, (x1โ,y1โ) and (x2โ,y2โ), is by using the slope formula:
m=x2โโx1โy2โโy1โโ
This is often remembered as "rise over run", where the "rise" is the change in y and the "run" is the change in x.
Example: Find the slope of the line passing through (2,3) and (5,9).
- Identify your points: (x1โ,y1โ)=(2,3) and (x2โ,y2โ)=(5,9).
- Plug them into the formula: m=5โ29โ3โ m=36โ m=2 The slope is 2, meaning for every 1 unit you move to the right, the line goes up by 2 units.
Types of Slopes
Depending on the direction of the line, slopes fall into four categories:
- Positive Slope: The line rises from left to right. (m>0)
- Negative Slope: The line falls from left to right. (m<0)
- Zero Slope: A horizontal line. The y-value never changes, so the "rise" is 0. Therefore, the slope of any horizontal line is 0.
- Undefined Slope: A vertical line. The x-value never changes, which means the "run" is 0. Because you cannot divide by zero, the slope is undefined.
Finding Slope from a Graph or Equation
From a Graph: To read a slope directly from a graph, pick two clear points where the line crosses the grid intersections. Count how many units you move up or down (the rise) and how many units you move right (the run) to get from the first point to the second. Divide the rise by the run.
From an Equation: If an equation is written in slope-intercept form, y=mx+b, the slope is simply m, the number attached to x. For example, in the equation y=โ3x+4, the slope is โ3.