# What are the local extrema of f(x)= sinx on [0,2pi]?

Mar 31, 2016

At $x = \frac{\pi}{2}$ $f ' ' \left(x\right) = - 1$ we have a local maxima and at $x = 3 \frac{\pi}{2}$, $f ' ' \left(x\right) = 1$ we have a local minima.

#### Explanation:

A maxima is a high point to which a function rises and then falls again. As such the slope of the tangent or the value of derivative at that point will be zero.

Further, as the tangents to the left of maxima will be sloping upwards, then flattening and then sloping downwards, slope of the tangent will be continuously decreasing, i.e. the value of second derivative would be negative.

A minima on the other hand is a low point to which a function falls and then rises again. As such the tangent or the value of derivative at minima too will be zero.

But, as the tangents to the left of minima will be sloping downwards, then flattening and then sloping upwards, slope of the tangent will be continuously increasing or the value of second derivative would be positive.

However, these maxima and minima may either be universal i.e. maxima or minima for the entire range or may be localized, i.e. maxima or minima in a limited range.

Let us see this with reference to the function described in the question and for this let us first differentiate $f \left(x\right) = \sin x$.

$f ' \left(x\right) = \cos x$ and on $\left[0 , 2 \pi\right]$ it is $0$ at $x = \frac{\pi}{2}$ and $x = \frac{3 \pi}{2}$.

$f ' ' \left(x\right) = - \sin x$ and while at $x = \frac{\pi}{2}$ $f ' ' \left(x\right) = - 1$ meaning we have a local maxima, at $x = 3 \frac{\pi}{2}$, $f ' ' \left(x\right) = 1$ meaning we have a local minima.

graph{sinx [-1, 7, -1.5, 1.5]}