Unit summary
- Numerical answers carry inherent, rounding and truncation errors, measured as absolute, relative and percentage error.
- The bisection method halves an interval with a sign change, and always converges, but slowly.
- The Newton-Raphson method follows tangents, x(n+1) = x(n) − f/f′, and converges quadratically.
- Newton's forward and backward formulas interpolate equally spaced data near the start and end of a table.
- Lagrange's formula interpolates unequally spaced data.
- The trapezoidal rule and Simpson's 1/3 rule approximate definite integrals, Simpson's being more accurate.
Glossary
| Term | Meaning |
|---|---|
| Absolute error | |true value − approximate value|. |
| Algebraic equation | An equation in which f is a polynomial. |
| Backward difference | ∇y(i) = y(i) − y(i−1). |
| Bisection method | Halving an interval with a sign change. |
| Forward difference | Δy(i) = y(i+1) − y(i). |
| Interpolation | Estimating values between data points. |
| Lagrange's formula | Interpolation for unequally spaced points. |
| Newton-Raphson method | Root finding by tangents. |
| Quadratic convergence | Correct digits roughly double each step. |
| Relative error | Absolute error divided by the true value. |
| Root | A value r with f(r) = 0. |
| Rounding error | Error from keeping limited digits. |
| Simpson's 1/3 rule | Integration by parabolic arcs, with n even. |
| Transcendental equation | An equation with functions such as sin, log or exp. |
| Trapezoidal rule | Integration by straight-line strips. |
| Truncation error | Error from stopping an infinite process. |
Question bank
Short Answer Questions (2 marks each)
- Define absolute and relative error.
- What is truncation error?
- Distinguish algebraic and transcendental equations.
- State the principle of the bisection method.
- Write the Newton-Raphson formula.
- Define the forward difference operator.
- When is Newton's backward formula used?
- Write Lagrange's formula for three points.
- State the trapezoidal rule.
- Why must n be even in Simpson's 1/3 rule?
Medium Answer Questions (5 marks each)
- Explain the sources and measures of error.
- Find a root of x³ − 2x − 5 = 0 by the bisection method, correct to two decimal places.
- Find √10 by the Newton-Raphson method.
- Using Newton's forward formula, find y(2.5) from a given table.
- Use Lagrange's formula to find f(3) from the points (1, 2), (2, 3), (4, 11).
- Evaluate ∫ from 0 to 6 of 1/(1 + x²) dx by Simpson's 1/3 rule with h = 1.
Long Answer Questions (15 marks each)
- Explain errors in numerical methods, with their types and measures.
- Explain the bisection and Newton-Raphson methods, and compare them with an example.
- Derive and apply Newton's forward and backward interpolation formulas.
- Explain Lagrange's formula, the trapezoidal rule and Simpson's 1/3 rule, with examples.
Sources
- Official BCA syllabus Mathematics Foundations to Computer Science II, course code 25BCA402DS01, Unit III
