Tutorials › Calculus I › Worked Trigonometric Estimates

Linearization and Differentials · Tutorial 632 of 1495

Worked Trigonometric Estimates

Estimate nearby trigonometric values with tangent lines, then determine whether each estimate is high or low and how large its error can be.

Intermediate 10 min read

What You'll Learn

  • Build the tangent-line approximation for sine, cosine, or tangent at a chosen base angle.
  • Keep angle inputs in radians so the derivative formulas apply.
  • Use concavity to determine whether a tangent-line estimate is an overestimate or underestimate.
  • Bound the absolute error using a bound on the second derivative.
  • Compare each estimate with a numerical function value and check the error direction and size.

Why Use Tangent Lines for Trigonometric Estimates?

Trigonometric functions can be difficult to evaluate exactly at many angles. When an angle is close to one whose sine, cosine, or tangent is known, the tangent line at that known angle gives a simple nearby estimate. This is called linearization.

For example, \(\sin 0=0\) and \(\cos 0=1\). A tangent line at \(0\) can therefore give estimates for sine and cosine at small angles. Similarly, \(\tan(\pi/4)=1\), so a tangent line at \(\pi/4\) can estimate tangent values close to that angle.

These estimates are useful only when we also understand their limitations. The function value need not equal its tangent-line estimate. We will track the signed error, determine whether the estimate is above or below the true value, and bound the error's size.

Linearization in Radians

Definition: If \(f\) is differentiable at a base point \(a\), its tangent-line approximation at \(a\) is $$ L_a(x)=f(a)+f'(a)(x-a). $$ For a nearby input \(x=a+h\), the estimate is \(L_a(a+h)=f(a)+f'(a)h\). We define the signed error by \(E=f(x)-L_a(x)\); thus \(E>0\) means the tangent line underestimates, and \(E<0\) means it overestimates.

For the trigonometric functions, the derivative formulas used here are \(\frac{d}{dx}\sin x=\cos x\), \(\frac{d}{dx}\cos x=-\sin x\), and \(\frac{d}{dx}\tan x=\sec^2 x\). These formulas assume angles are measured in radians. The tangent function is defined only where \(\cos x\ne 0\), so its estimate must be made on an interval that does not cross a vertical asymptote.

Substituting the derivative formulas into the tangent-line definition gives the three linearizations:

$$ \begin{aligned} \sin x &\approx \sin a+\cos a\,(x-a),\\ \cos x &\approx \cos a-\sin a\,(x-a),\\ \tan x &\approx \tan a+\sec^2 a\,(x-a). \end{aligned} $$

The symbol \(\approx\) indicates an estimate, not an identity. The base angle \(a\) should be chosen so that the function value and derivative there are known and \(x\) is close to \(a\).

How Concavity Determines the Error Direction

The second derivative describes the concavity of a function. If \(f''\) is nonnegative throughout an interval, \(f\) is concave up there and its graph lies above its tangent line. Consequently, \(L_a(x)\le f(x)\) on that interval. If \(f''\) is nonpositive, the graph lies below its tangent line, so \(f(x)\le L_a(x)\). These statements apply when the whole interval from \(a\) to \(x\) has the stated sign of \(f''\).

For the functions in this tutorial, the second derivatives are

$$ (\sin x)''=-\sin x,\qquad (\cos x)''=-\cos x,\qquad (\tan x)''=2\sec^2 x\tan x. $$

These signs give a quick direction check. For instance, sine is concave down on \((0,\pi)\), so its tangent line overestimates sine when both the base angle and the estimated angle lie in that interval. Tangent is concave up on \((0,\pi/2)\), so its tangent line underestimates there.

A Bound for the Size of the Error

Theorem: Suppose \(f\) is twice differentiable on an interval containing \(a\) and \(x\), and \(|f''(t)|\le M\) throughout that interval. Then $$ |f(x)-L_a(x)|\le \frac{M}{2}|x-a|^2. $$

This bound makes the role of “nearby” precise: if the distance from the base point is halved, the bound on the error becomes one quarter as large, provided the same bound \(M\) applies. The estimate requires a bound on the second derivative over the entire interval between \(a\) and \(x\), not just at one endpoint.

Here is a justification. The Fundamental Theorem of Calculus gives \(f(x)-f(a)=\int_a^x f'(t)\,dt\). Subtracting the linear term \(f'(a)(x-a)\) yields

$$ f(x)-L_a(x)=\int_a^x\bigl(f'(t)-f'(a)\bigr)\,dt. $$

