Section A — 1 Mark Questions
1. What are exact numbers? [1 Mark]
Answer: Exact numbers are values that are known with complete certainty, such as integers resulting from counting or defined conversion factors.
2. Define approximate numbers. [1 Mark]
Answer: Approximate numbers are values that represent the result of measurement or computation and contain some degree of uncertainty or error.
3. What are significant digits? [1 Mark]
Answer: Significant digits are the digits in a number that carry meaningful information about its precision, starting from the first non-zero digit.
4. Define round off error. [1 Mark]
Answer: Round off error is the discrepancy introduced by replacing a number with an approximate representation having fewer digits.
5. What is truncation error? [1 Mark]
Answer: Truncation error is the error caused by cutting off a mathematical process or infinite series at a finite number of terms.
6. Define absolute error. [1 Mark]
Answer: Absolute error is the magnitude of the difference between the exact value and the approximate value, given as Ea = |x - x̂|.
7. Define relative error. [1 Mark]
Answer: Relative error is the ratio of the absolute error to the exact or true value, expressed as Er = |x - x̂| / |x|.
8. Write the formula for percentage error. [1 Mark]
Answer: Percentage error is given by Ep = Er × 100%.ෝ
9. What does the forward difference operator represent? [1 Mark]
Answer: The forward difference operator represents the change in function value from x to x + h.
10. Write the symbolic definition of the forward difference operator Δ. [1 Mark]
Answer: Δf(x) = f(x + h) - f(x).
11. Define the backward difference operator ∇. [1 Mark]
Answer: The backward difference operator is defined as ∇f(x) = f(x) - f(x - h).
12. What is the shift operator E? [1 Mark]
Answer: The shift operator E is an operator that shifts the function value forward by one interval, defined as Ef(x) = f(x + h).
13. Write the relation between the shift operator E and the forward difference operator Δ. [1 Mark]
Answer: E = 1 + Δ.
14. Define the central difference operator δ. [1 Mark]
Answer: The central difference operator is defined as δf(x) = f(x + h/2) - f(x - h/2).
15. What is the averaging operator μ? [1 Mark]
Answer: The averaging operator is defined as μf(x) = (1/2) [f(x + h/2) + f(x - h/2)].
16. State the effect of rounding off 3.14159 to 4 significant digits. [1 Mark]
Answer: 3.142.
17. How is error propagation generally studied in arithmetic operations? [1 Mark]
Answer: It is studied by examining how input uncertainties combine to affect the final calculated output.
18. What is the forward difference of a constant C? [1 Mark]
Answer: Zero.
19. Write the formula for the second forward difference Δ2f(x). [1 Mark]
Answer: Δ2f(x) = f(x + 2h) - 2f(x + h) + f(x).
20. What is the primary purpose of finite difference operators in numerical methods? [1 Mark]
Answer: To approximate derivatives and interpolate functions using discrete data points.
Section B — 2/3 Mark Questions
1. Differentiate between exact and approximate numbers with examples. [2 Marks]
Answer: Exact numbers are free from any error and are obtained by counting or definition, such as exactly 12 items in a dozen. Approximate numbers are obtained through measurement or numerical approximation methods, such as approximating π as 3.14.
2. Explain the difference between round off errors and truncation errors. [2 Marks]
Answer: Round off errors occur when a number with many digits is approximated by keeping only a specified number of significant digits. Truncation errors arise when an infinite mathematical process, such as a Taylor series expansion, is cut short after a finite number of terms.
3. Calculate the absolute and relative errors if the true value is 10.5 and the approximate value is 10.3. [3 Marks]
Answer: The absolute error is Ea = |10.5 - 10.3| = 0.2. The relative error is Er = 0.2 / 10.5 ≈ 0.01905. Expressed as a percentage, the relative error is approximately 1.91%.
4. State the definitions of the forward difference operator Δ and backward difference operator ∇, and show how they relate to function values at point x. [3 Marks]
Answer: The forward difference operator is defined as Δf(x) = f(x + h) - f(x), representing the change moving forward. The backward difference operator is defined as ∇f(x) = f(x) - f(x - h), representing the change moving backward from x.
5. Prove that the shift operator E is related to the forward difference operator by E = 1 + Δ. [3 Marks]
Answer: By definition, the shift operator gives Ef(x) = f(x + h). The forward difference operator gives Δf(x) = f(x + h) - f(x). Rearranging this gives f(x + h) = f(x) + Δf(x) = (1 + Δ)f(x). Since this holds for any function f(x), it follows that E = 1 + Δ.
6. Explain how error propagates during the addition of two approximate numbers. [2 Marks]
Answer: When two numbers with absolute errors are added, the maximum absolute error of the sum is equal to the sum of the absolute errors of the individual numbers. If x1 has error Δx1 and x2 has error Δx2, then the error in x1 + x2 is at most Δx1 + Δx2.
7. What is the role of significant digits in numerical computations? [2 Marks]
Answer: Significant digits indicate the reliability and precision of a numerical value. Keeping track of them ensures that results are not reported with unwarranted precision and helps control error accumulation during calculations.
8. Define the central difference operator δ and write its expression in terms of the shift operator E. [3 Marks]
Answer: The central difference operator is defined as δf(x) = f(x + h/2) - f(x - h/2). In terms of the shift operator E, where E1/2f(x) = f(x + h/2), the central difference operator can be expressed as δ = E1/2 - E-1/2.
9. State the properties of the forward difference operator for linear combinations. [2 Marks]
Answer: The forward difference operator is a linear operator. For any constants c1 and c2 and functions f(x) and g(x), it satisfies Δ[c1f(x) + c2g(x)] = c1Δf(x) + c2Δg(x).
10. Explain why estimation of round off errors is important in computer arithmetic. [2 Marks]
Answer: Computers store numbers with finite precision, leading to inherent round off errors. Estimating these errors helps prevent catastrophic cancellation and ensures the stability and reliability of numerical algorithms.
Section C — 5 Mark Questions
1. Explain absolute, relative, and percentage errors in detail, and discuss how errors propagate under basic arithmetic operations of addition and subtraction. [5 Marks]
Introduction
Errors are inevitable in numerical computations due to measurements, approximations, and finite machine representation. Quantifying and tracking these errors is essential for reliable results.
Definitions
Absolute error measures the magnitude of the difference between the true value x and approximate value x̂: Ea = |x - x̂|. Relative error normalizes this difference against the true value: Er = |x - x̂| / |x|. Percentage error expresses relative error as a percentage.
Error Propagation in Addition and Subtraction
Let x1 and x2 be two approximate numbers with absolute errors Δx1 and Δx2 respectively. For addition, let u = x1 + x2. The maximum absolute error in u is bounded by the sum of the absolute errors:
Δu ≤ |Δx1| + |Δx2|
Similarly, for subtraction u = x1 - x2, the maximum absolute error is also bounded by the sum of the absolute errors:
Δu ≤ |Δx1| + |Δx2|
Conclusion
While absolute errors simply add up during addition and subtraction, relative errors can grow significantly, especially when subtracting two nearly equal numbers, leading to loss of significance.
2. Define the fundamental finite difference operators (forward, backward, and central differences) and explain their basic properties and interrelationships. [5 Marks]
Introduction
Finite difference operators form the backbone of numerical analysis, enabling the approximation of derivatives and the construction of interpolation formulas from discrete data points.
Basic Operators
- Forward Difference (Δ): Defined as Δf(x) = f(x + h) - f(x).
- Backward Difference (∇): Defined as ∇f(x) = f(x) - f(x - h).
- Central Difference (δ): Defined as δf(x) = f(x + h/2) - f(x - h/2).
Interrelationships
These operators are intimately connected through the shift operator E, where Ef(x) = f(x + h). The basic relations include:
- Δ = E - 1
- ∇ = 1 - E-1
- δ = E1/2 - E-1/2
Properties
All standard finite difference operators are linear operators, meaning that the difference of a linear combination of functions is equal to the linear combination of their respective differences.
Conclusion
Understanding these operator identities allows researchers to transform complex differential equations and numerical formulas into algebraic forms suitable for computer solution.
3. Discuss the concepts of significant digits, round off errors, and truncation errors, explaining how they impact the accuracy of numerical results. [5 Marks]
Introduction
Numerical approximations inevitably deviate from exact mathematical values. The quality of a numerical computation depends heavily on how numbers are represented and how approximations are handled.
Significant Digits
Significant digits convey the precision of a measurement or calculated value. Proper tracking of significant digits prevents overstating the accuracy of a computational result.
Round Off Errors
Round off errors occur when real numbers are stored with finite precision in a computer, such as rounding 2/3 to 0.6667. Although small individually, these errors can accumulate over millions of arithmetic operations in iterative algorithms.
Truncation Errors
Truncation errors stem from approximating infinite processes with finite calculations, such as evaluating sin(x) using a finite number of terms of its Taylor series expansion.
Conclusion
Both round off and truncation errors place fundamental limits on the accuracy of numerical methods, requiring careful algorithm design to minimize their cumulative impact.
4. Derive the expressions for higher-order forward differences and explain how the forward difference table is constructed. [5 Marks]
Introduction
Higher-order differences measure the rate of change of lower-order differences and are essential in polynomial interpolation formulas like Newton's forward interpolation.
Higher-Order Forward Differences
The first forward difference is:
Δf(x) = f(x + h) - f(x)
The second forward difference is defined as the forward difference of the first forward difference:
Δ2f(x) = Δ[Δf(x)] = Δf(x + h) - Δf(x)
Substituting the first difference definitions gives:
Δ2f(x) = [f(x + 2h) - f(x + h)] - [f(x + h) - f(x)] = f(x + 2h) - 2f(x + h) + f(x)
In general, the n-th forward difference is given by:
Δnf(x) = Δn-1f(x + h) - Δn-1f(x)
Construction of Difference Table
A forward difference table organizes function values y0, y1, y2, ... corresponding to equally spaced arguments x0, x1, x2, ... in diagonal columns representing Δy, Δ2y, Δ3y, and so on.
Conclusion
The difference table provides a systematic framework for checking data smoothness and estimating polynomial coefficients in numerical interpolation.
5. Explain error propagation under multiplication and division, and discuss how initial data errors can amplify in computational procedures. [5 Marks]
Introduction
When approximate numbers are combined through multiplication or division, the relative errors combine in ways that can significantly alter the precision of the final answer.
Multiplication Error Propagation
Let P = x1x2 be the product of two approximate numbers. Taking natural logarithms and differentials gives:
ln P = ln x1 + ln x2
d(ln P) = d(ln x1) + d(ln x2)
ΔP / P ≈ (Δx1 / x1) + (Δx2 / x2)
Thus, the relative error in a product is approximately the sum of the relative errors of the factors.
Division Error Propagation
For quotient Q = x1 / x2, applying a similar logarithmic differential approach yields:
ΔQ / Q ≈ (Δx1 / x1) - (Δx2 / x2)
In the worst-case scenario, the maximum relative error is again the sum of the individual relative errors.
Error Amplification
If a divisor x2 is very close to zero, the relative error in division can become extremely large, illustrating how initial uncertainties amplify during computation.
Conclusion
Understanding multiplicative and divisive error propagation is critical for writing robust numerical software that avoids catastrophic instability.