Menu Top
Classwise Concept with Examples
6th 7th 8th 9th 10th 11th 12th

Class 12th Chapters
1. Relations and Functions 2. Inverse Trigonometric Functions 3. Matrices
4. Determinants 5. Continuity and Differentiability 6. Application of Derivatives
7. Integrals 8. Application of Integrals 9. Differential Equations
10. Vector Algebra 11. Three Dimensional Geometry 12. Linear Programming
13. Probability

Content On This Page
Derivatives as a Rate Measure Tangents and Normals Approximations, Errors and Differentials
Increasing and Decreasing Functions Maxima and Minima Local Maximum and Local Minimum Values
Practical Problems on Maxima and Minima


Chapter 6 Application of Derivatives (Concepts)

Having meticulously developed the concept of the derivative and mastered various differentiation techniques in the previous chapter, we now transition to exploring the profound utility and practical power of these tools. This chapter, focusing on the Applications of Derivatives, showcases how the derivative, representing the instantaneous rate of change and the slope of a curve, provides deep insights into the behavior of functions and allows us to model and solve a wide variety of real-world problems across science, engineering, economics, and beyond. We move from the mechanics of *finding* derivatives to the art of *using* them for analysis and optimization.

The most direct application stems from the derivative's definition as a rate of change. We will use the derivative $\frac{dy}{dx}$ to precisely calculate the rate of change of one quantity ($y$) with respect to another ($x$). This extends beyond simple velocity calculations; we can investigate, for instance, how the area of an expanding circle changes with respect to its radius ($\frac{dA}{dr}$), or how the volume of an inflating sphere changes with respect to time ($\frac{dV}{dt}$) if the radius is a known function of time. Understanding related rates is crucial for analyzing dynamic systems.

Derivatives provide a powerful lens through which to analyze the behavior of functions, specifically identifying where they are increasing or decreasing. By examining the sign of the first derivative, $f'(x)$, we can determine the function's trend over intervals. If $f'(x) > 0$ for all $x$ in an interval, the function $f(x)$ is strictly increasing on that interval. Conversely, if $f'(x) < 0$, the function is strictly decreasing. Points where $f'(x) = 0$ or where $f'(x)$ is undefined are called critical points; these are crucial as they mark potential locations where the function might switch from increasing to decreasing or vice versa (turning points).

