Chapter 5b: Differentiation
The derivative \(f'(x)\) is the instantaneous rate of change of \(f(x)\) with respect to \(x\). This concept has vast applications in various fields.
Applications of Instantaneous Rates of Change:
Example 5.4.1: Volume of a Spherical Cell
The volume of a growing spherical cell is \(V = \frac{4}{3}\pi r^3\), where \(r\) is radius in micrometers.
First, find \(V'(r) = \frac{d}{dr}(\frac{4}{3}\pi r^3) = 4\pi r^2\).
Then, \(V'(5) = 4\pi (5^2) = 100\pi \mu m^3/\mu m\).
Example 5.4.2: Ball Rolling Down an Inclined Plane
If a ball is given a push so that it has an initial velocity of \(5m/s\) down an inclined plane, then the distance it has rolled after \(t\) seconds is \(x = 5t + 3t^2\).
Velocity is the first derivative of position:
\(x'(t) = \frac{dx}{dt} = \frac{d}{dt}(5t + 3t^2) = 5 + 6t\).
At \(t=2s\), velocity \(x'(2) = 5 + 6(2) = 17 \text{ m/s}\).
Set velocity equal to \(35\): \(5 + 6t = 35\).
\(6t = 30 \Rightarrow t = 5 \text{ s}\).
Acceleration is the second derivative of position (or first derivative of velocity): \(x''(t) = \frac{d^2x}{dt^2} = \frac{d}{dt}(5 + 6t) = 6\).
The acceleration is constant, \(6 \text{ m/s}^2\). So, after 2s, the acceleration is \(6 \text{ m/s}^2\).
Example 5.4.3: Air Expansion
When air expands without losing or gaining heat, its pressure \(P\) and volume \(V\) satisfy \(PV^{1.4} = C\) (a constant).
At one instant:
At what rate is the volume increasing at this instant?
Solution:
The equation is \(PV^{1.4} = C\). Since \(P\) and \(V\) both depend on time \(t\), we differentiate implicitly with respect to \(t\): \[ \frac {d}{d t} (P V^{1.4}) = \frac {d}{d t} (C). \] Using the Product Rule on the left side: \[ \frac {d P}{d t} \cdot V ^ {1. 4} + P \cdot (1. 4 V ^ {0. 4}) \cdot \frac {d V}{d t} = 0. \] Now, solve for \(\frac{dV}{dt}\): \[ 1. 4 P V ^ {0. 4} \frac {d V}{d t} = - \frac {d P}{d t} \cdot V ^ {1. 4}. \] \[ \frac {d V}{d t} = - \frac {\frac {d P}{d t} \cdot V ^ {1. 4}}{1. 4 P V ^ {0. 4}} = - \frac {\frac {d P}{d t} \cdot V}{1. 4 P}. \] Substitute the given values: \(V = 400\), \(P = 80\), \(\frac{dP}{dt} = -10\): \[ \frac {d V}{d t} = - \frac {(- 1 0) (4 0 0)}{1. 4 (8 0)} = - \frac {- 4000}{112} \approx 35.71 \mathrm{cm}^3 / \mathrm{min}. \] So, the volume is increasing at approximately \(35.71 \mathrm{cm}^3 / \mathrm{min}\).
Example 5.4.4: Motorcyclist and Radar Gun
A traffic police officer is \(6\mathrm{m}\) above a road. A motorcyclist passes a lamppost.
At that instant:
Can the motorcyclist be fined?
Solution:
Let \(x(t)\) be the horizontal distance and \(y(t)\) the diagonal distance. The height of the bridge is \(h = 6\mathrm{m} = 0.006\mathrm{km}\).
These distances are related by the Pythagorean theorem: \(x(t)^2 + h^2 = y(t)^2\).
Differentiate implicitly with respect to \(t\): \[ 2x(t)x'(t) + 0 = 2y(t)y'(t). \] Solving for \(x'(t)\) (the speed of the motorcycle): \[ x'(t) = \frac{y(t)y'(t)}{x(t)}. \] At the specific instant:
Substitute values: \[ x'(t_0) = \frac{(0.01 \mathrm{km})(-52 \mathrm{km/h})}{0.008 \mathrm{km}} = \frac{-0.52}{0.008} \mathrm{km/h} = -65 \mathrm{km/h}. \]
The speed of the motorcycle is \(|x'(t_0)| = 65 \mathrm{km/h}\).
Since \(65 \mathrm{km/h} > 60 \mathrm{km/h}\), the motorcyclist can be fined.
Linearization approximates a function \(f(x)\) near a point \(x=a\) using a linear function \(L(x)\).
Definition 5.5.1: Linearization of \(f\) at \(a\)
The linearization of \(f\) at \(a\) is the linear function:
\[ L (x) = f (a) + f ^ {\prime} (a) (x - a). \]
Remarks:
The equation \(y = L(x)\) is the equation of the tangent line to the curve \(y = f(x)\) at \(x = a\).
Linearization provides a local approximation: \(f(x) \approx L(x)\) for \(x\) near \(a\).
Higher-order approximations exist, such as Taylor polynomials, which use higher derivatives to create more accurate approximations over larger intervals. \[ P _ {n} (x) = f (a) + (x - a) f ^ {\prime} (a) + \frac {(x - a) ^ {2}}{2 !} f ^ {\prime \prime} (a) + \dots + \frac {(x - a) ^ {n}}{n !} f ^ {(n)} (a). \\ \]
Example 5.5.2: Approximate \(\ln(1.01)\)
Consider \(f(x) = \ln(1 + x)\). Use the linearization of \(f\) at \(a = 0\) to approximate \(\ln(1.01)\).
Solution:
Find \(f(a)\): \(f(0) = \ln(1 + 0) = \ln 1 = 0\).
Find \(f'(x)\): \(f'(x) = \frac{1}{1 + x}\).
Find \(f'(a)\): \(f'(0) = \frac{1}{1 + 0} = 1\).
Form the linearization \(L(x) = f(a) + f'(a)(x - a)\):
\(L(x) = 0 + 1(x - 0) = x\).
Approximate \(\ln(1.01)\):
Since \(1.01 = 1 + 0.01\), we use \(x = 0.01\).
\(\ln(1.01) \approx L(0.01) = 0.01\).
(Actual value \(\ln(1.01) \approx 0.00995\))
Example 5.5.3: Approximate \(\sqrt{4.001}\)
Use the linearization of \(f(x) = \sqrt{x}\) at \(a = 4\) to approximate \(\sqrt{4.001}\).
Solution:
Find \(f(a)\): \(f(4) = \sqrt{4} = 2\).
Find \(f'(x)\): \(f'(x) = \frac{1}{2\sqrt{x}}\).
Find \(f'(a)\): \(f'(4) = \frac{1}{2\sqrt{4}} = \frac{1}{2 \cdot 2} = \frac{1}{4}\).
Form the linearization \(L(x) = f(a) + f'(a)(x - a)\):
\(L(x) = 2 + \frac{1}{4}(x - 4)\).
Approximate \(\sqrt{4.001}\):
Use \(x = 4.001\).
\(\sqrt{4.001} \approx L(4.001) = 2 + \frac{1}{4}(4.001 - 4) = 2 + \frac{1}{4}(0.001) = 2 + 0.00025 = 2.00025\).
(Actual value \(\sqrt{4.001} \approx 2.000249968...\))
Example 5.5.4: Approximate \(\sqrt[3]{7.99}\) by linearization.
Question: Which function \(f(x)\) and at which point \(a\) would you choose?
Solution:
Now, we follow the steps for linearization:
Find \(f(a)\): \(f(8) = \sqrt[3]{8} = 2\).
Find \(f'(x)\): \(f'(x) = \frac{d}{dx}(x^{1/3}) = \frac{1}{3}x^{(1/3) - 1} = \frac{1}{3}x^{-2/3} = \frac{1}{3x^{2/3}}\).
Find \(f'(a)\): \(f'(8) = \frac{1}{3(8)^{2/3}} = \frac{1}{3(\sqrt[3]{8})^2} = \frac{1}{3(2)^2} = \frac{1}{3 \cdot 4} = \frac{1}{12}\).
Form the linearization \(L(x) = f(a) + f'(a)(x - a)\):
\(L(x) = 2 + \frac{1}{12}(x - 8)\).
Approximate \(\sqrt[3]{7.99}\):
Use \(x = 7.99\).
\(\sqrt[3]{7.99} \approx L(7.99) = 2 + \frac{1}{12}(7.99 - 8) = 2 + \frac{1}{12}(-0.01)\).
\(L(7.99) = 2 - \frac{0.01}{12} = 2 - \frac{1}{1200} \approx 2 - 0.0008333 = 1.9991667\).
(Actual value \(\sqrt[3]{7.99} \approx 1.9991663...\))
Differentials provide a way to estimate the change in a function \(\Delta f\) based on a small change in its input \(dx\).
Suppose \(x\) changes from \(x = a\) to \(x = a + dx\) (i.e., \(\Delta x = dx\)).
The actual change in \(f\) is: \[ \Delta f = f (a + d x) - f (a). \]
Differentials (\(df\))
When the change \(dx\) is small, we approximate \(\Delta f\) using the change in the linearization (tangent line).
The differential of \(f\), denoted \(df\), is defined as: \[ d f = f ^ {\prime} (a) d x. \] For small \(dx\), we have the approximation: \[ \Delta f \approx d f, \quad \text{or} \quad \Delta f \approx \frac {d f}{d x} d x. \]
Remarks on Changes:
| Type of Change | Actual Change | Estimated Change |
|---|---|---|
| Absolute Change | \(\Delta f = f(a+dx) - f(a)\) | \(df = f'(a)dx\) |
| Relative Change | \(\frac{\Delta f}{f(a)}\) | \(\frac{df}{f(a)}\) |
| Percentage Change | \(100 \frac{\Delta f}{f(a)}\) | \(100 \frac{df}{f(a)}\) |
Warning
The derivative \(\frac{df}{dx}\) is NOT the quotient of the differential \(df\) and the change \(dx\) in the strict sense, but \(df = \frac{df}{dx}dx\) is a very useful formula for approximations.
Example 5.5.5: Error in Circular Disk Area
The radius of a circular disk is \(24~\mathrm{cm}\) with a maximum error in measurement of \(0.2~\mathrm{cm}\).
Solution:
Let the radius be \(r\). The area is \(A(r) = \pi r^2\).
The derivative is \(A'(r) = 2\pi r\).
The differential of \(A\) is \(dA = A'(r) dr\).
Given values: \(r = 24~\mathrm{cm}\) and \(dr = \pm 0.2~\mathrm{cm}\) (maximum error).
Maximum error in calculated area (\(dA\)):
\(dA = A'(24)dr = 2\pi (24)(0.2) = 48\pi (0.2) = 9.6\pi~\mathrm{cm}^2\).
This is approximately \(9.6 \times 3.14159 \approx 30.16 \mathrm{cm}^2\).
Relative error and Percentage error:
First, calculate the area at \(r=24\): \(A(24) = \pi (24)^2 = 576\pi~\mathrm{cm}^2\).
Relative error: \(\frac{dA}{A(r)} = \frac{9.6\pi}{576\pi} = \frac{9.6}{576} = \frac{1}{60} \approx 0.01667\).
Percentage error: \((0.01667) \times 100\% \approx 1.667\%\).
Newton’s Method (also Newton-Raphson method) is a numerical technique to approximate solutions to an equation \(f(x) = 0\).
It’s an iterative method that uses the tangent line to refine an initial guess.
Idea of Newton’s Method:

Iteration Formula:
The equation of the tangent at \((x_n, f(x_n))\) is \(y - f(x_n) = f'(x_n)(x - x_n)\).
To find the \(x\)-intercept \(x_{n+1}\), set \(y=0\):
\(0 - f(x_n) = f'(x_n)(x_{n+1} - x_n)\).
Solving for \(x_{n+1}\): \[ x _ {n + 1} = x _ {n} - \frac {f (x _ {n})}{f ^ {\prime} (x _ {n})}. \]
Example 5.6.1: Use Newton’s method to solve \(x^{3} - x + 1 = 0\).
Solution:
Let \(f(x) = x^3 - x + 1\).
Then \(f'(x) = 3x^2 - 1\).
First, find an initial guess:
\(f(-1) = (-1)^3 - (-1) + 1 = -1 + 1 + 1 = 1\).
\(f(-2) = (-2)^3 - (-2) + 1 = -8 + 2 + 1 = -5\).
Since \(f(-1)\) is positive and \(f(-2)\) is negative, a root lies between -2 and -1 (by IVT). Let’s choose \(x_0 = -1\).
Newton’s iteration formula: \[ x _ {n + 1} = x _ {n} - \frac {x _ {n} ^ {3} - x _ {n} + 1}{3 x _ {n} ^ {2} - 1}. \]
Let’s compute the first few iterates:
Approximated root (to five decimal places): \(x \approx -1.32472\).
Newton’s method isn’t just for polynomial roots; it’s used for various numerical approximations.
Example 5.6.2: Approximating Reciprocals (\(\frac{1}{\alpha}\))
Given \(\alpha \neq 0\), estimate \(x = \frac{1}{\alpha}\).
Solution:
The equation is \(x = \frac{1}{\alpha}\), which can be rewritten as \(\frac{1}{x} - \alpha = 0\).
Let \(f(x) = \frac{1}{x} - \alpha\).
Then \(f'(x) = -\frac{1}{x^2}\).
Apply Newton’s iteration formula: \[ \begin{array}{l} x _ {n + 1} = x _ {n} - \frac {f (x _ {n})}{f ^ {\prime} (x _ {n})} = x _ {n} - \frac {\frac {1}{x _ {n}} - \alpha}{- \frac {1}{x _ {n} ^ {2}}} \\ = x _ {n} + x _ {n} ^ {2} \left(\frac {1}{x _ {n}} - \alpha\right) \\ = x _ {n} + x _ {n} - \alpha x _ {n} ^ {2} = 2x_n - \alpha x_n^2 \\ = x _ {n} \left(2 - \alpha x _ {n}\right). \\ \end{array} \] This iterative formula only involves multiplication and subtraction, which were computationally faster than division on early computers.
Example 5.6.3: Approximating Square Roots (\(\sqrt{\alpha}\))
Estimate \(x = \sqrt{\alpha}\) for \(\alpha > 0\).
Solution:
The equation is \(x = \sqrt{\alpha}\), which can be rewritten as \(x^2 = \alpha\), or \(x^2 - \alpha = 0\).
Let \(f(x) = x^2 - \alpha\).
Then \(f'(x) = 2x\).
Apply Newton’s iteration formula:
\[ \begin{array}{l} x _ {n + 1} = x _ {n} - \frac {f (x _ {n})}{f ^ {\prime} (x _ {n})} = x _ {n} - \frac {x _ {n} ^ {2} - \alpha}{2 x _ {n}} \\ = \frac {2 x _ {n} ^ {2} - (x _ {n} ^ {2} - \alpha)}{2 x _ {n}} = \frac {x _ {n} ^ {2} + \alpha}{2 x _ {n}} \\ = \frac {x _ {n}}{2} + \frac {\alpha}{2 x _ {n}} = \frac{1}{2}\left(x_n + \frac{\alpha}{x_n}\right). \\ \end{array} \] This is also known as the Babylonian method for square roots.
Example 5.6.4: Approximate the value of \(\sqrt{3}\).
Solution:
We use the iteration formula for square roots: \(x _ {n + 1} = \frac {1}{2} \left(x _ {n} + \frac {\alpha}{x _ {n}}\right)\).
Let \(\alpha = 3\). We need an initial guess \(x_0\).
Since \(1^2 = 1\) and \(2^2 = 4\), \(\sqrt{3}\) is between 1 and 2. Let’s choose \(x_0 = 2\).
Iterates:
(Actual value \(\sqrt{3} \approx 1.73205081\))
In just 3 iterations, we achieved high accuracy!
Optimization problems involve finding the best possible solution(s), often by maximizing or minimizing a function.
Critical Points:
Critical points are points \(c\) where:
Extreme Value Theorem Review:
A continuous function \(f\) on a closed and bounded interval \([a, b]\) always attains its global maximum and global minimum values within that interval.
Closed Interval Method (3-Step Procedure):
To find the global maximum and absolute minimum of a continuous function \(f\) on \([a, b]\):
Example 5.7.1: Find the global maximum and global minimum of \(f(t) = \sqrt[3]{t} (8 - t)\) on \([-1, 8]\).
Solution:
The function \(f(t) = t^{1/3}(8-t) = 8t^{1/3} - t^{4/3}\) is continuous on \([-1, 8]\).
Thus, by the Extreme Value Theorem, global extrema exist.
Find Critical Points in \((-1, 8)\):
First, find \(f'(t)\):
\(f'(t) = \frac{d}{dt}(8t^{1/3} - t^{4/3}) = 8 \cdot \frac{1}{3}t^{-2/3} - \frac{4}{3}t^{1/3}\)
\(f'(t) = \frac{8}{3t^{2/3}} - \frac{4t^{1/3}}{3} = \frac{8 - 4t}{3t^{2/3}} = \frac{8 - 4t}{3(\sqrt[3]{t})^2}\).
Evaluate Endpoints:
Compare Values:
Conclusion:
Example 5.7.2: Let \(f(x) = (x^{2} - 1)^{2 / 3}\). Find the global maximum and global minimum values of \(f\) on the interval \([-3, 3]\).
Solution:
The function \(f(x) = ((x^2 - 1)^{1/3})^2\) is continuous on \([-3, 3]\).
By the Extreme Value Theorem, global extrema exist.
Find Critical Points:
First, find \(f'(x)\) using the Chain Rule:
\(f'(x) = \frac{2}{3}(x^2 - 1)^{-1/3} \cdot (2x) = \frac{4x}{3(x^2 - 1)^{1/3}}\).
Stationary Point: \(f'(x) = 0\) when the numerator is zero.
\(4x = 0 \Rightarrow x = 0\).
\(x=0\) is in \((-3, 3)\).
Singular Points: \(f'(x)\) fails to exist when the denominator is zero.
\(3(x^2 - 1)^{1/3} = 0 \Rightarrow x^2 - 1 = 0 \Rightarrow (x - 1)(x + 1) = 0\).
So, \(x = 1\) and \(x = -1\).
Both \(x=1\) and \(x=-1\) are in \((-3, 3)\).
Evaluate Endpoints:
Compare Values:
Conclusion: