Chapter 6 Application Of Derivatives
With the Calculus as a key, Mathematics can be successfully applied to the explanation of the course of Nature." - WHITEHEAD
6.1 Introduction
In Chapter 5, we have learnt how to find derivative of composite functions, inverse trigonometric functions, implicit functions, exponential functions and logarithmic functions. In this chapter, we will study applications of the derivative in various disciplines, e.g., in engineering, science, social science, and many other fields. For instance, we will learn how the derivative can be used (i) to determine rate of change of quantities, (ii) to find the equations of tangent and normal to a curve at a point, (iii) to find turning points on the graph of a function which in turn will help us to locate points at which largest or smallest value (locally) of a function occurs. We will also use derivative to find intervals on which a function is increasing or decreasing. Finally, we use the derivative to find approximate value of certain quantities.
6.2 Rate of Change of Quantities
Recall that by the derivative $\\ \frac{ds}{dt} $, we mean the rate of change of distance $s$ with respect to the time $t$. In a similar fashion, whenever one quantity $y$ varies with another quantity $x$, satisfying some rule $y=f(x)$, then $\frac{d y}{d x}$ (or $f^{\prime}(x)$ ) represents the rate of change of $y$ with respect to $x$ and $\frac{d y}{d x} _{x=x_0}(.$ or $.f^{\prime}(x_0))$ represents the rate of change of $y$ with respect to $x$ at $x=x_0$.
Further, if two variables $x$ and $y$ are varying with respect to another variable $t$, i.e., if $x=f(t)$ and $y=g(t)$, then by Chain Rule
$$ \frac{d y}{d x}=\frac{d y}{d t} / \frac{d x}{d t}, \text{ if } \frac{d x}{d t} \neq 0 $$
Thus, the rate of change of $y$ with respect to $x$ can be calculated using the rate of change of $y$ and that of $x$ both with respect to $t$.
Let us consider some examples.
Example 1 Find the rate of change of the area of a circle per second with respect to its radius $r$ when $r=5 cm$.
Solution The area A of a circle with radius $r$ is given by $A=\pi r^{2}$. Therefore, the rate of change of the area A with respect to its radius $r$ is given by $\frac{d A}{d r}=\frac{d}{d r}(\pi r^{2})=2 \pi r$. When $r=5 cm, \frac{d A}{d r}=10 \pi$. Thus, the area of the circle is changing at the rate of $10 \pi cm^{2} / s$.
Example 2 The volume of a cube is increasing at a rate of 9 cubic centimetres per second. How fast is the surface area increasing when the length of an edge is 10 centimetres?
Solution Let $x$ be the length of a side, $V$ be the volume and $S$ be the surface area of the cube. Then, $V=x^{3}$ and $S=6 x^{2}$, where $x$ is a function of time $t$.
Now $ \qquad \frac{d V}{d t}=9 cm^{3} / s$ (Given)
Therefore $ \qquad 9=\frac{d V}{d t}=\frac{d}{d t}(x^{3})=\frac{d}{d x}(x^{3}) \cdot \frac{d x}{d t} \quad(\text{ By Chain Rule })$
or $ \qquad =3 x^{2} \cdot \frac{d x}{d t} $
Now $ \qquad \frac{d x}{d t}=\frac{3}{x^{2}} \tag{1}$
$$ \begin{array}{rlr} \frac{d S}{d t} & =\frac{d}{d t}\left(6 x^{2}\right)=\frac{d}{d x}\left(6 x^{2}\right) \cdot \frac{d x}{d t} & \text { (By Chain Rule) } \\ & =12 x \cdot\left(\frac{3}{x^{2}}\right)=\frac{36}{x} & \text { (Using (1) ) } \end{array} $$
Hence, when $ x=10 \mathrm{~cm}, \frac{d S}{d t}=3.6 \mathrm{~cm}^{2} / \mathrm{s} $
Example 3 A stone is dropped into a quiet lake and waves move in circles at a speed of $4 cm$ per second. At the instant, when the radius of the circular wave is $10 cm$, how fast is the enclosed area increasing?
Solution The area $A$ of a circle with radius $r$ is given by $A=\pi r^{2}$. Therefore, the rate of change of area A with respect to time $t$ is
$$ \frac{d \mathrm{~A}}{d t}=\frac{d}{d t}\left(\pi r^{2}\right)=\frac{d}{d r}\left(\pi r^{2}\right) \cdot \frac{d r}{d t}=2 \pi r \frac{d r}{d t} $$
It is given that $\frac{d r}{d t}=4 \mathrm{~cm}$
Therefore, $ r=10 \mathrm{~cm} $ $ \frac{d \mathrm{~A}}{d t}=2 \pi(10)(4)=80 \pi $
Thus, the enclosed area is increasing at the rate of $80 \pi cm^{2} / s$, when $r=10 cm$.
Note $\frac{d y}{d x}$ is positive if $y$ increases as $x$ increases and is negative if $y$ decreases as $x$ increases.
Example 4 The length $x$ of a rectangle is decreasing at the rate of $3 cm /$ minute and the width $y$ is increasing at the rate of $2 cm /$ minute. When $x=10 cm$ and $y=6 cm$, find the rates of change of (a) the perimeter and (b) the area of the rectangle.
Solution Since the length $x$ is decreasing and the width $y$ is increasing with respect to time, we have
$$ \frac{d x}{d t}=-3 \mathrm{~cm} / \mathrm{min} \text { or } \frac{d y}{d t}=2 \mathrm{~cm} / \mathrm{min} $$
(a) The perimeter $P$ of a rectangle is given by
$$ \mathrm{P}=2(x+y) $$
Therefore $ \frac{d \mathrm{P}}{d t}=2\left(\frac{d x}{d t}+\frac{d y}{d t}\right)=2(-3+2)=-2 \mathrm{~cm} / \mathrm{min} $
(b) The area $A$ of the rectangle is given by
$ A=x \cdot y $
Therefore $ \begin{aligned} \frac{d \mathrm{~A}}{d t} & =\frac{d x}{d t} \cdot y+x \cdot \frac{d y}{d t} \\ & =-3(6)+10(2)(\text { क्योंकि } x=10 \mathrm{~cm} \text { और } y=6 \mathrm{~cm}) \\ & =2 \mathrm{~cm}^{2} / \mathrm{min} \end{aligned} $
Example 5 The total cost $C(x)$ in Rupees, associated with the production of $x$ units of an item is given by
$$ C(x)=0.005 x^{3}-0.02 x^{2}+30 x+5000 $$
Find the marginal cost when 3 units are produced, where by marginal cost we mean the instantaneous rate of change of total cost at any level of output.
Solution Since marginal cost is the rate of change of total cost with respect to the output, we have
$ \begin{aligned} \text{ Marginal } \qquad \mathrm{MC} & =\frac{d \mathrm{C}}{d x}=0.005\left(3 x^{2}\right)-0.02(2 x)+30 \\ \text{ When } \qquad \mathrm{MC} & =0.015\left(3^{2}\right)-0.04(3)+30 \\ & =0.135-0.12+30=30.015 \end{aligned} $
Hence, the required marginal cost is ₹ 30.02 (nearly).
Example 6 The total revenue in Rupees received from the sale of $x$ units of a product is given by $R(x)=3 x^{2}+36 x+5$. Find the marginal revenue, when $x=5$, where by marginal revenue we mean the rate of change of total revenue with respect to the number of items sold at an instant.
Solution Since marginal revenue is the rate of change of total revenue with respect to the number of units sold, we have
$ \begin{aligned} \text{ Marginal Revenue } \qquad (MR) & =\frac{d R}{d x}=6 x+36 \end{aligned} $ $ \begin{aligned} \text{ when } \qquad x & =5, MR=6(5)+36=66 \end{aligned} $
Hence, the required marginal revenue is ₹ 66 .
6.3 Increasing and Decreasing Functions
In this section, we will use differentiation to find out whether a function is increasing or decreasing or none.
Consider the function $f$ given by $f(x)=x^{2}, x \in \mathbf{R}$. The graph of this function is a parabola as given in Fig 6.1.
Values left to origin
$x$ | $f(x)=x^{2}$ |
---|---|
-2 | 4 |
$-\frac{3}{2}$ | $\frac{9}{4}$ |
-1 | 1 |
$-\frac{1}{2}$ | $\frac{1}{4}$ |
0 | 0 |
as we move from left to right, the height of the graph decreases

