Concavity and Inflection Points

Concavity and Inflection Points

Concavity Test

Definition of Concavity

Concavity

Suppose the function f(x)f(x) is continuous on an interval II. If for any two points x1,x2x_1, x_2 in II we have

f(x1+x22)≤f(x1)+f(x2)2f(\frac{x_1 + x_2}{2}) \leq \frac{f(x_1) + f(x_2)}{2}

then f(x)f(x) is called a concave function on II (concave up).

If the inequality is reversed, then f(x)f(x) is called a convex function on II (concave down).

The Test

Suppose the function f(x)f(x) is twice differentiable on an interval II. Then:

  1. If f′′(x)>0f''(x) > 0 holds on II, then f(x)f(x) is a concave function on II
  2. If f′′(x)<0f''(x) < 0 holds on II, then f(x)f(x) is a convex function on II

Definition and Test for Inflection Points

Definition of an Inflection Point

Inflection Point

If the concavity of the function f(x)f(x) changes at the point x0x_0, then the point (x0,f(x0))(x_0, f(x_0)) is called an inflection point.

Test for Inflection Points

Suppose the function f(x)f(x) is three times differentiable at the point x0x_0 and f′′(x0)=0f''(x_0) = 0. Then:

  1. If f′′′(x0)≠0f'''(x_0) \neq 0, then (x0,f(x0))(x_0, f(x_0)) is an inflection point
  2. If f′′′(x0)=0f'''(x_0) = 0, a further analysis is needed

Sufficient Condition for an Inflection Point

Suppose the function f(x)f(x) is twice differentiable in a neighborhood of the point x0x_0 and f′′(x0)=0f''(x_0) = 0. Then:

  1. If f′′(x)f''(x) has opposite signs on the two sides of x0x_0, then (x0,f(x0))(x_0, f(x_0)) is an inflection point
  2. If f′′(x)f''(x) has the same sign on the two sides of x0x_0, then (x0,f(x0))(x_0, f(x_0)) is not an inflection point

Applied Examples

Example 1: Find the concavity intervals and the inflection point of f(x)=x3−3x2+2f(x) = x^3 - 3x^2 + 2.

Solution:

  • f′(x)=3x2−6xf'(x) = 3x^2 - 6x
  • f′′(x)=6x−6=6(x−1)f''(x) = 6x - 6 = 6(x-1)
  • Setting f′′(x)=0f''(x) = 0 gives x=1x = 1
  • When x<1x < 1, f′′(x)<0f''(x) < 0, so the function is convex
  • When x>1x > 1, f′′(x)>0f''(x) > 0, so the function is concave
  • f′′′(x)=6≠0f'''(x) = 6 \neq 0, so (1,f(1))=(1,0)(1, f(1)) = (1, 0) is an inflection point

Example 2: Find the concavity and the inflection point of f(x)=x4f(x) = x^4.

Solution:

  • f′(x)=4x3f'(x) = 4x^3
  • f′′(x)=12x2f''(x) = 12x^2
  • Setting f′′(x)=0f''(x) = 0 gives x=0x = 0
  • When x≠0x \neq 0, f′′(x)>0f''(x) > 0, so the function is concave
  • f′′′(x)=24xf'''(x) = 24x, f′′′(0)=0f'''(0) = 0
  • Since f′′(x)≥0f''(x) \geq 0 holds for every xx and f′′(x)f''(x) is continuous at x=0x = 0, (0,0)(0, 0) is not an inflection point

Example 3: Find the concavity intervals and the inflection points of f(x)=sin⁡xf(x) = \sin x on [0,2π][0, 2\pi].

Solution:

  • f′(x)=cos⁡xf'(x) = \cos x
  • f′′(x)=−sin⁡xf''(x) = -\sin x
  • Setting f′′(x)=0f''(x) = 0 gives x=0,π,2πx = 0, \pi, 2\pi
  • When 0<x<π0 < x < \pi, f′′(x)<0f''(x) < 0, so the function is convex
  • When π<x<2π\pi < x < 2\pi, f′′(x)>0f''(x) > 0, so the function is concave
  • f′′′(x)=−cos⁡xf'''(x) = -\cos x
  • f′′′(0)=−1≠0f'''(0) = -1 \neq 0, f′′′(π)=1≠0f'''(\pi) = 1 \neq 0, f′′′(2π)=−1≠0f'''(2\pi) = -1 \neq 0
  • So (0,0)(0, 0), (π,0)(\pi, 0) and (2π,0)(2\pi, 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)=0f''(x_0) = 0 already means (x0,f(x0))(x_0, f(x_0)) is an inflection point Correct: one must check how the sign of the second derivative changes on the two sides of x0x_0

3. Errors When Using the Third Derivative

Mistake: drawing a conclusion directly when f′′′(x0)=0f'''(x_0) = 0 Correct: 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+2f(x) = x^3 - 3x^2 + 2.

