# Determine Where a Function is Increasing, Decreasing, or Constant

 Site: Saylor Academy Course: MA001: College Algebra Book: Determine Where a Function is Increasing, Decreasing, or Constant
 Printed by: Guest user Date: Saturday, August 10, 2024, 9:37 AM

## Description

Now that we have more practice graphing and working with equations of functions, we will learn how to describe the behavior of a function over a large interval or by zooming in on a local area where the function's behavior changes.

## Using a Graph to Determine Where a Function is Increasing, Decreasing, or Constant

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. Figure 3 shows examples of increasing and decreasing intervals on a function.

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

While some functions are increasing (or decreasing) over their entire domain, many others are not. A value of the input where a function changes from increasing to decreasing (as we go from left to right, that is, as the input variable increases) is the location of a local maximum. The function value at that point is the local maximum. If a function has more than one, we say it has local maxima. Similarly, a value of the input where a function changes from decreasing to increasing as the input variable increases is the location of a local minimum. The function value at that point is the 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.

Clearly, 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 whose graph is shown in Figure 4, the local maximum is 16, and it occurs at $x=-2$. The local minimum is $-16$ and it occurs at $x=2$.

Figure 4

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. Figure 5 illustrates these ideas for a local maximum.

Figure 5 Definition of a local maximum

#### LOCAL MINIMA AND LOCAL MAXIMA

A function $f$ is an increasing function on an open interval if $f(b) > f(a)$ 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(b) < f(a)$ 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 $(a, c)$ with $a < b < c$ such that, for any $x$ in the interval $(a, c), f(x) \leq f(b)$. Likewise, $f$ has a local minimum at $x=b$ if there exists an interval $(a, c)$ with $a < b < c$ such that, for any $x$ in the interval $(a, c), f(x) \geq f(b)$.

#### EXAMPLE 7

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

Given the function $p(t)$ in Figure 6, identify the intervals on which the function appears to be increasing.

Figure 6

##### Solution

We see that the function is not constant on any interval. The function is increasing where it slants upward as we move to the right and decreasing where it slants downward as we move to the right. The function appears to be increasing from $t=1$ to $t=3$ and from $t=4$ on.

In interval notation, we would say the function appears to be increasing on the interval $(1,3)$ and the interval $(4, \infty)$.

##### Analysis

Notice in this example that we used open intervals (intervals that do not include the endpoints), because the function is neither increasing nor decreasing at $t=1, t=3$, and $t=4$. These points are the local extrema (two minima and a maximum).

#### EXAMPLE 8

##### Finding Local Extrema from a Graph

Graph the function $f(x)=\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.

##### Solution

Using technology, we find that the graph of the function looks like that in Figure 7 . It appears there is a low point, or local minimum, between $x=2$ and $x=3$, and a mirror-image high point, or local maximum, somewhere between $x=-3$ and $x=-2$.

Figure 7

##### Analysis

Most graphing calculators and graphing utilities can estimate the location of maxima and minima. Figure 8 provides screen images from two different technologies, showing the estimate for the local maximum and minimum.

Figure 8

Based on these estimates, the function is increasing on the interval $(-\infty,-2.449)$ and $(2.449, \infty)$. Notice that, while we expect the extrema to be symmetric, the two different technologies agree only up to four decimals due to the differing approximation algorithms used by each. (The exact location of the extrema is at $\pm \sqrt{6}$, but determining this requires calculus).

#### TRY IT #4

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

#### EXAMPLE 9

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

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

Figure 9

##### Solution

Observe the graph of $f$. The graph attains a local maximum at $x=1$ because it is the highest point in an open interval around $x=1$. The local maximum is the $y$-coordinate at $x=1$, which is 2.

The graph attains a local minimum at $x=-1$ because it is the lowest point in an open interval around $x=-1$. The local minimum is the $y$-coordinate at $x=-1$, which is $-2$.

Source: Rice University, https://openstax.org/books/college-algebra/pages/3-3-rates-of-change-and-behavior-of-graphs

## Analyzing the Toolkit Functions for Increasing or Decreasing Intervals

We will now return to our toolkit functions and discuss their graphical behavior in Figure 10, Figure 11, and Figure 12.

 Function Increasing/Decreasing Example Constant Function $f(x)=c$ Neither increasing nor decreasing Identity Function $f(x)=x$ Increasing Quadratic Function $f(x)=x^{2}$ Increasing on $(0, \infty)$ Decreasing on $(-\infty, 0)$ Minimum at $x=0$

Figure 10

 Function Increasing/Decreasing Example Cubic Function $f(x)=x^{3}$ Increasing Reciprocal $f(x)=\frac{1}{x}$ Decreasing $(-\infty, 0) \cup(0, \infty)$ Reciprocal Squared $f(x)=\frac{1}{x^{2}}$ Increasing on $(-\infty, 0)$ Decreasing on $(0, \infty)$

Figure 11

 Function Increasing/Decreasing Example Cube Root $f(x)=\sqrt[3]{x}$ Increasing Square Root $f(x)=\sqrt{x}$ Increasing on $(0, \infty)$ Absolute Value $f(x)=|x|$ Increasing on $(0, \infty)$ Decreasing on $(-\infty, 0)$

Figure 12

## Use A Graph to Locate the Absolute Maximum and Absolute Minimum

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$- 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. See Figure 13.

Figure 13

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

#### ABSOLUTE MAXIMA AND MINIMA

The absolute maximum of $f$ at $x=c$ is $f(c)$ where $f(c) \geq f(x)$ for all $x$ in the domain of $f$. The absolute minimum of $f$ at $x=d$ is $f(d)$ where $f(d) \leq f(x)$ for all $x$ in the domain of $f$.

#### EXAMPLE 10

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

For the function $f$ shown in Figure 14, find all absolute maxima and minima.

Figure 14

##### Solution

Observe the graph of $f$. The graph attains an absolute maximum in two locations, $x=-2$ and $x=2$, because at these locations, the graph attains its highest point on the domain of the function. The absolute maximum is the $y$-coordinate at $x=-2$ and $x=2$, which is 16.

The graph attains an absolute minimum at $x=3$, because it is the lowest point on the domain of the function's graph. The absolute minimum is the $y$-coordinate at $x=3$, which is $-10$.