Differentials and the tangent line
Let \(y = f(x)\), and let \(x\) change by a small amount \(\Delta x\). The exact change in \(y\) is \(\Delta y = f(x + \Delta x) - f(x)\). Working that out can be hard. Try finding \(\sqrt{25.3}\) without a calculator.
The derivative gives a shortcut. Close to a point, a curve and its tangent are almost the same line. So follow the tangent instead of the curve. Along the tangent, the rise is slope times run.
\(dx = \Delta x\) and \(dy = f'(x)\,dx\).
For small \(\Delta x\): \(\Delta y \approx dy\), so
\[f(x + \Delta x) \approx f(x) + f'(x)\,\Delta x\]
\(dy\) is the rise along the tangent and \(\Delta y\) is the rise along the curve. The gap between them shrinks much faster than \(\Delta x\): halve \(\Delta x\) and the gap drops to roughly a quarter. So keep \(\Delta x\) small.
The method
- Split the number as \(x + \Delta x\), where \(x\) is a value you can work with easily: a perfect square, a perfect cube, a standard angle.
- Choose \(f\) so that the number you want is \(f(x + \Delta x)\).
- Find \(f(x)\) and \(f'(x)\) at the easy value.
- Use \(f(x + \Delta x) \approx f(x) + f'(x)\,\Delta x\). If the number is below \(x\), \(\Delta x\) is negative.
For angles, \(\Delta x\) must be in radians: \(1^\circ = \dfrac{\pi}{180} \approx 0.01745\). The rule \(\dfrac{d}{dx}\sin x = \cos x\) is only true when \(x\) is in radians.
Absolute, relative and percentage error
Suppose a quantity \(x\) is measured with a small error \(\Delta x\).
| Error | Formula | Radius \(10\) cm, error \(0.1\) cm |
|---|---|---|
| Absolute error | \(\Delta x\) | \(0.1\) cm |
| Relative error | \(\dfrac{\Delta x}{x}\) | \(0.01\) |
| Percentage error | \(\dfrac{\Delta x}{x} \times 100\) | \(1\%\) |
A quantity calculated from \(x\) picks up an error too, approximately \(dy = f'(x)\,dx\). Powers of \(x\) have a neat shortcut. If \(y = kx^n\), then \(dy = nkx^{n - 1}\,dx\). Divide by \(y = kx^n\):
\[\frac{dy}{y} = n\,\frac{dx}{x}\]
The percentage error in \(y = kx^n\) is about \(n\) times the percentage error in \(x\).
So a 1% error in the radius gives about a 2% error in the area of a circle, \(\pi r^2\), and about a 3% error in the volume of a sphere, \(\dfrac{4}{3}\pi r^3\).
Solved examples
Example 1: A square root
EasyUse differentials to find \(\sqrt{25.3}\).
- Take \(f(x) = \sqrt{x}\), \(x = 25\), \(\Delta x = 0.3\). Then \(f(25) = 5\).
- \(f'(x) = \dfrac{1}{2\sqrt{x}}\), so \(f'(25) = \dfrac{1}{10}\).
- \(\sqrt{25.3} \approx 5 + \dfrac{1}{10}(0.3) = 5.03\).
- Check: a calculator gives \(5.02991\ldots\), so the estimate is off by about \(0.0001\).
Answer\(\sqrt{25.3} \approx 5.03\)
Example 2: A cube root
EasyFind \(\sqrt[3]{27.2}\) approximately.
- Take \(f(x) = x^{1/3}\), \(x = 27\), \(\Delta x = 0.2\). Then \(f(27) = 3\).
- \(f'(x) = \dfrac{1}{3x^{2/3}}\), so \(f'(27) = \dfrac{1}{3 \times 9} = \dfrac{1}{27}\).
- \(\sqrt[3]{27.2} \approx 3 + \dfrac{0.2}{27} = 3 + 0.00741 = 3.00741\).
- The true value is \(3.007389\ldots\), a difference of about \(0.00002\).
Answer\(\sqrt[3]{27.2} \approx 3.0074\)
Example 3: A power
EasyFind \((2.01)^4\) approximately.
- Take \(f(x) = x^4\), \(x = 2\), \(\Delta x = 0.01\). \(f(2) = 16\) and \(f'(x) = 4x^3\), so \(f'(2) = 32\).
- \((2.01)^4 \approx 16 + 32(0.01) = 16.32\).
- Exactly, \((2.01)^4 = 16.32240801\). The estimate is about \(0.0024\) too small, because the curve bends upwards and lies above its tangent.
Answer\((2.01)^4 \approx 16.32\)
Example 4: A logarithm
MediumFind \(\log(1.02)\) approximately, where \(\log\) is the natural logarithm.
- Take \(f(x) = \log x\), \(x = 1\), \(\Delta x = 0.02\). \(f(1) = 0\) and \(f'(x) = \dfrac{1}{x}\), so \(f'(1) = 1\).
- \(\log(1.02) \approx 0 + 1(0.02) = 0.02\).
- The true value is \(0.019803\ldots\), about \(0.0002\) less.
Answer\(\log(1.02) \approx 0.02\)
Example 5: An angle in degrees
MediumFind \(\sin 31^\circ\) approximately.
- Take \(f(x) = \sin x\), \(x = 30^\circ = \dfrac{\pi}{6}\) and \(\Delta x = 1^\circ = \dfrac{\pi}{180} \approx 0.017453\) (radians).
- \(f\left(\dfrac{\pi}{6}\right) = \dfrac{1}{2}\) and \(f'\left(\dfrac{\pi}{6}\right) = \cos\dfrac{\pi}{6} = \dfrac{\sqrt{3}}{2} \approx 0.866025\).
- \(\sin 31^\circ \approx 0.5 + 0.866025 \times 0.017453 = 0.5 + 0.015115 = 0.515115\).
- A calculator gives \(0.515038\ldots\), so the estimate is off by about \(0.00008\).
Answer\(\sin 31^\circ \approx 0.5151\)
Example 6: A reciprocal
MediumFind \(\dfrac{1}{2.002}\) approximately.
- Take \(f(x) = \dfrac{1}{x}\), \(x = 2\), \(\Delta x = 0.002\). \(f(2) = 0.5\) and \(f'(x) = -\dfrac{1}{x^2}\), so \(f'(2) = -\dfrac{1}{4}\).
- \(\dfrac{1}{2.002} \approx 0.5 - \dfrac{0.002}{4} = 0.5 - 0.0005 = 0.4995\).
- The true value is \(0.4995005\ldots\). With a change this small, the error is only about \(0.0000005\).
Answer\(\dfrac{1}{2.002} \approx 0.4995\)
Example 7: Error in the volume of a sphere
MediumThe radius of a sphere is measured with an error of 1%. Find the approximate percentage error in its volume.
- \(V = \dfrac{4}{3}\pi r^3\), so \(dV = 4\pi r^2\,dr\).
- Divide by \(V\): \(\dfrac{dV}{V} = \dfrac{4\pi r^2\,dr}{\frac{4}{3}\pi r^3} = 3\,\dfrac{dr}{r}\).
- \(\dfrac{dr}{r} = 0.01\), so \(\dfrac{dV}{V} = 0.03\).
AnswerAbout \(3\%\)
Example 8: Errors in a cube
Exam levelThe side of a cube is measured as 10 cm with a possible error of 0.05 cm. Find the approximate errors in its volume and surface area, and the percentage errors.
- Volume \(V = x^3\), so \(dV = 3x^2\,dx = 3(100)(0.05) = 15\) cm³. Percentage error \(= \dfrac{15}{1000} \times 100 = 1.5\%\).
- Surface area \(S = 6x^2\), so \(dS = 12x\,dx = 12(10)(0.05) = 6\) cm². Percentage error \(= \dfrac{6}{600} \times 100 = 1\%\).
- Check with the powers rule: the side has a \(0.5\%\) error, so the volume (power 3) has \(1.5\%\) and the area (power 2) has \(1\%\).
AnswerVolume error \(15\) cm³ (\(1.5\%\)); surface area error \(6\) cm² (\(1\%\))
Before you write the answer, ask whether it should be a bit above or a bit below the easy value. \(\sqrt{25.3}\) must be just over 5; \(\dfrac{1}{2.002}\) must be just under \(0.5\). If your answer points the other way, the sign of \(\Delta x\) or of \(f'(x)\) has gone wrong.
Common mistakes
1. Using degrees for the change in angle
Writing \(\sin 31^\circ \approx 0.5 + 0.866 \times 1 = 1.366\) gives a sine bigger than 1. \(\Delta x\) must be \(\dfrac{\pi}{180} \approx 0.01745\), which gives \(0.5151\).
2. Wrong sign of \(\Delta x\)
For \(\sqrt{24.8}\), take \(x = 25\) and \(\Delta x = -0.2\): \(\sqrt{24.8} \approx 5 - \dfrac{0.2}{10} = 4.98\). Using \(+0.2\) gives \(5.02\), which is bigger than \(\sqrt{25}\) and can't be right.
3. Copying the percentage error without the power
If the radius of a circle has a \(2\%\) error, the area \(\pi r^2\) has about a \(4\%\) error, not \(2\%\). Multiply by the power of \(r\).
Practice questions
Try each one on paper before you open the answer.
Q1Find \(\sqrt{49.5}\) approximately.
\(x = 49\), \(\Delta x = 0.5\), \(f'(49) = \dfrac{1}{14}\). \(\sqrt{49.5} \approx 7 + \dfrac{0.5}{14} = 7.0357\). (True value \(7.03562\ldots\))
Q2Find \(\sqrt[3]{0.009}\) approximately.
\(x = 0.008\), \(\Delta x = 0.001\). \(f(0.008) = 0.2\) and \(f'(0.008) = \dfrac{1}{3(0.2)^2} = \dfrac{1}{0.12}\).
\(\sqrt[3]{0.009} \approx 0.2 + \dfrac{0.001}{0.12} = 0.2 + 0.00833 = 0.20833\). (True value \(0.20801\ldots\))
Q3Find \((1.999)^5\) approximately.
\(x = 2\), \(\Delta x = -0.001\), \(f'(2) = 5 \times 2^4 = 80\). \((1.999)^5 \approx 32 - 0.08 = 31.92\). (True value \(31.92008\ldots\))
Q4Find \(\cos 61^\circ\) approximately.
\(x = \dfrac{\pi}{3}\), \(\Delta x = \dfrac{\pi}{180}\), \(f'(x) = -\sin x\). \(\cos 61^\circ \approx 0.5 - 0.866025 \times 0.017453 = 0.48489\). (True value \(0.48481\ldots\))
Q5If \(f(x) = 3x^2 + 15x + 5\), find \(f(3.02)\) approximately.
\(f(3) = 27 + 45 + 5 = 77\) and \(f'(x) = 6x + 15\), so \(f'(3) = 33\). \(f(3.02) \approx 77 + 33(0.02) = 77.66\). (Exactly \(77.6612\))
Q6The radius of a sphere is measured as 9 cm with an error of 0.03 cm. Find the approximate error in its volume.
\(dV = 4\pi r^2\,dr = 4\pi(81)(0.03) = 9.72\pi \approx 30.54\) cm³. That is a \(1\%\) error, three times the \(\tfrac{1}{3}\%\) error in the radius.
Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.
Frequently asked questions
What is the difference between Δy and dy?
\(\Delta y = f(x + \Delta x) - f(x)\) is the actual change in \(y\), along the curve. \(dy = f'(x)\,dx\) is the change along the tangent line. For small \(dx\) they are nearly equal, which is the whole idea of approximation.
Why must the angle be in radians?
Because \(\dfrac{d}{dx}\sin x = \cos x\) is only true when \(x\) is measured in radians. In degrees there would be an extra factor of \(\dfrac{\pi}{180}\). Converting \(\Delta x\) to radians puts that factor in.
How accurate is the approximation?
The error is roughly \(\tfrac{1}{2}f''(x)(\Delta x)^2\), the next term of the Taylor series. For \(\sqrt{25.3}\) this is \(\tfrac{1}{2}\left(-\tfrac{1}{500}\right)(0.09) = -0.00009\), which is almost exactly how far \(5.03\) is above the true \(5.02991\).
What is the formula for percentage error?
Percentage error \(= \dfrac{\Delta x}{x} \times 100\). For a calculated quantity \(y = f(x)\), use \(\dfrac{dy}{y} \times 100\) with \(dy = f'(x)\,dx\). For \(y = kx^n\) this is \(n\) times the percentage error in \(x\).