# Calculus/Extreme Value Theorem

**Extreme Value Theorem**

If

*f*is a continuous function and closed on the interval [], then

*f*has both a minimum and a maximum.

This introduces us to the aspect of global extrema and local extrema. (Also known as absolute extrema or relative extrema respectively.)

How is this so? Let us use an example.

and is closed on the interval [-1,2]. Find all extrema.

A critical point (a point where the derivative is zero) exists at (0,0). Just for practice, let us use the second derivative test to evaluate whether or not it is a minimum or maximum. (You should know it is a minimum from looking at the graph.)

, thus it must be a minimum.

As mentioned before, one can find global extrema on a closed interval. How? Evaluate the *y* coordinate at the endpoints of the interval and compare it to the *y* coordinates of the critical point. When you are finding extrema on a closed interval it is called a local extremum and when it's for the whole graph it's called a global extremum.

1: Critical Point: (0,0) This is the lowest value in the interval. Therefore, it is a local minimum which also happens to be the global minimum.

2: Left Endpoint (-1, 1) This point is not a critical point nor is it the highest/lowest value, therefore it qualifies as nothing.

3: Right Endpoint (2, 4) This is the highest value in the interval, and thus it is a local maximum.

This example was to show you the **extreme value theorem**. The quintessential point is this: on a closed interval, the function will have both minima and maxima. However, if that interval was an open interval of all real numbers, (0,0) would have been a local minimum. On a closed interval, always remember to evaluate endpoints to obtain global extrema.

## First Derivative TestEdit

Recall that the first derivative of a function describes the slope of the graph of the function at every point along the graph for which the function is defined and differentiable.

**Increasing/Decreasing:**

- If , then is decreasing.

- If , then is increasing.

**Local Extrema:**

- If and changes signs at , then there exists a local extremum at .

- If for and for , then is a local minimum.

- If for and , then is a local maximum.

**Example 1:**

```
Let . Find all local extrema.
```

- Find

- Set to find local extrema.

- Determine whether there is a local minimum or maximum at .

- Choose an
*x*value smaller than :

- Choose an
*x*value larger than :

Therefore, there is a local minimum at because and changes signs at .

```
Answer: local minimum: .
```

## Second Derivative TestEdit

Recall that the second derivative of a function describes the concavity of the graph of that function.

- If and changes signs at , then there is a point of inflection (change in concavity) at .

- If , then the graph of is concave down.

- If , then the graph of is concave up.

**Example 2:**

Let . Find any points of inflection on the graph of .

- Find .

- Set .

- Determine whether changes signs at .

- Choose an
*x*value that is smaller than 0:

- Choose an
*x*value that is larger than 0:

Therefore, there exists a point of inflection at because and changes signs at .

```
Answer: point of inflection: .
```