This is a beta course, so its structure, chapters, and examples may continue to change.
Concavity and Inflection Points
Concavity and Inflection Points
Concavity Test
Definition of Concavity
Definition
A definition is a precise description of what a concept, a term, or an object means. Understanding definitions is the foundation of learning any field, and every concept has its own exact meaning.
Concavity
Suppose the function f(x) is continuous on an interval I. If for any two points x1,x2 in I we have
f(2x1+x2)≤2f(x1)+f(x2)
then f(x) is called a concave function on I (concave up).
If the inequality is reversed, then f(x) is called a convex function on I (concave down).
The Test
Suppose the function f(x) is twice differentiable on an interval I. Then:
If f′′(x)>0 holds on I, then f(x) is a concave function on I
If f′′(x)<0 holds on I, then f(x) is a convex function on I
Definition and Test for Inflection Points
Definition of an Inflection Point
Definition
A definition is a precise description of what a concept, a term, or an object means. Understanding definitions is the foundation of learning any field, and every concept has its own exact meaning.
Inflection Point
If the concavity of the function f(x) changes at the point x0, then the point (x0,f(x0)) is called an inflection point.
Test for Inflection Points
Suppose the function f(x) is three times differentiable at the point x0 and f′′(x0)=0. Then:
If f′′′(x0)=0, then (x0,f(x0)) is an inflection point
If f′′′(x0)=0, a further analysis is needed
Sufficient Condition for an Inflection Point
Suppose the function f(x) is twice differentiable in a neighborhood of the point x0 and f′′(x0)=0. Then:
If f′′(x) has opposite signs on the two sides of x0, then (x0,f(x0)) is an inflection point
If f′′(x) has the same sign on the two sides of x0, then (x0,f(x0)) is not an inflection point
Applied Examples
Example 1: Find the concavity intervals and the inflection point of f(x)=x3−3x2+2.
Solution:
f′(x)=3x2−6x
f′′(x)=6x−6=6(x−1)
Setting f′′(x)=0 gives x=1
When x<1, f′′(x)<0, so the function is convex
When x>1, f′′(x)>0, so the function is concave
f′′′(x)=6=0, so (1,f(1))=(1,0) is an inflection point
Example 2: Find the concavity and the inflection point of f(x)=x4.
Solution:
f′(x)=4x3
f′′(x)=12x2
Setting f′′(x)=0 gives x=0
When x=0, f′′(x)>0, so the function is concave
f′′′(x)=24x, f′′′(0)=0
Since f′′(x)≥0 holds for every x and f′′(x) is continuous at x=0, (0,0) is not an inflection point
Example 3: Find the concavity intervals and the inflection points of f(x)=sinx on [0,2π].
Solution:
f′(x)=cosx
f′′(x)=−sinx
Setting f′′(x)=0 gives x=0,π,2π
When 0<x<π, f′′(x)<0, so the function is convex
When π<x<2π, f′′(x)>0, so the function is concave
f′′′(x)=−cosx
f′′′(0)=−1=0, f′′′(π)=1=0, f′′′(2π)=−1=0
So (0,0), (π,0) and (2π,0) are all inflection points
Geometric Meaning of Concavity
Concave Functions
The graph of the function bends upward
The chord between any two points lies below the graph of the function
The second derivative is positive
Convex Functions
The graph of the function bends downward
The chord between any two points lies above the graph of the function
The second derivative is negative
Common Mistakes and Caveats
1. Errors in Judging Concavity
Mistake: confusing the definitions of concave and convex
Correct: a concave function is concave up, and a convex function is concave down
2. Errors in Judging Inflection Points
Mistake: assuming that f′′(x0)=0 already means (x0,f(x0)) is an inflection point
Correct: one must check how the sign of the second derivative changes on the two sides of x0
3. Errors When Using the Third Derivative
Mistake: drawing a conclusion directly when f′′′(x0)=0Correct: when the third derivative vanishes, one must further analyze the sign change of the second derivative
Exercises
Exercise 1
Find the concavity intervals and the inflection point of f(x)=x3−3x2+2.
derivative applicationsextrematangent lines
Approach:
Compute the second derivative, analyze how its sign changes, and decide whether there is an inflection point.
Steps:
f′(x)=3x2−6x
f′′(x)=6x−6=6(x−1)
Setting f′′(x)=0 gives x=1
When x<1, f′′(x)<0, so the function is convex
When x>1, f′′(x)>0, so the function is concave
f′′′(x)=6=0, so (1,f(1))=(1,0) is an inflection point
Answer: The function is convex on (−∞,1) and concave on (1,+∞), and the inflection point is (1,0).
Exercise 2
Find the concavity intervals and the inflection point of f(x)=x4−4x3+6x2.
derivative applicationsextrematangent lines
Approach:
Compute the second derivative and analyze how its sign changes.
Steps:
f′(x)=4x3−12x2+12x
f′′(x)=12x2−24x+12=12(x2−2x+1)=12(x−1)2
Setting f′′(x)=0 gives x=1
When x=1, f′′(x)>0, so the function is concave
f′′′(x)=24x−24, f′′′(1)=0
Since f′′(x)≥0 holds for every x, (1,f(1))=(1,3) is not an inflection point
Answer: The function is concave on every interval, and it has no inflection point.
Exercise 3
Find the concavity intervals and the inflection point of f(x)=xx2+1.
derivative applicationsextrematangent lines
Approach:
Compute the second derivative and analyze how its sign changes.
Steps:
f′(x)=x2x2−1
f′′(x)=x32
When x<0, f′′(x)<0, so the function is convex
When x>0, f′′(x)>0, so the function is concave
The function is not defined at x=0, so there is no inflection point
Answer: The function is convex on (−∞,0) and concave on (0,+∞), and it has no inflection point.
Exercise 4
Given f(x)=∫0xet2sintdt and g(x)=∫0xet2dt⋅sin2x, decide whether x=0 is an inflection point of f(x) and whether it is an inflection point of g(x).
derivative applicationsextrematangent lines
Approach:
Differentiate f(x) and g(x) separately and decide whether x=0 is an inflection point.
Steps:
Differentiate f(x):
f′(x)=ex2sinx
f′′(x)=2xex2sinx+ex2cosx
f′′(0)=1>0, so x=0 is not an inflection point of f(x)
g′(0)=0, g′′(0)=0, g′′′(0)>0, so x=0 is an inflection point of g(x)
Answer: x=0 is not an inflection point of f(x), but it is an inflection point of g(x).
Exercise 5
Let f(x) have a second derivative, and suppose f′(0)=f′(1) and ∣f′′(x)∣≤1. Prove that for x∈(0,1), ∣f(x)−f(0)(1−x)−f(1)x∣≤2x(1−x).
derivative applicationsextrematangent lines
Approach:
Use Taylor’s formula together with the boundedness of the second derivative to prove the inequality.
Steps:
Use Taylor’s formula:
Expand f(x) at x=0 and at x=1 with Taylor’s formula:
f(x)=f(0)+f′(0)x+2!f′′(ξ1)x2,ξ1∈(0,x)f(x)=f(1)+f′(1)(x−1)+2!f′′(ξ2)(x−1)2,ξ2∈(x,1)
Use the hypotheses:
Since f′(0)=f′(1), adding the two equations gives:
f(x)−f(0)(1−x)−f(1)x=2!f′′(ξ1)x(1−x)+2!f′′(ξ2)x(x−1)
Finish the proof:
Because ∣f′′(x)∣≤1:
∣f(x)−f(0)(1−x)−f(1)x∣≤21x(1−x)+21x(1−x)=2x(1−x)
Answer: The proof is complete.
Exercise 6
Let f(x) have a continuous second derivative on [−a,a], and suppose f(x) attains an extremum in (−a,a). Prove that there exists η∈(−a,a) such that ∣f′′(η)∣≥2a21∣f(a)−f(−a)∣.
derivative applicationsextrematangent lines
Approach:
Use Taylor’s formula together with the property of an extremum to prove the inequality.
Steps:
Use the property of the extremum:
Suppose f(x) attains an extremum at x0∈(−a,a). Then f′(x0)=0.
Use Taylor’s formula:
f(−a)=f(x0)+2!f′′(γ1)(−a−x0)2,−a<γ1<x0f(a)=f(x0)+2!f′′(γ2)(a−x0)2,x0<γ2<a
Finish the proof:
Subtracting the two equations gives:
f(a)−f(−a)=21[(a−x0)2f′′(γ2)−(a+x0)2f′′(γ1)]
Since ∣f′′(x)∣ is continuous, let M=max{∣f′′(γ1)∣,∣f′′(γ2)∣}. Then:
∣f(a)−f(−a)∣≤21M[(a−x0)2+(a+x0)2]=M(a2+x02)
When x0∈(−a,a), ∣f(a)−f(−a)∣≤2Ma2, that is, there exists η∈(−a,a) such that ∣f′′(η)∣≥2a21∣f(a)−f(−a)∣.
Answer: The proof is complete.
Exercise 7
Let f(x) have a continuous second derivative on [a,b] and suppose f′′(x)≥0. Prove that for any x∈(a,b),
f(x)≥f(a)+b−af(b)−f(a)(x−a)
derivative applicationsextrematangent lines
Approach:
Use the convexity of the function together with Taylor’s formula to carry out the proof.
Steps:
Use Taylor’s formula:
For any x∈(a,b), expand at the point a up to second order:
f(x)=f(a)+f′(a)(x−a)+2f′′(ξ)(x−a)2
where ξ∈(a,x)
Use the convexity condition:
Since f′′(x)≥0, we have f′′(ξ)≥0, and therefore:
f(x)≥f(a)+f′(a)(x−a)
Use the Lagrange mean value theorem:
Apply the Lagrange mean value theorem on [a,b]:
f′(a)=b−af(b)−f(a)−2f′′(η)(b−a)
where η∈(a,b)
Finish the proof:
Since f′′(η)≥0:
f′(a)≤b−af(b)−f(a)
Substituting this into the inequality gives:
f(x)≥f(a)+b−af(b)−f(a)(x−a)
Answer: The proof is complete.
Summary
Symbols Used in This Article
Symbol
Type
Pronunciation/Explanation
Meaning in This Article
f(x)
Mathematical symbol
f of x
The twice or three times differentiable function whose bending direction is analysed
f′(x)
Mathematical symbol
f prime of x
The first derivative, the tangent slope at each point of the graph
f′′(x)
Mathematical symbol
f double prime of x
The second derivative whose sign on I decides whether f is concave or convex
f′′′(x)
Mathematical symbol
f triple prime of x
The third derivative, used to certify an inflection point when f′′(x0)=0
x0
Mathematical symbol
x-sub-zero
The abscissa at which a change of concavity is tested
(x0,f(x0))
Mathematical symbol
the point x-zero, f of x-zero
The inflection point itself, as a point on the graph of f
x1,x2
Mathematical symbol
x-one, x-two
The two arbitrary points used in the midpoint inequality that defines concavity
I
Mathematical symbol
capital I
The interval on which f is assumed continuous and twice or three times differentiable
[0,2π]
Interval
closed interval from zero to two pi
The interval on which the concavity of sinx and its inflection points are worked out
π
Greek letter
Pi (pie)
The constant that fixes the critical points 0,π,2π of sinx inside that interval