Section 3.1 Describing the Behavior of Functions
¶Overview.
We have been learning about how functions are constructed and how they are defined. In many instances, before we construct a formula for a function, we need to identify what behavior we are attempting to model. At other times, we have a formula and we need to know what behavior that predicts. We need specific language that we can use to describe behavior. In this section, we will focus on three types of behavior: monotonicity, concavity, and end behavior. Monotonicity will describe where a function is increasing or decreasing. Concavity will describe where the slope ro rate of change of a function is increasing or decreasing. In a graph, concavity describes whether the curve is bending up or bending down. We also discuss simple end behavior including unbounded growth (tending to infinity) and horizontal asymptotes. Our emphasis is in learning the language of behavior, describing graphs using this language, and creating graphs based on a description of a function. As our study of calculus develops, we will learn mathematical tools that will allow us to determine function behavior more precisely.Subsection 3.1.1 Functions Have Shapes
Subsubsection 3.1.1.1 Monotonicity
The monotonicity of a function deals with whether the function is increasing or decreasing. We start with the mathematical definitions of increasing and decreasing functions. We will explore the ideas graphically in terms of maps and then graphs.Definition 3.1.1. Monotonicity.
A function f is increasing on a subset S of the domain (usually an interval) if for every x1,x2∈S,
A function f is decreasing on a subset S of the domain (usually an interval) if for every x1,x2∈S,
Example 3.1.2.
The function f(x)=2x+1 is a linear function with positive slope m=2. We can show that f is an increasing function. Suppose x0<x1. Multiplying both sides of an inequality by a positive number preserves the ordering, as does adding the same value to both sides:
This is visualized in the following figure.
Thinking of the map dynamically, we see that as we increase the input, the output also increases. This is captured in the graph of the function in the (x,y) plane. The graph shows y-values increasing as viewed from left to right, which is corresponding to x-values increasing.
Example 3.1.5.
The function f(x)=−2x+3 is a linear function with negative slope m=−2. We can show that f is an decreasing function. Suppose x0<x1. Multiplying both sides of an inequality by a negative number reverses the ordering, while adding the same value to both sides preserves the order:
The map shows that the order of outputs is always opposite to the order of the inputs. Thinking of the map dynamically, we see that as we increase the input, the output decreases. The graph of the function in the (x,y) plane captures the same information. Viewing the graph from left to right (as x increases), the y-values decrease.
Example 3.1.8.
The function f(x)=x2 is not a linear function and is not monotone. We can show this by illustrating that the function is inconsistent in ordering the output values relative to the input values. Consider x0=−2 and x1=−1. We have f(x0)=4>f(x1)=1, so for these inputs the order is reversed. However, for x0=1 and x1=2, we have f(x0)=1>f(x1)=4 and the order is preserved. This function is not increasing or decreasing, but is a combination.
We can see graphically that f is decreasing on (−∞,0] because for any two inputs in this interval, the order of the outputs is reversed. We can also see that f is increasing on [0,∞) because for any two inputs in that interval, the order of the outputs is preserved. This point where monotonicity switches corresponds to the vertex of the parabola y=x2.
Note 3.1.11.
When listing intervals on which a function is increasing or decreasing, it is important not to use a union of the intervals. The reason is that we are saying that the function is increasing on each of the intervals individually and not on the set formed by the union. If listing multiple intervals, simply form a comma-separated list.
Subsubsection 3.1.1.2 Concavity
Concavity describes how the graph of a function in the (x,y) plane bends. If the graph bends upward, we say the function is concave up. If the graph bends downward, we say the function is concave down.Definition 3.1.13. Concavity.
A function f is concave up on a subset S of the domain (usually an interval) if for every x1,x2,x3∈S, the slope or rate of change is increasing,
A function f is concave down on a subset S of the domain (usually an interval) if for every x1,x2,x3∈S, the slope or rate of change is decreasing,
Example 3.1.14.
The function f(x)=x2 is concave up on (−∞,∞) (the entire domain). We will not prove that this is true because this is too difficult without derivatives. But we can illustrate the idea.
Consider the graph y=f(x)=x2 and the particular values x1=−4, x2=−2, and x3=−1. We will calculate the slope or rate of change between (x1,y1)=(−4,16) and (x2,y2)=(−2,4) and between (x2,y2) and (x3,y3)=(−1,1).
We can see that the slope or rate of change is increasing, m12<m23. These slopes are illustrated in the following figure.
This is not a proof of concavity because we only illustrated the order for three specific points. Use the following dynamic figure to convince yourself that for any three points we might choose, the slopes increase from left to right.
The reason that f has an inflection point at x=0 is that point is where f has the steepest negative slope. To the left, x<0, the slope decreases; to the right, x>0, the slope increases.
Example 3.1.16.
The function f(x)=x3−3x changes concavity at x=0. f is concave down on (−∞,0] and concave up on [0,∞). When three points are chosen with x∈(−∞,0], the slope is decreasing. When the three points are chosen with x∈[0,∞), the slope is increasing. This can be verified in the following dynamic figure. However, the three points must all be in either (−∞,0] or in [0,∞).
Subsubsection 3.1.1.3 Combining Monotonicity and Concavity
The shape of a graph of a function is often defined in terms of the monotonicity and concavity combined. There are four basic shapes that correspond to the four quadrants of a circle, illustrated in the figure below. A curve that has a positive and increasing slope is increasing and concave up. A curve that has a positive but decreasing slope is increasing and concave down. A curve that has a negative but increasing (becoming less negative) slope is decreasing and concave up. A curve that has a negative and decreasing (becoming more negative) slope is decreasing and concave down.Example 3.1.19.
The graph of a function y=f(x) is shown below, with labeled extreme points and inflection points. Describe the shape of the graph by giving intervals of monotonicity and concavity.
Intervals for monotonicity are based on the function increasing or decreasing. The end-points of these intervals are the extreme points for the function. When the graph extends beyond the frame of the figure, we assume the function behavior continues as shown. Intervals always are read from left to right. The end-point of an interval is included (closed) if the behavior extends up to and including that point.
The function \(f\) is decreasing on \((-\infty,-3]\text{,}\) increasing on \([-3,3]\text{,}\) and decreasing on \([3,\infty)\text{.}\) Notice that the extremes at \(x=-3\) and \(x=3\) are included in two intervals. The continuous function is decreasing on \((-\infty,-3)\) as an open interval. Because \(f\) decreases up to and including \(x=-3\text{,}\) we include the end-point.
Intervals for concavity are based on where the slope is increasing or decreasing. Intervals on which the graph bends upward, \(f\) is concave up. Intervals on which the graph bends downward, \(f\) is concave down. Notice our graph has inflection points (where the concavity changes) at \(x=-1\text{,}\) \(x=0\text{,}\) and \(x=1\text{.}\) At these points, the graph starts to bend in the opposite direction.
The function \(f\) is concave up on \((-\infty,-1]\text{,}\) concave down on \([-1,0]\text{,}\) concave up on \([0,1]\text{,}\) and concave down on \([1,\infty)\text{.}\) We include the inflection points as the end points of the intervals (closed) because the slope is increasing or decreasing up to and including those points.
Subsection 3.1.2 End Behavior
¶End-behavior of a function describes what happens to a function as the size of the input grows. Consider the possibilities of a linear function, y=f(x)=mx+b. So long as the slope is non-zero, the function is unbounded, meaning that the graph eventually goes above every level and eventually goes below every level (on opposite sides of the graph). If the slope is positive, m>0, then the function is increasing. We say f(x)→+∞ as x→+∞, which we read as “the value of f(x) tends to positive infinity as the value of x goes to positive infinity”. This is because the y-values will eventually rise above any level on the right side of the graph (for sufficiently large positive values x). We also say f(x)→−∞ as x→−∞ because the y-values are below any specified value on the left side of the graph (for sufficiently large negative values x). When the slope is negative, m<0, the unbounded behavior is reversed.Example 3.1.21.
The graph of a function y=f(x) is shown below. This function has two horizontal asymptotes: y=-2 as x \to -\infty and y=1 as x \to +\infty\text{.} We write
Example 3.1.22.
The graph of a function y=f(x) is shown below with two vertical asymptotes. The vertical asymptote at x=0 corresponds to left- and right-limits
The vertical asymptote at x=2 only corresponds to the right-limit
It is hard to tell from a graph alone where a vertical asymptote occurs. Using only the limited graph window, it is not obvious that the vertical asymptote is at exactly x=0 since the graph is still fairly far away from that vertical line from this perspective.
Note 3.1.23.
A common false impression about horizontal asymptotes is that the graph of a function can not cross the asymptote. A function can not cross a vertical asymptote, but that is only because a function can not intersect a vertical line at more than one point. An asymptote only requires that the graph behaves more and more like the line.
Example 3.1.24.
An enzyme is a protein that helps catalyze a chemical reaction. The rate or velocity of reaction V depends on the concentration of the reactant C\text{.} Commonly, the function C \mapsto V is increasing, concave down, and has a horizontal asymptote, known as Michaelis–Menten reaction kinetics. The physical domain is C \in [0, \infty)\text{.} Because the relation is increasing, we know that adding more reactants will raise the reaction rate. Because the relation is concave down, we know that the degree to which the rate increases slows down as more reactants are added. The horizontal asymptote means that this increase in the reaction rate saturates to some maximum rate V_{\text{max}}\text{,}
The reactant concentration where the reaction rate is halfway to the maximum value is called the half-saturation value, and is usually represented with a constant K\text{.}
Example 3.1.26.
Imagine a crop of plants growing in a field. The total biomass harvested B depends on the number of seeds S that are sown. If very few seeds are sown, the biomass harvested will be small. For more seeds sown, we expect the biomass would increase. However, if too many seeds are sown, then the crop will be overcrowded, resulting in a lower harvest. We expect that there might be an optimal number of seeds S^* for which the biomass is at a maximum.
Describe the behavior of the function S \mapsto B and sketch a possible graph.
The function \(S \mapsto B\) will have a physical domain of \(S \in [0,\infty)\text{.}\) Because \(B\) is a maximum at \(S=S^*\text{,}\) the function is increasing on \([0,S^*]\) and decreasing on \([S^*,\infty)\text{.}\) The simplest assumption for concavity would be that the function starts concave down. However, a concave down and decreasing function will eventually approach \(-\infty\text{,}\) which is not physically possible for our physical scenario. Therefore, the function must change concavity at some inflection point after \(S^*\text{,}\) say at \(S=S^\dagger\text{.}\) Our function would be concave down on \([0,S^\dagger]\) and concave up on \([S^\dagger,\infty)\text{.}\) Continuing to increase the number of seeds will result in ever smaller biomass due to overcrowding until it approaches some saturating biomass \(B_\infty\text{,}\)
Note: The asterisk and dagger are decorations so that the symbols \(S^*\) and \(S^\dagger\) represent general constants. We don't know actual values for the maximum and inflection point, so we can't use numbers. The symbols are place-holders for values that would be determined experimentally. Similarly, the symbol \(B_{\infty}\) represents the value for the biomass harvested when the number of seeds sown saturates the system.
Subsection 3.1.3 Summary
Describing the monotonicity of a function is determining intervals on which the function is increasing or decreasing.
-
A function f is increasing on a set S if the function is order preserving: For all x_1,x_2 \in S\text{,} we must have
\begin{equation*} x_1 \lt x_2 \quad \Rightarrow \quad f(x_1) \lt f(x_2)\text{.} \end{equation*}This corresponds to a graph that is rising left to right (positive slopes).
A function f is decreasing on a set S if the function is order reversing: For all x_1,x_2 \in S\text{,} we must have
\begin{equation*} x_1 \lt x_2 \quad \Rightarrow \quad f(x_1) \gt f(x_2)\text{.} \end{equation*}This corresponds to a graph that is falling left to right (negative slopes).
Describing the concavity of a function is determining intervals on which the function is concave up or concave down.
-
A function f is concave up on a set S if the slope or rate of change is increasing on S\text{:} For all x_1,x_2,x_3 \in S\text{,} we must have
\begin{equation*} x_1 \lt x_2 \lt x_2 \quad \Rightarrow \quad \frac{f(x_2)-f(x_1)}{x_2-x_1} \lt \frac{f(x_3)-f(x_2)}{x_3-x_2}\text{.} \end{equation*}The graph will be bending upward.
A function f is concave down on a set S if the slope or rate of change is decreasing on S\text{:} For all x_1,x_2,x_3 \in S\text{,} we must have
\begin{equation*} x_1 \lt x_2 \lt x_2 \quad \Rightarrow \quad \frac{f(x_2)-f(x_1)}{x_2-x_1} \gt \frac{f(x_3)-f(x_2)}{x_3-x_2}\text{.} \end{equation*}The graph will be bending downward.
A point of inflection is a point where a function is continuous and changes concavity.
Lists of intervals of monotonicity and concavity should be separated by commas and not joined by unions.
-
Limits as x \to \pm\infty describe end behavior.
- To say f(x) \to +\infty means values of f(x) eventually rise above any possible value.
- To say f(x) \to -\infty means values of f(x) eventually fall below any possible value.
- To say f(x) \to L means values of f(x) eventually approaches a horizontal asymptote y=L\text{.}
Exercises 3.1.4 Exercises
1.
Prove that f(x)=5x-12 is an increasing function by showing that whenever x_1 \lt x_2\text{,} we have f(x_1) \lt f(x_2)\text{.}
2.
Prove that f(x)=-3x-2 is a decreasing function by showing that whenever x_1 \lt x_2\text{,} we have f(x_1) \gt f(x_2)\text{.}
3.
Prove that f(x)=x^2 is an increasing function on [0,\infty) by showing that whenever 0 \lt x_1 \lt x_2\text{,} we have f(x_1) \gt f(x_2)\text{.}
Hint: Show that f(x_2)-f(x_1) \gt 0 by factoring and determining the signs of the factors.
4.
Prove that f(x)=x^2 is a decreasing function on (-\infty,0] by showing that whenever x_1 \lt x_2 \lt 0\text{,} we have f(x_1) \gt f(x_2) or f(x_2)-f(x_1) \lt 0\text{.}
Hint: Show that f(x_2)-f(x_1) \lt 0 by factoring and determining the signs of the factors.
8.
Illustrate that \displaystyle f(x) = \frac{1}{x} is concave up on (0,\infty) by showing that the slope is increasing for the sequential points x_1=\frac{1}{2}\text{,} x_2=1\text{,} and x_3=2\text{.}
9.
Illustrate that \displaystyle f(x) = \frac{1}{x} is concave down on (-\infty,0) by showing that the slope is decreasing for the sequential points x_1=-2\text{,} x_2=-1\text{,} and x_3=-\frac{1}{2}\text{.}
10.
Illustrate that \displaystyle f(x) = 2^x is concave up on (-\infty,\infty) by showing that the slope is increasing for the sequential points x_1=-1\text{,} x_2=0\text{,} and x_3=1\text{.}
11.
Illustrate that \displaystyle f(x) = 2^{-x} is concave up on (-\infty,\infty) by showing that the slope is increasing for the sequential points x_1=-1\text{,} x_2=0\text{,} and x_3=1\text{.}