"Rate of change" is a measure of how much some dependent variable changes with respect to a change in the independent variable. Given a function
, the average rate of change over some interval
is given by what's called the difference quotient,
![(y(b)-y(a))/(b-a)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/6sprscoz2mkmyofko0eiz22k7ze6quks0y.png)
If
is a linear function, then the average rate of change is constant regardless of the interval chosen.
A line represents a linear function. The slope of the line represents the linear function's rate of change. We pick any two points on the line,
and
where
, and the slope of the line through them is exactly the value of the expression above. Then there are 3 possible scenarios:
(1) If
, then the slope can be any real number. If
happens to be true, then the slope is 0 and the line is horizontal.
(2) If
and
, the slope is undefined (some might say infinite) and the line is vertical.
(3) If
and
, then we're talking about just one point. But there are infinitely many possible lines through a single point, so the slope is undefined.
Some examples in practice:
23. The slope of the line through (-5, 0) and (-5, 5) is
![(5-0)/(-5-(-5))](https://img.qammunity.org/2020/formulas/mathematics/middle-school/tp3tbstfb8xe0ho3m9k45jb8bg4pverubz.png)
The
-coordinates match but the
-coordinates don't, so this line is vertical and the slope is undefined (or infinite).
27. The slope is
![(\frac37-\frac47)/(\frac25-\frac15)=(-\frac17)/(\frac15)=-\frac57](https://img.qammunity.org/2020/formulas/mathematics/middle-school/rw0ue1f79d0x3105duadv5bbb13rqegeey.png)
Notice the order in which we plug in the given points' coordinates. Always take
to be the lesser of the two points'
-coordinates! The convention is to always take points left to right.
We use the same principles to work backwards:
31. Given a slope of 1/4 through two points (7, 4) and (3, y), we have
![(4-y)/(7-3)=\frac{4-y}4=\frac14\implies4-y=1\implies y=3](https://img.qammunity.org/2020/formulas/mathematics/middle-school/uua14wyiu9oiy3vqzaon84p6gwtetrqjmj.png)