Mathematics · University
Numerical approximation and conditioning
Truncation error comes from approximation; round-off comes from finite-precision arithmetic.
Prerequisites
Calculus and algebra.
Study notes
Error sources
Truncation error comes from approximation; round-off comes from finite-precision arithmetic.
Conditioning
A problem can amplify input perturbations even when the algorithm is carefully implemented.
Newton iteration
Use x_new=x−f(x)/f′(x) only when the derivative is nonzero and the iteration is meaningful.
Convergence claims
An asymptotic convergence order requires hypotheses and sufficiently close iterates, not just one successful step.
Worked examples
Perform one Newton step for x²−2=0 from x₀=1.
x₁=1−(1−2)/2=1.5.
1.5
Use one trapezoid over [0,2] to approximate the integral of x².
The interval width is 2 and the average endpoint height is (0+4)/2=2.
4
Check your understanding
For f(x)=x² on [0,2], is the one-panel trapezoid estimate above or below the exact integral?
- Not a numerical value
- Above
- Always equal
- Below
Explain catastrophic cancellation using subtraction of nearly equal approximate values.
An approximation is 2.01 and the reference value is 2. Find absolute error.
Which property describes sensitivity inherent in the problem rather than just the chosen algorithm?
- Source code indentation
- Conditioning
- Iteration count alone
- Font size
Answers and marking guidance
Answers and marking notes
- Above
The exact value is 8/3; the chord lies above the convex graph.
- Leading digits cancel, leaving the small difference dependent on comparatively uncertain trailing digits. Relative error in the result can become large.
Credit a loss of relative accuracy and the role of nearly equal inputs.
- 0.01
Absolute error is abs(2.01−2).
- Conditioning
Conditioning measures how outputs respond to small changes in data.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.
AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.