Consider the function
\[
\begin{align}
z &\depends x
\\
z &= x^3 - 3 x.
\end{align}
\]
By taking the derivative
\[
\begin{align}
\overset{x}{\diff} z &= \overset{x}{\diff} \bigl(x^3 - 3 x\bigr) = \overset{x}{\diff} \bigl(x^3\bigr) - \overset{x}{\diff} (3 x) = 3 x^2 \mult \overset{x}{\diff} x - 3 \mult \overset{x}{\diff} x = 3 x^2 - 3,
\end{align}
\]
we find our function's slope.
\[
\begin{align}
\operatorname{\overset{\mathit{x}}{\slope}} z &= 3 x^2 - 3
\end{align}
\]
Let's draw a transition diagram for slope. We find level points by setting the slope equal to zero.
\[
\begin{align}
&\operatorname{\overset{\mathit{x}}{\slope}} z = 0
\\
&3 x^2 - 3 = 0
\\
&x^2 = 1
\\
&x = - 1 \orSpaced x = 1
\end{align}
\]
We'll mark both level points on an \( x \)-axis to begin drawing a transition diagram.
Between negative one and one, the slope is negative. At \( x = 0 \) for example, the slope is negative three.
\[
\begin{align}
\operatorname{\overset{\mathit{x}}{\slope}} z &= 3 \mult 0^2 - 3 = -3
\end{align}
\]
As you can check, the slope is positive in each of the other regions.
We've found our transition diagram for slope!