## Behaviors of Functions

### Learning Outcomes

• Determine where a function is increasing, decreasing, or constant
• Find local extrema of a function from a graph
• Describe behavior of the toolkit functions

As part of exploring how functions change, we can identify intervals over which the function is changing in specific ways. We say that a function is increasing on an interval if the function values increase as the input values increase within that interval. Similarly, a function is decreasing on an interval if the function values decrease as the input values increase over that interval. The average rate of change of an increasing function is positive, and the average rate of change of a decreasing function is negative. The graph below shows examples of increasing and decreasing intervals on a function.

The function $f\left(x\right)={x}^{3}-12x$ is increasing on $\left(-\infty \text{,}-\text{2}\right){{\cup }^{\text{ }}}^{\text{ }}\left(2,\infty \right)$ and is decreasing on $\left(-2\text{,}2\right)$.

This video further explains how to find where a function is increasing or decreasing.

While some functions are increasing (or decreasing) over their entire domain, many others are not. A value of the output where a function changes from increasing to decreasing (as we go from left to right, that is, as the input variable increases) is called a local maximum. If a function has more than one, we say it has local maxima. Similarly, a value of the output where a function changes from decreasing to increasing as the input variable increases is called a local minimum. The plural form is “local minima.” Together, local maxima and minima are called local extrema, or local extreme values, of the function. (The singular form is “extremum.”) Often, the term local is replaced by the term relative. In this text, we will use the term local.

A function is neither increasing nor decreasing on an interval where it is constant. A function is also neither increasing nor decreasing at extrema. Note that we have to speak of local extrema, because any given local extremum as defined here is not necessarily the highest maximum or lowest minimum in the function’s entire domain.

For the function below, the local maximum is 16, and it occurs at $x=-2$. The local minimum is $-16$ and it occurs at $x=2$.

To locate the local maxima and minima from a graph, we need to observe the graph to determine where the graph attains its highest and lowest points, respectively, within an open interval. Like the summit of a roller coaster, the graph of a function is higher at a local maximum than at nearby points on both sides. The graph will also be lower at a local minimum than at neighboring points. The graph below illustrates these ideas for a local maximum.

Definition of a local maximum.

These observations lead us to a formal definition of local extrema.

### A General Note: Local Minima and Local Maxima

A function $f$ is an increasing function on an open interval if $f\left(b\right)>f\left(a\right)$ for any two input values $a$ and $b$ in the given interval where $b>a$.

A function $f$ is a decreasing function on an open interval if $f\left(b\right)<f\left(a\right)$ for any two input values $a$ and $b$ in the given interval where $b>a$.

A function $f$ has a local maximum at $x=b$ if there exists an interval $\left(a,c\right)$ with $a<b<c$ such that, for any $x$ in the interval $\left(a,c\right)$, $f\left(x\right)\le f\left(b\right)$. Likewise, $f$ has a local minimum at $x=b$ if there exists an interval $\left(a,c\right)$ with $a<b<c$ such that, for any $x$ in the interval $\left(a,c\right)$, $f\left(x\right)\ge f\left(b\right)$.

### Example: Finding Increasing and Decreasing Intervals on a Graph

Given the function $p\left(t\right)$ in the graph below, identify the intervals on which the function appears to be increasing.

### Example: Finding Local Extrema from a Graph

Graph the function $f\left(x\right)=\dfrac{2}{x}+\dfrac{x}{3}$. Then use the graph to estimate the local extrema of the function and to determine the intervals on which the function is increasing.

### Try It

Graph the function $f\left(x\right)={x}^{3}-6{x}^{2}-15x+20$ to estimate the local extrema of the function. Use these to determine the intervals on which the function is increasing and decreasing.

### Example: Finding Local Maxima and Minima from a Graph

For the function $f$ whose graph is shown below, find all local maxima and minima.

## Analyzing the Toolkit Functions for Increasing or Decreasing Intervals

We will now return to our toolkit functions and discuss their graphical behavior in the table below.

Function Increasing/Decreasing Example
Constant Function

$f\left(x\right)={c}$

Neither increasing nor decreasing
Identity Function

$f\left(x\right)={x}$

Increasing

$f\left(x\right)={x}^{2}$

Increasing on $\left(0,\infty\right)$

Decreasing on $\left(-\infty,0\right)$

Minimum at $x=0$

Cubic Function

$f\left(x\right)={x}^{3}$

Increasing
Reciprocal

$f\left(x\right)=\frac{1}{x}$

Decreasing $\left(-\infty,0\right)\cup\left(0,\infty\right)$
Reciprocal Squared

$f\left(x\right)=\frac{1}{{x}^{2}}$

Increasing on $\left(-\infty,0\right)$

Decreasing on $\left(0,\infty\right)$

Cube Root

$f\left(x\right)=\sqrt[3]{x}$

Increasing
Square Root

$f\left(x\right)=\sqrt{x}$

Increasing on $\left(0,\infty\right)$
Absolute Value

$f\left(x\right)=|x|$

Increasing on $\left(0,\infty\right)$

Decreasing on $\left(-\infty,0\right)$

Minimum at $x=0$

## Use a graph to locate the absolute maximum and absolute minimum of a function

There is a difference between locating the highest and lowest points on a graph in a region around an open interval (locally) and locating the highest and lowest points on the graph for the entire domain. The $y\text{-}$ coordinates (output) at the highest and lowest points are called the absolute maximum and absolute minimum, respectively.

To locate absolute maxima and minima from a graph, we need to observe the graph to determine where the graph attains it highest and lowest points on the domain of the function.

Not every function has an absolute maximum or minimum value. The toolkit function $f\left(x\right)={x}^{3}$ is one such function.

### A General Note: Absolute Maxima and Minima

The absolute maximum of $f$ at $x=c$ is $f\left(c\right)$ where $f\left(c\right)\ge f\left(x\right)$ for all $x$ in the domain of $f$.

The absolute minimum of $f$ at $x=d$ is $f\left(d\right)$ where $f\left(d\right)\le f\left(x\right)$ for all $x$ in the domain of $f$.

### Example: Finding Absolute Maxima and Minima from a Graph

For the function $f$ shown below, find all absolute maxima and minima.

## Contribute!

Did you have an idea for improving this content? We’d love your input.