Example One
The slope of a line going through the point (1, 2) and the point (4, 3) is $$ \frac{1}{3}$$.
Remember: difference in the y values goes in the numerator of formula, and the difference in the x values goes in denominator of the formula.
Practice Problems & examples
The slope of a line characterizes the direction of a line. To find the slope, you divide the difference of the y-coordinates of 2 points on a line by the difference of the x-coordinates of those same 2 points.
Teachers use different words for the y-coordinates and the the x-coordinates.
These words all mean the same thing, which is that the y values are on the top of the formula (numerator) and the x values are on the bottom of the formula (denominator)!
The slope of a line going through the point (1, 2) and the point (4, 3) is $$ \frac{1}{3}$$.
Remember: difference in the y values goes in the numerator of formula, and the difference in the x values goes in denominator of the formula.
There is only one way to know!
point (4, 3) as $$ (x_1, y_1 )$$
$$ slope = \frac{y_{2}-y_{1}}{x_{2}-x_{1}} = \frac{3-2}{4-1} = \frac{1}{3} $$
point (1, 2) as $$ (x_1, y_1 )$$
$$ slope = \frac{y_{2}-y_{1}}{x_{2}-x_{1}} = \frac{2-3}{1-4} = \frac{-1}{-3} = \frac{1}{3} $$
Answer: It does not matter which point you put first. You can start with (4, 3) or with (1, 2) and, either way, you end with the exact same number! $$ \frac{1}{3} $$
The slope of a line through the points (3, 4) and (5, 1) is $$- \frac{3}{2}$$ because every time that the line goes down by 3(the change in y or the rise) the line moves to the right (the run) by 2.
This is because any vertical line has a $$\Delta x$$ or "run" of zero. Whenever zero is the denominator of the fraction in this case of the fraction representing the slope of a line, the fraction is undefined. The picture below shows a vertical line (x = 1).
This is because any horizontal line has a $$\Delta y$$ or "rise" of zero. Therefore, regardless of what the run is (provided its' not also zero!), the fraction representing slope has a zero in its numerator. Therefore, the slope must evaluate to zero. Below is a picture of a horizontal line -- you can see that it does not have any 'rise' to it.
Answer: Yes, and this is a fundamental point to remember about calculating slope.
Every line has a consistent slope. In other words, the slope of a line never changes. This fundamental idea means that you can choose any 2 points on a line.
Think about the idea of a straight line. If the slope of a line changed, then it would be a zigzag line and not a straight line, as you can see in the picture above.
As you can see below, the slope is the same no matter which 2 points you chose.
$ \frac{9- \red 3}{7- \red{10}} \\ = \frac{6}{-3} \\ = \boxed {-2 } $
$ \frac{3- \red 9}{10- \red 7} \\ =\frac{-6}{3} \\ = \boxed{-2 } $
$ = \frac{-2 - \red 3}{4- \red 4} \\ = \frac{-5}{ \color{red}{0}} \\ = \text{undefined} $
$ = \frac{3- \red{-2}}{4- \red 4} \\ = \frac{5}{ \color{red}{0}} \\ = \text{undefined} $
$ \frac{10 - \red 7}{2 - \red 8} \\ = \frac{3}{-6} \\ = -\frac{1}{2} $
$ \frac{7 - \red {10}}{8- \red 2} \\ = \frac{-3}{6} \\ = -\frac{1}{2} $
$$ \frac{ 5- \red 3}{8- \red 7} \\ = \frac{2}{1} \\ = 2 $$
$$ \frac{ 3- \red 5}{7- \red 8} \\= \frac{-2}{-1} \\ = 2 $$
$$ \frac{ 11 - \red 5}{12- \red 9} \\ = \frac{6}{3} \\ =2 $$
$$ \frac{ 5- \red{ 11} }{9- \red { 12}} \\ = \frac{-6}{-3} \\ = 2 $$
$$ \frac{ 2 - \red 5}{4- \red 4} \\ = \frac{ -3}{\color{red}{0}} \\ = undefined $$
$$ \frac{ 5 - \red 2}{4- \red 4} \\ = \frac{ 3}{\color{red}{0}} \\ = undefined $$
WARNING! Can you catch the error in the following problem Jennifer was trying to find the slope that goes through the points $$(\color{blue}{1},\color{red}{3})$$ and $$ (\color{blue}{2}, \color{red}{6})$$ . She was having a bit of trouble applying the slope formula, tried to calculate slope 3 times, and she came up with 3 different answers. Can you determine the correct answer?
You can practice solving this sort of problem as much as you would like with the slope problem generator below.
It will randomly generate numbers and ask for the slope of the line through those two points. You can chose how large the numbers will be by adjusting the difficulty level.