By the Mean Value Theorem applied to \(f'\), the bound on \(f''\) implies \(|f'(t)-f'(a)|\le M|t-a|\). Taking absolute values in the integral and integrating this bound along the interval gives

$$ |f(x)-L_a(x)| \le \int_{\min(a,x)}^{\max(a,x)} M|t-a|\,dt =\frac{M}{2}|x-a|^2. $$

This proves the stated error bound for either order of \(a\) and \(x\). The sign of the error, when known from concavity, complements this size bound.

Worked Estimate for Sine

Worked Example: Estimate \(\sin(0.1)\)

Use the tangent line at \(a=0\). The angle \(0.1\) is in radians, and \(\sin 0=0\), \(\cos 0=1\). Thus the linearization is \(L_0(x)=0+1(x-0)=x\), giving the estimate \(\sin(0.1)\approx 0.1\).

To check the direction, \((\sin x)''=-\sin x<0\) for \(0<x\le 0.1\). The function is concave down between \(0\) and \(0.1\), so the tangent line overestimates. The signed error \(E=\sin(0.1)-0.1\) should be negative.

For the size, \(|(\sin x)''|=|\sin x|\le 0.1\) on \([0,0.1]\). The error bound with \(M=0.1\) is

$$ |E|\le \frac{0.1}{2}(0.1)^2=0.0005. $$

A numerical check gives \(\sin(0.1)\approx 0.0998334166\), so \(E\approx 0.0998334166-0.1=-0.0001665834\). This is negative, as predicted, and its magnitude \(0.0001665834\) is less than \(0.0005\). The estimate \(0.1\) is therefore a slight overestimate, with its direction and size both consistent with the checks.

Worked Estimate for Cosine

Worked Example: Estimate \(\cos(0.1)\)

Again use the base point \(a=0\). Since \(\cos 0=1\) and \(-\sin 0=0\), the tangent line is \(L_0(x)=1+0(x-0)=1\). Therefore the estimate is \(\cos(0.1)\approx 1\).

On \([0,0.1]\), \((\cos x)''=-\cos x<0\). The tangent line overestimates, so the signed error \(E=\cos(0.1)-1\) should be negative. For the size bound, \(|(\cos x)''|=|\cos x|\le 1\), so \(M=1\) gives

$$ |E|\le \frac{1}{2}(0.1)^2=0.005. $$

Numerically, \(\cos(0.1)\approx 0.9950041653\). Subtracting the estimate gives \(E\approx 0.9950041653-1=-0.0049958347\). This error has the predicted negative sign, and its magnitude is about \(0.0049958347\), just below the bound \(0.005\). Thus the tangent-line estimate is high by about \(0.005\).

Worked Estimate for Tangent

Worked Example: Estimate \(\tan(\pi/4+0.02)\)

Choose \(a=\pi/4\), where \(\tan a=1\) and \(\sec^2 a=2\). The input differs from the base angle by \(h=0.02\), so

$$ L_a(a+h)=\tan a+\sec^2(a)h =1+2(0.02)=1.04. $$

To check the direction, the interval \([\pi/4,\pi/4+0.02]\) lies inside \((0,\pi/2)\), where \((\tan x)''=2\sec^2 x\tan x>0\). Tangent is concave up there, so the tangent-line estimate underestimates: \(E=\tan(\pi/4+0.02)-1.04\) should be positive.

For an error-size check, \(f''(x)=2\sec^2 x\tan x\) is increasing on this interval: its derivative is \(4\sec^2 x\tan^2 x+2\sec^4 x>0\). At the right endpoint, \(\tan(\pi/4+0.02)\approx1.04082<1.1\), so \(\sec^2 x=1+\tan^2 x<2.21\) there. Monotonicity then gives \(f''(x)<2(2.21)(1.1)=4.862<5\) throughout the interval. Using \(M=5\),

$$ |E|\le \frac{5}{2}(0.02)^2=0.001. $$

For a numerical check, the tangent addition formula gives \(\tan(\pi/4+0.02)=\frac{1+\tan(0.02)}{1-\tan(0.02)}\). Using \(\tan(0.02)\approx0.0200026671\) gives \(\tan(\pi/4+0.02)\approx1.0408218807\). Thus \(E\approx1.0408218807-1.04=0.0008218807\). The error is positive as predicted, and \(0.0008218807<0.001\). The estimate \(1.04\) is low by about \(0.00082\).

A Common Mistake: Ignoring the Error Sign

A numerical estimate alone does not tell you whether it is high or low. For example, after finding the tangent-line estimate \(1.04\) in the tangent calculation, it would be incorrect to call it an overestimate merely because it is close to the function value. The concavity check gives the opposite conclusion: tangent is concave up on the interval, so its graph lies above the tangent line.

The numerical comparison confirms the correction: \(\tan(\pi/4+0.02)\approx1.0408218807>1.04\). Therefore, \(1.04\) is an underestimate, and the signed error \(f(x)-L_a(x)\) is positive. When checking any trigonometric estimate, keep the sign convention explicit and verify the predicted direction against the function's concavity.

A Reliable Checking Process

1
Choose a base angle.
Use a nearby angle where the function value and derivative are known. Record the displacement \(h=x-a\) in radians.
2
Compute the tangent line.
Substitute \(f(a)\), \(f'(a)\), and \(h\) into \(L_a(a+h)=f(a)+f'(a)h\).
3
Check the direction.
Determine the sign of \(f''\) throughout the interval. Concave down means an overestimate; concave up means an underestimate.
4
Bound and compare.
Find a valid upper bound \(M\) for \(|f''|\) over the interval, use \(|E|\le M|h|^2/2\), and compare with a numerical function value when available.

Each check answers a different question. The tangent-line formula produces the estimate; concavity predicts the error's direction; and the second-derivative bound limits its size. A reliable result is supported by all three.

Check Your Understanding

For each question, keep the base point, interval, and signed-error convention clear.

  1. What is the tangent-line estimate for \(\sin(0.05)\) using the base point \(a=0\)?
  2. On the interval from \(0\) to \(0.2\), does the tangent line to cosine at \(0\) overestimate or underestimate \(\cos(0.2)\)? Explain using the second derivative.
  3. Why must a bound on \(|f''|\) apply over the whole interval between the base point and the input?
  4. For \(\tan x\) on an interval contained in \((0,\pi/2)\), what does its concavity imply about the direction of its tangent-line estimate?
  5. If a valid second-derivative bound is \(M=3\) and \(|x-a|=0.04\), what upper bound does the error formula give?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon