



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
How to use the first and second derivative test to identify local extrema and inflection points of a function. It covers the concepts of concavity and points of inflection, and provides examples for applying the tests. Students of calculus and related fields will find this information useful for understanding the behavior of functions.
Typology: Lecture notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!
4.17 (^) Use the first derivative test to find all local extrema for f (x) = 3 x − 1.
We now know how to determine where a function is increasing or decreasing. However, there is another issue to consider regarding the shape of the graph of a function. If the graph curves, does it curve upward or curve downward? This notion is called the concavity of the function. Figure 4.34 (a) shows a function f with a graph that curves upward. As x increases, the slope of the tangent line increases. Thus, since the derivative increases as x increases, f ′ is an increasing function. We say this function f is concave up. Figure 4.34 (b) shows a function f that curves downward. As x increases, the slope of the tangent line decreases. Since the derivative decreases as x increases, f ′ is a decreasing function. We say this function f is concave down.
Definition Let f be a function that is differentiable over an open interval I. If f ′ is increasing over I, we say f is concave up over I. If f ′ is decreasing over I, we say f is concave down over I.
Figure 4.34 (a), (c) Since f ′ is increasing over the interval (a, b), we say f is concave up over (a, b). (b), (d) Since f ′ is decreasing over the interval (a, b), we say f is concave down over (a, b).
In general, without having the graph of a function f , how can we determine its concavity? By definition, a function f is concave up if f ′ is increasing. From Corollary 3, we know that if f ′ is a differentiable function, then f ′ is increasing if its derivative f ″(x) > 0. Therefore, a function f that is twice differentiable is concave up when f ″(x) > 0. Similarly, a function f is concave down if f ′ is decreasing. We know that a differentiable function f ′ is decreasing if its derivative f ″(x) < 0. Therefore, a twice-differentiable function f is concave down when f ″(x) < 0. Applying this logic is known as the concavity test.
Theorem 4.10: Test for Concavity Let f be a function that is twice differentiable over an interval I. i. If f ″(x) > 0 for all x ∈ I, then f is concave up over I. ii. If f ″(x) < 0 for all x ∈ I, then f is concave down over I.
We conclude that we can determine the concavity of a function f by looking at the second derivative of f. In addition, we observe that a function f can switch concavity ( Figure 4.35 ). However, a continuous function can switch concavity only at a point x if f ″(x) = 0 or f ″(x) is undefined. Consequently, to determine the intervals where a function f is concave up and concave down, we look for those values of x where f ″(x) = 0 or f ″(x) is undefined. When we have determined these points, we divide the domain of f into smaller intervals and determine the sign of f ″ over each of these smaller intervals. If f ″ changes sign as we pass through a point x, then f changes concavity. It is important to remember that a function f may not change concavity at a point x even if f ″(x) = 0 or f ″(x) is undefined. If, however, f does change concavity at a point a and f is continuous at a, we say the point ⎛⎝a, f (a)⎞⎠ is an inflection point of f.
Definition If f is continuous at a and f changes concavity at a, the point ⎛⎝a, f (a)⎞⎠ is an inflection point of f.
Figure 4.35 Since f ″(x) > 0 for x < a, the function f is concave up over the interval (−∞, a). Since f ″(x) < 0 for x > a, the function f is concave down over the interval (a, ∞). The point ⎛⎝a, f (a)⎞⎠ is an inflection point of f.
This OpenStax book is available for free at http://cnx.org/content/col11964/1.
4.18 (^) For f (x) = −x^3 +^3 2 x
(^2) + 18x, find all intervals where f is concave up and all intervals where f is
concave down.
We now summarize, in Table 4.6 , the information that the first and second derivatives of a function f provide about the graph of f , and illustrate this information in Figure 4..
Sign of f ′ Sign of f ″ Is f increasing or decreasing? Concavity
Positive Positive Increasing Concave up
Positive Negative Increasing Concave down
Negative Positive Decreasing Concave up
Negative Negative Decreasing Concave down
Table 4.6 What Derivatives Tell Us about Graphs
Figure 4.37 Consider a twice-differentiable function f over an open interval I. If f ′(x) > 0 for all x ∈ I, the function is increasing over I. If f ′(x) < 0 for all x ∈ I, the function is decreasing over I. If f ″(x) > 0 for all x ∈ I, the function is concave up. If f ″(x) < 0 for all x ∈ I, the function is concave down on I.
The first derivative test provides an analytical tool for finding local extrema, but the second derivative can also be used to locate extreme values. Using the second derivative can sometimes be a simpler method than using the first derivative. We know that if a continuous function has a local extrema, it must occur at a critical point. However, a function need not have a local extrema at a critical point. Here we examine how the second derivative test can be used to determine whether a function has a local extremum at a critical point. Let f be a twice-differentiable function such that f ′ (a) = 0 and f ″ is continuous over an open interval I containing a. Suppose f ″(a) < 0. Since f ″ is continuous over I, f ″(x) < 0 for all x ∈ I ( Figure 4.38 ). Then, by Corollary 3, f ′ is a decreasing function over I. Since f ′ (a) = 0, we conclude that
This OpenStax book is available for free at http://cnx.org/content/col11964/1.
for all x ∈ I, f ′ (x) > 0 if x < a and f ′ (x) < 0 if x > a. Therefore, by the first derivative test, f has a local maximum at x = a. On the other hand, suppose there exists a point b such that f ′ (b) = 0 but f ″(b) > 0. Since f ″ is continuous over an open interval I containing b, then f ″(x) > 0 for all x ∈ I ( Figure 4.38 ). Then, by Corollary 3, f ′ is an increasing function over I. Since f ′ (b) = 0, we conclude that for all x ∈ I, f ′ (x) < 0 if x < b and f ′ (x) > 0 if x > b. Therefore, by the first derivative test, f has a local minimum at x = b.
Figure 4.38 Consider a twice-differentiable function f such that f ″ is continuous. Since f ′(a) = 0 and f ″(a) < 0, there is an interval I containing a such that for all x in I, f is increasing if x < a and f is decreasing if x > a. As a result, f has a local maximum at x = a. Since f ′(b) = 0 and f ″(b) > 0, there is an interval I containing b such that for all x in I, f is decreasing if x < b and f is increasing if x > b. As a result, f has a local minimum at x = b.
Theorem 4.11: Second Derivative Test Suppose f ′ (c) = 0, f ″ is continuous over an interval containing c. i. If f ″(c) > 0, then f has a local minimum at c. ii. If f ″(c) < 0, then f has a local maximum at c. iii. If f ″(c) = 0, then the test is inconclusive.
Note that for case iii. when f ″(c) = 0, then f may have a local maximum, local minimum, or neither at c. For
example, the functions f (x) = x^3 , f (x) = x^4 , and f (x) = −x^4 all have critical points at x = 0. In each case, the
second derivative is zero at x = 0. However, the function f (x) = x^4 has a local minimum at x = 0 whereas the function
f (x) = −x^4 has a local maximum at x, and the function f (x) = x^3 does not have a local extremum at x = 0.
Let’s now look at how to use the second derivative test to determine whether f has a local maximum or local minimum at a critical point c where f ′ (c) = 0.
Figure 4.39 The function f has a local maximum at x = − 3 and a local minimum at x = 3
Consider the function f (x) = x^3 − ⎛⎝^32 ⎞⎠x^2 − 18x. The points c = 3, −2 satisfy f ′ (c) = 0. Use the second derivative test to determine whether f has a local maximum or local minimum at those points.
We have now developed the tools we need to determine where a function is increasing and decreasing, as well as acquired an understanding of the basic shape of the graph. In the next section we discuss what happens to a function as x → ±∞. At that point, we have enough tools to provide accurate graphs of a large variety of functions.