What is the Concavity of a Function?
In calculus, concavity is a descriptor of mathematics that tells about the shape of the graph. It is the parameter that helps to estimate the maximum and minimum value of any of the functions and the concave nature using the graphical method. We use the first derivative test and second derivative test to understand the concave behavior of the function.
How to Calculate Function’s Concavity?
The calculation of a function's concavity is done using the second derivative test.
- The rate of change of a function's derivative is referred to as concavity. Where the derivative f' is increasing, a function f is concave up (or upwards). The increase in the derivative of f' is the same as saying that f" is greater than or equal to 0. Similarly, where the derivative f' is decreasing (or equivalently, f" is negative), f is concave down (or downwards). These are known as the first derivative test and second derivative test.
- In calculus, the path of curvature is not revealed by the sign of the derivative of f, which shows where the graph of f is increasing or decreasing. For example, when the graph can be increasing on both sides of the point, but it has an upward curvature on the left side (“holds water”) and a downward curvature on the right side (“spills water”).
- The maxima of smooth functions are found where the function is concave downward, while the minima are found where the function is concave upward.
Geometrical Interpretation
- In calculus, we assume f is concave up on intervals where the graph of f has upward curvature, and we say f is concave down on intervals where the graph has downward curvature.
- If the tangents to a function f on an open interval have increasing slopes, f is concave up; and if they have decreasing slopes, then f it is concave down.
- On an open interval, f is concave up if its graph is above its tangent lines, and concave down if it is below its tangent lines.
Inflection Point
In differential calculus, an inflection point, a point of inflection, flex, or emphasis (intonation) is a point on a bend at which the bend changes from being inward (curved descending) to raised (sunken upward), or the other way around. A point where the curve disappears however doesn't change the sign is called a state of undulation or undulation point. In logarithmic calculation, an inflection point is characterized as a point where the digression meets the bend to arrange in any event, and an undulation point or hyperflex is characterized as a point where the digression meets the bend to arrange at any rate.
The inflection point is calculated with the help of a second derivative test. The point where the concave nature of the graph changes is known as an inflection point.
Concavity using a Graphical Approach
- Consider the function . It is a cubic function. Without using the first derivative test and second derivative test we can determine the concave nature of the function.
- The graph is of cup shape on the interval and is of cap shape on the interval .
- The function is concave up on the interval and concave down on the interval .
- The concave nature of the function changes at . The point is an inflection point.
Mathematical Justification
Mathematically, the statement can be justified using the first derivative test and second derivative test.
- Differentiate the function with respect to two times.
- So, for all , the second derivative of the function and for all , the second derivative of the function .
- Therefore, the function is concave up on and concave down on the interval . So, the function shows a concave behavior.
- The inflection point is given by as the function changes its concave nature at .
Practice Problems
Problem 1
Consider the provided function . Using the first derivative test and second derivative test, determine the intervals in which function is concave down and concave up. Also, find the inflection point that is the point where the concavity changes.
Solution:
Evaluate the first derivative of the function,
Apply sum rule of differentiation,
Apply the power rule of differentiation, .
To evaluate the second derivative of the function, differentiate the first derivative again with respect to x.
Apply the power rule of differentiation, .
Observe that first derivative of the function .
Now, the first derivative can be both less and greater than 0, depending on values of x.
The first derivative will be negative if,
Therefore, the function is decreasing when .
The first derivative will be greater than or equal to 0, if,
Therefore, the function is increasing when .
Next, observe that the second derivative of the function is greater than 0 for all real values of x, so is concave up.
The function doesn’t change its concavity so no point of inflection.
Problem 2
Consider the function . Evaluate the first derivative of the function. Find the interval where the function is concave up and concave down. Check whether concavity changes or not.
Solution: Apply sum rule of differentiation,
Apply the power rule of differentiation, .
To evaluate the second derivative of the function, differentiate the first derivative again with respect to x.
Apply the power rule of differentiation, .
Observe that first derivative of the function .
Now, the first derivative can be both negative and greater than or equal to 0 depending on values of x.
The first derivative will be negative if,
Therefore, the function is decreasing when .
The first derivative will be greater than or equal to 0 if,
Therefore, the function is increasing when .
Next, observe that the second derivative of the function is negative for all real values of x, so is concave down on the entire real number line.
The function does not change its concavity so there is no inflection point.
Problem 3
Find the interval where the function is concave up and concave down. Check whether concavity changes or not.
Solution:
- Consider the given function. .
- We differentiate the function with respect to two times to obtain .
- For all x, the second derivative is strictly greater than 0.
- The function is concave up on the entire real number line. For the function to be concave down, the double derivative should be less than 0 which is not possible because of the square term.
- Therefore, the function is nowhere concave down.
- Also, there is no inflection point and concavity does not change.
Problem 4
How can we calculate the concave nature of a function if is never unknown and is never equal to zero?
Answer: For all x in any interval, must be greater than or equal to 0 (i.e. non-negative) in order for f(x) to be concave up.
Similarly must be non-positive in order for f(x) to be concave down.
Since may not be continuous and therefore shift polarity without crossing the x-axis, simply saying greater than zero 0 is insufficient to evaluate the concave nature of f(x).
Problem 5
Is the product and sum of two concave functions concave as well?
Answer: Consider two functions, f and g, with >0 and >0, respectively.
- The second derivative of f+ g is f"+g", which is a positive number.
- As a result, their sum is concave up.
- The derivative f"g+2f'g'+fg", is obtained by taking the second derivative of fg.
- The words f" and g" are both positive, but the other terms can have any sign, so the expression as a whole may not be necessarily positive.
Formulas
Let a function g be continuous on closed interval and twice differentiable on open interval .
- The first derivative test tells us that:
(i) If the function's first derivative is greater than zero, that is for every x in , then the function g is increasing on interval .
(ii) If the function's first derivative is less than zero, that is for every x in , then the function g is decreasing on interval .
- The second derivative test, tells us that:
(i) If the second derivative of the function is greater than zero that is for every x in , then the function g is concave up on interval .
(ii) If the second derivative of the function is less than zero that is for every x in , then the function g is concave down on interval .
- The power rule of differentiation is: , where n is any real number.
- The sum/difference rule of differentiation is: , where f and g are differentiable functions in x.
Common Mistakes
- Students often make errors in determining the form of a concave graph. It is normal to make the mistake of identifying the interval where the graph is concave up or concave down.
- Students should use the second derivative test to define a function's interval to avoid making an error in determining the concave nature of the function and how concavity changes.
Context and Applications
This topic is significant in the professional exams for undergraduate and postgraduate courses, especially for:
- B.Sc. in Science
- M.Sc. in Science
- Bachelor of Mathematics
Want more help with your calculus homework?
*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.