1st and 2nd Derivative Tests

The 1st and 2nd Derivative Tests
When a functions switches from increasing to decreasing (or vise versa) there will be a local maximum (or minimum) value. Often we'd like to know what type of extrema occurs at critical points. We can classify our critical points using the following derivative tests.
First Derivative Test
Suppose f(x)is a continuous function on [a,b], differentiable on (a,b) , and P in (a,b) is a critical point of f(x)
- Pis a relative minimum of f(x)if f′(x) changes from negative to positive at P
- Pis a relative maximum of f(x)if f′(x)changes from positive to negative at P
Second Derivative Test
Assume f(x) is a function such that f′′(x)is continuous on an open interval containing the point P
- if f′(P)=0 and f′′(P)>0 , then Pis a relative minimum
- if f′(P)=0 and f′′(P)<0 , then Pis a relative maximum
- if f′(P)=0 and f′′(P)=0 , then the test is inconclusive

Example: Finding Relative Extrema
Find the relative extrema (max or min) of the function f(x)=ex(x2−3)+5
Using the First Derivative Test:
1. Find the first derivative
f′(x)=ex(x2−3)+ex(2x)=ex(x2+2x−3)
2. Determine when the first derivative is 0 or undefined -- these are the critical points
f′(x)=0
ex(x2+2x−3)=0
Since ex never equals 0, we need x2+2x−3=0 → (x−1)(x+3)=0
So, the critical points are when x=−3 or x=1
3. Determine the intervals of increasing/decreasing

4. Find the y value that corresponds to that critical point
f(1)=e1(12−3)+5=5−2e
f(−3)=e−3((−3)2−3)+5=5+6e−3
5. Make a conclusion
Since the graph is increasing to the left of x=−3 and decreasing to the right of x=−3, (−3,5+6e−3) is a relative maximum.
Since the graph is decreasing to the left of x=1 and increasing to the right of x=1, (1,5−2e) is a relative minimum.
Using the Second Derivative Test:
1. Find the first and second derivatives
f′(x)=ex(x2−3)+ex(2x)=ex(x2+2x−3)
f′′(x)=ex(x2+2x−3)+ex(2x+2)=ex(x2+4x−1)
2. Determine when the first derivative is 0 or undefined -- these are the critical points
f′(x)=0
ex(x2+2x−3)=0
Since ex never equals 0, we need x2+2x−3=0 → (x−1)(x+3)=0
So, the critical points are when x=1 or x=−3
3. Substitute each critical point into the second derivative
f′′(1)=e1(12+4(1)−1)=4e>0 → x=1 corresponds to a local min
f′′(−3)=e−3((−3)2+4(−3)−1)=−4e−3<0 → x=−3 corresponds to a local max
4. Find the y value that corresponds to that critical point
f(1)=e1(12−3)+5=5−2e
f(−3)=e−3((−3)2−3)+5=5+6e−3
Therefore, the relative min is(1, 5−2e) and the relative max is (−3, 5+6e−3)
Example: 2nd Derivative Test
Use the second derivative test to classify the relative extrema of f(x)=−3x5+5x3.
f′(x)=f′(x)=⇒f′(x)=f′′(x)=Now, we f′′(−1)=f′′(0)=f′′(1)=So, x=The testand, x=−15x4+15x2−15x2(x2−1)0 when x=−1,0,1−60x3+30xneed to check the concavity at each of our critical points−60(−1)3+30(−1)=60−30=30>0−60(0)3+30(0)=0−60(1)3+30(1)=−60+30=−30<0−1 is a local minimum, because f is concave up at that point, is inconclusive at x=0, because f has an inflection point there,1 is a local maximum because f is concave down at that point.