derivative applicationsextrematangent lines

Approach: Compute the second derivative, analyze how its sign changes, and decide whether there is an inflection point.

Steps:

  1. f′(x)=3x2−6xf'(x) = 3x^2 - 6x
  2. f′′(x)=6x−6=6(x−1)f''(x) = 6x - 6 = 6(x-1)
  3. Setting f′′(x)=0f''(x) = 0 gives x=1x = 1
  4. When x<1x < 1, f′′(x)<0f''(x) < 0, so the function is convex
  5. When x>1x > 1, f′′(x)>0f''(x) > 0, so the function is concave
  6. f′′′(x)=6≠0f'''(x) = 6 \neq 0, so (1,f(1))=(1,0)(1, f(1)) = (1, 0) is an inflection point

Answer: The function is convex on (−∞,1)(-\infty, 1) and concave on (1,+∞)(1, +\infty), and the inflection point is (1,0)(1, 0).

Exercise 2

Find the concavity intervals and the inflection point of f(x)=x4−4x3+6x2f(x) = x^4 - 4x^3 + 6x^2.

derivative applicationsextrematangent lines

Approach: Compute the second derivative and analyze how its sign changes.

Steps:

  1. f′(x)=4x3−12x2+12xf'(x) = 4x^3 - 12x^2 + 12x
  2. f′′(x)=12x2−24x+12=12(x2−2x+1)=12(x−1)2f''(x) = 12x^2 - 24x + 12 = 12(x^2 - 2x + 1) = 12(x-1)^2
  3. Setting f′′(x)=0f''(x) = 0 gives x=1x = 1
  4. When x≠1x \neq 1, f′′(x)>0f''(x) > 0, so the function is concave
  5. f′′′(x)=24x−24f'''(x) = 24x - 24, f′′′(1)=0f'''(1) = 0
  6. Since f′′(x)≥0f''(x) \geq 0 holds for every xx, (1,f(1))=(1,3)(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)=x2+1xf(x) = \frac{x^2 + 1}{x}.

derivative applicationsextrematangent lines

Approach: Compute the second derivative and analyze how its sign changes.

Steps:

  1. f′(x)=x2−1x2f'(x) = \frac{x^2 - 1}{x^2}
  2. f′′(x)=2x3f''(x) = \frac{2}{x^3}
  3. When x<0x < 0, f′′(x)<0f''(x) < 0, so the function is convex
  4. When x>0x > 0, f′′(x)>0f''(x) > 0, so the function is concave
  5. The function is not defined at x=0x = 0, so there is no inflection point

Answer: The function is convex on (−∞,0)(-\infty, 0) and concave on (0,+∞)(0, +\infty), and it has no inflection point.

Exercise 4

Given f(x)=∫0xet2sin⁡t dtf(x) = \int_0^x e^{t^2} \sin t\,dt and g(x)=∫0xet2dt⋅sin⁡2xg(x) = \int_0^x e^{t^2} dt \cdot \sin^2 x, decide whether x=0x = 0 is an inflection point of f(x)f(x) and whether it is an inflection point of g(x)g(x).

derivative applicationsextrematangent lines

Approach: Differentiate f(x)f(x) and g(x)g(x) separately and decide whether x=0x = 0 is an inflection point.

Steps:

  1. Differentiate f(x)f(x):

    • f′(x)=ex2sin⁡xf'(x) = e^{x^2} \sin x
    • f′′(x)=2xex2sin⁡x+ex2cos⁡xf''(x) = 2x e^{x^2} \sin x + e^{x^2} \cos x
    • f′′(0)=1>0f''(0) = 1 > 0, so x=0x = 0 is not an inflection point of f(x)f(x)
  2. Differentiate g(x)g(x):

    • g′(x)=ex2sin⁡2x+sin⁡2x∫0xet2dtg'(x) = e^{x^2} \sin^2 x + \sin 2x \int_0^x e^{t^2} dt
    • g′′(x)=2xex2sin⁡2x+ex2sin⁡2x+2cos⁡2x∫0xet2dt+sin⁡2xex2g''(x) = 2x e^{x^2} \sin^2 x + e^{x^2} \sin 2x + 2\cos 2x \int_0^x e^{t^2} dt + \sin 2x e^{x^2}
    • g′(0)=0g'(0) = 0, g′′(0)=0g''(0) = 0, g′′′(0)>0g'''(0) > 0, so x=0x = 0 is an inflection point of g(x)g(x)

