Understanding Concavity

​
f
-2-x+
2
x
x coordinate of point P
-5
calculate derivatives?
first derivative at P is -11 (slope of red line)
second derivative at P is 2
A differentiable function
f
on some interval
I
is said to be concave up if
f'
is increasing and concave down if
f'
is decreasing. If
f'
is constant, then the function has no concavity. Points where a function changes concavity are called inflection points.
The red line is the tangent to the curve at
P
and the dashed blue line is the tangent to the curve a little to the right of
P
.

Details

To visualize the idea of concavity using the first derivative, consider the tangent line at a point. Recall that the slope of the tangent line is precisely the derivative. As you move along an interval, if the slope of the line is increasing, then
f'
is increasing and so the function is concave up. Similarly, if the slope of the line is decreasing, then
f'
is decreasing and so the function is concave down.
In this Demonstration, the tangent line at
P=(x,f(x))
is drawn in red. The tangent line at
(x+.15,f(x+.15))
is denoted by a dashed blue line. If
f'
never changes sign twice in an interval.15 units wide or smaller, as is the case in all the examples considered by this Demonstration, then whenever the blue line has a larger slope than the red line, the derivative is increasing from
x
to
x+.15
and the function is concave up on that interval. Likewise, whenever the blue line has a smaller slope than the red line, the derivative is decreasing from
x
to
x+.15
and the function is concave down on that interval.
In practice, we use the second derivative test to check concavity. The second derivative test says that a function
f
is concave up when
f''>0
and concave down when
f''<0.
This follows directly from the definition as the
f
is concave up when
f'
is increasing and
f'
is increasing when its derivative
f''
is positive. Similarly
f
is concave down when
f'
is decreasing, which occurs when
f''<0
.

External Links

Curvature (Wolfram MathWorld)
Inflection Point (Wolfram MathWorld)
Second Derivative (Wolfram MathWorld)

Permanent Citation

Laura R. Lynch
​
​"Understanding Concavity"​
​http://demonstrations.wolfram.com/UnderstandingConcavity/​
​Wolfram Demonstrations Project​
​Published: June 2, 2014