as we move from left to right, the height of the graph increases Values right to origin
x | $ f(x)=x^2 $ |
---|---|
0 | 0 |
$ \frac{1}{4} $ | $ \frac{1}{4} $ |
1 | 1 |
$ \frac{3}{2} $ | $ \frac{9}{4} $ |
2 | 4 |
First consider the graph (Fig 6.1) to the right of the origin. Observe that as we move from left to right along the graph, the height of the graph continuously increases. For this reason, the function is said to be increasing for the real numbers $x>0$.
Now consider the graph to the left of the origin and observe here that as we move from left to right along the graph, the height of the graph continuously decreases. Consequently, the function is said to be decreasing for the real numbers $x<0$.
We shall now give the following analytical definitions for a function which is increasing or decreasing on an interval.
Definition 1 Let I be an interval contained in the domain of a real valued function $f$. Then $f$ is said to be
(i) increasing on I if $x_1<x_2$ in $I \Rightarrow f(x_1)<f(x_2)$ for all $x_1, x_2 \in I$.
(ii) decreasing on $I$, if $x_1, x_2$ in $I \Rightarrow f(x_1)<f(x_2)$ for all $x_1, x_2 \in I$.
(iii) constant on $I$, if $f(x)=c$ for all $x \in I$, where $c$ is a constant.
(iv) decreasing on I if $x_1<x_2$ in $I \Rightarrow f(x_1) \geq f(x_2)$ for all $x_1, x_2 \in I$.
(v) strictly decreasing on I if $x_1<x_2$ in $I \Rightarrow f(x_1)>f(x_2)$ for all $x_1, x_2 \in I$.
For graphical representation of such functions see Fig 6.2.

We shall now define when a function is increasing or decreasing at a point.
Definition 2 Let $x_0$ be a point in the domain of definition of a real valued function $f$. Then $f$ is said to be increasing, decreasing at $x_0$ if there exists an open interval I containing $x_0$ such that $f$ is increasing, decreasing, respectively, in I.
Let us clarify this definition for the case of increasing function.
Example 7 Show that the function given by $f(x)=7 x-3$ is increasing on $\mathbf{R}$.
Solution Let $x_1$ and $x_2$ be any two numbers in $\mathbf{R}$. Then
$$ \begin{aligned} x _{1}<x _{2} & \Rightarrow 7 x _{1}<7 x _{2} \\ & \Rightarrow 7 x _{1}-3<7 x _{2}-3 \\ & \Rightarrow f\left(x _{1}\right)<f\left(x _{2}\right) \end{aligned} $$
Thus, by Definition 1, it follows that $f$ is strictly increasing on $\mathbf{R}$.
We shall now give the first derivative test for increasing and decreasing functions. The proof of this test requires the Mean Value Theorem studied in Chapter 5.
Theorem 1 Let $f$ be continuous on $[a, b]$ and differentiable on the open interval $(a, b)$. Then
(a) $f$ is increasing in $[a, b]$ if $f^{\prime}(x)>0$ for each $x \in(a, b)$
(b) $f$ is decreasing in $[a, b]$ if $f^{\prime}(x)<0$ for each $x \in(a, b)$
(c) $f$ is a constant function in $[a, b]$ if $f^{\prime}(x)=0$ for each $x \in(a, b)$
Proof (a) Let $x_1, x_2 \in[a, b]$ be such that $x_1<x_2$.
Then, by Mean Value Theorem (Theorem 8 in Chapter 5), there exists a point $c$ between $x_1$ and $x_2$ such that
$$ f\left(x _{2}\right)-f\left(x _{1}\right)=f^{\prime}(c)\left(x _{2}-x _{1}\right) $$
i.e. $\begin{array}{ll} f\left(x _{2}\right)-f\left(x _{1}\right)>0 & \left(\text { given } f^{\prime}(c)>0\right) \end{array}$
i.e. $f(x_2)>f(x_1)$
Thus, we have $x_1<x_2 \quad f(x_1) \quad f(x_2), \text{ for all } x_1, x_2 \quad[a, b]$
Hence, $f$ is an increasing function in $[a, b]$.
The proofs of part (b) and (c) are similar. It is left as an exercise to the reader.
Remarks
There is a more generalised theorem, which states that if $f \phi(x)>0$ for $x$ in an interval excluding the end points and $f$ is continuous in the interval, then $f$ is increasing. Similarly, if $f \phi(x)<0$ for $x$ in an interval excluding the end points and $f$ is continuous in the interval, then $f$ is decreasing.
Example 8 Show that the function $f$ given by
is increasing on $\mathbf{R}$.
$$ f(x)=x^{3}-3 x^{2}+4 x, x \in \mathbf{R} $$
Solution Note that
$$ \begin{aligned} f^{\prime}(x) & =3 x^{2}-6 x+4 \\ & =3(x^{2}-2 x+1)+1 \\ & =3(x-1)^{2}+1>0, \text{ in every interval of } \mathbf{R} \end{aligned} $$
Therefore, the function $f$ is increasing on $\mathbf{R}$.
Example 9 Prove that the function given by $f(x)=\cos x$ is
(a) decreasing in $(0, \pi)$
(b) increasing in $(\pi, 2 \pi)$, and
(c) neither increasing nor decreasing in $(0,2 \pi)$.
Solution Note that $f^{\prime}(x)=-\sin x$
(a) Since for each $x \in(0, \pi), \sin x>0$, we have $f^{\prime}(x)<0$ and so $f$ is decreasing in $(0, \pi)$.
(b) Since for each $x \in(\pi, 2 \pi)$, $\sin x<0$, we have $f^{\prime}(x)>0$ and so $f$ is increasing in $(\pi, 2 \pi)$.
(c) Clearly by (a) and (b) above, $f$ is neither increasing nor decreasing in $(0,2 \pi)$.
Example 10 Find the intervals in which the function $f$ given by $f(x)=x^{2}-4 x+6$ is (a) increasing (b) decreasing
Solution We have
$$ f(x)=x^{2}-4 x+6 $$ $ or \qquad f^{\prime}(x)=2 x-4 $

Therefore, $f^{\prime}(x)=0$ gives $x=2$. Now the point $x=2$ divides the real line into two disjoint intervals namely, $(-\infty, 2)$ and $(2, \infty)$ (Fig 6.3). In the interval $(-\infty, 2), f^{\prime}(x)=2 x$ $-4<0$.
Therefore, $f$ is decreasing in this interval. Also, in the interval $(2, \infty), f^{\prime}(x)>0$ and so the function $f$ is increasing in this interval.
Example 11 Find the intervals in which the function $f$ given by $f(x)=4 x^{3}-6 x^{2}-72 x$ +30 is (a) increasing (b) decreasing.
Solution We have
$$ \text{ or } \quad \begin{aligned} f(x) & =4 x^{3}-6 x^{2}-72 x+30 \\ f^{\prime}(x) & =12 x^{2}-12 x-72 \\ & =12(x^{2}-x-6) \\ & =12(x-3)(x+2) \end{aligned} $$
Therefore, $f^{\prime}(x)=0$ gives $x=-2,3$. The points $x=-2$ and $x=3$ divides the real line into three disjoint intervals, namely, $(-\infty,-2),(-2,3)$

