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 f(x)= x 3 +1. 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 0, and is of cap shape on the interval ,0 .
  • The function is concave up on the interval 0, and concave down on the interval ,0 .
  • The concave nature of the function changes at 0,1 . The point 0,1 is an inflection point.

Mathematical Justification

Mathematically, the statement can be justified using the first derivative test and second derivative test.

  • Differentiate the function f(x)= x 3 +1 with respect to x two times.
  • f(x)= x 3 +1 f' x =3 x 2 f'' x =6x
  • So, for all x>0, the second derivative of the function f'' x >0 and for all x<0, the second derivative of the function f'' x <0.
  • Therefore, the function is concave up on 0, and concave down on the interval ,0 . So, the function shows a concave behavior.
  • The inflection point is given by x=0 as the function changes its concave nature at x=0.

Practice Problems

Problem 1

Consider the provided function f x =10 x 2 50x. 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,

d dx f x = d dx 10 x 2 50x = d dx 10 x 2 + d dx 50x

Apply the power rule of differentiation, d dx x n =n x n1 .

d dx f x = d dx 10 x 2 50x = d dx 10 x 2 + d dx 50x =102 x 21 50 =20x50

To evaluate the second derivative of the function, differentiate the first derivative again with respect to x.

Apply the power rule of differentiation, d dx x n =n x n1 .

d 2 d x 2 f x = d dx 20x50 = d dx 20x d dx 50 =200 =20

Observe that first derivative of the function f' x =20x50.

Now, the first derivative can be both less and greater than 0, depending on values of x.

The first derivative will be negative if,

20x50<0 20x<50 x< 50 20 x<2.5

Therefore, the function f x =10 x 2 50xis decreasing when x<2.5.

The first derivative will be greater than or equal to 0, if,

20x500 20x50 x 50 20 x2.5

Therefore, the function f x =10 x 2 50xis increasing when x2.5.

Next, observe that the second derivative of the function f'' x =20is greater than 0 for all real values of x, so f x =10 x 2 50xis concave up.

The function doesn’t change its concavity so no point of inflection.

Problem 2

Consider the function f x =x x 2 . Evaluate the first derivative of the function. Find the interval where the function f x =x x 2 is concave up and concave down. Check whether concavity changes or not.

Solution: Apply sum rule of differentiation,

d dx f x = d dx x x 2 = d dx x + d dx x 2

Apply the power rule of differentiation, d dx x n =n x n1 .

d dx f x = d dx x x 2 = d dx x + d dx x 2 =12x

To evaluate the second derivative of the function, differentiate the first derivative again with respect to x.

Apply the power rule of differentiation, d dx x n =n x n1 .

d 2 d x 2 f x = d dx 12x = d dx 1 d dx 2x =02 =2

Observe that first derivative of the function f' x =12x.

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,

12x<0 1<2x 1 2 <x x>0.5

Therefore, the function f x =x x 2 is decreasing when x>0.5.

The first derivative will be greater than or equal to 0 if,

12x0 12x 1 2 x x0.5

Therefore, the function f x =x x 2 is increasing when x0.5.

Next, observe that the second derivative of the function f'' x =2 is negative for all real values of x, so f x =x x 2 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 f x = x 4 +2 is concave up and concave down. Check whether concavity changes or not.

Solution:

  • Consider the given function. f x = x 4 +2.
  • We differentiate the function with respect to x two times to obtain f'' x =12 x 2 .
  • For all x, the second derivative f'' x =12 x 2 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 f'' x is never unknown and is never equal to zero?

Answer: For all x in any interval, f'' x must be greater than or equal to 0 (i.e. non-negative) in order for f(x) to be concave up.

Similarly f'' x must be non-positive in order for f(x) to be concave down.

Since f'' x may not be continuous and therefore shift polarity without crossing the x-axis, simply saying f'' x 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 f'' x >0 and g'' x >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 c,d and twice differentiable on open interval c,d .

  • The first derivative test tells us that:

(i) If the function's first derivative is greater than zero, that is g' x >0 for every x in c,d , then the function g is increasing on interval c,d .

(ii) If the function's first derivative is less than zero, that is g' x <0 for every x in c,d , then the function g is decreasing on interval c,d .

  • The second derivative test, tells us that:

(i) If the second derivative of the function is greater than zero that is g'' x >0 for every x in c,d , then the function g is concave up on interval c,d .

(ii) If the second derivative of the function is less than zero that is g'' x <0 for every x in c,d , then the function g is concave down on interval c,d .

  • The power rule of differentiation is: d dx x n =n x n1 , where n is any real number.
  • The sum/difference rule of differentiation is: d dx f±g = d dx f ± d dx g , 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?

We've got you covered with step-by-step solutions to millions of textbook problems, subject matter experts on standby 24/7 when you're stumped, and more.
Check out a sample calculus Q&A solution here!

*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.

Search. Solve. Succeed!

Study smarter access to millions of step-by step textbook solutions, our Q&A library, and AI powered Math Solver. Plus, you get 30 questions to ask an expert each month.

Tagged in
MathCalculus

Differentiation

Application of Differentiation

Concavity Homework Questions from Fellow Students

Browse our recently answered Concavity homework questions.

Search. Solve. Succeed!

Study smarter access to millions of step-by step textbook solutions, our Q&A library, and AI powered Math Solver. Plus, you get 30 questions to ask an expert each month.

Tagged in
MathCalculus

Differentiation

Application of Differentiation