Catastrophic cancellation
Builds on Round-off errorCondition number
Definition
Let be real numbers with , and let and be approximations of them with relative errors , for example round-off errors. Then with Catastrophic cancellation is the case . Then the relative error of the computed difference can be much larger than the relative errors of the inputs.
Remarks
Example: , rounded to three significant digits give , so while ; the relative error is , although . Here the factor is about . Non-example: for and the factor is , so the relative error of is at most the larger input error; nothing cancels. The factor is the relative condition number of subtraction. By the Sterbenz lemma, if and are floating-point numbers with , then is a floating-point number, so the subtraction itself adds no error.
Reading path
To understand this page from the ground up, read these 3 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Condition number concept
- Round-off error concept
- Catastrophic cancellation definition
Further reading
About this page
| Tag | 49MX22EDS7 |
|---|---|
| URI | m2://49MX22EDS7 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 65G50 |
| Defines | Catastrophic cancellation |
| Uses | Round-off error, Condition number |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.