Answer: x=0x = 0 is not an inflection point of f(x)f(x), but it is an inflection point of g(x)g(x).

Exercise 5

Let f(x)f(x) have a second derivative, and suppose f′(0)=f′(1)f'(0) = f'(1) and ∣f′′(x)∣≤1|f''(x)| \leq 1. Prove that for x∈(0,1)x \in (0,1), ∣f(x)−f(0)(1−x)−f(1)x∣≤x(1−x)2|f(x) - f(0)(1-x) - f(1)x| \leq \frac{x(1-x)}{2}.

derivative applicationsextrematangent lines

Approach: Use Taylor’s formula together with the boundedness of the second derivative to prove the inequality.

Steps:

  1. Use Taylor’s formula: Expand f(x)f(x) at x=0x = 0 and at x=1x = 1 with Taylor’s formula: f(x)=f(0)+f′(0)x+f′′(ξ1)2!x2,ξ1∈(0,x)f(x) = f(0) + f'(0)x + \frac{f''(\xi_1)}{2!}x^2, \quad \xi_1 \in (0,x) f(x)=f(1)+f′(1)(x−1)+f′′(ξ2)2!(x−1)2,ξ2∈(x,1)f(x) = f(1) + f'(1)(x-1) + \frac{f''(\xi_2)}{2!}(x-1)^2, \quad \xi_2 \in (x,1)

  2. Use the hypotheses: Since f′(0)=f′(1)f'(0) = f'(1), adding the two equations gives: f(x)−f(0)(1−x)−f(1)x=f′′(ξ1)2!x(1−x)+f′′(ξ2)2!x(x−1)f(x) - f(0)(1-x) - f(1)x = \frac{f''(\xi_1)}{2!}x(1-x) + \frac{f''(\xi_2)}{2!}x(x-1)

  3. Finish the proof: Because ∣f′′(x)∣≤1|f''(x)| \leq 1: ∣f(x)−f(0)(1−x)−f(1)x∣≤12x(1−x)+12x(1−x)=x(1−x)2|f(x) - f(0)(1-x) - f(1)x| \leq \frac{1}{2}x(1-x) + \frac{1}{2}x(1-x) = \frac{x(1-x)}{2}

Answer: The proof is complete.

Exercise 6

Let f(x)f(x) have a continuous second derivative on [−a,a][-a,a], and suppose f(x)f(x) attains an extremum in (−a,a)(-a,a). Prove that there exists η∈(−a,a)\eta \in (-a,a) such that ∣f′′(η)∣≥12a2∣f(a)−f(−a)∣|f''(\eta)| \geq \frac{1}{2a^2}|f(a) - f(-a)|.

derivative applicationsextrematangent lines

Approach: Use Taylor’s formula together with the property of an extremum to prove the inequality.

