On This Page
- Notation and Definitions
- Problem: Upper Bound on Error Propagation Using Triangle Inequality
- Worked Solution and Step-by-Step Explanation
- Why Errors Add Even During Subtraction
- Comparison of Error Propagation Rules
- Physical Significance and Worst-Case Analysis
- Worst-Case Error vs Statistical Error
- Final Conclusion
In experimental physics and engineering, measurements are never perfectly exact. Every measured value carries a degree of uncertainty, usually expressed as experimental error. When these measured values are used to calculate another quantity, the errors in the original measurements propagate into the final result.
A common source of confusion for students preparing for competitive exams such as IIT JEE and NEET is this: why do the absolute errors of two quantities add even when the quantities themselves are subtracted?
This result is not a memorized rule. It follows from a fundamental mathematical result known as the Triangle Inequality. In this lesson, we prove the error propagation rule for subtraction using this inequality.
Notation and Definitions
Before proving the result, we first define the symbols used in the discussion.
| Symbol | Definition | Physical Meaning |
|---|---|---|
| ##x, y## | True values | The exact theoretical values of the measured physical quantities. |
| ##x_m, y_m## | Measured values | The values obtained experimentally in the laboratory. |
| ##\delta x, \delta y## | Actual algebraic errors | The deviations of the measured values from the true values. These can be positive or negative. |
| ##\Delta x, \Delta y## | Maximum absolute errors | The upper limits of the magnitudes of the actual errors. Hence, ##|\delta x| \leq \Delta x## and ##|\delta y| \leq \Delta y##. |
| ##Z## | True derived value | The theoretical value of the derived quantity, calculated using ##Z = x - y##. |
| ##Z_m## | Measured derived value | The value calculated using the measured quantities, so ##Z_m = x_m - y_m##. |
| ##\delta Z## | Actual propagated error in ##Z## | The algebraic error in the calculated value of ##Z##. |
| ##\Delta Z## | Maximum absolute error in ##Z## | The worst-case upper bound of ##|\delta Z|##. |
Problem: Upper Bound on Error Propagation Using Triangle Inequality
In an experiment, a student measures two independent quantities ##x## and ##y## with maximum absolute errors ##\Delta x## and ##\Delta y## respectively. A derived quantity is defined by the subtraction formula:
###Z = x - y###
Show that the maximum absolute error in ##Z## satisfies:
###\Delta Z \leq \Delta x + \Delta y###
For the usual worst-case error estimate used in school-level physics and competitive exams, we write:
###\Delta Z = \Delta x + \Delta y###
This result will be proved using the triangle inequality:
###|a+b| \leq |a| + |b|###
Worked Solution and Step-by-Step Explanation
To establish the result rigorously, we begin by writing the measured values of ##x## and ##y## in terms of their true values and their actual errors.
Let the measured values be:
###x_m = x + \delta x###
and
###y_m = y + \delta y###
Here, ##\delta x## and ##\delta y## are the actual algebraic errors. They may be positive, negative, or zero. The maximum absolute error limits are written as:
###|\delta x| \leq \Delta x###
and
###|\delta y| \leq \Delta y###
Important correction: The bounds must be written with absolute values. Since ##\delta x## and ##\delta y## can be negative, the correct statements are:
###|\delta x| \leq \Delta x, \qquad |\delta y| \leq \Delta y###
Step 1: Calculate the Measured Value of the Derived Quantity
The derived quantity is calculated from measured values as:
###Z_m = x_m - y_m###
Substituting ##x_m = x + \delta x## and ##y_m = y + \delta y##, we get:
###Z_m = (x + \delta x) - (y + \delta y)###
Expanding the brackets:
###Z_m = x + \delta x - y - \delta y###
Grouping the true-value terms and error terms separately:
###Z_m = (x-y) + (\delta x - \delta y)###
Since the true value of the derived quantity is ##Z = x-y##, we can write:
###Z_m = Z + (\delta x - \delta y)###
Step 2: Isolate the Propagated Error
The actual propagated error in ##Z## is defined as:
###\delta Z = Z_m - Z###
From the equation obtained above,
###Z_m = Z + (\delta x - \delta y)###
we immediately get:
###\delta Z = \delta x - \delta y###
This is the exact algebraic error in the calculated difference.
Step 3: Apply the Triangle Inequality
We are interested in the magnitude of the error, so we take the absolute value:
###|\delta Z| = |\delta x - \delta y|###
Rewrite subtraction as addition of a negative term:
###|\delta Z| = |\delta x + (-\delta y)|###
Now apply the triangle inequality:
###|a+b| \leq |a| + |b|###
Here, let:
###a = \delta x, \qquad b = -\delta y###
Therefore,
###|\delta x + (-\delta y)| \leq |\delta x| + |-\delta y|###
Since ##|-\delta y| = |\delta y|##, this becomes:
###|\delta Z| \leq |\delta x| + |\delta y|###
| Step | Expression | Reason |
|---|---|---|
| Error in difference | ##\delta Z = \delta x - \delta y## | The propagated error comes from subtracting the two individual errors. |
| Take magnitude | ##|\delta Z| = |\delta x - \delta y|## | Maximum error is concerned with the size of the error, not its sign. |
| Rewrite subtraction | ##|\delta x - \delta y| = |\delta x + (-\delta y)|## | Subtraction is rewritten as addition of a negative quantity. |
| Apply triangle inequality | ##|\delta x + (-\delta y)| \leq |\delta x| + |-\delta y|## | The magnitude of a sum is at most the sum of magnitudes. |
| Simplify | ##|\delta Z| \leq |\delta x| + |\delta y|## | Because ##|-\delta y| = |\delta y|##. |
Step 4: Substitute the Maximum Absolute Error Limits
From the definitions of maximum absolute error:
###|\delta x| \leq \Delta x###
and
###|\delta y| \leq \Delta y###
Substituting these limits into the inequality
###|\delta Z| \leq |\delta x| + |\delta y|###
gives:
###|\delta Z| \leq \Delta x + \Delta y###
If ##\Delta Z## denotes the maximum possible absolute error in ##Z##, then the worst-case estimate is:
###\Delta Z = \Delta x + \Delta y###
Final Result
For a derived quantity defined by subtraction,
###Z = x - y###
the maximum absolute error is given by:
###\Delta Z = \Delta x + \Delta y###
Thus, absolute errors add in both addition and subtraction.
Why Errors Add Even During Subtraction
At first, it may seem that if the physical quantities are being subtracted, their errors should also subtract. However, error propagation is not about one particular favorable case. It is about the maximum possible uncertainty.
Suppose ##x## is overestimated and ##y## is underestimated. Then, in the expression ##x-y##, the calculated value becomes larger than the true value from both sides. The error in ##x## increases the result, and the error in ##y## also increases the result because ##y## is being subtracted.
For example, if ##x## is too high by ##0.1\text{ cm}## and ##y## is too low by ##0.1\text{ cm}##, then the error in ##x-y## can become ##0.2\text{ cm}##. This is why the worst-case absolute errors add.
The triangle inequality guarantees that no matter what signs the individual errors have, the magnitude of the final error cannot exceed the sum of their absolute magnitudes.
Comparison of Error Propagation Rules
The way errors combine depends on the mathematical operation used to calculate the derived quantity. The table below summarizes the standard school-level rules used in physics.
| Operation | Formula | Maximum Error Rule | Type of Error Added |
|---|---|---|---|
| Addition | ##Z = x + y## | ##\Delta Z = \Delta x + \Delta y## | Absolute errors |
| Subtraction | ##Z = x - y## | ##\Delta Z = \Delta x + \Delta y## | Absolute errors |
| Multiplication | ##Z = xy## | ##\dfrac{\Delta Z}{|Z|} = \dfrac{\Delta x}{|x|} + \dfrac{\Delta y}{|y|}## | Relative or fractional errors |
| Division | ##Z = \dfrac{x}{y}## | ##\dfrac{\Delta Z}{|Z|} = \dfrac{\Delta x}{|x|} + \dfrac{\Delta y}{|y|}## | Relative or fractional errors |
| Power | ##Z = x^n## | ##\dfrac{\Delta Z}{|Z|} = |n|\dfrac{\Delta x}{|x|}## | Relative or fractional errors |
Physical Significance and Worst-Case Analysis
In classical error propagation, the goal is usually to find the safest upper limit of uncertainty. This is why we use the worst-case approach. It does not assume that errors will conveniently cancel each other.
When measuring two independent quantities ##x## and ##y##, the actual errors ##\delta x## and ##\delta y## are often unknown. In the best-case scenario, the errors may cancel. But in the worst-case scenario, they reinforce one another.
For the subtraction ##Z = x-y##, the worst case occurs when the error in ##x## and the error in ##y## act in opposite algebraic directions. This makes the final difference deviate as much as possible from the true value.
Therefore, the maximum absolute error is taken as:
###\Delta Z = \Delta x + \Delta y###
Worst-Case Error vs Statistical Error
For school-level physics, board exams, IIT JEE, and NEET, the standard approach is the absolute worst-case method. In advanced laboratory work, where errors are random and statistically independent, another method called quadrature addition or root-sum-square addition is often used.
| Method | Mathematical Expression | When to Use |
|---|---|---|
| Absolute Upper Bound | ##\Delta Z = \Delta x + \Delta y## | Used in CBSE, IIT JEE, NEET, introductory physics, safety margins, and worst-case estimates. |
| Statistical Propagation | ##\Delta Z_{\text{stat}} = \sqrt{(\Delta x)^2 + (\Delta y)^2}## | Used in advanced experiments when errors are random, independent, and statistically distributed. |
Final Conclusion
The rule that absolute errors add during subtraction is a direct consequence of the triangle inequality. For the derived quantity
###Z = x-y###
the propagated algebraic error is
###\delta Z = \delta x - \delta y###
Taking the absolute value and applying the triangle inequality gives:
###|\delta Z| \leq |\delta x| + |\delta y|###
Using ##|\delta x| \leq \Delta x## and ##|\delta y| \leq \Delta y##, we get:
###|\delta Z| \leq \Delta x + \Delta y###
Hence, the maximum absolute error is:
###\boxed{\Delta Z = \Delta x + \Delta y}###
This proves that in subtraction, just as in addition, absolute errors are added.
RESOURCES
- Understanding what exactly an upper bound on an error is in ...math.stackexchange.comNov 24, 2014 ... With the help of triangle inequality you can get a correct bound. To your main question. How do I know…
- General Framework for Error Interference in Quantum Simulationjournals.aps.orgMay 18, 2026 ... If we apply the conventional approach using triangle inequality, we would have an upper bound of Trotter error O (…
- Problem with making an estimate when values of many variables ...mathoverflow.netJan 25, 2012 ... I think there must be an upper bound for A somewhere. The step troubling you should be the triangle inequality…
- Theory of Trotter Error with Commutator Scaling | Phys. Rev. Xlink.aps.orgFeb 1, 2021 ... (iii) Our bound reduces to the worst-case analysis of Ref. [4] by further bounding terms with the triangle inequality. (iv)…
- arXiv:2209.01699v1 [quant-ph] 4 Sep 2022arxiv.orgSep 4, 2022 ... 1 provides an upper bound for the error propagation. As shown in ... Using triangle inequality, we have. kKsq (ρ)k.…
- Triangle inequality - Wikipediaen.wikipedia.orgwith equality only in the degenerate case of a triangle with zero area. In Euclidean geometry and some other geometries, the triangle inequality is…
- Bounding System-Induced Biases in Recommender Systems with a ...dl.acm.org4.1 Theoretical Analysis. 4.1.1 A Generalization Error Bound with Triangle Inequality. Similar to most works using the upper bound minimization framework [8 ...
- A priori and a posteriori error analysis of the lowest-order NCVEM ...link.springer.comJun 20, 2022 ... The triangle inequality and the upper bound of the stability term (3.5) lead to ... The triangle inequality with (5.1)…
- Modeling and predictive control of nonlinear processes using ...aiche.onlinelibrary.wiley.comMar 1, 2023 ... Based on these two functions and the triangle inequality of the discrepancy distance, the generalization error bound for domain adaptation…
- THEORY AND METHODS FOR GLOBAL MULTI-OBJECTIVE ...hammer.purdue.eduJun 23, 2025 ... ... triangle inequality: the discretization error and the selection error. ... Furthermore, the derived results establish both an upper bound ...
- Quantization and erasures in frame representations - DSpace@MITdspace.mit.edu) The total error is quantified using both the additive noise model of quantization, and a deterministic upper bound based on the triangle inequality.…
- Error Propagation Dynamics of PIV-based Pressure Field Calculationspmc.ncbi.nlm.nih.govThe lines are plotted from inequality (13), with ‖εf‖L2(Ω) = ‖εh‖L∞ = 2−4; and A = 1/4, 1, 4, 16, where the lines mark…
- Some error analysis on virtual element methods - UCI Mathematicsmath.uci.eduSep 23, 2017 ... In the derivation of (24), we have also used the inverse inequality and the upper bound ... triangle inequality and…
- Multitask Quantile Regression under the Transnormal Model - PMCpmc.ncbi.nlm.nih.govTo bound I, we first use the triangle inequality again to bound. Notice that ... Then by using triangular inequality, we obtain the upper…
- Math 299 Supplement: Real Analysis Nov 2013 Algebra Axioms. In ...users.math.msu.edutheorem 9: Suppose the sequence (an) is increasing, with an upper bound b: that is, ... Triangle Inequality above to prove that |L −…
![[Medium] Upper Bound on Error Propagation using Triangle Inequality_img_0 A glowing neon diagram comparing a cyan 'Mathematical Triangle' and a magenta curved shape. Arrows measure the boundaries, labeled 'Error Bounds' on the left, 'Absolute Error Interval' on the right, and 'Mathematical Triangle' along the bottom base.](https://jupiterscience.com/wp-content/uploads/2026/06/medium-upper-bound-on-error-propagation-using-triangle-inequality-img-0.webp)




0 Comments