Fig 6.4 and $(3, \infty)$.
In the intervals $(-\infty,-2)$ and $(3, \infty), f^{\prime}(x)$ is positive while in the interval $(-2,3)$, $f^{\prime}(x)$ is negative. Consequently, the function $f$ is increasing in the intervals $(-\infty,-2)$ and $(3, \infty)$ while the function is decreasing in the interval $(-2,3)$. However, $f$ is neither increasing nor decreasing in $\mathbf{R}$.
Interval | Sign of $ f’(x) $ | Nature of function $ f $ |
---|---|---|
$ (\infty, -2) $ | (-)(-)>0 | $ f $ is increasing |
(-2,3) | (-)(+)<0 | $ f $ is decreasing |
$ (3,\infty)$ | (+)(+)>0 | $ f $ is increasing |
Example 12 Find intervals in which the function given by $f(x)=\sin 3 x, x \in 0, \frac{\pi}{2}$ is (a) increasing (b) decreasing.
Solution We have
$f(x) =\sin 3 x $
or $\quad f(x) =3 \cos 3 x$
Therefore, $f^{\prime}(x)=0$ gives $\cos 3 x=0$ which in turn gives $3 x=\frac{\pi}{2}, \frac{3 \pi}{2}$ (as $x \in 0, \frac{\pi}{2}$ implies $3 x \in[0, \frac{3 \pi}{2}]$ ). So $x=\frac{\pi}{6}$ and $\frac{\pi}{2}$. The point $x=\frac{\pi}{6}$ divides the interval $0, \frac{\pi}{2}$ into two disjoint intervals $[0, \frac{\pi}{6})$ and $\frac{\pi}{6}, \frac{\pi}{2}$.

Fig 6.5
Now, $f^{\prime}(x)>0$ for all $x \in[0, \frac{\pi}{6})$ as $0 \leq x<\frac{\pi}{6} \Rightarrow 0 \leq 3 x<\frac{\pi}{2}$ and $f^{\prime}(x)<0$ for all $x \in(\frac{\pi}{6}, \frac{\pi}{2})$ as $\frac{\pi}{6}<x<\frac{\pi}{2} \Rightarrow \frac{\pi}{2}<3 x<\frac{3 \pi}{2}$.
Therefore, $f$ is increasing in $[0, \frac{\pi}{6})$ and decreasing in $(\frac{\pi}{6}, \frac{\pi}{2})$.
Also, the given function is continuous at $x=0$ and $x=\frac{\pi}{6}$. Therefore, by Theorem 1 , $f$ is increasing on $ [0, \frac{\pi}{6}]$ and decreasing on $[\frac{\pi}{6}, \frac{\pi}{2}]$.
Example 13 Find the intervals in which the function $f$ given by
$ f(x)=\sin x+\cos x, 0 \leq x \leq 2 \pi $
is increasing or decreasing.
Solution We have
$$ \begin{array}{lrlr} & f(x) & =\sin x+\cos x, \quad 0 \leq x \leq 2 \pi \\ \text{or }&f^{\prime}(x) & =\cos x-\sin x & \end{array} $$
Now $f^{\prime}(x)=0$ gives $\sin x=\cos x$ which gives that $x=\frac{\pi}{4}, \frac{5 \pi}{4}$ as $0 \leq x \leq 2 \pi$
The points $x=\frac{\pi}{4}$ and $x=\frac{5 \pi}{4}$ divide the interval $[0,2 \pi]$ into three disjoint intervals,
namely, $[0, \frac{\pi}{4}), \frac{\pi}{4}, \frac{5 \pi}{4}$ and $(\frac{5 \pi}{4}, 2 \pi]$.

