Because a line has a constant slope, it is easy to calculate the slope as
\[
\begin{align}
\operatorname{\overset{\mathit{x}}{\slope}} z &= \frac{\change_{z}}{\change_{x}}
\end{align}
\]
where \( \change_{z} \) and \( \change_{x} \) are the change in \( z \) and the change in \( x \) for any two points on the line.
When we work with a curved graph, the slope changes from point to point. We should only expect this "rise over run" formula to be an approximation of the slope.
\[
\begin{align}
\operatorname{\overset{\mathit{x}}{\slope}} z &\approx \frac{\change_{z}}{\change_{x}}
\end{align}
\]
Even though this formula is just an approximation, it is still useful! If we zoom in towards a point on a curved graph, the graph tends to look more like a straight line.
In fact, the more we zoom in on our graph, the more confidence we should have that the "rise over run" formula gives a value close to the actual slope.
It takes hard work to make this idea of zooming fully rigorous: you can study limits in Real Analysis if you are interested in seeing the details. But let's at least take a moment to think about what makes slope so difficult. As we zoom in towards a point, our concept of slope becomes dangerously close to containing a division by zero!
\[
\begin{align}
\operatorname{\overset{\mathit{x}}{\slope}} z &\approx \frac{\change_{z}}{\change_{x}} \approx \frac{0}{0}
\end{align}
\]
We saw that defining the fraction
\( 1 / 0 \) immediately
leads to a contradiction. The fraction
\( 0 / 0 \) has a different problem: it could arguably be defined to be any number! We won't ever officially define
\( 0 / 0 \) but it lurks in the shadows whenever we use the derivative.