113. Derivative Test

Find critical points by solving 𝑓(𝑥)=0

1st Derivative+Local MaxConcave Down
+Local MinConcave Up
2nd Derivative𝑓(𝑐)<0Local MaxConcave Down
𝑓(𝑐)>0Local MinConcave Up

113.0.1. First Derivative Test

If 𝑓(𝑥) changes sign around a critical point 𝑐, we can determine if 𝑓(𝑐) is a local maximum or minimum:

Example

If 𝑓(𝑥) changes from negative to positive at 𝑐, then 𝑓(𝑐) is a local minimum

Suppose:

𝑓(𝑥)=𝑥2,𝑓(𝑥)=2𝑥

Step 1. Find critical point

Solve 𝑓(𝑥)=0:

2𝑥=0𝑥=0

So, 𝑥=0 is the only critical point

Step 2. Test sign of 𝑓(𝑥) around 𝑥=0

  • Left: 𝑥=1
𝑓(1)=2(1)=2<0𝑓is𝐝𝐞𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠
  • Right: 𝑥=1:
𝑓(1)=2(1)=2>0𝑓is𝐢𝐧𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠

Step 3. Interpretation

Since 𝑓(𝑥) changes from negativetopositive at 𝑥=0,

𝑓(0)=0𝐥𝐨𝐜𝐚𝐥 𝐦𝐢𝐧𝐢𝐦𝐮𝐦
Example

If 𝑓(𝑥) changes from positive to negative at 𝑐, then 𝑓(𝑐) is a local maximum

Suppose:

𝑓(𝑥)=𝑥2,𝑓(𝑥)=2𝑥

Step 1. Find critical point

Solve 𝑓(𝑥)=0

2𝑥=0𝑥=0

So, 𝑥=0 is the only critical point

Step 2. Test sign of 𝑓(𝑥) around 𝑥=0

  • Left: 𝑥=1
𝑓(1)=2(1)=2>0𝑓is𝐢𝐧𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠
  • Right: 𝑥=1
𝑓(1)=2(1)=2<0𝑓is𝐝𝐞𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠

Step 3. Interpretation

Since 𝑓(𝑥) changes from positivetonegative at 𝑥=0,

𝑓(0)=0𝐥𝐨𝐜𝐚𝐥 𝐦𝐚𝐱𝐢𝐦𝐮𝐦
Example

If 𝑓(𝑥)does not change sign, 𝑓(𝑐) is not a local extremum

Suppose

𝑓(𝑥)=𝑥3,𝑓(𝑥)=3𝑥2

Step 1. Find critical point

Solve 𝑓(𝑥)=0

3𝑥2=0𝑥=0

So, 𝑥=0 is the only critical point

Step 2. Test sign of 𝑓(𝑥) around 𝑥=0

  • Left: 𝑥=1
𝑓(1)=3(1)2=3>0𝑓is𝐢𝐧𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠
  • Right: 𝑥=1
𝑓(1)=3(1)2=3>0𝑓is𝐢𝐧𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠

Step 3. Interpretation

Since 𝑓(𝑥) does not change sign at 𝑥=0,

𝑓(0)=0𝐧𝐨𝐭 𝐚 𝐥𝐨𝐜𝐚𝐥 𝐞𝐱𝐭𝐫𝐞𝐦𝐮𝐦

but rather a point of inflection

113.0.2. Second Derivative Test

If 𝑓(𝑥) is continuous near a critical point 𝑐, and 𝑓(𝑐)=0, then:

Example

If 𝑓(𝑐)>0, then 𝑓(𝑐) is a local minimum (concave up)

Suppose

𝑓(𝑥)=𝑥2,𝑓(𝑥)=2𝑥,𝑓(𝑥)=2

Step 1. Find critical points

Solve 𝑓(𝑥)=0

2𝑥=0𝑥=0

So, 𝑥=0 is the only critical point

Step 2. Evaluate the second derivative at 𝑥=0

𝑓(0)=2>0

Since the second derivative is positive, the function is concave up near 𝑥=0

Step 3. Interpretation

𝑓(0)=0𝐥𝐨𝐜𝐚𝐥 𝐦𝐢𝐧𝐢𝐦𝐮𝐦
Example

If 𝑓(𝑐)<0, then 𝑓(𝑐) is a local maximum (concave down)

Suppose

𝑓(𝑥)=𝑥2,𝑓(𝑥)=2𝑥,𝑓(𝑥)=2

Step 1. Find critical points

Solve 𝑓(𝑥)=0

2𝑥=0𝑥=0

So, 𝑥=0 is the only critical point

Step 2. Evaluate the second derivative at 𝑥=0

𝑓(0)=2<0

Since the second derivative is negative, the function is concave down near 𝑥=0

Step 3. Interpretation

𝑓(0)=0𝐥𝐨𝐜𝐚𝐥 𝐦𝐚𝐱𝐢𝐦𝐮𝐦
Example

If 𝑓(𝑐)=0, the test is inconclusive — use the first derivative test or other methods

Suppose

𝑓(𝑥)=𝑥3,𝑓(𝑥)=3𝑥2,𝑓(𝑥)=6𝑥

Step 1. Find critical points

Solve 𝑓(𝑥)=0

3𝑥2=0𝑥=0

So, 𝑥=0 is the only critical point

Step 2. Evaluate the second derivative at 𝑥=0

𝑓(0)=6(0)=0

Since the second derivative is 0, the test in inconclusive

Step 3. Use another method

Test sign of 𝑓(𝑥) around 𝑥=0

  • Left: 𝑥=1
𝑓(1)=3(1)2=3>0𝑓is𝐢𝐧𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠
  • Right: 𝑥=1
𝑓(1)=3(1)2=3>0𝑓is𝐢𝐧𝐜𝐫𝐞𝐚𝐬𝐢𝐧𝐠

Step 4. Interpretation

Since 𝑓(𝑥) does not change sign at 𝑥=0,

𝑓(0)=0𝐧𝐨𝐭 𝐚 𝐥𝐨𝐜𝐚𝐥 𝐞𝐱𝐭𝐫𝐞𝐦𝐮𝐦

but rather a point of inflection