Fig 6.6
Note that $f^{\prime}(x)>0$ if $x \in[0, \frac{\pi}{4}) \cup(\frac{5 \pi}{4}, 2 \pi]$
or $\quad f$ is increasing in the intervals $[0, \frac{\pi}{4})$ and $(\frac{5 \pi}{4}, 2 \pi]$
Also $\quad f^{\prime}(x)<0$ if $x \in \frac{\pi}{4}, \frac{5 \pi}{4}$
or $\quad f$ is decreasing in $\frac{\pi}{4}, \frac{5 \pi}{4}$
Interval | Sign of $ f $ ‘(x) | Nature of function |
---|---|---|
[$ 0, \frac{\pi}{4} $] | >0 | $ f $ is increasing |
$ (\frac{\pi}{4}, \frac{5\pi}{4}) $ | <0 | $ f $ is decreasing |
$ (\frac{5 \pi}{4},2\pi $ | >0 | $ f $ is increasing |
6.4 Maxima and Minima
In this section, we will use the concept of derivatives to calculate the maximum or minimum values of various functions. In fact, we will find the ’turning points’ of the graph of a function and thus find points at which the graph reaches its highest (or lowest) locally. The knowledge of such points is very useful in sketching the graph of a given function. Further, we will also find the absolute maximum and absolute minimum of a function that are necessary for the solution of many applied problems.
Let us consider the following problems that arise in day to day life.
(i) The profit from a grove of orange trees is given by $P(x)=a x+b x^{2}$, where $a, b$ are constants and $x$ is the number of orange trees per acre. How many trees per acre will maximise the profit?
(ii) A ball, thrown into the air from a building 60 metres high, travels along a path given by $h(x)=60+x-\frac{x^{2}}{60}$, where $x$ is the horizontal distance from the building and $h(x)$ is the height of the ball . What is the maximum height the ball will reach?
(iii) An Apache helicopter of enemy is flying along the path given by the curve $f(x)=x^{2}+7$. A soldier, placed at the point $(1,2)$, wants to shoot the helicopter when it is nearest to him. What is the nearest .distance?
In each of the above problem, there is something common, i.e., we wish to find out the maximum or minimum values of the given functions. In order to tackle such problems, we first formally define maximum or minimum values of a function, points of local maxima and minima and test for determining such points.
Definition 3 Let $f$ be a function defined on an interval I. Then
(a) $f$ is said to have a maximum value in I, if there exists a point $c$ in I such that $f(c)>f(x)$, for all $x \in I$.
The number $f(c)$ is called the maximum value of $f$ in I and the point $c$ is called a point of maximum value of $f$ in $I$.
(b) $f$ is said to have a minimum value in $I$, if there exists a point $c$ in $I$ such that $f(c)<f(x)$, for all $x \in I$.
The number $f(c)$, in this case, is called the minimum value of $f$ in I and the point $c$, in this case, is called a point of minimum value of $f$ in $I$.
(c) $f$ is said to have an extreme value in $I$ if there exists a point $c$ in I such that $f(c)$ is either a maximum value or a minimum value of $f$ in $I$.
The number $f(c)$, in this case, is called an extreme value of $f$ in $I$ and the point $c$ is called an extreme point.
Remark In Fig 6.7(a), (b) and (c), we have exhibited that graphs of certain particular functions help us to find maximum value and minimum value at a point. Infact, through graphs, we can even find maximum/minimum value of a function at a point at which it is not even differentiable (Example 15 ).

Fig 6.7
Example 14 Find the maximum and the minimum values, if any, of the function $f$ given by $ f(x)=x^{2}, x \in \mathbf{R} . $
Solution From the graph of the given function (Fig 6.8), we have $f(x)=0$ if $x=0$. Also $ f(x) \geq 0 \text{, for all } x \in \mathbf{R} \text{. } $
Therefore, the minimum value of $f$ is 0 and the point of minimum value of $f$ is $x=0$. Further, it may be observed from the graph of the function that $f$ has no maximum value and hence no point of maximum value of $f$ in $\mathbf{R}$.

Fig 6.8
Note If we restrict the domain of $f$ to $[-2,1]$ only, then $f$ will have maximum value $(-2)^{2}=4$ at $x=-2$.
Example 15 Find the maximum and minimum values of $f$, if any, of the function given by $f(x)=|x|, x \in \mathbf{R}$.
Solution From the graph of the given function (Fig 6.9), note that
$$ f(x) \geq 0 \text{, for all } x \in \mathbf{R} \text{ and } f(x)=0 \text{ if } x=0 \text{. } $$
Therefore, the function $f$ has a minimum value 0 and the point of minimum value of $f$ is $x=0$. Also, the graph clearly shows that $f$ has no maximum value in $\mathbf{R}$ and hence no point of maximum value in $\mathbf{R}$.

Fig 6.9
Note
(i) If we restrict the domain of $f$ to $[-2,1]$ only, then $f$ will have maximum value $|-2|=2$.
(ii) One may note that the function $f$ in Example 27 is not differentiable at $x=0$.
Example 16 Find the maximum and the minimum values, if any, of the function given by $ f(x)=x, x \in(0,1) . $
Solution The given function is an increasing (strictly) function in the given interval $(0,1)$. From the graph (Fig 6.10) of the function $f$, it seems that, it should have the minimum value at a point closest to 0 on its right and the maximum value at a point closest to 1 on its left. Are such points available? Of course, not. It is not possible to locate such points. Infact, if a point $x_0$ is closest to 0 , then we find $\frac{x_0}{2}<x_0$ for all $x_0 \in(0,1)$. Also, if $x_1$ is closest to 1 , then $\frac{x_1+1}{2}>x_1$ for all $x_1 \in(0,1)$.

Therefore, the given function has neither the Fig 6.10 maximum value nor the minimum value in the interval $(0,1)$.
Remark The reader may observe that in Example 16 **, if we include the points 0 and 1 in the domain of $f$, i.e., if we extend the domain of $f$ to $[0,1]$, then the function $f$ has minimum value 0 at $x=0$ and maximum value 1 at $x=1$. Infact, we have the following results (The proof of these results are beyond the scope of the present text)
Every monotonic function assumes its maximum/minimum value at the end points of the domain of definition of the function.
A more general result is Every continuous function on a closed interval has a maximum and a minimum value.
Note By a monotonic function $f$ in an interval $I$, we mean that $f$ is either increasing in I or decreasing in I.
Maximum and minimum values of a function defined on a closed interval will be discussed later in this section.
Let us now examine the graph of a function as shown in Fig 6.11. Observe that at points $A, B, C$ and $D$ on the graph, the function changes its nature from decreasing to increasing or vice-versa. These points may be called turning points of the given function. Further, observe that at turning points, the graph has either a little hill or a little valley. Roughly speaking, the function has minimum value in some neighbourhood (interval) of each of the points $A$ and $C$ which are at the bottom of their respective valleys. Similarly, the function has maximum value in some neighbourhood of points B and $D$ which are at the top of their respective hills. For this reason, the points $A$ and $C$ may be regarded as points of local minimum value (or relative minimum value) and points $B$ and $D$ may be regarded as points of local maximum value (or relative maximum value) for the function. The local maximum value and local minimum value of the function are referred to as local maxima and local minima, respectively, of the function.

Fig 6.11
We now formally give the following definition
Definition 4 Let $f$ be a real valued function and let $c$ be an interior point in the domain of $f$. Then
(a) $c$ is called a point of local maxima if there is an $h>0$ such that
$ f(c) \geq f(x) \text{, for all } x \text{ in }(c-h, c+h), x \neq c $
The value $f(c)$ is called the local maximum value of $f$.
(b) $c$ is called a point of local minima if there is an $h>0$ such that
$ f(c) \leq f(x) \text{, for all } x \text{ in }(c-h, c+h) $
The value $f(c)$ is called the local minimum value of $f$.
Geometrically, the above definition states that if $x=c$ is a point of local maxima of $f$, then the graph of $f$ around $c$ will be as shown in Fig 6.12(a). Note that the function $f$ is increasing (i.e., $.f^{\prime}(x)>0)$ in the interval $(c-h, c)$ and decreasing (i.e., $.f^{\prime}(x)<0)$ in the interval $(c, c+h)$.
This suggests that $f^{\prime}(c)$ must be zero.

Fig 6.12

Similarly, if $c$ is a point of local minima of $f$, then the graph of $f$ around $c$ will be as shown in Fig 6.14(b). Here $f$ is decreasing (i.e., $.f^{\prime}(x)<0)$ in the interval $(c-h, c)$ and increasing (i.e., $.f^{\prime}(x)>0)$ in the interval $(c, c+h)$. This again suggest that $f^{\prime}(c)$ must be zero.
The above discussion lead us to the following theorem (without proof).
Theorem 2 Let $f$ be a function defined on an open interval I. Suppose $c \in I$ be any point. If $f$ has a local maxima or a local minima at $x=c$, then either $f^{\prime}(c)=0$ or $f$ is not differentiable at $c$.
Remark The converse of above theorem need not be true, that is, a point at which the derivative vanishes need not be a point of local maxima or local minima. For example, if $f(x)=x^{3}$, then $f^{\prime}(x)=3 x^{2}$ and so $f^{\prime}(0)=0$. But 0 is neither a point of local maxima nor a point of local minima (Fig 6.13).
Note A point $c$ in the domain of a function $f$ at which either $f^{\prime}(c)=0$ or $f$ is not differentiable is called a critical point of $f$. Note that if $f$ is continuous at $c$ and $f^{\prime}(c)=0$, then there exists an $h>0$ such that $f$ is differentiable in the interval $(c-h, c+h)$.

Fig 6.13
We shall now give a working rule for finding points of local maxima or points of local minima using only the first order derivatives.
Theorem 3 (First Derivative Test) Let $f$ be a function defined on an open interval I. Let $f$ be continuous at a critical point $c$ in I. Then
(i) If $f^{\prime}(x)$ changes sign from positive to negative as $x$ increases through $c$, i.e., if $f^{\prime}(x)>0$ at every point sufficiently close to and to the left of $c$, and $f^{\prime}(x)<0$ at every point sufficiently close to and to the right of $c$, then $c$ is a point of local maxima.
(ii) If $f^{\prime}(x)$ changes sign from negative to positive as $x$ increases through $c$, i.e., if $f^{\prime}(x)<0$ at every point sufficiently close to and to the left of $c$, and $f^{\prime}(x)>0$ at every point sufficiently close to and to the right of $c$, then $c$ is a point of local minima.
(iii) If $f^{\prime}(x)$ does not change sign as $x$ increases through $c$, then $c$ is neither a point of local maxima nor a point of local minima. Infact, such a point is called point of inflection (Fig 6.13).
Note If $c$ is a point of local maxima of $f$, then $f(c)$ is a local maximum value of $f$. Similarly, if $c$ is a point of local minima of $f$, then $f(c)$ is a local minimum value of $f$.
Figures 6.13 and 6.14, geometrically explain Theorem 3.

Fig 6.14
Example 17 Find all points of local maxima and local minima of the function $f$ given by $f(x)=x^{3}-3 x+3$.
Solution We have
$$ \begin{array}{lrl} & f(x) & =x^3-3 x+3 \\ \text{ or } & f^{\prime}(x) & =3 x^2-3=3(x-1)(x+1) \\ \text{ or } & f^{\prime}(x) &=0 \text{ at } x=1 \text{ and } x=-1 \end{array} $$
Thus, $x= \pm 1$ are the only critical points which could possibly be the points of local maxima and/or local minima of $f$. Let us first examine the point $x=1$.
Note that for values close to 1 and to the right of $1, f^{\prime}(x)>0$ and for values close to 1 and to the left of $1, f^{\prime}(x)<0$. Therefore, by first derivative test, $x=1$ is a point of local minima and local minimum value is $f(1)=1$. In the case of $x=-1$, note that $f^{\prime}(x)>0$, for values close to and to the left of -1 and $f^{\prime}(x)<0$, for values close to and to the right of -1 . Therefore, by first derivative test, $x=-1$ is a point of local maxima and local maximum value is $f(-1)=5$.
$ \begin{array}{|c|c|c|} \hline & \text{ Values of } x & \text{ Sign of } f^{\prime}(x)=3(x-1)(x+1) \\ \hline {\begin{array}{l} \text{ Close to 1 } \end{array}} & \text{ to the right (say 1.1 etc.)} & > 0 \\ \hline & \text{ to the left (say 0.9 etc.) } & <0 \\ \hline \text{ Close to - 1 } & \text{ to the right (say -0.9 etc.) } & <0 \\ \hline & \text{ to the left (say -1.1 etc.) } & >0 \\ \hline \end{array} $
Example 18 Find all the points of local maxima and local minima of the function $f$ given by
Solution We have
$$ \begin{array}{lrl} & f(x) & =2 x^{3}-6 x^{2}+6 x+5 \\ \text{ or }& f^{\prime}(x) & =6 x^{2}-12 x+6=6(x-1)^{2} \\ \text{ or }& f^{\prime}(x) & =0 \quad \text{ at } \quad x=1 \end{array} $$
Thus, $x=1$ is the only critical point of $f$. We shall now examine this point for local maxima and/or local minima of $f$. Observe that $f^{\prime}(x) \geq 0$, for all $x \in \mathbf{R}$ and in particular $f^{\prime}(x)>0$, for values close to 1 and to the left and to the right of 1 . Therefore, by first derivative test, the point $x=1$ is neither a point of local maxima nor a point of local minima. Hence $x=1$ is a point of inflexion.
Remark One may note that since $f^{\prime}(x)$, in Example 30 , never changes its sign on $\mathbf{R}$, graph of $f$ has no turning points and hence no point of local maxima or local minima.
We shall now give another test to examine local maxima and local minima of a given function. This test is often easier to apply than the first derivative test.
Theorem 4 (Second Derivative Test) Let $f$ be a function defined on an interval I and $c \in I$. Let $f$ be twice differentiable at $c$. Then
(i) $x=c$ is a point of local maxima if $f^{\prime}(c)=0$ and $f^{\prime \prime}(c)<0$
The value $f(c)$ is local maximum value of $f$.
(ii) $x=c$ is a point of local minima if $f^{\prime}(c)=0$ and $f^{\prime \prime}(c)>0$
In this case, $f(c)$ is local minimum value of $f$.
(iii) The test fails if $f^{\prime}(c)=0$ and $f^{\prime \prime}(c)=0$.
In this case, we go back to the first derivative test and find whether $c$ is a point of local maxima, local minima or a point of inflexion.
Note As $f$ is twice differentiable at $c$, we mean second order derivative of $f$ exists at $c$.
Example 19 Find local minimum value of the function $f$ given by $f(x)=3+|x|, x \in \mathbf{R}$.
Solution Note that the given function is not differentiable at $x=0$. So, second derivative test fails. Let us try first derivative test. Note that 0 is a critical point of $f$. Now to the left of $0, f(x)=3-x$ and so $f^{\prime}(x)=-1<0$. Also to

Fig 6.15 the right of $0, f(x)=3+x$ and so $f^{\prime}(x)=1>0$. Therefore, by first derivative test, $x=$ 0 is a point of local minima of $f$ and local minimum value of $f$ is $f(0)=3$.
Example 20 Find local maximum and local minimum values of the function $f$ given by
$ f(x)=3 x^{4}+4 x^{3}-12 x^{2}+12 $
Solution We have
$f(x)=3 x^{4}+4 x^{3}-12 x^{2}+12$
or & $f^{\prime}(x)=12 x^{3}+12 x^{2}-24 x=12 x(x-1)(x+2)$
or & $f^{\prime}(x)=0$ at $x=0, x=1$ and $x=-2$.
Now & $f^{\prime \prime}(x)=36 x^{2}+24 x-24=12(3 x^{2}+2 x-2)$
$$ \left\{\begin{array}{c} f^{\prime \prime}(0)=-24<0 \\ f^{\prime \prime}(1)=36>0 \\ f^{\prime \prime}(-2)=72>0 \end{array}\right. $$
Therefore, by second derivative test, $x=0$ is a point of local maxima and local maximum value of $f$ at $x=0$ is $f(0)=12$ while $x=1$ and $x=-2$ are the points of local minima and local minimum values of $f$ at $x=-1$ and -2 are $f(1)=7$ and $f(-2)=-20$, respectively.
Example 21 Find all the points of local maxima and local minima of the function $f$ given by f(x)=2 x^{3}-6 x^{2}+6 x+5
Solution We have
$$ \text{or} \qquad \left\{\begin{array}{1}& f(x)=2 x^{3}-6 x^{2}+6 x+5 \\ \end{array}\right. $$
$$ \begin{aligned} & \left\{\begin{array}{l} f^{\prime}(x)=6 x^{2}-12 x+6=6(x-1)^{2} \\ f^{\prime \prime}(x)=12(x-1) \end{array}\right. \end{aligned} $$
Now $f^{\prime}(x)=0$ gives $x=1$. Also $f^{\prime \prime}(1)=0$. Therefore, the second derivative test fails in this case. So, we shall go back to the first derivative test.
We have already seen (Example 18 ) that, using first derivative test, $x=1$ is neither a point of local maxima nor a point of local minima and so it is a point of inflexion.
Example 22 Find two positive numbers whose sum is 15 and the sum of whose squares is minimum.
Solution Let one of the numbers be $x$. Then the other number is $(15-x)$. Let $S(x)$ denote the sum of the squares of these numbers. Then or
$$ S(x)=x^{2}+(15-x)^{2}=2 x^{2}-30 x+225 $$
$$ \begin{gathered} \left\{\begin{array}{l} S^{\prime}(x)=4 x-30 \\ S^{\prime \prime}(x)=4 \end{array}\right. \end{gathered} $$
Now $S^{\prime}(x)=0$ gives $x=\frac{15}{2}$. Also $S^{\prime \prime}(\frac{15}{2})=4>0$. Therefore, by second derivative test, $x=\frac{15}{2}$ is the point of local minima of S. Hence the sum of squares of numbers is minimum when the numbers are $\frac{15}{2}$ and $15-\frac{15}{2}=\frac{15}{2}$.
Remark Proceeding as in Example 34 one may prove that the two positive numbers, whose sum is $k$ and the sum of whose squares is minimum, are $\frac{k}{2}$ and $\frac{k}{2}$.
Example 23 Find the shortest distance of the point $(0, c)$ from the parabola $y=x^{2}$, where $\frac{1}{2} \leq c \leq 5$.
Solution Let $(h, k)$ be any point on the parabola $y=x^{2}$. Let $D$ be the required distance between $(h, k)$ and $(0, c)$. Then
$$ \begin{equation*} \mathrm{D}=\sqrt{(h-0)^{2}+(k-c)^{2}}=\sqrt{h^{2}+(k-c)^{2}} \tag{1} \end{equation*} $$
Since $(h, k)$ lies on the parabola $y=x^{2}$, we have $k=h^{2}$. So (1) gives
$$ \mathrm{D} \equiv \mathrm{D}(k)=\sqrt{k+(k-c)^{2}} $$
or $\mathrm{D}^{\prime}(k)=\frac{1+2(k-c)}{\sqrt{k+(k-c)^{2}}}$
Now $\mathrm{D}^{\prime}(k)=0 \text { से } k=\frac{2 c-1}{2}$
Observe that when $k<\frac{2 c-1}{2}$, then $2(k-c)+1<0$, i.e., $D^{\prime}(k)<0$. Also when $k>\frac{2 c-1}{2}$, then $D^{\prime}(k)>0$. So, by first derivative test, $D(k)$ is minimum at $k=\frac{2 c-1}{2}$.
Hence, the required shortest distance is given by
$$ \mathrm{D}\left(\frac{2 c-1}{2}\right)=\sqrt{\frac{2 c-1}{2}+\left(\frac{2 c-1}{2}-c\right)^{2}}=\frac{\sqrt{4 c-1}}{2} \text { } $$
Note The reader may note that in Example 35 , we have used first derivative test instead of the second derivative test as the former is easy and short.
Example 24 Let $AP$ and $BQ$ be two vertical poles at points $A$ and $B$, respectively. If $AP=16 m, BQ=22 m$ and $A B=20 m$, then find the distance of a point $R$ on $A B$ from the point $A$ such that $R P^{2}+R Q^{2}$ is minimum.
Solution Let $R$ be a point on $AB$ such that $AR=x m$. Then $RB=(20-x) m($ as $AB=20 m)$. From Fig 6.16, we have
$$ \begin{aligned} & \mathrm{RP}^{2}=\mathrm{AR}^{2}+\mathrm{AP}^{2} \\ \end{aligned} $$
and $R Q^{2}=R B^{2}+B Q^{2}$

Fig 6.16
Therefore $ \mathrm{RP}^{2}+\mathrm{RQ}^{2}=\mathrm{AR}^{2}+\mathrm{AP}^{2}+\mathrm{RB}^{2}+\mathrm{BQ}^{2}$ $$ \begin{aligned} & =x^{2}+(16)^{2}+(20-x)^{2}+(22)^{2} \\ & =2 x^{2}-40 x+1140 \end{aligned} $$
Let $S \equiv S(x)=RP^{2}+RQ^{2}=2 x^{2}-40 x+1140$
Therefore $S^{\prime}(x)=4 x-40$
Now $S^{\prime}(x)=0$ gives $x=10$. Also $S^{\prime \prime}(x)=4>0$, for all $x$ and so $S^{\prime \prime}(10)>0$. Therefore, by second derivative test, $x=10$ is the point of local minima of $S$. Thus, the distance of $R$ from $A$ on $AB$ is $AR=x=10 m$.
Example 25 If length of three sides of a trapezium other than base are equal to $10 cm$, then find the area of the trapezium when it is maximum.
Solution The required trapezium is as given in Fig 6.17. Draw perpendiculars DP and $CQ$ on $AB$. Let $AP=x cm$. Note that $\triangle APD \sim \triangle BQC$. Therefore, $QB=x cm$. Also, by Pythagoras theorem, $DP=QC=\sqrt{100-x^{2}}$. Let $A$ be the area of the trapezium. Then

Fig 6.17
$$ \begin{aligned} \mathrm{A} & \equiv \mathrm{A}(x) \\ & =\frac{1}{2} \text { (sum of parallel sides) (height) } \\ & =\frac{1}{2}(2 x+10+10)\left(\sqrt{100-x^{2}}\right) \\ & =(x+10)\left(\sqrt{100-x^{2}}\right) \end{aligned} $$
or
$$ \begin{aligned} \mathrm{A}^{\prime}(x) & =(x+10) \frac{(-2 x)}{\sqrt{100-x^{2}}}+\left(\sqrt{100-x^{2}}\right) \\ & =\frac{-2 x^{2}-10 x+100}{\sqrt{100-x^{2}}} \end{aligned} $$
Now $\quad A^{\prime}(x)=0$ gives $2 x^{2}+10 x-100=0$, i.e., $x=5$ and $x=-10$.
Since $x$ represents distance, it can not be negative. So, $x=5$. Now
$$ \begin{aligned} A^{\prime \prime}(x) & =\frac{\sqrt{100-x^{2}}(-4 x-10)-(-2 x^{2}-10 x+100) \frac{(-2 x)}{2 \sqrt{100-x^{2}}}}{100-x^{2}} \\ & =\frac{2 x^{3}-300 x-1000}{(100-x^{2})^{\frac{3}{2}}} \text{ (on simplification) } \\ A^{\prime \prime}(5) & =\frac{2(5)^{3}-300(5)-1000}{(100-(5)^{2})^{\frac{3}{2}}}=\frac{-2250}{75 \sqrt{75}}=\frac{-30}{\sqrt{75}}<0 \end{aligned} $$
Thus, area of trapezium is maximum at $x=5$ and the area is given by
$$ A(5)=(5+10) \sqrt{100-(5)^{2}}=15 \sqrt{75}=75 \sqrt{3} cm^{2} $$
Example 26 Prove that the radius of the right circular cylinder of greatest curved surface area which can be inscribed in a given cone is half of that of the cone.
Solution Let $OC=r$ be the radius of the cone and $OA=h$ be its height. Let a cylinder with radius $OE=x$ inscribed in the given cone (Fig 6.18). The height $QE$ of the cylinder is given by
$ \begin{array}{llll} \quad & \frac{QE}{OA} & =\frac{EC}{OC} \quad(\text{ since } \Delta QEC \sim \Delta AOC) \\ \text{ or } & \frac{QE}{h} & =\frac{r-x}{r} \\ \text{ or } & QE & =\frac{h(r-x)}{r} \end{array} $
Let $S$ be the curved surface area of the given cylinder. Then
$$ \begin{aligned} & S \equiv S(x)=\frac{2 \pi x h(r-x)}{r}=\frac{2 \pi h}{r}\left(r x-x^{2}\right) \\ & \left\{\begin{array}{l} S^{\prime}(x)=\frac{2 \pi h}{r}(r-2 x) \\ S^{\prime \prime}(x)=\frac{-4 \pi h}{r} \end{array}\right. \end{aligned} $$

Now $S^{\prime}(x)=0$ gives $x=\frac{r}{2}$. Since $S^{\prime \prime}(x)<0$ for all $x, S^{\prime \prime}(\frac{r}{2})<0$. So $x=\frac{r}{2}$ is a point of maxima of S. Hence, the radius of the cylinder of greatest curved surface area which can be inscribed in a given cone is half of that of the cone.
6.4.1 Maximum and Minimum Values of a Function in a Closed Interval
Let us consider a function $f$ given by $f(x)=x+2, x \in(0,1)$
Observe that the function is continuous on $(0,1)$ and neither has a maximum value nor has a minimum value. Further, we may note that the function even has neither a local maximum value nor a local minimum value.
However, if we extend the domain of $f$ to the closed interval $[0,1]$, then $f$ still may not have a local maximum (minimum) values but it certainly does have maximum value $3=f(1)$ and minimum value $2=f(0)$. The maximum value 3 of $f$ at $x=1$ is called absolute maximum value (global maximum or greatest value) of $f$ on the interval $[0,1]$. Similarly, the minimum value 2 of $f$ at $x=0$ is called the absolute minimum value (global minimum or least value) of $f$ on $[0,1]$.
Consider the graph given in Fig 6.19 of a continuous function defined on a closed interval $[a, d]$. Observe that the function $f$ has a local minima at $x=b$ and local

minimum value is $f(b)$. The function also has a local maxima at $x=c$ and local maximum value is $f(c)$.
Also from the graph, it is evident that $f$ has absolute maximum value $f(a)$ and absolute minimum value $f(d)$. Further note that the absolute maximum (minimum) value of $f$ is different from local maximum (minimum) value of $f$.
We will now state two results (without proof) regarding absolute maximum and absolute minimum values of a function on a closed interval I.
Theorem 5 Let $f$ be a continuous function on an interval $I=[a, b]$. Then $f$ has the absolute maximum value and $f$ attains it at least once in I. Also, $f$ has the absolute minimum value and attains it at least once in $I$.
Theorem 6 Let $f$ be a differentiable function on a closed interval I and let $c$ be any interior point of I. Then
(i) $f^{\prime}(c)=0$ if $f$ attains its absolute maximum value at $c$.
(ii) $f^{\prime}(c)=0$ if $f$ attains its absolute minimum value at $c$.
In view of the above results, we have the following working rule for finding absolute maximum and/or absolute minimum values of a function in a given closed interval $[a, b]$.
Working Rule
Step 1: Find all critical points of $f$ in the interval, i.e., find points $x$ where either $f^{\prime}(x)=0$ or $f$ is not differentiable.
Step 2: Take the end points of the interval.
Step 3: At all these points (listed in Step 1 and 2), calculate the values of $f$.
Step 4: Identify the maximum and minimum values of $f$ out of the values calculated in Step 3. This maximum value will be the absolute maximum (greatest) value of $f$ and the minimum value will be the absolute minimum (least) value of $f$.
Example 27 Find the absolute maximum and minimum values of a function $f$ given by $f(x)=2 x^{3}-15 x^{2}+36 x+1 \text{ on the interval }[1,5] .$
Solution We have
$$ \begin{aligned} f(x) & =2 x^{3}-15 x^{2}+36 x+1 \end{aligned} $$ $ \begin{aligned} or \qquad f^{\prime}(x) & =6 x^{2}-30 x+36=6(x-3)(x-2) \end{aligned} $
Note that $f^{\prime}(x)=0$ gives $x=2$ and $x=3$.
We shall now evaluate the value of $f$ at these points and at the end points of the interval $[1,5]$, i.e., at $x=1, x=2, x=3$ and at $x=5$. So
$$ \begin{aligned} & f(1)=2\left(1^{3}\right)-15\left(1^{2}\right)+36(1)+1=24 \\ & f(2)=2\left(2^{3}\right)-15\left(2^{2}\right)+36(2)+1=29 \\ & f(3)=2\left(3^{3}\right)-15\left(3^{2}\right)+36(3)+1=28 \\ & f(5)=2\left(5^{3}\right)-15\left(5^{2}\right)+36(5)+1=56 \end{aligned} $$
Thus, we conclude that absolute maximum value of $f$ on $[1,5]$ is 56 , occurring at $x=5$, and absolute minimum value of $f$ on $[1,5]$ is 24 which occurs at $x=1$.
Example 28 Find absolute maximum and minimum values of a function $f$ given by $f(x)=12 x^{\frac{4}{3}}-6 x^{\frac{1}{3}}, x \in[-1,1]$
Solution We have
$$ \begin{aligned} & f(x)=12 x^{\frac{4}{3}}-6 x^{\frac{1}{3}} \end{aligned} $$ $ \begin{aligned} or \qquad & f^{\prime}(x)=16 x^{\frac{1}{3}}-\frac{2}{x^{\frac{2}{3}}}=\frac{2(8 x-1)}{x^{\frac{2}{3}}} \end{aligned} $
Thus, $f^{\prime}(x)=0$ gives $x=\frac{1}{8}$. Further note that $f^{\prime}(x)$ is not defined at $x=0$. So the critical points are $x=0$ and $x=\frac{1}{8}$. Now evaluating the value of $f$ at critical points $x=0, \frac{1}{8}$ and at end points of the interval $x=-1$ and $x=1$, we have
$$ \begin{aligned} f(-1) & =12\left(-1^{\frac{4}{3}}\right)-6\left(-1^{\frac{1}{3}}\right)=18 \\ f(0) & =12(0)-6(0)=0 \\ f\left(\frac{1}{8}\right) & =12\left(\frac{1}{8}\right)^{\frac{4}{3}}-6\left(\frac{1}{8}\right)^{\frac{1}{3}}=\frac{-9}{4} \\ f(1) & =12\left(1^{\frac{4}{3}}\right)-6\left(1^{\frac{1}{3}}\right)=6 \end{aligned} $$
Hence, we conclude that absolute maximum value of $f$ is 18 that occurs at $x=-1$ and absolute minimum value of $f$ is $\frac{-9}{4}$ that occurs at $x=\frac{1}{8}$.
Example 29 An Apache helicopter of enemy is flying along the curve given by $y=x^{2}+7$. A soldier, placed at $(3,7)$, wants to shoot down the helicopter when it is nearest to him. Find the nearest distance.
Solution For each value of $x$, the helicopter’s position is at point $(x, x^{2}+7)$. Therefore, the distance between the helicopter and the soldier placed at $(3,7)$ is
$ \sqrt{(x-3)^{2}+(x^{2}+7-7)^{2}} \text{, i.e., } \sqrt{(x-3)^{2}+x^{4}} \text{. } $
$ Let \qquad f(x)=(x-3)^{2}+x^{4} $
$ or \qquad f^{\prime}(x)=2(x-3)+4 x^{3}=2(x-1)\left(2 x^{2}+2 x+3\right) $
Thus, $f^{\prime}(x)=0$ gives $x=1$ or $2 x^{2}+2 x+3=0$ for which there are no real roots. Also, there are no end points of the interval to be added to the set for which $f^{\prime}$ is zero, i.e., there is only one point, namely, $x=1$. The value of $f$ at this point is given by $f(1)=(1-3)^{2}+(1)^{4}=5$. Thus, the distance between the solider and the helicopter is $\sqrt{f(1)}=\sqrt{5}$.
Note that $\sqrt{5}$ is either a maximum value or a minimum value. Since
$$ \sqrt{f(0)}=\sqrt{(0-3)^{2}+(0)^{4}}=3>\sqrt{5} \text { } $$
it follows that $\sqrt{5}$ is the minimum value of $\sqrt{f(x)}$. Hence, $\sqrt{5}$ is the minimum distance between the soldier and the helicopter.
Miscellaneous Examples
Example 30 A car starts from a point $P$ at time $t=0$ seconds and stops at point $Q$. The distance $x$, in metres, covered by it, in $t$ seconds is given by
$$ x=t^{2}\left(2-\frac{t}{3}\right) \text { } $$
Find the time taken by it to reach $Q$ and also find distance between $P$ and $Q$.
Solution Let $v$ be the velocity of the car at $t$ seconds.
Now $ \begin{aligned} & x=t^{2}\left(2-\frac{t}{3}\right) \end{aligned} $
Therefore $ \begin{aligned} & v=\frac{d x}{d t}=4 t-t^{2}=t(4-t) \end{aligned} $
Thus, $v=0$ gives $t=0$ and/or $t=4$. Now $v=0$ at $P$ as well as at $Q$ and at $P, t=0$. So, at $Q, t=4$. Thus, the car will reach the point $Q$ after 4 seconds. Also the distance travelled in 4 seconds is given by
$$ x] _{t=4}=4^{2}(2-\frac{4}{3})=16(\frac{2}{3})=\frac{32}{3} m $$
Example 32 A man of height 2 metres walks at a uniform speed of $5 km / h$ away from a lamp post which is 6 metres high. Find the rate at which the length of his shadow increases.
Solution In Fig 6.21, Let AB be the lamp-post, the lamp being at the position $B$ and let $MN$ be the man at a particular time $t$ and let $AM=l$ metres. Then, MS is the shadow of the man. Let MS $=s$ metres.
Note that $\triangle \mathrm{ASB} \sim \triangle \mathrm{MSN}$
or $\frac{\mathrm{MS}}{\mathrm{AS}}=\frac{\mathrm{MN}}{\mathrm{AB}}$
or $\mathrm{AS}=3 s$

Fig 6.21
$\mathrm{MN}=2 \mathrm{~m}$ और $\mathrm{AB}=6 \mathrm{~m}$ (given)
$\mathrm{AM}=3 s-s=2 s$ है। परन्तु $\mathrm{AM}=l$
so $\quad l=2 s$
Since $\frac{d l}{d t}=5 km / h$.
Hence, the length of the shadow increases at the rate $\frac{5}{2} km / h$.
Example 33 Find intervals in which the function given by
$$ f(x)=\frac{3}{10} x^{4}-\frac{4}{5} x^{3}-3 x^{2}+\frac{36}{5} x+11 $$
is (a) increasing (b) decreasing.
Solution We have
$$ f(x)=\frac{3}{10} x^{4}-\frac{4}{5} x^{3}-3 x^{2}+\frac{36}{5} x+11 $$ $$ \begin{aligned} f^{\prime}(x) & =\frac{3}{10}(4 x^{3})-\frac{4}{5}(3 x^{2})-3(2 x)+\frac{36}{5} \\ & =\frac{6}{5}(x-1)(x+2)(x-3) \quad \text{ (on simplification) } \end{aligned} $$
Now $f^{\prime}(x)=0$ gives $x=1, x=-2$, or $x=3$. The points $x=1,-2$, and 3 divide the real line into four disjoint intervals namely, $(-\infty,-2),(-2,1),(1,3)$ and $(3, \infty)$ (Fig 6.22).

Fig 6.22
Consider the interval $(-\infty,-2)$, i.e., when $-\infty<x<-2$.
In this case, we have $x-1<0, x+2<0$ and $x-3<0$.
(In particular, observe that for $x=-3, f^{\prime}(x)=(x-1)(x+2)(x-3)=(-4)(-1)$ $(-6)<0)$
Therefore, $\quad f^{\prime}(x)<0$ when $-\infty<x<-2$.
Thus, the function $f$ is decreasing in $(-\infty,-2)$.
Consider the interval $(-2,1)$, i.e., when $-2<x<1$.
In this case, we have $x-1<0, x+2>0$ and $x-3<0$
(In particular, observe that for $x=0, f^{\prime}(x)=(x-1)(x+2)(x-3)=(-1)(2)(-3)$ $=6>0)$
So $ f^{\prime}(x)>0 \text{ when }-2<x<1 \text{. } $
Thus, $ f \text{ is increasing in }(-2,1) \text{. } $
Now consider the interval $(1,3)$, i.e., when $1<x<3$. In this case, we have $x-1>0, x+2>0$ and $x-3<0$.
$ So, \qquad f^{\prime}(x)<0 \text{ when } 1<x<3 \text{. } $
Thus, $f$ is decreasing in $(1,3)$.
Finally, consider the interval $(3, \infty)$, i.e., when $x>3$. In this case, we have $x-1>0$, $x+2>0$ and $x-3>0$. So $f^{\prime}(x)>0$ when $x>3$.
Thus, $f$ is increasing in the interval $(3, \infty)$.
Example 34 Show that the function $f$ given by
$ f(x)=\tan ^{-1}(\sin x+\cos x), x>0 $
is always an increasing function in $0, \frac{\pi}{4}$.
Solution We have
Therefore $ \begin{aligned} f(x) & =\tan ^{-1}(\sin x+\cos x), x>0 \\ f^{\prime}(x) & =\frac{1}{1+(\sin x+\cos x)^{2}}(\cos x-\sin x) \\ & =\frac{\cos x-\sin x}{2+\sin 2 x} \end{aligned} $
Note that $2+\sin 2 x>0$ for all $x$ in $0, \frac{\pi}{4}$.
Therefore $\qquad f^{\prime}(x)>0 \text{ if } \cos x-\sin x>0$
or $\qquad f^{\prime}(x)>0 \text{ if } \cos x>\sin x \text{ or } \cot x>1$
Now $\qquad \cot x>1 \text{ if } \tan x<1 \text{, i.e., if } 0<x<\frac{\pi}{4}$
Thus $\qquad f^{\prime}(x)>0 \text{ in } 0, \frac{\pi}{4}$
Hence $f$ is increasing function in $(0, \frac{\pi}{4})$.
Example 35 A circular disc of radius $3 cm$ is being heated. Due to expansion, its radius increases at the rate of $0.05 cm / s$. Find the rate at which its area is increasing when radius is $3.2 cm$.
Solution Let $r$ be the radius of the given disc and $A$ be its area. Then
Then $\qquad \mathrm{A}=\pi r^{2}$
or $\qquad \frac{d A}{d t}=2 \pi r \frac{d r}{d t}$
Now approximate rate of increase of radius $=d r=\frac{d r}{d t} \Delta t=0.05 cm / s$.
Therefore, the approximate rate of increase in area is given by
$ \begin{aligned} d A & =\frac{d A}{d t}(\Delta t)=2 \pi r(\frac{d r}{d t} \Delta t) \\ & =2 \pi(3.2)(0.05)=0.320 \pi cm^{2} / s \quad(r=3.2 cm) \end{aligned} $
Example 36 An open topped box is to be constructed by removing equal squares from each corner of a 3 metre by 8 metre rectangular sheet of aluminium and folding up the sides. Find the volume of the largest such box.
Solution Let $x$ metre be the length of a side of the removed squares. Then, the height of the box is $x$, length is $8-2 x$ and breadth is $3-2 x$ (Fig 6.23). If $V(x)$ is the volume of the box, then

$ \begin{aligned} V(x) & =x(3-2 x)(8-2 x) \\ & =4 x^{3}-22 x^{2}+24 x \end{aligned} $
Therefore $\qquad \begin{cases} V^{\prime}(x)=12 x^{2}-44 x+24=4(x-3)(3 x-2) \\ V^{\prime \prime}(x)=24 x-44 \end{cases}$
Now $\qquad V^{\prime}(x)=0 \text{ gives } x=3, \frac{2}{3} \text{. But } x \neq 3 \text{ (Why?) }$
Thus, we have $x=\frac{2}{3}$. Now $V^{\prime \prime}(\frac{2}{3})=24(\frac{2}{3})-44=-28<0$.
Therefore, $x=\frac{2}{3}$ is the point of maxima, i.e., if we remove a square of side $\frac{2}{3}$ metre from each corner of the sheet and make a box from the remaining sheet, then the volume of the box such obtained will be the largest and it is given by
$\mathrm{V}\left(\frac{2}{3}\right)=4\left(\frac{2}{3}\right)^{3}-22\left(\frac{2}{3}\right)^{2}+24\left(\frac{2}{3}\right)=\frac{200}{27} \mathrm{~m}^{3}$
Example 37 Manufacturer can sell $x$ items at a price of rupees $5-\frac{x}{100}$ each. The cost price of $x$ items is $Rs \frac{x}{5}+500$. Find the number of items he should sell to earn maximum profit.
Solution Let $S(x)$ be the selling price of $x$ items and let $C(x)$ be the cost price of $x$ items. Then, we have
$$ S(x)=\left(5-\frac{x}{100}\right) x=5 x-\frac{x^{2}}{100} $$
and $\qquad \mathrm{C}(x)=\frac{x}{5}+500$
Thus, the profit function $P(x)$ is given by
i.e. $\qquad \mathrm{P}(x)=\mathrm{S}(x)-\mathrm{C}(x)=5 x-\frac{x^{2}}{100}-\frac{x}{5}-500$
$$ \mathrm{P}(x)=\frac{24}{5} x-\frac{x^{2}}{100}-500 $$
Now $\qquad P^{\prime}(x)=0$ gives $x=240$. Also $P^{\prime \prime}(x)=\frac{-1}{50}$. So $\qquad P^{\prime \prime}(240)=\frac{-1}{50}<0$
Thus, $x=240$ is a point of maxima. Hence, the manufacturer can earn maximum profit, if he sells 240 items.
Summary
If a quantity y varies with another quantity x, satisfying some rule y= f(x),then $ \frac{dy}{dx}or (f’(x)) $ represents the rate of change of y with respect to x and $ \frac{dy}dx _{x=x0} or(f’(x_0)) $ $\text{represents the rate of change of y with respect to x at}$ $ x=x+0 $ If two variables $x$ and $y$ are varying with respect to another variable $t$, i.e., if $x=f(t)$ and $y=g(t)$, then by Chain Rule
$$ \frac{d y}{d x}=\frac{d y}{d t} / \frac{d x}{d t}, \text { यदि } \frac{d x}{d t} \neq 0 $$
A function $f$ is said to be
(a) increasing on an interval $(a, b)$ if $x_1<x_2$ in
$(a, b) \Rightarrow f(x_1)<f(x_2)$ for all $x_1, x_2 \in(a, b)$.
Alternatively, if $f^{\prime}(x) \geq 0$ for each $x$ in $(a, b)$
(b) decreasing on $(a, b)$ if
$ x_1<x_2 \text{ in }(a, b) \Rightarrow f(x_1)>f(x_2) \text{ for all } x_1, x_2 \in(a, b) \text{. } $
(c) constant in $(a, b)$, if $f(x)=c$ for all $x \in(a, b)$, where $c$ is a constant.
- A point $c$ in the domain of a function $f$ at which either $f^{\prime}(c)=0$ or $f$ is not differentiable is called a critical point of $f$.
- First Derivative Test Let $f$ be a function defined on an open interval I. Let $f$ be continuous at a critical point $c$ in $I$. Then
(i) If $f^{\prime}(x)$ changes sign from positive to negative as $x$ increases through $c$, i.e., if $f^{\prime}(x)>0$ at every point sufficiently close to and to the left of $c$, and $f^{\prime}(x)<0$ at every point sufficiently close to and to the right of $c$, then $c$ is a point of local maxima.
(ii) If $f^{\prime}(x)$ changes sign from negative to positive as $x$ increases through $c$, i.e., if $f^{\prime}(x)<0$ at every point sufficiently close to and to the left of $c$, and $f^{\prime}(x)>0$ at every point sufficiently close to and to the right of $c$, then $c$ is a point of local minima.
(iii) If $f^{\prime}(x)$ does not change sign as $x$ increases through $c$, then $c$ is neither a point of local maxima nor a point of local minima. Infact, such a point is called point of inflexion.
- Second Derivative Test Let $f$ be a function defined on an interval I and $c \in I$. Let $f$ be twice differentiable at $c$. Then
(i) $x=c$ is a point of local maxima if $f^{\prime}(c)=0$ and $f^{\prime \prime}(c)<0$ The values $f(c)$ is local maximum value of $f$.
(ii) $x=c$ is a point of local minima if $f^{\prime}(c)=0$ and $f^{\prime \prime}(c)>0$ In this case, $f(c)$ is local minimum value of $f$.
(iii) The test fails if $f^{\prime}(c)=0$ and $f^{\prime \prime}(c)=0$.
In this case, we go back to the first derivative test and find whether $c$ is a point of maxima, minima or a point of inflexion.
- Working rule for finding absolute maxima and/or absolute minima
Step 1: Find all critical points of $f$ in the interval, i.e., find points $x$ where either $f^{\prime}(x)=0$ or $f$ is not differentiable.
Step 2:Take the end points of the interval.
Step 3: At all these points (listed in Step 1 and 2), calculate the values of $f$.
Step 4: Identify the maximum and minimum values of $f$ out of the values calculated in Step 3. This maximum value will be the absolute maximum value of $f$ and the minimum value will be the absolute minimum value of $f$.