Skip to content

Extreme values of functions ​

Local extrema of functions ​

Definition ​

Let f∈R→R, a∈Df.

We say that f has at a

  1. local minimum ⟺df∃r>0 ∀x∈B(a,r)∩Df:f(x)≥f(a)
  2. strict local minimum ⟺df∃r>0 ∀x∈B(a,r)∩Df∖{a}:f(x)>f(a)
  3. local maximum ⟺df∃r>0 ∀x∈B(a,r)∩Df:f(x)≤f(a)
  4. strict local maximum ⟺df∃r>0 ∀x∈B(a,r)∩Df∖{a}:f(x)<f(a)

Where a is a point of local extremum and f(a) is the local extreme value.

First derivative test for local extremum ​

Let f∈R→R, a∈Df, f∈D(a) and suppose that f has a local extremum at a.

Then f′(a)=0.

Monotonicity ​

First derivative test for monotonicity ​

Let I⊆R be an interval of any type, f:I→R, f∈C, f∈D. Then

  1. If ∀x∈intI:f′(x)>0, then f is strictly increasing on I.
  2. If ∀x∈intI:f′(x)<0, then f is strictly decreasing on I.
  3. If ∀x∈intI:f′(x)=0, then f is constant on I.

The practical application of the theorem: Let f∈R→R, Df be interval. Suppose that the equation f′(x)=0 has finite many roots: x1<x2<…<xk. If f′ is continuous then the sign of f′ is constant on the interval (xj−1,xj).Consequently the function is strictly increasing or strictly decreasing over [xj−1,xj].

Example 1 ​

Discuss the monotonicity, the local extreme values and the global (=absolute) extreme values of the following function

f(x)=1−4x−x2

Solution ​

f′(x)=−4−2x

Find the roots of f′:

−4−2x=0⇒x=−2∀x<−2:f′(x)>0∀x>−2:f′(x)<0x=−2:f′(x)=0

Therefore

  1. f is strictly increasing on (−∞,−2)
  2. f is strictly decreasing on (−2,∞)
  3. f has a local maximum at x=−2, f(−2)=5
  4. x=−2 is also a global maximumlimx→±∞f(x)=limx→±∞(1−4x−x2)=limx→±∞x2(1x2−4x−1)=−∞
  5. f has no local or global minimum

Example 2 ​

Discuss the monotonicity, the local extreme values and the global (=absolute) extreme values

f(x)=xx2−6x−16x2−6x−16=0⇒x=8,−2⟹Df=R∖{8,−2}

Solution ​

f′(x)=(x2−6x−16)−x(2x−6)(x2−6x−16)2=−x2−16(x2−6x−16)2

Denominator is always positive, numerator is always negative. Therefore

f′(x)<0 ∀x∈Df⟹f is strictly decreasing on Dflimx→−2±0f(x)=±∞limx→8±0f(x)=±∞limx→±∞f(x)=0

Therefore f has no local or global extremum.

Example 3 ​

Discuss the monotonicity, the local extreme values and the global (=absolute) extreme values

f(x)=ex2−4x

Solution ​

f′(x)=ex2−4x⋅(2x−4)

ex2−4x is always positive

2x−4=0⇒x=2∀x<2:f′(x)<0∀x>2:f′(x)>0x=2:f′(x)=0

Therefore

  1. f is strictly decreasing on (−∞,2)
  2. f is strictly increasing on (2,∞)
  3. f has a local minimum at x=2, f(2)=e−4
  4. x=2 is also a global minimumlimx→±∞f(x)=limx→±∞ex2−4x=+∞
  5. f has no local or global maximum

Example 4 ​

Discuss the monotonicity, the local extreme values and the global (=absolute) extreme values

f(x)=x⋅ln⁡xDf=(0,∞)

Solution ​

f′(x)=ln⁡x+1ln⁡x+1=0⇒x=1e∀x∈(0,1e):f′(x)<0∀x∈(1e,∞):f′(x)>0x=1e:f′(x)=0

