Monotonic Function
- Tags
- math
A Monotonic (increasing) functions is one where the value of \( y \) is increasing as we increase \( x \). A Non-Monotonic (decreasing) function is one where the value of \( y \) decreases as we increase \( x \). Some functions display both increasing and decreasing behaviour as \( x \) changes.
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[axis lines=center, xmin=-10, xmax=10, ymin=-5, ymax=5, domain=-5:5]
\addplot[color=red]{2^x};,
\addplot[color=blue]{2^(-x)};,
\addplot[color=green]{x^3 + 3*x^2};,
\end{axis}
\end{tikzpicture}
\caption{Demonstration of an increasing (red), decreasing (blue) and an increasing, decreasing, then increasing (green) function.}
\label{fig:increasing-and-decreasing-funcs}
\end{figure}