# Local Maxima And Minima

Maxima and Minima are one of the most common concepts in differential calculus. A branch of Mathematics called “Calculus of Variations” deals with the maxima and the minima of the functional. The calculus of variations is concerned with the variations in the functional, in which small change in the function leads to the change in the functional value.

The first variation is defined as the linear part of the change in the functional, and the second part of the variation is defined in the quadratic part. Functional is expressed as the definite integrals which involve the functions and their derivatives.

The functions that maximize or minimize the functional are can be found using the Euler – Lagrange of the calculus of variations. These two Latin maxima and minima words basically mean the maximum and minimum value of a function respectively, which is quite evident. The maxima and minima are collectively called “Extrema”. Here, we assume our function to be continuous for its entire domain. Before knowing how to find maxima and minima, we should first learn about derivatives. Assuming that you all know how to find derivatives, let us go ahead and learn about some curves. What are the curves?

Also, learn:

## What are the Curves?

Figure 1: Curves

Figure 2: Value of a Function

A curve is defined as one-dimensional continuum. In figure 1, that curve is graph of a function $f ~in~ x$. $f(x)$ represents the value of function at $x$. The value of  $f$ when $x = a$, will be $f(a)$ . Similarly, for $B,~ C ~and ~D$. You can refer fig. 2 to understand this. From the figure it is quite clear that the value of the given function has its maximum value at x=b, i.e. $f(b)$.

Interval of a function plays a very important role to find extreme values of a function. If the interval for which the function $f$ is defined in $R$, then we can’t talk about maxima and minima of $f$. We can understand it logically that though $f(b)$ appears to have the maximum value, we can’t be sure it has the largest value till we have seen the graph for its entire domain.

## Local Maxima and Minima

We may not be able to tell whether $f(b)$ is the maximum value of $f$, but we can give some credit to point . We can do this by declaring $B$ as the local maximum for function $f$ . These are also called relative maxima and minima. These local maxima and minima are defined as:

• If $f(a) \leq f(x)$ for all $x$ in $P’s$ neighborhood (within the distance nearby $P$ , where $x = a$ ), $f$ is said to have a local minimum at $x = a$.
• If $f(a) \geq f(x)$ for all in $P’s$ neighborhood (within the distance nearby $P$, where $x = a$), $f$ is said to have a local maximum at $x = a$.

In the above example, $B ~and~ D$ are local maxima and $A ~and~ C$ are local minima. Local maxima and minima are together referred to as Local extreme.

Let us now take a point $P$, where $x = a$ and try to analyze the nature of the derivatives. There are total of four possibilities:

• If $f'(a) = 0$ , the tangent drawn is parallel to $x -axis$ , i.e. slope is zero. There are three possible cases:
• The value of $f$ , when compared to the value of $f$ at $P$ , increases if you move towards right or left of $P$  (Local minima: look like valleys)
• The value of $f$, when compared to the value of $f$ at $P$, decreases if you move towards right or left of $P$ (Local maxima: look like hills)
• The value of $f$ , when compared to the value of $f$  at $P$ , increases and decreases as you move towards left and right respectively of  $P$(Neither: looks like a flat land)
• If, the tangent is drawn at a negative slope. The value of f'(a), at p, increases if you move towards left of and decreases if you move towards the right of . So, in this case, also, we can’t find any local extrema.
• If, the tangent is drawn at a positive slope. The value of f'(a), at P, increases if you move towards the right of and decreases if you move towards left of . So, in this case, we can’t find any local extrema.
• $f’$ doesn’t exist at point $P$, i.e. the function is not differentiable at $P$. This normally happens when the graph of  $f$ has a sharp corner somewhere. All the three cases discussed in the previous point also hold true for this point.

To remember this, you can refer the Table 1.
Table 1: Various possibilities of derivatives of a function

 Nature of f'(a) Nature of Slope Example Local Extremum f'(a) > 0 Positive Neither f'(a) < 0 Negative Neither f'(a) = 0 Zero Local Minimum       Local Maximum         Neither Not Defined Not Defined Local Minimum       Local Maximum       Neither

### What is Critical Point?

In mathematics, a Critical point of a differential function of a real or complex variable is any value in its domain where its derivative is 0. We can hence infer from here that every local extremum is a critical point but every critical point need not be a local extremum. So, if we have a function which is continuous, it must have maxima and minima or local extrema. This means that every such function will have critical points. In case the given function is monotonic, the maximum and minimum values lie at the endpoints of the domain of the definition of that particular function.

Maxima and minima are hence very important concepts in the calculus of variations, which helps to find the extreme values of a function. You can use these two values and where they occur for a function using the first derivative method or the second derivative method.

To know and learn new concepts every day, download BYJU’S – The Learning App.