The slope can be described as the rise (change on y-axis) of a function over the run (change on x-axis).
When the change in the rise is negative and the change in the run is positive, we obtain the following:
![m=(y2-y1)/(x2-x1)=\frac{\text{rise}}{\text{run}}=(-)/(+)=-\text{ (negative slope)}](https://img.qammunity.org/2023/formulas/mathematics/high-school/29s784i1hih18axxaki41pqaeewqynqaup.png)
We can see this in the first function image:
This slope is negative then.
In the second function, the rise is 0 (no change in the y-axis) and the run is positive. Then:
![m=(0)/(\wedge x)=0](https://img.qammunity.org/2023/formulas/mathematics/high-school/jdrrhu72p7g6xqaw0eefvrdwxty585hzzb.png)
This slope is zero.
In the third function, the rise is positive and the run is zero (no change in the x-axis), then the slope is given by:
![m=(\wedge y)/(0)=\text{undefined}]()
This slope is undefined.
In the last function, the rise increases and the run increases, then the slope is positive.