Therefore

  1. f is strictly decreasing on (0,1e)
  2. f is strictly increasing on (1e,∞)
  3. f has a local minimum at x=1e, f(1e)=−1e
  4. x=1e is also a global minimumlimx→0+0f(x)=0limx→∞f(x)=∞
  5. f has no local or global maximum

Example 5 ​

Discuss the monotonicity, the local extreme values and the global (=absolute) extreme values

f(x)=x3−3x2+3x+2

Solution ​

f′(x)=3x2−6x+3=3(x−1)23(x−1)2=0⇒x=1∀x<1:f′(x)>0∀x>1:f′(x)>0x=1:f′(x)=0

Therefore

  1. f is strictly increasing on (−∞,1)∪(1,∞)
  2. f has a local minimum at x=1, f(1)=3
  3. x=1 is also a global minimumlimx→±∞f(x)=+∞
  4. f has no local or global maximum

Example 6 ​

Discuss the monotonicity, the local extreme values and the global (=absolute) extreme values

f(x)=x2⋅e−x

Solution ​

f′(x)=2x⋅e−x−x2⋅e−x=e−x⋅(2x−x2)

e−x is always positive

2x−x2=0⇒x=0,2∀x<0:f′(x)<0∀x∈(0,2):f′(x)>0∀x>2:f′(x)<0x=0:f′(x)=0x=2:f′(x)=0

Therefore

  1. f is strictly decreasing on (−∞,0)
  2. f is strictly increasing on (0,2)
  3. f is strictly decreasing on (2,∞)
  4. f has a local minimum at x=0, f(0)=0
  5. f has a local maximum at x=2, f(2)=4e−2
limx→−∞f(x)=+∞limx→∞f(x)=0
  1. f has no global maximum
  2. f has a global minimum at x=0

Example 7 ​

Discuss the monotonicity, the local extreme values and the global (=absolute) extreme values

f(x)=x−ln⁡(1+x)Df=(−1,∞)

Solution ​

f′(x)=1−11+x=x1+xx1+x=0⇒x=0∀x∈(−1,0):f′(x)<0∀x∈(0,∞):f′(x)>0x=0:f′(x)=0

Therefore

  1. f is strictly decreasing on (−1,0)
  2. f is strictly increasing on (0,∞)
  3. f has a local minimum at x=0, f(0)=0
  4. x=0 is also a global minimumlimx→−1+0f(x)=+∞limx→∞f(x)=+∞
  5. f has no local or global maximum

Example 8 ​

Determine the global extreme values of the following function

f(x)=x1+x2(x∈R)

Solution ​

f′(x)=1+x2−x⋅2x(1+x2)2=1−x2(1+x2)2

(1+x2)2 is always positive

1−x2=0⇒x=±1∀x∈(−1,1):f′(x)>0∀x∈(−∞,−1)∪(1,∞):f′(x)<0x=−1:f′(x)=0x=1:f′(x)=0

Therefore

  1. f is strictly increasing on (−1,1)
  2. f is strictly decreasing on (−∞,−1)∪(1,∞)
  3. f has a local minimum at x=−1, f(−1)=−12
  4. f has a local maximum at x=1, f(1)=12
limx→−∞f(x)=0limx→∞f(x)=0
  1. f has a global maximum at x=1, f(1)=12
  2. f has a global minimum at x=−1, f(−1)=−12

Example 9 ​

Determine the global extreme values of the following function

f(x)=sin4⁡x+cos4⁡x(−2π3≤x≤π3)

Solution ​

f′(x)=4sin3⁡x⋅cos⁡x−4cos3⁡x⋅sin⁡x=4sin⁡xcos⁡x(sin2⁡x−cos2⁡x)==2⋅sin⁡2x⋅(−cos⁡2x)=−2sin⁡2xcos⁡2x=−sin⁡4xsin⁡4x=0⇒x=kπ4, k∈Zkπ4∈(−2π3,π3)⇒k=−2,−1,0,1f(0)=1f(−π4)=f(π4)=12f(−π2)=1f(−2π3)=(32)4+(−12)4=58f(π3)=(12)4+(32)4=58

Therefore

  1. f has a global maximum at x=0∨x=−π2, f(x)=1
  2. f has a global minimum at x=±π4, f(x)=12