Chapter 3: Applications of Differentiation
Section 3.7: What Derivatives Reveal about Graphs
Essentials
Introduction
Figure 3.7.1, an image of the tutor, illustrates the features of the graph of fx=x cosx that can be determined from f itself, and from the derivatives f′ and f″.
Where f is increasing or decreasing, its graph is drawn in red or black, respectively,
Intervals where the graph of f is concave up or down are shaded in gray or yellow, respectively.
Relative extrema and inflection points are shown in green.
Selecting one of the eight radio-buttons and clicking the "Calculate" button yields the information listed in Table 3.7.1.
Figure 3.7.2 uses the FunctionChart (a.k.a. FunctionPlot) command to draw the figure shown in Figure 3.7.1. The command provides slightly more control over the features of the graph. The symbols for the seven green points can be made larger, and arrows are used to indicate concavity.
The x-intercepts are marked with circles; the inflection points, with crosses; and the extreme points with diamonds. These distinctions are not visible in the tutor.
Figure 3.7.1 Curve Analysis tutor applied to x cosx
Student:-SetColors(red,black,green,gray,yellow): Student:-Calculus1:-FunctionChart(x*cos(x),x=0..2*Pi,pointoptions=[symbolsize=20],caption=[],concavity=[filled(gray,yellow)]);
Figure 3.7.2 Graph via the FunctionChart command
The default color scheme has been modified to improve visibility in both figures and in the tutor itself.
The terms increasing, decreasing, extrema, relative extrema, concavity, and inflection point are defined below.
Table 3.7.1 displays the information that would be provided by the "Calculate" button in the tutor.
The local maxima occur at:
[.860, .561]
[6.28, 6.28]
The local minima occur at:
[0., 0.]
[3.43, -3.29]
The function is increasing on the intervals:
[0., .860]
[3.43, 6.28]
The function is decreasing on the interval:
[.860, 3.43]
The function is concave up on the interval:
[2.29, 5.09]
The function is concave down on the intervals:
[0., 2.29]
[5.09, 6.28]
The points of inflection occur at:
[2.29, -1.51]
[5.09, 1.88]
The zeros occur at x=:
0.
1.57
4.71
Table 3.7.1 Data generated by the Curve Analysis tutor for fx=x cosx,x∈0,2 π
Increasing/Decreasing on an Interval
The Curve Analysis tutor introduces the notion of "intervals of increase and decrease." Roughly speaking, if in an interval, the graph of a function fx rises as x increases, then the function increases on that interval. Alternatively, if the graph falls, then the function decreases on that interval. Definition 3.7.1 makes this precise.
Definition 3.7.1: Increasing and Decreasing on an Interval
A function f is increasing on an interval I if fa<fb whenever a<b are in I.
A function f is decreasing on an interval I if fa>fb whenever a<b are in I.
If either a or b is an endpoint, then I is taken as half-open and half-closed.
Essentially, for a function increasing on an interval, fa is greater than fb whenever b is to the right of a. However, some texts define the notion of increasing "at a point." Here, if fa is greater than all function values in some neighborhood of a, then the function is increasing at a. There are functions that increase "at a point" but do not increase in any interval containing that point. (The function fx=x/2+x2 sin1/x, x≠0, f0=0, is increasing at x=0, but is not an increasing function in any neighborhood of x=0. It has infinite oscillations near x=0, but bottoms of the wiggles rise higher and higher as x increases.)
Thus, "increasing in an interval" does not mean "increasing at every point in the interval." The concepts are different and unrelated. To avoid confusion, the notion of increase or decrease at a point will not be considered further.
There is a useful connection between the first derivative of a function and the intervals where it increases and decreases. This connection is stated formally in Table 3.7.2.
First Derivative Test for Increase/Decrease of a Differentiable Function
If f′x exists and is positive throughout an interval I, then f is increasing on I.
If f′x exists and is negative throughout an interval I, the f is decreasing on I.
Table 3.7.2 Connection between the first derivative and intervals of increase or decrease
Extrema, both Absolute and Relative
The extrema for a function are its maximum and minimum values. A relative (a.k.a. local) extremum is a value that is extreme (maximum or minimum) relative to nearby values. An absolute (a.k.a. global) extremum is the highest or lowest value attained by a function over some domain. Extrema at a closed endpoint of an interval are considered to be relative. Absolute extrema are deduced from the set of all relative extrema. Definition 3.7.2 makes these ideas precise.
Definition 3.7.2: Absolute and Relative Extrema
The function f has a relative maximum at x=c if fc≥fx for x in a neighborhood of c.
The function f has an absolute maximum at x=c if fc≥fx for all x in the domain of f.
The function f has a relative minimum at x=c if fc≤fx for x in a neighborhood of c.
The function f has an absolute minimum at x=c if fc≤fx for all x in the domain of f.
In a word, a relative (or local) extreme is the highest or lowest value a function takes in a neighborhood, whereas the absolute (or global) extreme is the highest or lowest value a function takes over its whole domain.
There are connections between relative extrema and the first and second derivatives of a function. Theorem 3.7.1 is the formal statement of the conditions under which, at a relative extremum, the first derivative vanishes. In essence, at the top of a hill or the bottom of a valley, the tangent line is horizontal, that is, it has zero slope. Boiled down to the terse "if extreme, then f′=0," it's converse would be: "if f′c=0, then fc is extreme," which just happens to be false! There are functions for which f′c=0 but fc is not extreme!
Theorem 3.7.1 (Fermat's Theorem)
x=c is an interior point of a closed interval I
fc is a relative extremum on I
f′c exists
⇒
f′c=0
A consequence of Theorem 3.7.1 is that if f′c=0 or f′c does not exist, then fc should be inspected as a candidate for an extreme value. This leads to the definition of a critical number.
Definition 3.7.3: Critical Number
If x=c is in the domain of f and either f′c=0 or f′c does not exist, x=c is a critical number for f.
Note: In some texts, endpoints of a closed domain are also considered to be critical numbers. In texts that don't make this definition, the student is instructed to search for extrema at critical numbers and at endpoints.
Theorem 3.7.2 is often called the first-derivative test for a relative extremum, and the content of this theorem is captured by the animations in Figures 3.7.3a-d.
Theorem 3.7.2 (First-Derivative Test)
f is continuous on the closed interval I
c is a critical number for f
f′ changes from positive to negative across x=c ⇒ fc is a local maximum
f′ changes from negative to positive across x=c ⇒ fc is a local minimum
f′ does not change sign across x=c ⇒ fc is not a local extremum
Figures 3.7.3a-d animate the passage of a tangent line along the graphs of 1−x2,x2,x3, and −x3, respectively. At x=0 the first curve has a maximum; and the second, a minimum. Neither of the last two have an extreme value at the origin, although the slope does go to zero at that point. That is why points where the derivative is zero are only candidates for an extreme value.
Figure 3.7.3a Maximum
Figure 3.7.3b Minimum
Figure 3.7.3c Neither
Figure 3.7.3d Neither
a= =
Some texts will call points where the derivative vanishes stationary points because at such points the function "pauses," or becomes stationary. Some stationary points are extreme points, but some, such as the origin in Figures 3.7.3c-d, are not.
Concavity and Inflection Points
Another feature of a graph is its concavity, an interval property formalized by Definition 3.7.4.
Definition 3.7.4: Concavity
The graph of f is concave upward on an interval I if it lies above all its tangents on I.
Equivalently, if every secant line in I lies above the graph of f, then the graph of f is concave upward.
The graph of f is concave downward on an interval I if it lies below all its tangents on I.
Equivalently, if every secant line in I lies below the graph of f, then the graph of f is concave downward.
The graph in Figure 3.7.3b is concave upward on −1,1; the graph in Figure 3.7.3a, downward. In Figure 3.7.3c, the graph is concave downward for x<0, but concave upward for x>0. In Figure 3.7.3d, just the opposite happens: the graph is concave upward for x<0, but concave downward for x>0. Hence, in Figures 3.7.3c-d, the concavity changes at x=0, and such points are called inflection points.
Definition 3.7.5: Inflection Point
The point a,fa is an inflection point if the concavity of the graph of f changes across x=a.
Definition 3.7.6, equivalent to Definition 3.7.4, is an alternate way of defining concavity that relates concavity to the behavior of the first derivative.
Definition 3.7.6: Concavity
The graph of a differentiable function f is concave upward on an interval I if f′ is an increasing function on I.
The graph of a differentiable function f is concave downward on an interval I if f′ is a decreasing function on I.
If f′ is increasing, then f″, its derivative, must be positive. Hence, if f″>0 on an interval, then the graph of f is concave upward on that interval. Correspondingly, if f′ is decreasing, then f″ must be negative. Hence, on an interval where f″<0, the graph of f must be concave downward. This leads to the following test for relative extrema.
Theorem 3.7.3 (Second-Derivative Test)
If f′c=0 and f″c<0 then fc is a relative minimum.
If f′c=0 and f″c>0 then fc is a relative maximum.
Note: There is at least one famous text that uses the term convex for concave upward; and concave, for concave downward.
Examples
Example 3.7.1
For the function fx=x cosx, x∈0,2 π use first principles to obtain the data in Table 3.7.1.
Example 3.7.2
Graph fx=x3+5 x2−17 x−9, x∈−9,5; then use the tools of the calculus to analyze the features of this graph.
Example 3.7.3
Graph f⁡x=x6−10⁢x5−15⁢x4+140⁢x3+160⁢x2−528⁢x−800 for x∈−4,11; then use the tools of the calculus to analyze the features of this graph.
Example 3.7.4
Graph fx=6−5 x+3 x2−x33−4 x+x2 for x∈−5,10, indicating any asymptotes this rational function might have. Then, use the tools of the calculus to analyze the features of this graph.
Example 3.7.5
Graph fx=sin4⁢x+1/2⁢cosx/2, then use the tools of the calculus to analyze the significant features of this graph.
Example 3.7.6
Determine how the value of r affects the graph of the rational function fx=10x2+6 x+r.
<< Previous Section Table of Contents Next Section >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document