Why Angular Uncertainty Needs Special Care
A small uncertainty in an angle can produce a small or substantial change in a trigonometric model, depending on the measured angle and the function being used. For instance, the sensitivity of sine changes with the angle, while the sensitivity of tangent becomes very large near its vertical asymptotes.
The central calculation is the same local error-propagation principle used for other functions: multiply the input uncertainty by the magnitude of the derivative evaluated at the measured input. For trigonometric models, however, one condition is essential: the angle used in the derivative must be measured in radians.
Convert Angular Uncertainty to Radians
The standard derivative formulas for sine, cosine, and tangent assume that their angle inputs are measured in radians. Degrees can still be used to report a measured angle, but convert both the angle and its uncertainty before applying those formulas:
For example, an uncertainty of \(0.2^\circ\) is not \(0.2\) in the derivative calculation. In radians it is \(0.2\pi/180=\pi/900\approx 0.003491\).
An angle and its uncertainty are different quantities. The angle \(\theta_0\) is the measured input at which sensitivity is evaluated; \(u_\theta\) describes how far that input may be from its true value. If the measurement is stated as \(\theta_0\pm u_\theta\), the first-order estimate is made around \(\theta_0\).
First-Order Propagation for Trigonometric Models
Let \(f\) be differentiable at the measured angle \(\theta_0\). For a small signed angular error \(\Delta\theta\), linearization gives \(f(\theta_0+\Delta\theta)\approx f(\theta_0)+f'(\theta_0)\Delta\theta\). Thus the signed predicted output change is \(f'(\theta_0)\Delta\theta\). If only the size of the input uncertainty is known, use its magnitude to estimate the output uncertainty.
Here \(u_y\) is the estimated absolute uncertainty in the output. Since \(\sec^2\theta_0\) is positive wherever tangent is defined, no absolute-value signs are needed around that factor. The trigonometric outputs are dimensionless; the derivatives describe output change per radian.
Why the Derivative Gives the Estimate
The estimate follows directly from the definition of the derivative. For an increment \(\Delta\theta\), differentiability at \(\theta_0\) means
where the remainder satisfies \(\lim_{\Delta\theta\to 0}r(\Delta\theta)/\Delta\theta=0\). As the angular error becomes small, the remainder becomes small relative to \(\Delta\theta\). The leading change is therefore \(f'(\theta_0)\Delta\theta\). Taking magnitudes gives the first-order estimate \(\lvert f'(\theta_0)\rvert\lvert\Delta\theta\rvert\), and replacing the unknown error size by its uncertainty \(u_\theta\) gives the rule above.
Identify the base angle \(\theta_0\) and the angular uncertainty \(u_\theta\).
Convert both values if they were reported in degrees.
Use the derivative of sine, cosine, or tangent.
Substitute \(\theta_0\), not the uncertain angle increment, into the derivative.
Use the derivative magnitude for an output-uncertainty estimate.
Worked Examples
Worked Example: Uncertainty in a Sine Model
A measured angle is \(30^\circ\), with uncertainty \(\pm0.2^\circ\). Estimate the uncertainty in \(y=\sin\theta\), and compare the estimate with the changes at the two ends of the angular interval.
Convert the measured angle and uncertainty: \(\theta_0=30\pi/180=\pi/6\) radians and \(u_\theta=0.2\pi/180=\pi/900\approx0.00349066\) radians. The derivative is \(dy/d\theta=\cos\theta\), so at the measured angle, \(\cos(\pi/6)=\sqrt{3}/2\approx0.866025\).
The nominal output is \(\sin(30^\circ)=0.5\). The first-order estimate therefore predicts an output near \(0.5\pm0.003023\). To check the approximation, the endpoint angles are \(29.8^\circ\) and \(30.2^\circ\). Direct evaluation gives \(\sin(29.8^\circ)\approx0.496974\) and \(\sin(30.2^\circ)\approx0.503020\). Their differences from \(0.5\) are approximately \(0.003026\) and \(0.003020\), close to the predicted \(0.003023\).
Worked Example: Uncertainty in a Cosine Model
A measured angle is \(60^\circ\), with uncertainty \(\pm0.3^\circ\). Estimate the uncertainty in \(y=\cos\theta\), and check the estimate at the upper endpoint.
In radians, \(\theta_0=60\pi/180=\pi/3\) and \(u_\theta=0.3\pi/180=\pi/600\approx0.00523599\). The derivative is \(dy/d\theta=-\sin\theta\). Its value at the measured angle is \(-\sin(\pi/3)=-\sqrt{3}/2\approx-0.866025\).
The nominal output is \(\cos(60^\circ)=0.5\), so the estimated output uncertainty is about \(0.004534\). At the upper endpoint \(60.3^\circ\), direct evaluation gives \(\cos(60.3^\circ)\approx0.495459\). The change from the nominal output is approximately \(-0.004541\), close to the signed first-order prediction \((-\sqrt{3}/2)(\pi/600)\approx-0.004534\). The negative sign means that increasing the angle decreases the cosine here; the uncertainty magnitude is positive.
Worked Example: Uncertainty in a Tangent Model
A measured angle is \(45^\circ\), with uncertainty \(\pm0.2^\circ\). Estimate the uncertainty in \(y=\tan\theta\), and check the estimate at the upper endpoint.
Convert to radians: \(\theta_0=45\pi/180=\pi/4\), and \(u_\theta=\pi/900\approx0.00349066\). The derivative is \(dy/d\theta=\sec^2\theta\). Since \(\cos(\pi/4)=\sqrt{2}/2\), we have \(\sec^2(\pi/4)=2\).
The nominal output is \(\tan(45^\circ)=1\), giving the first-order estimate \(1\pm0.006981\). At \(45.2^\circ\), direct evaluation gives \(\tan(45.2^\circ)\approx1.007006\), a change of approximately \(0.007006\) from \(1\). This is close to the predicted change \(2(\pi/900)\approx0.006981\).
Signed Change, Sensitivity, and Limits
The signed derivative indicates the direction of the predicted change when the angle increases. Cosine has a negative derivative where \(\sin\theta>0\), so an increase in angle there predicts a decrease in cosine. For an uncertainty reported only as a nonnegative size, use the absolute value of the derivative to give an output-uncertainty magnitude.
A zero derivative means that the first-order estimate is zero; it does not guarantee that the output is unchanged. For example, at \(\theta_0=\pi/2\), the derivative of sine is \(\cos(\pi/2)=0\). Yet for a small nonzero \(h\), \(\sin(\pi/2+h)=\cos h\), which generally differs from \(1\). In this situation, the first-order estimate misses the leading nonzero change.
The tangent model needs additional care. Tangent is undefined at \(\theta=\pi/2+k\pi\), where \(k\) is an integer, and its derivative grows without bound as an angle approaches one of these values. The measured angle and the plausible range of angles must stay away from these asymptotes for a local estimate to be meaningful. Even away from an asymptote, a large derivative signals that a small angular uncertainty may create a relatively large output uncertainty.
Common Mistake: Using Degrees in the Derivative
Suppose the angle is \(45^\circ\) with uncertainty \(0.2^\circ\), and the model is \(y=\tan\theta\). A common incorrect calculation is \(u_y\approx \sec^2(45^\circ)(0.2)=2(0.2)=0.4\). This treats the numerical degree uncertainty as though it were in radians, so the result is too large by the conversion factor \(180/\pi\).
The correction is to convert the uncertainty first: \(0.2^\circ=\pi/900\) radians. Then \(u_y\approx 2(\pi/900)=\pi/450\approx0.006981\). The derivative formula \(\sec^2\theta\) is being used with a radian input and a radian increment. The same conversion requirement applies to sine and cosine.
Check Your Understanding
Use radians in each derivative calculation. Give output uncertainty estimates as nonnegative magnitudes.
- A sine model uses a measured angle of \(45^\circ\) with uncertainty \(0.1^\circ\). What is the first-order output-uncertainty estimate?
- For a cosine model measured at \(30^\circ\), is the signed predicted output change positive or negative when the angle increases slightly? Explain using the derivative.
- A tangent model has measured angle \(\pi/3\) and uncertainty \(0.01\) radians. Find its first-order output-uncertainty estimate.
- Why must a degree uncertainty be converted before it is multiplied by \(\cos\theta_0\), \(\sin\theta_0\), or \(\sec^2\theta_0\)?
- What special issue arises when a tangent model's measured angle is close to \(\pi/2+k\pi\)?