Steps:

  1. Use the property of the extremum: Suppose f(x)f(x) attains an extremum at x0∈(−a,a)x_0 \in (-a,a). Then f′(x0)=0f'(x_0) = 0.

  2. Use Taylor’s formula: f(−a)=f(x0)+f′′(γ1)2!(−a−x0)2,−a<γ1<x0f(-a) = f(x_0) + \frac{f''(\gamma_1)}{2!}(-a-x_0)^2, \quad -a < \gamma_1 < x_0 f(a)=f(x0)+f′′(γ2)2!(a−x0)2,x0<γ2<af(a) = f(x_0) + \frac{f''(\gamma_2)}{2!}(a-x_0)^2, \quad x_0 < \gamma_2 < a

  3. Finish the proof: Subtracting the two equations gives: f(a)−f(−a)=12[(a−x0)2f′′(γ2)−(a+x0)2f′′(γ1)]f(a) - f(-a) = \frac{1}{2}[(a-x_0)^2f''(\gamma_2) - (a+x_0)^2f''(\gamma_1)]

    Since ∣f′′(x)∣|f''(x)| is continuous, let M=max⁡{∣f′′(γ1)∣,∣f′′(γ2)∣}M = \max\{|f''(\gamma_1)|, |f''(\gamma_2)|\}. Then: ∣f(a)−f(−a)∣≤12M[(a−x0)2+(a+x0)2]=M(a2+x02)|f(a) - f(-a)| \leq \frac{1}{2}M[(a-x_0)^2 + (a+x_0)^2] = M(a^2 + x_0^2)

    When x0∈(−a,a)x_0 \in (-a,a), ∣f(a)−f(−a)∣≤2Ma2|f(a) - f(-a)| \leq 2Ma^2, that is, there exists η∈(−a,a)\eta \in (-a,a) such that ∣f′′(η)∣≥12a2∣f(a)−f(−a)∣|f''(\eta)| \geq \frac{1}{2a^2}|f(a) - f(-a)|.

Answer: The proof is complete.

Exercise 7

Let f(x)f(x) have a continuous second derivative on [a,b][a,b] and suppose f′′(x)≥0f''(x) \geq 0. Prove that for any x∈(a,b)x \in (a,b), f(x)≥f(a)+f(b)−f(a)b−a(x−a)f(x) \geq f(a) + \frac{f(b) - f(a)}{b - a}(x - a)

derivative applicationsextrematangent lines

Approach: Use the convexity of the function together with Taylor’s formula to carry out the proof.

Steps:

  1. Use Taylor’s formula: For any x∈(a,b)x \in (a,b), expand at the point aa up to second order: f(x)=f(a)+f′(a)(x−a)+f′′(ξ)2(x−a)2f(x) = f(a) + f'(a)(x - a) + \frac{f''(\xi)}{2}(x - a)^2 where ξ∈(a,x)\xi \in (a,x)

  2. Use the convexity condition: Since f′′(x)≥0f''(x) \geq 0, we have f′′(ξ)≥0f''(\xi) \geq 0, and therefore: f(x)≥f(a)+f′(a)(x−a)f(x) \geq f(a) + f'(a)(x - a)

  3. Use the Lagrange mean value theorem: Apply the Lagrange mean value theorem on [a,b][a,b]: f′(a)=f(b)−f(a)b−a−f′′(η)2(b−a)f'(a) = \frac{f(b) - f(a)}{b - a} - \frac{f''(\eta)}{2}(b - a) where η∈(a,b)\eta \in (a,b)

  4. Finish the proof: Since f′′(η)≥0f''(\eta) \geq 0: f′(a)≤f(b)−f(a)b−af'(a) \leq \frac{f(b) - f(a)}{b - a} Substituting this into the inequality gives: f(x)≥f(a)+f(b)−f(a)b−a(x−a)f(x) \geq f(a) + \frac{f(b) - f(a)}{b - a}(x - a)

Answer: The proof is complete.


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
f(x)f(x)Mathematical symbolf of xThe twice or three times differentiable function whose bending direction is analysed
f′(x)f'(x)Mathematical symbolf prime of xThe first derivative, the tangent slope at each point of the graph
f′′(x)f''(x)Mathematical symbolf double prime of xThe second derivative whose sign on II decides whether ff is concave or convex
f′′′(x)f'''(x)Mathematical symbolf triple prime of xThe third derivative, used to certify an inflection point when f′′(x0)=0f''(x_0) = 0
x0x_0Mathematical symbolx-sub-zeroThe abscissa at which a change of concavity is tested
(x0,f(x0))(x_0, f(x_0))Mathematical symbolthe point x-zero, f of x-zeroThe inflection point itself, as a point on the graph of ff
x1,x2x_1, x_2Mathematical symbolx-one, x-twoThe two arbitrary points used in the midpoint inequality that defines concavity
IIMathematical symbolcapital IThe interval on which ff is assumed continuous and twice or three times differentiable
[0,2π][0, 2\pi]Intervalclosed interval from zero to two piThe interval on which the concavity of sin⁡x\sin x and its inflection points are worked out
π\piGreek letterPi (pie)The constant that fixes the critical points 0,π,2π0, \pi, 2\pi of sin⁡x\sin x inside that interval

Found an issue with this content?

Tell us what could be improved.