Geometrically, the derivative $f'(x_0)$ gives the slope of the tangent line to the curve $y = f(x)$ at the point $(x_0, y_0)$. We will apply this to find the precise equations of tangent lines. Furthermore, we will determine the equations of normal lines – lines perpendicular to the tangent at the point of tangency. The slope of the normal line at $(x_0, y_0)$ is given by $-\frac{1}{f'(x_0)}$ (provided $f'(x_0) \neq 0$).

Derivatives also enable us to make approximations. Using the concept of differentials, we can estimate the change in a function's value ($\Delta y$) resulting from a small change in its input ($\Delta x$) using the relationship $\Delta y \approx f'(x) \Delta x$. This technique allows us to approximate values of functions near points where calculation is easy, such as estimating $\sqrt{36.6}$ by considering $f(x)=\sqrt{x}$ near $x=36$, or approximating $(25)^{\frac{1}{3}}$ near $x=27$.

One of the most significant applications of derivatives lies in finding Maxima and Minima – the points where a function reaches its highest or lowest values. We distinguish between local (or relative) maxima/minima (peaks and valleys in the graph) and absolute maxima/minima (the overall highest/lowest values in a given domain). Critical points are the primary candidates for local extrema. We utilize two key tests:

To find the absolute maximum and minimum values of a continuous function on a closed interval $[a, b]$, we compare the function values at all critical points within $(a, b)$ and the function values at the endpoints $f(a)$ and $f(b)$.

The culmination of these techniques is solving Optimization Problems. This involves translating real-world scenarios into mathematical language – setting up a function representing a quantity to be maximized (e.g., profit, area, volume) or minimized (e.g., cost, surface area, time), often subject to certain constraints. We then employ the first or second derivative tests to find the optimal value, demonstrating the practical power of calculus in finding the "best" solution under given conditions, potentially involving costs in $\textsf{₹}$ or other relevant units.



Derivatives as a Rate Measure

One of the most fundamental applications of derivatives is to measure the rate at which one quantity changes with respect to another. When we talk about how fast something is changing, we are usually referring to its rate of change. The derivative provides the instantaneous rate of change, which is the rate of change at a very specific point or instant in time or with respect to another variable. This is in contrast to the average rate of change, which is calculated over an interval.


Instantaneous Rate of Change

If a quantity $y$ is related to another quantity $x$ through a function, say $y = f(x)$, then the derivative $\frac{dy}{dx}$ represents the instantaneous rate of change of $y$ with respect to $x$. This essentially tells us how much $y$ is changing for a tiny change in $x$, at a particular value of $x$.

Recall the formal definition of the derivative of $y = f(x)$ with respect to $x$ from the first principles (limits):

$\frac{dy}{dx} = \lim\limits_{\Delta x \to 0} \frac{\Delta y}{\Delta x} = \lim\limits_{\Delta x \to 0} \frac{f(x+\Delta x) - f(x)}{\Delta x}$

... (1)

In this definition, $\Delta x$ represents a small (increment) change in the independent variable $x$, and $\Delta y = f(x+\Delta x) - f(x)$ represents the corresponding change in the dependent variable $y$. The ratio $\frac{\Delta y}{\Delta x}$ calculates the average rate of change of $y$ with respect to $x$ over the interval $[x, x+\Delta x]$ (or $[x+\Delta x, x]$ if $\Delta x$ is negative). By taking the limit as $\Delta x \to 0$, we are finding the rate of change of $y$ with respect to $x$ at the exact point $x$, which is the instantaneous rate of change.

Geometrically, the derivative $\frac{dy}{dx}$ evaluated at a specific point $(x_0, y_0)$ on the curve $y = f(x)$ gives the slope of the tangent line to the curve at that point. A larger magnitude of the derivative indicates a faster rate of change (steeper slope), while a smaller magnitude indicates a slower rate of change (gentler slope).

Often, quantities change with respect to time, $t$. If $y$ is a quantity that changes over time, i.e., $y = y(t)$, then $\frac{dy}{dt}$ represents the instantaneous rate of change of $y$ with respect to time $t$. This is a ubiquitous concept in various fields:

The rate of change of $y$ with respect to $x$ at a particular value $x = x_0$ is denoted by $\left(\frac{dy}{dx}\right)_{x=x_0}$ or $f'(x_0)$. Similarly, the rate of change of $y$ with respect to $t$ at a specific time $t_0$ is denoted by $\left(\frac{dy}{dt}\right)_{t=t_0}$.

The sign of the derivative provides information about the direction of change:

The units of the rate of change $\frac{dy}{dx}$ are the units of the quantity $y$ divided by the units of the quantity $x$. For example:


Related Rates

In numerous practical scenarios, multiple quantities are interconnected by an equation, and these quantities are all changing simultaneously with respect to time. Problems that involve finding the rate of change of one quantity based on the known rates of change of other related quantities are called related rates problems. The key to solving these problems is to recognize the relationship between the quantities and then differentiate this relationship with respect to time, typically using the Chain Rule.

Suppose quantities $u, v, w, \dots$ are related by an equation $F(u, v, w, \dots) = C$ (where $C$ is a constant) or more generally $F(u, v, w, \dots) = G(u, v, w, \dots)$. If all these quantities are changing with respect to time $t$, meaning $u=u(t), v=v(t), w=w(t), \dots$, then we can find the relationship between their rates of change $\frac{du}{dt}, \frac{dv}{dt}, \frac{dw}{dt}, \dots$ by implicitly differentiating the original equation with respect to $t$.

For instance, if $y$ is a function of $x$ ($y=f(x)$), and both $y$ and $x$ are changing with respect to time $t$ ($y=y(t), x=x(t)$), then the rates of change $\frac{dy}{dt}$ and $\frac{dx}{dt}$ are related by the Chain Rule:

$\frac{dy}{dt} = \frac{dy}{dx} \cdot \frac{dx}{dt}$

... (2)

This formula is fundamental to related rates problems. If the relationship involves more variables or more complex functions, the differentiation step requires careful application of differentiation rules like the product rule, quotient rule, and the Chain Rule for each term.

The general procedure for solving a related rates problem can be summarised in the following steps:

1. Understand the Problem: Read the problem carefully. Identify what is being asked for and what information is given. Determine which quantities are changing and which are constant. Drawing a diagram is often very helpful, especially for problems involving geometric shapes. Label the changing quantities with variables.

2. Assign Variables and Notation: Assign variables to all quantities that are changing with respect to time. For instance, use $r$ for radius, $A$ for area, $V$ for volume, $h$ for height, $s$ for displacement, etc. Use $t$ for time. Write down the given rates of change and the rate you need to find using derivative notation (e.g., $\frac{dr}{dt} = \dots$, find $\frac{dA}{dt}$ when $\dots$).

3. Find a Relationship: Write an equation that relates the variables you defined in the previous step. This equation must be true for all values of time $t$ within the considered interval, not just at the specific instant mentioned in the problem. This equation usually comes from geometric formulas (area, volume, Pythagorean theorem), trigonometric relationships, or other principles relevant to the problem (e.g., conservation laws).

4. Differentiate with Respect to Time: Differentiate both sides of the equation from step 3 with respect to time $t$. Remember to apply the Chain Rule whenever you differentiate a variable that is a function of $t$. For example, $\frac{d}{dt}(r^2) = 2r \frac{dr}{dt}$, $\frac{d}{dt}(V) = \frac{dV}{dt}$, $\frac{d}{dt}(x^3) = 3x^2 \frac{dx}{dt}$. Treat constants as usual (their derivative is 0).

5. Substitute and Solve: After differentiating, substitute all the known values into the resulting equation. These known values include the given rates of change and the specific values of the variables at the particular instant for which the rate is to be found. Then, solve the equation for the unknown rate of change. Make sure your final answer includes the correct units, which are determined by the units of the quantities involved (units of dependent variable per units of independent variable, which is usually time $t$).

Crucial Point: Do not substitute the specific numerical values of the variables into the equation *before* you differentiate. The relationship between the variables must be differentiated first, and only then should you plug in the instantaneous values. Substituting too early would treat the variables as constants, resulting in a derivative of zero, which is incorrect.


Example 1. The radius of a circle is increasing uniformly at the rate of 3 cm/s. Find the rate at which the area of the circle is increasing when the radius is 10 cm.

Answer:

Given:

Let $r$ be the radius of the circle and $A$ be its area at time $t$.

The radius is increasing at a rate of 3 cm/s. This means the rate of change of the radius with respect to time is given.

$\frac{dr}{dt} = 3$ cm/s

[Given rate of radius change]

To Find:

We need to find the rate at which the area of the circle is increasing when the radius $r$ is exactly 10 cm. This means we need to find $\frac{dA}{dt}$ when $r = 10$ cm.

Solution:

The area of a circle $A$ is related to its radius $r$ by the formula:

$A = \pi r^2$

[Formula for area of a circle]

Since both $A$ and $r$ are functions of time $t$, we differentiate both sides of this equation with respect to $t$. We use the Chain Rule on the right side:

$\frac{d}{dt}(A) = \frac{d}{dt}(\pi r^2)$

$\frac{dA}{dt} = \pi \cdot \frac{d}{dt}(r^2) = \pi \cdot (2r \cdot \frac{dr}{dt})$

This gives us the related rates equation:

$\frac{dA}{dt} = 2\pi r \frac{dr}{dt}$

... (i)

Now, we substitute the given values at the specific instant we are interested in, which are $r = 10$ cm and $\frac{dr}{dt} = 3$ cm/s, into equation (i).

$\left(\frac{dA}{dt}\right)_{r=10} = 2\pi (10 \text{ cm}) (3 \text{ cm/s})$

Performing the multiplication:

$\left(\frac{dA}{dt}\right)_{r=10} = 60\pi \text{ cm}^2\text{/s}$

The rate of change of the area is $60\pi$ cm$^2$/s when the radius is 10 cm.

Thus, the area of the circle is increasing at the rate of $60\pi$ cm$^2$/s at that instant.


Example 2. A stone is dropped into a quiet lake and waves move in circles at a speed of 4 cm/s. At the instant when the radius of the circular wave is 10 cm, how fast is the enclosed area increasing?

Answer:

Given:

Let $r$ be the radius of the circular wave and $A$ be the enclosed area at time $t$.

The waves move outwards at a speed of 4 cm/s. This speed represents the rate at which the radius of the circular wave is increasing with respect to time.

$\frac{dr}{dt} = 4$ cm/s

[Given speed of wave propagation]

To Find:

We need to find the rate at which the enclosed area is increasing at the specific instant when the radius of the circular wave is 10 cm. This means we need to find $\frac{dA}{dt}$ when $r = 10$ cm.

Solution:

The area of the enclosed circle $A$ is related to its radius $r$ by the standard formula:

$A = \pi r^2$

[Formula for area of a circle]

Since both $A$ and $r$ are changing with respect to time $t$, we differentiate both sides of this equation with respect to $t$. Using the Chain Rule on the right side:

$\frac{d}{dt}(A) = \frac{d}{dt}(\pi r^2)$

$\frac{dA}{dt} = \pi \cdot \frac{d}{dt}(r^2) = \pi \cdot (2r \cdot \frac{dr}{dt})$

The related rates equation is:

$\frac{dA}{dt} = 2\pi r \frac{dr}{dt}$

... (i)

Now, we substitute the given values at the instant in question: $r = 10$ cm and $\frac{dr}{dt} = 4$ cm/s, into equation (i).

$\left(\frac{dA}{dt}\right)_{r=10} = 2\pi (10 \text{ cm})(4 \text{ cm/s})$

Performing the calculation:

$\left(\frac{dA}{dt}\right)_{r=10} = 80\pi \text{ cm}^2\text{/s}$

The rate of change of the enclosed area is $80\pi$ cm$^2$/s when the radius is 10 cm.

Thus, the enclosed area is increasing at the rate of $80\pi$ cm$^2$/s at that instant.



Tangents and Normals

A significant geometric application of derivatives is finding the equation of the tangent line and the normal line to a curve at a given point. The derivative of a function at a specific point represents the slope of the tangent line to the graph of the function at that point.


Slope of the Tangent

Consider a curve represented by the equation $y = f(x)$. We want to find the equation of the tangent line to this curve at a specific point $P(x_0, y_0)$ on the curve. For the point $P(x_0, y_0)$ to be on the curve, it must satisfy the equation, i.e., $y_0 = f(x_0)$.

The slope of the tangent line to the curve $y = f(x)$ at the point $P(x_0, y_0)$ is given by the value of the derivative of $f(x)$ evaluated at $x = x_0$.

Slope of tangent ($m_T$) $= \left(\frac{dy}{dx}\right)_{(x_0, y_0)} = f'(x_0)$

... (1)

Here, $\left(\frac{dy}{dx}\right)_{(x_0, y_0)}$ means that we first find the derivative $\frac{dy}{dx}$ as a function of $x$, and then substitute $x=x_0$ (and if $y_0$ appears in the derivative expression, substitute $y=y_0$) to get the numerical value of the slope at that specific point.

Equation of the Tangent

Once we have the slope of the tangent line $m_T$ at the point $(x_0, y_0)$, we can find the equation of the tangent line using the point-slope form of the equation of a line, which is $(y - y_1) = m(x - x_1)$.

Using the point $P(x_0, y_0)$ and the slope $m_T = \left(\frac{dy}{dx}\right)_{(x_0, y_0)}$, the equation of the tangent line is:

y - y$_0$ = m$_T$ (x - x$_0$)

Substituting the expression for $m_T$:

y - y$_0$ = $\left(\frac{dy}{dx}\right)_{(x_0, y_0)}$ (x - x$_0$)

... (2)

This is the equation of the tangent to the curve $y = f(x)$ at the point $(x_0, y_0)$.


Slope of the Normal

The normal to a curve at a given point is defined as the line that is perpendicular to the tangent line at that same point.

We know from coordinate geometry that if two non-vertical lines are perpendicular, the product of their slopes is -1. Let $m_T$ be the slope of the tangent and $m_N$ be the slope of the normal at the point $(x_0, y_0)$.

If $m_T$ is finite and non-zero, then:

m$_T \cdot$ m$_N$ = -1

(Condition for perpendicular lines)

Therefore, the slope of the normal line $m_N$ is given by:

Slope of normal ($m_N$) = $-\frac{1}{m_T} = -\frac{1}{\left(\frac{dy}{dx}\right)_{(x_0, y_0)}}$

... (3)

Equation of the Normal

Similar to the tangent, we can find the equation of the normal line using the point-slope form, with the point $P(x_0, y_0)$ and the slope of the normal $m_N = -\frac{1}{\left(\frac{dy}{dx}\right)_{(x_0, y_0)}}$ (provided $\left(\frac{dy}{dx}\right)_{(x_0, y_0)} \neq 0$).

The equation of the normal line is:

y - y$_0$ = m$_N$ (x - x$_0$)

Substituting the expression for $m_N$:

y - y$_0$ = $-\frac{1}{\left(\frac{dy}{dx}\right)_{(x_0, y_0)}}$ (x - x$_0$)

... (4)

This is the equation of the normal to the curve $y = f(x)$ at the point $(x_0, y_0)$.


Special Cases

We need to consider cases where the slope of the tangent is zero or undefined.

1.

Horizontal Tangent:

If the tangent line at $(x_0, y_0)$ is horizontal, its slope is 0. This occurs when $\left(\frac{dy}{dx}\right)_{(x_0, y_0)} = 0$. The equation of a horizontal line passing through $(x_0, y_0)$ is $y = y_0$.

In this case, the normal line, being perpendicular to a horizontal line, must be a vertical line. A vertical line passing through $(x_0, y_0)$ has the equation $x = x_0$. Note that the slope of a vertical line is undefined, which is consistent with $m_N = -1/m_T$ when $m_T = 0$.

2.

Vertical Tangent:

If the tangent line at $(x_0, y_0)$ is vertical, its slope is undefined. This typically occurs when $\left(\frac{dy}{dx}\right)_{(x_0, y_0)}$ approaches infinity. In many cases, this happens when $\left(\frac{dx}{dy}\right)_{(x_0, y_0)} = 0$ (if we consider $x$ as a function of $y$, $x=g(y)$). The equation of a vertical line passing through $(x_0, y_0)$ is $x = x_0$.

In this case, the normal line, being perpendicular to a vertical line, must be a horizontal line. A horizontal line passing through $(x_0, y_0)$ has the equation $y = y_0$. Note that the slope of a horizontal line is 0.


Example 1. Find the equations of the tangent and normal to the curve $y = x^3 - 2x + 1$ at the point $(1, 0)$.

Answer:

Given:

The equation of the curve is $y = x^3 - 2x + 1$.

The given point on the curve is $(x_0, y_0) = (1, 0)$. We can verify that this point is on the curve: $0 = (1)^3 - 2(1) + 1 = 1 - 2 + 1 = 0$. The point lies on the curve.

To Find:

The equations of the tangent and the normal to the curve at the point $(1, 0)$.

Solution:

First, we find the derivative $\frac{dy}{dx}$ to get the general slope of the tangent at any point $(x, y)$ on the curve.

$\frac{dy}{dx} = \frac{d}{dx}(x^3 - 2x + 1)$

Using the power rule and the rule for differentiating a constant:

$\frac{dy}{dx} = 3x^2 - 2$

... (i)

Now, we find the slope of the tangent at the specific point $(1, 0)$ by substituting $x_0 = 1$ into the derivative expression (since the derivative depends only on $x$):

m$_T = \left(\frac{dy}{dx}\right)_{(1, 0)} = 3(1)^2 - 2 = 3(1) - 2 = 3 - 2 = 1$

... (ii)

So, the slope of the tangent at $(1, 0)$ is $m_T = 1$.

Equation of the Tangent:

We use the point-slope form of the line equation: $y - y_0 = m_T (x - x_0)$ with $(x_0, y_0) = (1, 0)$ and $m_T = 1$.

$y - 0 = 1 (x - 1)$

Simplifying the equation:

$y = x - 1$

Rearranging into the standard form $Ax + By + C = 0$:

x - y - 1 = 0

The equation of the tangent to the curve at $(1, 0)$ is $\mathbf{x - y - 1 = 0}$.

Equation of the Normal:

The normal line is perpendicular to the tangent line at the same point. The slope of the normal $m_N$ is related to the slope of the tangent $m_T$ by $m_T \cdot m_N = -1$.

m$_N = -\frac{1}{m_T} = -\frac{1}{1} = -1$

So, the slope of the normal at $(1, 0)$ is $m_N = -1$.

Now, we use the point-slope form for the normal line: $y - y_0 = m_N (x - x_0)$ with $(x_0, y_0) = (1, 0)$ and $m_N = -1$.

$y - 0 = -1 (x - 1)$

Simplifying the equation:

$y = -x + 1$

Rearranging into the standard form $Ax + By + C = 0$:

x + y - 1 = 0

The equation of the normal to the curve at $(1, 0)$ is $\mathbf{x + y - 1 = 0}$.


Example 2. Find the points on the curve $y = x^3 - 11x + 5$ at which the tangent is parallel to the line $y = x - 11$.

Answer:

Given:

The equation of the curve is $y = x^3 - 11x + 5$.

The tangent to the curve is parallel to the line $y = x - 11$.

To Find:

The coordinates of the points $(x, y)$ on the curve where the tangent is parallel to the given line.

Solution:

We know that parallel lines have equal slopes. The given line is $y = x - 11$. This equation is in the form $y = mx + c$, where $m$ is the slope. So, the slope of the given line is 1.

Since the tangent to the curve is parallel to this line, the slope of the tangent must also be 1 at the required points.

First, we find the general expression for the slope of the tangent to the curve $y = x^3 - 11x + 5$ by finding $\frac{dy}{dx}$.

$\frac{dy}{dx} = \frac{d}{dx}(x^3 - 11x + 5)$

Using the power rule and the rule for differentiating constants:

$\frac{dy}{dx} = 3x^2 - 11$

... (i)

The slope of the tangent at any point $(x, y)$ on the curve is $3x^2 - 11$. We are looking for the points where this slope is equal to 1 (the slope of the parallel line).

So, we set the slope of the tangent equal to 1 and solve for $x$:

$3x^2 - 11 = 1$

(Equating slopes)

Solving for $x$:

$3x^2 = 1 + 11$

$3x^2 = 12$

$x^2 = \frac{12}{3}$

$x^2 = 4$

$x = \pm \sqrt{4}$

$x = 2$ or $x = -2$

These are the x-coordinates of the points where the tangent has a slope of 1. Now, we find the corresponding y-coordinates by substituting these x-values into the equation of the curve $y = x^3 - 11x + 5$ (not the line equation, as the points are on the curve).

When $x = 2$:

$y = (2)^3 - 11(2) + 5$

$y = 8 - 22 + 5$

$y = 13 - 22$

$y = -9$

So, one point is $(2, -9)$.

When $x = -2$:

$y = (-2)^3 - 11(-2) + 5$

$y = -8 + 22 + 5$

$y = 14 + 5$

$y = 19$

So, the other point is $(-2, 19)$.

The points on the curve $y = x^3 - 11x + 5$ where the tangent is parallel to the line $y = x - 11$ are $\mathbf{(2, -9)}$ and $\mathbf{(-2, 19)}$.



Approximations, Errors and Differentials

Derivatives provide a powerful tool for approximating the change in the value of a function when there is a small change in its independent variable. This concept is closely tied to the idea of differentials and their use in estimating errors in measurements and calculations.


Differentials

Let $y = f(x)$ be a differentiable function of $x$. We introduce the concept of differentials $dx$ and $dy$.

The differential of $x$, denoted by $dx$, is defined as an independent variable. It is usually taken to be equal to a small change in $x$, which is denoted by $\Delta x$.

dx = $\Delta x$

... (1)

The differential of $y$, denoted by $dy$, is defined in terms of $dx$ and the derivative of the function $f'(x) = \frac{dy}{dx}$.

dy = $f'(x)$ dx

... (2)

From the definition of the derivative, we know that $\frac{dy}{dx} = \lim\limits_{\Delta x \to 0} \frac{\Delta y}{\Delta x}$. For small values of $\Delta x$, the ratio $\frac{\Delta y}{\Delta x}$ is approximately equal to the derivative $f'(x)$.

$\frac{\Delta y}{\Delta x} \approx f'(x)$ for small $\Delta x$

Multiplying both sides by $\Delta x$:

$\Delta y \approx f'(x) \Delta x$

Comparing this with the definition of $dy$ from equation (2) and using $dx = \Delta x$ from equation (1), we see that for small changes in $x$:

$\Delta y \approx dy$

... (3)

Here, $\Delta y = f(x + \Delta x) - f(x)$ represents the actual change in the value of the function $y$ when $x$ changes by $\Delta x$. The differential $dy$ represents the approximate change in the value of the function, calculated using the tangent line at $x$. Geometrically, $dy$ is the change in the y-coordinate along the tangent line when $x$ changes by $dx$, while $\Delta y$ is the change in the y-coordinate along the curve itself. For small $\Delta x$, the tangent line is a good approximation to the curve, hence $dy \approx \Delta y$.

From the approximation $\Delta y \approx dy$, we have:

f(x + $\Delta x$) - f(x) $\approx$ f'(x) $\Delta x$

Rearranging this equation gives the formula for linear approximation:

f(x + $\Delta x$) $\approx$ f(x) + f'(x) $\Delta x$

... (4)

This formula is the basis for using differentials to approximate function values and estimate errors.


Approximation and Errors

The formula $f(x + \Delta x) \approx f(x) + f'(x) \Delta x$ is particularly useful for approximating values of functions at points slightly away from a point where the function value and its derivative are easily known. For example, it can be used to approximate values like $\sqrt{26}$, $(8.01)^{1/3}$, $\sin(31^\circ)$, etc.

In the context of error estimation, if $\Delta x$ (or $dx$) represents a small error made in the measurement of the independent variable $x$, then the corresponding approximate error in the calculated value of the dependent variable $y = f(x)$ is given by $dy$.

Let $\delta x$ be the small error in the measurement of $x$. This error $\delta x$ is equivalent to $\Delta x$ or $dx$. The approximate error in the value of $y$ is $\delta y$, which is approximated by $dy$.

Approximate Error in $y$, $\delta y \approx dy = f'(x) dx = \frac{dy}{dx} \delta x$

... (5)

Different types of errors are defined as follows:


Example 1. Use differentials to approximate $\sqrt{25.3}$.

Answer:

Given:

We need to approximate the value of $\sqrt{25.3}$.

To Find:

The approximate value of $\sqrt{25.3}$ using differentials.

Solution:

We consider the function $f(x) = \sqrt{x}$. We want to approximate $f(25.3)$.

We choose a value of $x$ close to 25.3 for which $f(x)$ is easily calculable. Let $x = 25$.

The small change in $x$ is $\Delta x = 25.3 - 25 = 0.3$. So, we take the differential $dx = \Delta x = 0.3$.

Using the approximation formula (4):

f(x + $\Delta x$) $\approx$ f(x) + f'(x) $\Delta x$

(Approximation formula)

First, evaluate $f(x)$ at $x=25$:

f(25) = $\sqrt{25} = 5$

Next, find the derivative of $f(x) = \sqrt{x}$ with respect to $x$:

f'(x) = $\frac{d}{dx}(\sqrt{x}) = \frac{d}{dx}(x^{1/2})$

f'(x) = $\frac{1}{2}x^{1/2 - 1} = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}$

Evaluate the derivative $f'(x)$ at $x=25$:

f'(25) = $\frac{1}{2\sqrt{25}} = \frac{1}{2 \times 5} = \frac{1}{10} = 0.1$

Now, substitute the values $f(25) = 5$, $f'(25) = 0.1$, and $\Delta x = 0.3$ into the approximation formula:

$\sqrt{25.3} = f(25 + 0.3) \approx f(25) + f'(25) \times 0.3$

$\sqrt{25.3} \approx 5 + (0.1) \times (0.3)$

$\sqrt{25.3} \approx 5 + 0.03$

$\sqrt{25.3} \approx 5.03$

Thus, the approximate value of $\sqrt{25.3}$ using differentials is $\mathbf{5.03}$.


Example 2. If the radius of a sphere is measured as 7 m with an error of 0.02 m, find the approximate error in calculating its volume.

Answer:

Given:

Measured radius of the sphere, $r = 7$ m.

Error in the measurement of the radius, $\Delta r = 0.02$ m.

We can take the differential of the radius as $dr = \Delta r = 0.02$ m.

To Find:

The approximate error in calculating the volume of the sphere.

Solution:

Let $V$ be the volume of the sphere with radius $r$. The formula for the volume of a sphere is:

V = $\frac{4}{3}\pi r^3$

... (i)

We need to find the approximate error in volume, which is $dV$. We use the relationship $dV = \frac{dV}{dr} dr$.

First, we find the derivative of $V$ with respect to $r$:

$\frac{dV}{dr} = \frac{d}{dr}\left(\frac{4}{3}\pi r^3\right)$

$\frac{dV}{dr} = \frac{4}{3}\pi \cdot \frac{d}{dr}(r^3) = \frac{4}{3}\pi (3r^2)$

$\frac{dV}{dr} = 4\pi r^2$

... (ii)

Now, we use the formula for the approximate error in $V$, which is $dV$:

dV = $\frac{dV}{dr}$ dr

(Using differential relation)

Substitute the expression for $\frac{dV}{dr}$ from (ii) and the given value of $dr$:

dV = $(4\pi r^2) (0.02)$

Now, substitute the given value of the radius $r = 7$ m into the expression for $dV$:

dV = $4\pi (7 \text{ m})^2 (0.02 \text{ m})$

dV = $4\pi (49 \text{ m}^2) (0.02 \text{ m})$

dV = $196\pi \times 0.02 \text{ m}^3$

dV = $3.92\pi \text{ m}^3$

The approximate error in calculating the volume is $dV$.

Thus, the approximate error in the volume of the sphere is $\mathbf{3.92\pi}$ m$^3$.



Increasing and Decreasing Functions

The derivative of a function is a powerful tool that allows us to analyse the behaviour of the function, specifically whether it is increasing, decreasing, or constant over a particular interval. This property is known as the monotonicity of the function. Understanding monotonicity is essential for sketching the graph of a function and determining its local and global extreme values.


Definitions

Let $f$ be a real-valued function defined on an interval $I$. The interval $I$ can be any type of interval (open, closed, semi-open, finite, or infinite).

1. $f$ is said to be increasing on $I$ if for any two points $x_1, x_2$ in $I$, whenever $x_1 < x_2$, we have $f(x_1) \leq f(x_2)$. This means the function value does not decrease as $x$ increases.

2. $f$ is said to be strictly increasing on $I$ if for any two points $x_1, x_2$ in $I$, whenever $x_1 < x_2$, we have $f(x_1) < f(x_2)$. This means the function value always increases as $x$ increases.

3. $f$ is said to be decreasing on $I$ if for any two points $x_1, x_2$ in $I$, whenever $x_1 < x_2$, we have $f(x_1) \geq f(x_2)$. This means the function value does not increase as $x$ increases.

4. $f$ is said to be strictly decreasing on $I$ if for any two points $x_1, x_2$ in $I$, whenever $x_1 < x_2$, we have $f(x_1) > f(x_2)$. This means the function value always decreases as $x$ increases.

5. $f$ is said to be constant on $I$ if for all $x_1, x_2$ in $I$, $f(x_1) = f(x_2)$.

A function is said to be monotonic on an interval if it is either increasing or decreasing on that interval. It is strictly monotonic if it is either strictly increasing or strictly decreasing.


Criterion for Increasing and Decreasing Functions (First Derivative Test for Monotonicity)

The sign of the first derivative of a function provides a simple criterion to determine its monotonicity on an interval.

Let $f$ be a function that is continuous on the closed interval $[a, b]$ and differentiable on the open interval $(a, b)$.

1. If $f'(x) > 0$ for all $x \in (a, b)$, then $f$ is strictly increasing on $[a, b]$.

2. If $f'(x) < 0$ for all $x \in (a, b)$, then $f$ is strictly decreasing on $[a, b]$.

3. If $f'(x) = 0$ for all $x \in (a, b)$, then $f$ is constant on $[a, b]$.

Note on Non-Strict Monotonicity:

In these cases, $f'(x)$ can be zero at some points in the interval, but if $f'(x)=0$ only at isolated points (not over an entire sub-interval), the function is still strictly monotonic on the interval where $f'(x) > 0$ or $f'(x) < 0$. However, if $f'(x) = 0$ over an entire sub-interval, the function is constant over that sub-interval. The criteria $f'(x) > 0$ and $f'(x) < 0$ guarantee strict monotonicity.

Proof (using Mean Value Theorem)

Let $x_1, x_2$ be any two points in the interval $I \subseteq [a, b]$ such that $x_1 < x_2$. Since $f$ is continuous on $[a, b]$ and differentiable on $(a, b)$, it satisfies the conditions of the Mean Value Theorem (MVT) on the sub-interval $[x_1, x_2]$.

According to the Mean Value Theorem, there exists a point $c \in (x_1, x_2)$ such that:

$\frac{f(x_2) - f(x_1)}{x_2 - x_1} = f'(c)$

(By Mean Value Theorem)

Since $x_1 < x_2$, we have $x_2 - x_1 > 0$. The sign of $f(x_2) - f(x_1)$ (which determines whether $f(x_2) > f(x_1)$, $f(x_2) < f(x_1)$, or $f(x_2) = f(x_1)$) depends directly on the sign of $f'(c)$.

Case 1: If $f'(x) > 0$ for all $x \in (a, b)$, then in particular, $f'(c) > 0$. From the MVT equation:

$\frac{f(x_2) - f(x_1)}{x_2 - x_1} > 0$

Since $x_2 - x_1 > 0$, this inequality implies $f(x_2) - f(x_1) > 0$, which means $f(x_2) > f(x_1)$. Since this holds for any $x_1 < x_2$ in $I$, $f$ is strictly increasing on $I$. Since $I$ was any sub-interval of $[a, b]$, $f$ is strictly increasing on $[a, b]$.

Case 2: If $f'(x) < 0$ for all $x \in (a, b)$, then $f'(c) < 0$. From the MVT equation:

$\frac{f(x_2) - f(x_1)}{x_2 - x_1} < 0$

Since $x_2 - x_1 > 0$, this inequality implies $f(x_2) - f(x_1) < 0$, which means $f(x_2) < f(x_1)$. Since this holds for any $x_1 < x_2$ in $I$, $f$ is strictly decreasing on $I$, and hence on $[a, b]$.

Case 3: If $f'(x) = 0$ for all $x \in (a, b)$, then $f'(c) = 0$. From the MVT equation:

$\frac{f(x_2) - f(x_1)}{x_2 - x_1} = 0$

Since $x_2 - x_1 \neq 0$, this implies $f(x_2) - f(x_1) = 0$, which means $f(x_2) = f(x_1)$. Since this holds for any $x_1, x_2$ in $I$, $f$ is constant on $I$, and hence on $[a, b]$.

The proofs for $f'(x) \geq 0 \implies f$ is increasing and $f'(x) \leq 0 \implies f$ is decreasing follow similarly, considering the possibility of $f'(c)=0$.

Procedure to Find Intervals of Monotonicity

To determine the intervals where a function $f(x)$ is strictly increasing or strictly decreasing:

1. Find the derivative of the function, $f'(x)$.

2. Find the critical points of $f(x)$. Critical points are the values of $x$ in the domain of $f$ where $f'(x) = 0$ or $f'(x)$ is undefined. These points are potential turning points where the function's monotonicity might change.

3. Use the critical points to divide the domain of the function into disjoint intervals. These intervals are the candidates for intervals of strict monotonicity.

4. Choose a test value (any point) $c$ within each interval. Evaluate the sign of $f'(c)$ at this test value.

5. State the intervals where $f$ is strictly increasing and strictly decreasing. If the function is continuous at the endpoints of the intervals derived from the critical points, these endpoints are usually included in the intervals of (non-strict) increasing or decreasing, but for strict monotonicity, open intervals are typically used unless specified otherwise or based on convention. In board exams, intervals are usually written including endpoints if the function is continuous there.


Example 1. Find the intervals in which the function $f(x) = 2x^3 - 3x^2 - 36x + 7$ is strictly increasing or strictly decreasing.

Answer:

Given:

The function $f(x) = 2x^3 - 3x^2 - 36x + 7$.

The domain of this function is all real numbers, $\mathbb{R}$, since it is a polynomial function.

To Find:

The intervals where $f(x)$ is strictly increasing and strictly decreasing.

Solution:

First, we find the derivative of $f(x)$ with respect to $x$ to apply the first derivative test for monotonicity.

f'(x) = $\frac{d}{dx}(2x^3 - 3x^2 - 36x + 7)$

Using the power rule and sum/difference rule for differentiation:

f'(x) = $2(3x^{3-1}) - 3(2x^{2-1}) - 36(1x^{1-1}) + 0$

f'(x) = $6x^2 - 6x - 36$

... (i)

To find the critical points, we set the derivative $f'(x)$ equal to zero and solve for $x$.

f'(x) = 0

$6x^2 - 6x - 36 = 0$

Divide the equation by 6:

$\frac{6(x^2 - x - 6)}{6} = \frac{0}{6}$

x$^2$ - x - 6 = 0

Now, we factor the quadratic expression. We need two numbers that multiply to -6 and add up to -1. These numbers are -3 and 2.

$(x - 3)(x + 2) = 0$

This gives two possible values for $x$:

x - 3 = 0 $\implies$ x = 3

x + 2 = 0 $\implies$ x = -2

The critical points are $x = -2$ and $x = 3$. These points divide the domain of $f(x)$, which is $\mathbb{R} \equiv (-\infty, \infty)$, into three disjoint open intervals: $(-\infty, -2)$, $(-2, 3)$, and $(3, \infty)$.

We now analyse the sign of $f'(x) = 6(x-3)(x+2)$ in each of these intervals by choosing a test value within each interval.

Interval Test Point ($x$) Sign of $(x-3)$ Sign of $(x+2)$ Sign of $f'(x) = 6(x-3)(x+2)$ Nature of $f(x)$
$(-\infty, -2)$ -3 $(-3 - 3) = -6$ (Negative) $(-3 + 2) = -1$ (Negative) $6 \times (\text{Negative}) \times (\text{Negative}) = \text{Positive} > 0$ Strictly Increasing
$(-2, 3)$ 0 $(0 - 3) = -3$ (Negative) $(0 + 2) = 2$ (Positive) $6 \times (\text{Negative}) \times (\text{Positive}) = \text{Negative} < 0$ Strictly Decreasing
$(3, \infty)$ 4 $(4 - 3) = 1$ (Positive) $(4 + 2) = 6$ (Positive) $6 \times (\text{Positive}) \times (\text{Positive}) = \text{Positive} > 0$ Strictly Increasing

Based on the sign of $f'(x)$ in each interval:

  • $f(x)$ is strictly increasing when $f'(x) > 0$, which is on the intervals $(-\infty, -2)$ and $(3, \infty)$.
  • $f(x)$ is strictly decreasing when $f'(x) < 0$, which is on the interval $(-2, 3)$.

Since $f(x)$ is a polynomial, it is continuous everywhere. Therefore, we can include the endpoints in the intervals for strict monotonicity as well (by convention in many textbooks and exams), although the strict inequality $f(x_1) < f(x_2)$ or $f(x_1) > f(x_2)$ holds for $x_1, x_2$ within the open intervals. The function is increasing/decreasing *over* the closed intervals.

Therefore:

The function $f(x)$ is strictly increasing on the intervals $\mathbf{(-\infty, -2]}$ and $\mathbf{[3, \infty)}$.

The function $f(x)$ is strictly decreasing on the interval $\mathbf{[-2, 3]}$.



Maxima and Minima

Finding the extreme values of a function, i.e., its highest and lowest points, is a fundamental problem in calculus and has numerous applications in optimisation. Derivatives play a crucial role in locating these values. The extreme values can be classified as absolute (global) or local (relative).


Absolute Maximum and Minimum Values (Global Extrema)

The absolute maximum or minimum value of a function over a given interval is the largest or smallest value that the function attains anywhere in that entire interval.

Let $f$ be a function defined on an interval $I$.

The absolute maximum and minimum values are collectively called the **global extrema** or **absolute extrema** of the function on the interval $I$. A function may or may not have absolute extrema on an open interval or the entire real line. However, a key theorem guarantees their existence under certain conditions:

Extreme Value Theorem:

If a function $f$ is continuous on a closed interval $[a, b]$, then $f$ is guaranteed to attain both an absolute maximum value and an absolute minimum value at some points within that interval $[a, b]$.

For a continuous function on a closed interval, these absolute extreme values must occur either at the endpoints of the interval ($x=a$ or $x=b$) or at the critical points of the function within the open interval $(a, b)$.

Critical Point

A critical point (or critical number) of a function $f$ is a point $c$ in the domain of $f$ where either:

Critical points are candidates for local (and sometimes global) maxima or minima because the function's behaviour (increasing/decreasing) can change at these points.

Procedure for Finding Absolute Maximum and Minimum Values on a Closed Interval $[a, b]$

If a function $f$ is continuous on a closed interval $[a, b]$, the following systematic approach can be used to find its absolute maximum and minimum values:

1. Find all critical points of the function $f(x)$ that lie within the open interval $(a, b)$. To do this, compute the derivative $f'(x)$, set $f'(x) = 0$ and solve for $x$, and also identify any points in $(a, b)$ where $f'(x)$ is undefined but $f(x)$ is defined.

2. Evaluate the function $f(x)$ at all the critical points found in step 1.

3. Evaluate the function $f(x)$ at the endpoints of the interval, i.e., find $f(a)$ and $f(b)$.

4. Compare all the function values calculated in steps 2 and 3.

The point(s) where the absolute maximum value occurs is/are the point(s) of absolute maximum, and similarly for the absolute minimum.


Example 1. Find the absolute maximum and absolute minimum values of the function $f(x) = x^3$ on the interval $[-2, 1]$.

Answer:

Given:

The function $f(x) = x^3$.

The interval is the closed interval $[-2, 1]$.

Since $f(x) = x^3$ is a polynomial function, it is continuous on the closed interval $[-2, 1]$. Thus, by the Extreme Value Theorem, it must have both an absolute maximum and an absolute minimum value on this interval.

To Find:

The absolute maximum and absolute minimum values of $f(x)$ on $[-2, 1]$.

Solution:

1. Find the critical points of $f(x)$ in the open interval $(-2, 1)$.

Find the derivative $f'(x)$:

f'(x) = $\frac{d}{dx}(x^3) = 3x^2$

... (i)

To find critical points, set $f'(x) = 0$ or find where $f'(x)$ is undefined within $(-2, 1)$.

f'(x) = 0 $\implies 3x^2 = 0 \implies x = 0$

The derivative $f'(x) = 3x^2$ is defined for all real numbers, so there are no critical points where the derivative is undefined.

The only critical point is $x = 0$. This point lies in the open interval $(-2, 1)$, so we include it in our list of points to check.

2. Evaluate $f(x)$ at the critical point(s) in the interval and at the endpoints.

The points to evaluate are the critical point $x=0$ and the endpoints $x=-2$ and $x=1$.

  • At the critical point $x=0$:
  • f(0) = $(0)^3 = 0$

  • At the left endpoint $x=-2$:
  • f(-2) = $(-2)^3 = -8$

  • At the right endpoint $x=1$:
  • f(1) = $(1)^3 = 1$

3. Compare the values obtained: $0, -8, 1$.

The largest of these values is 1.

The smallest of these values is -8.

Therefore:

The absolute maximum value of $f(x) = x^3$ on $[-2, 1]$ is $\mathbf{1}$, which occurs at $x=1$.

The absolute minimum value of $f(x) = x^3$ on $[-2, 1]$ is $\mathbf{-8}$, which occurs at $x=-2$.


Example 2. Find the absolute maximum and minimum values of $f(x) = \sin x + \cos x$ on $[0, \pi]$.

Answer:

Given:

The function $f(x) = \sin x + \cos x$.

The interval is the closed interval $[0, \pi]$.

The functions $\sin x$ and $\cos x$ are continuous everywhere, so $f(x) = \sin x + \cos x$ is continuous on the closed interval $[0, \pi]$. By the Extreme Value Theorem, absolute extrema exist on this interval.

To Find:

The absolute maximum and absolute minimum values of $f(x)$ on $[0, \pi]$.

Solution:

1. Find the critical points of $f(x)$ in the open interval $(0, \pi)$.

Find the derivative $f'(x)$:

f'(x) = $\frac{d}{dx}(\sin x + \cos x)$

f'(x) = $\cos x - \sin x$

... (i)

To find critical points, set $f'(x) = 0$ within $(0, \pi)$.

$\cos x - \sin x = 0$

$\cos x = \sin x$

Assuming $\cos x \neq 0$ (which is true for $x$ in $(0, \pi)$ where $\sin x = \cos x$), we can divide by $\cos x$:

$\frac{\sin x}{\cos x} = 1$

$\tan x = 1$

We need to find values of $x$ in the interval $(0, \pi)$ where $\tan x = 1$. The general solution for $\tan x = 1$ is $x = n\pi + \frac{\pi}{4}$, where $n$ is an integer. For $n=0$, $x = \frac{\pi}{4}$. This is in the interval $(0, \pi)$. For $n=1$, $x = \pi + \frac{\pi}{4} = \frac{5\pi}{4}$. This is outside the interval $(0, \pi)$. For $n=-1$, $x = -\pi + \frac{\pi}{4} = -\frac{3\pi}{4}$. This is outside the interval $(0, \pi)$. The derivative $f'(x) = \cos x - \sin x$ is defined for all $x$, so there are no critical points where the derivative is undefined.

The only critical point in the open interval $(0, \pi)$ is $x = \frac{\pi}{4}$.

2. Evaluate $f(x)$ at the critical point and the endpoints.

The points to evaluate are the critical point $x=\frac{\pi}{4}$ and the endpoints $x=0$ and $x=\pi$.

  • At the critical point $x=\frac{\pi}{4}$:
  • f$(\frac{\pi}{4})$ = $\sin(\frac{\pi}{4}) + \cos(\frac{\pi}{4})$

    f$(\frac{\pi}{4})$ = $\frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \frac{2}{\sqrt{2}} = \sqrt{2}$

    Value is $\sqrt{2} \approx 1.414$

  • At the left endpoint $x=0$:
  • f(0) = $\sin(0) + \cos(0) = 0 + 1 = 1$

    Value is 1.

  • At the right endpoint $x=\pi$:
  • f($\pi$) = $\sin(\pi) + \cos(\pi) = 0 + (-1) = -1$

    Value is -1.

3. Compare the values obtained: $\sqrt{2}$, $1$, and $-1$.

The largest of these values is $\sqrt{2}$.

The smallest of these values is -1.

Therefore:

The absolute maximum value of $f(x) = \sin x + \cos x$ on $[0, \pi]$ is $\mathbf{\sqrt{2}}$, which occurs at $x = \frac{\pi}{4}$.

The absolute minimum value of $f(x) = \sin x + \cos x$ on $[0, \pi]$ is $\mathbf{-1}$, which occurs at $x = \pi$.



Local Maximum and Local Minimum Values

Beyond finding the absolute highest and lowest points on an interval, derivatives also help us identify local (or relative) extrema. These are points where the function reaches a peak or a valley in its immediate neighbourhood, even if there are higher or lower points elsewhere in the domain.


Definitions

Let $f$ be a function defined on an interval $I$, and let $c$ be an interior point of $I$ (a point that is not an endpoint).

Points where a function has a local maximum or a local minimum are collectively called local extrema or relative extrema. A point $c$ where a local extremum occurs must be a critical point of the function (where $f'(c) = 0$ or $f'(c)$ is undefined, provided $c$ is in the domain). This is a necessary condition, but not sufficient (i.e., not all critical points are local extrema).


Tests for Local Extrema

To determine whether a critical point corresponds to a local maximum, a local minimum, or neither, we use tests based on the derivative(s) of the function.

First Derivative Test

The First Derivative Test relies on examining the sign of the first derivative, $f'(x)$, as $x$ moves across a critical point. The sign of the derivative tells us whether the function is increasing or decreasing in the vicinity of the critical point.

Let $c$ be a critical point of a continuous function $f$ defined on an interval $I$. Suppose $f$ is differentiable in $(c-\delta, c)$ and $(c, c+\delta)$ for some $\delta > 0$.

Procedure using First Derivative Test:

1. Find the derivative $f'(x)$.

2. Find the critical points of $f(x)$ (where $f'(x)=0$ or $f'(x)$ is undefined) that are in the domain of $f$.

3. Arrange the critical points in increasing order on a number line. These points divide the domain into disjoint intervals.

4. For each critical point $c$, examine the sign of $f'(x)$ in an open interval immediately to the left of $c$ and in an open interval immediately to the right of $c$. This can be done by picking a test point in each interval and evaluating $f'$ at that point.

5. Apply the sign change conditions of the First Derivative Test to classify each critical point as a local maximum, local minimum, or neither.

6. If a local extremum exists at $c$, calculate the local extreme value by finding $f(c)$.

Second Derivative Test

The Second Derivative Test uses the value of the second derivative at a critical point where the first derivative is zero ($f'(c)=0$). It is often quicker when applicable, but it requires the existence of the second derivative.

Let $f$ be a function that is differentiable on an open interval $I$, and let $c$ be an interior point in $I$ such that $f'(c) = 0$. Assume the second derivative $f''(c)$ exists at $c$.

Procedure using Second Derivative Test:

1. Find the first derivative $f'(x)$ and the second derivative $f''(x)$.

2. Find the critical points $c$ by setting $f'(x) = 0$ and solving for $x$. This test *only* applies to critical points where $f'(c)=0$.

3. For each critical point $c$ found in step 2, evaluate the second derivative $f''(c)$.

4. Apply the conditions based on the sign of $f''(c)$:


Example 1. Find the local maxima and local minima of the function $f(x) = x^3 - 6x^2 + 5$ using the First Derivative Test.

Answer:

Given:

The function $f(x) = x^3 - 6x^2 + 5$.

The domain of $f(x)$ is $\mathbb{R}$.

To Find:

The local maximum and local minimum values of $f(x)$ using the First Derivative Test.

Solution:

1. Find the derivative $f'(x)$.

f'(x) = $\frac{d}{dx}(x^3 - 6x^2 + 5)$

f'(x) = $3x^2 - 12x$

... (i)

2. Find the critical points by setting $f'(x) = 0$.

f'(x) = 0 $\implies 3x^2 - 12x = 0$

Factor out the common term $3x$:

3x(x - 4) = 0

This equation is satisfied if $3x = 0$ or $x - 4 = 0$.

$x = 0$ or $x = 4$

These are the critical points. The derivative $f'(x)$ is defined for all real $x$, so there are no critical points where the derivative is undefined.

The critical points are $x=0$ and $x=4$. These points divide the real line into three intervals: $(-\infty, 0)$, $(0, 4)$, and $(4, \infty)$.

3. Examine the sign of $f'(x) = 3x(x-4)$ in intervals around each critical point.

Analysis at $x = 0$ (Critical Point):

Consider an interval to the left of 0, say $(-1, 0)$. Pick a test point, e.g., $x=-1$.

f'(-1) = $3(-1)(-1 - 4) = (-3)(-5) = 15$

The sign is positive ($f'(-1) > 0$). This means $f(x)$ is strictly increasing in the interval $(-\infty, 0)$.

Consider an interval to the right of 0, say $(0, 1)$. Pick a test point, e.g., $x=1$.

f'(1) = $3(1)(1 - 4) = (3)(-3) = -9$

The sign is negative ($f'(1) < 0$). This means $f(x)$ is strictly decreasing in the interval $(0, 4)$.

As $x$ passes through $x=0$, the sign of $f'(x)$ changes from positive to negative. According to the First Derivative Test, this indicates a local maximum at $x=0$.

The local maximum value is $f(0) = (0)^3 - 6(0)^2 + 5 = 0 - 0 + 5 = 5$.

Analysis at $x = 4$ (Critical Point):

Consider an interval to the left of 4, say $(3, 4)$. Pick a test point, e.g., $x=3.5$.

f'(3.5) = $3(3.5)(3.5 - 4) = (10.5)(-0.5) = -5.25$

The sign is negative ($f'(3.5) < 0$). This means $f(x)$ is strictly decreasing in the interval $(0, 4)$.

Consider an interval to the right of 4, say $(4, 5)$. Pick a test point, e.g., $x=5$.

f'(5) = $3(5)(5 - 4) = (15)(1) = 15$

The sign is positive ($f'(5) > 0$). This means $f(x)$ is strictly increasing in the interval $(4, \infty)$.

As $x$ passes through $x=4$, the sign of $f'(x)$ changes from negative to positive. According to the First Derivative Test, this indicates a local minimum at $x=4$.

The local minimum value is $f(4) = (4)^3 - 6(4)^2 + 5 = 64 - 6(16) + 5 = 64 - 96 + 5 = 69 - 96 = -27$.

Therefore:

The function $f(x)$ has a local maximum value of $\mathbf{5}$ at $x = 0$.

The function $f(x)$ has a local minimum value of $\mathbf{-27}$ at $x = 4$.


Example 2. Find the local maxima and local minima of the function $f(x) = x^3 - 6x^2 + 5$ using the Second Derivative Test.

Answer:

Given:

The function $f(x) = x^3 - 6x^2 + 5$.

To Find:

The local maximum and local minimum values of $f(x)$ using the Second Derivative Test.

Solution:

1. Find the first and second derivatives of $f(x)$.

From Example 1, the first derivative is:

f'(x) = $3x^2 - 12x$

... (i)

Now, find the second derivative by differentiating $f'(x)$ with respect to $x$:

f''(x) = $\frac{d}{dx}(3x^2 - 12x)$

f''(x) = $6x - 12$

... (ii)

2. Find the critical points where $f'(x) = 0$.

Setting $f'(x) = 0$ from equation (i):

3x(x - 4) = 0

$x = 0$ or $x = 4$

These are the critical points where the Second Derivative Test can be applied.

3. Evaluate the second derivative $f''(x)$ at each critical point.

At critical point $x = 0$:

f''(0) = $6(0) - 12 = -12$

At critical point $x = 4$:

f''(4) = $6(4) - 12 = 24 - 12 = 12$

4. Apply the Second Derivative Test conditions.

For $x = 0$: $f''(0) = -12$. Since $f''(0) < 0$, the function $f(x)$ has a local maximum at $x=0$.

The local maximum value is $f(0) = (0)^3 - 6(0)^2 + 5 = 5$.

For $x = 4$: $f''(4) = 12$. Since $f''(4) > 0$, the function $f(x)$ has a local minimum at $x=4$.

The local minimum value is $f(4) = (4)^3 - 6(4)^2 + 5 = 64 - 6(16) + 5 = 64 - 96 + 5 = -27$.

The Second Derivative Test gives the same results as the First Derivative Test in this case.

Therefore:

The function $f(x)$ has a local maximum value of $\mathbf{5}$ at $x = 0$.

The function $f(x)$ has a local minimum value of $\mathbf{-27}$ at $x = 4$.



Practical Problems on Maxima and Minima

One of the most significant and practical applications of differential calculus is in solving optimization problems. These problems involve finding the maximum or minimum value of a certain quantity (like area, volume, profit, cost, time, distance, etc.) under given constraints. The ability to model such situations mathematically and then use derivatives to find the extreme values makes calculus an indispensable tool in various fields like engineering, economics, physics, and business. Solving these problems typically involves identifying the quantity to be optimized, expressing it as a function, and then finding the extrema of that function using the techniques discussed earlier (finding critical points, and applying the First or Second Derivative Test).


Steps to Solve Optimization Problems

Solving optimization problems using calculus generally follows a systematic approach:

1. Understand the Problem: Read the problem statement carefully to fully grasp what is being asked. Identify the quantity that needs to be maximised or minimised. Assign a symbol (variable) to this quantity, say $Q$. Identify all other relevant quantities and assign variables to them as well.

2. Draw a Diagram (if applicable): For geometric problems, drawing a clear diagram and labelling the relevant variables can greatly help in visualising the relationships between the quantities.

3. Find Relationships and Formulate the Function: Write down any equations that relate the variables identified in the problem. These usually come from the problem description (e.g., fixed sum, fixed perimeter, formulas for area/volume, etc.). Use these relationships to express the quantity $Q$ (which you want to optimize) as a function of a single independent variable, say $x$. For example, if $Q$ depends on $x$ and $y$, use a relation between $x$ and $y$ to express $y$ in terms of $x$ and substitute it into the expression for $Q$, resulting in $Q(x)$.

4. Determine the Domain: Identify the feasible range of the independent variable $x$ based on the constraints of the problem. For instance, lengths, widths, radii, etc., must typically be non-negative. This will define the domain (an interval) for the function $Q(x)$. This domain might be open or closed depending on the problem.

5. Find Critical Points: Calculate the first derivative of the function $Q(x)$, i.e., $Q'(x)$. Find the critical points within the determined domain by setting $Q'(x) = 0$ or by finding points in the domain where $Q'(x)$ is undefined.

6. Test Critical Points: Use either the First Derivative Test or the Second Derivative Test to classify each critical point found in step 5 as a local maximum, a local minimum, or neither. The First Derivative Test is generally more robust as it works even when the second derivative is zero or undefined. The Second Derivative Test is often quicker if the second derivative is easy to compute and is non-zero at the critical points.

7. Evaluate at Endpoints (if applicable): If the domain determined in step 4 is a closed interval $[a, b]$ and you are looking for absolute extrema, you must also evaluate the function $Q(x)$ at the endpoints $a$ and $b$, in addition to evaluating it at the critical points within $(a, b)$.

8. Identify the Optimal Value and Answer the Question: Based on the results of the tests in step 6 or the comparison of values in step 7 (for closed intervals), identify the value(s) of $x$ that yield the required maximum or minimum value of $Q$. State the answer clearly, providing both the value(s) of the independent variable(s) and the resulting maximum or minimum value of the quantity $Q$, ensuring units are included if applicable.


Example 1. Find two positive numbers whose sum is 15 and whose product is as large as possible.

Answer:

Given:

We are given two positive numbers and their sum is 15.

To Find:

Two such numbers whose product is maximum.

Solution:

1. Let the two positive numbers be $x$ and $y$. We want to maximize their product, which we denote by $P$.

Maximize P = $xy$

... (1)

2. The relationship given in the problem is that their sum is 15.

x + y = 15

(Given sum)

Since the numbers must be positive, the variables $x$ and $y$ must satisfy $x > 0$ and $y > 0$.

3. Express the quantity to be maximized, $P$, as a function of a single variable. From the sum relation, we can express $y$ in terms of $x$:

y = $15 - x$

Since $y > 0$, we have $15 - x > 0$, which implies $x < 15$. Combined with $x > 0$, the domain for $x$ is the open interval $(0, 15)$.

Substitute $y = 15 - x$ into the product equation (1):

P(x) = $x(15 - x) = 15x - x^2$

... (2)

We need to maximize the function $P(x) = 15x - x^2$ on the interval $(0, 15)$.

4. Find the derivative of $P(x)$ with respect to $x$.

P'(x) = $\frac{d}{dx}(15x - x^2) = 15 - 2x$

... (3)

5. Find the critical points by setting $P'(x) = 0$ within the domain $(0, 15)$.

15 - 2x = 0

2x = 15

x = $\frac{15}{2} = 7.5$

The critical point is $x=7.5$. This point lies within the domain $(0, 15)$. $P'(x)$ is defined for all $x$, so there are no other critical points where $P'(x)$ is undefined.

6. Use the Second Derivative Test to classify the critical point $x=7.5$.

Find the second derivative $P''(x)$:

P''(x) = $\frac{d}{dx}(15 - 2x) = -2$

... (4)

Evaluate $P''(x)$ at the critical point $x=7.5$:

P''(7.5) = $-2$

Since $P''(7.5) = -2 < 0$, by the Second Derivative Test, the function $P(x)$ has a local maximum at $x=7.5$.

Since the domain is an open interval $(0, 15)$ and we found only one critical point within this domain, and this critical point corresponds to a local maximum, it must also be the absolute maximum on $(0, 15)$.

7. Find the corresponding value of the second number, $y$, using the relationship $y = 15 - x$.

If x = 7.5, then y = $15 - 7.5 = 7.5$

The two numbers are 7.5 and 7.5.

The maximum product is $P(7.5) = 15(7.5) - (7.5)^2 = 112.5 - 56.25 = 56.25$.

8. Answer: The two positive numbers whose sum is 15 and whose product is as large as possible are $\mathbf{7.5}$ and $\mathbf{7.5}$. The maximum product is $\mathbf{56.25}$.


Example 2. A square piece of tin of side 18 cm is to be made into a box without top by cutting a square from each corner and folding up the flaps. What should be the side of the square to be cut off so that the volume of the box is the maximum possible?

Answer:

Given:

A square tin sheet with side length 18 cm.

Squares of equal side length are cut from each corner.

The remaining flaps are folded up to form an open box.

To Find:

The side length of the square cut from each corner that maximizes the volume of the box.

Solution:

1. Let $x$ cm be the side length of the square cut off from each of the four corners. We want to maximize the volume of the box, denoted by $V$.

2. When a square of side $x$ is cut from each corner of the 18 cm $\times$ 18 cm sheet, the dimensions of the base of the resulting box will be $(18 - 2x)$ cm by $(18 - 2x)$ cm, and the height of the box will be $x$ cm (when the flaps are folded up).

For these dimensions to be physically possible and positive, we must have:

Side of base $>$ 0 $\implies 18 - 2x > 0 \implies 18 > 2x \implies 9 > x$

Height $>$ 0 $\implies x > 0$

So, the variable $x$ must be in the interval $(0, 9)$. This is the domain for $x$ relevant to the problem.

3. The volume of the box is given by the product of its length, width, and height.

V = Length $\times$ Width $\times$ Height

V(x) = $(18 - 2x)(18 - 2x)(x) = (18 - 2x)^2 x$

... (1)

(Formula for volume of a box)

Expand the expression for $V(x)$:

V(x) = x$(324 - 72x + 4x^2)$

V(x) = $4x^3 - 72x^2 + 324x$

... (2)

We need to maximize $V(x)$ on the interval $(0, 9)$.

4. Find the derivative of $V(x)$ with respect to $x$.

V'(x) = $\frac{d}{dx}(4x^3 - 72x^2 + 324x)$

V'(x) = $12x^2 - 144x + 324$

... (3)

5. Find the critical points by setting $V'(x) = 0$ within the domain $(0, 9)$.

12x$^2$ - 144x + 324 = 0

Divide the equation by 12:

$\frac{12(x^2 - 12x + 27)}{12} = \frac{0}{12}$

x$^2$ - 12x + 27 = 0

Factor the quadratic expression. We need two numbers that multiply to 27 and add up to -12. These are -3 and -9.

$(x - 3)(x - 9) = 0$

This gives two possible values for $x$ where the derivative is zero:

x - 3 = 0 $\implies$ x = 3

x - 9 = 0 $\implies$ x = 9

The critical points are $x=3$ and $x=9$. We are interested in critical points within the open interval $(0, 9)$. The point $x=3$ is in $(0, 9)$. The point $x=9$ is an endpoint of the domain $[0, 9]$ (if we consider the case where the volume is 0, which is a minimum volume, not maximum).

The only critical point in the relevant domain $(0, 9)$ is $x=3$.

6. Use a test to classify the critical point $x=3$. We can use either the First Derivative Test or the Second Derivative Test.

Using the Second Derivative Test:

Find the second derivative of $V(x)$. Differentiate $V'(x) = 12x^2 - 144x + 324$ with respect to $x$:

V''(x) = $\frac{d}{dx}(12x^2 - 144x + 324)$

V''(x) = $24x - 144$

... (4)

Evaluate the second derivative at the critical point $x=3$:

V''(3) = $24(3) - 144 = 72 - 144 = -72$

Since $V''(3) = -72 < 0$, by the Second Derivative Test, the function $V(x)$ has a local maximum at $x=3$.

Since $x=3$ is the only critical point in the domain $(0, 9)$ and it corresponds to a local maximum, it must also be the absolute maximum on this interval. Note that at the endpoints $x=0$ and $x=9$, $V(x)=0$, which is the minimum possible volume.

Using the First Derivative Test (Alternate Method):

We found the critical point $x=3$ in the domain $(0, 9)$. This divides the interval $(0, 9)$ into two sub-intervals: $(0, 3)$ and $(3, 9)$.

We analyse the sign of $V'(x) = 12x^2 - 144x + 324 = 12(x-3)(x-9)$ in these intervals.

  • For $x \in (0, 3)$, pick a test point, e.g., $x=1$. $V'(1) = 12(1-3)(1-9) = 12(-2)(-8) = 12(16) = 192$. Since $V'(1) > 0$, $V(x)$ is strictly increasing on $(0, 3)$.
  • For $x \in (3, 9)$, pick a test point, e.g., $x=4$. $V'(4) = 12(4-3)(4-9) = 12(1)(-5) = -60$. Since $V'(4) < 0$, $V(x)$ is strictly decreasing on $(3, 9)$.

As $x$ increases through $x=3$, the sign of $V'(x)$ changes from positive to negative. By the First Derivative Test, $V(x)$ has a local maximum at $x=3$.

7. The maximum volume occurs when the side of the square cut off is $x=3$ cm.

The maximum volume is $V(3) = 4(3)^3 - 72(3)^2 + 324(3) = 4(27) - 72(9) + 972 = 108 - 648 + 972 = 108 + 324 = 432$ cubic cm.

Alternatively, using $V(x) = x(18-2x)^2$: $V(3) = 3(18 - 2(3))^2 = 3(18-6)^2 = 3(12)^2 = 3(144) = 432$ cubic cm.

8. Answer: To maximize the volume of the box, the side of the square to be cut off from each corner should be $\mathbf{3}$ cm.