Section A — 1 Mark Questions
1. What is the main purpose of numerical differentiation? [1 Mark]
Answer: To find the derivative of a function using a set of discrete data points when the explicit function is either unknown or too complex to differentiate analytically.
2. Which interpolation formula is commonly used for numerical differentiation when values are equally spaced? [1 Mark]
Answer: Newton's forward or backward interpolation formulae.
3. State the expression for the first derivative using Newton's forward difference formula at x0. [1 Mark]
Answer: dy/dx = (1 / h) * (Δy0 - (Δ2y0) / 2 + (Δ3y0) / 3 - ...)
4. What is the general source of error in numerical differentiation? [1 Mark]
Answer: The truncation error caused by omitting higher-order terms in the interpolation formula and rounding errors from data input.
5. Why is numerical differentiation generally considered more sensitive to errors than numerical integration? [1 Mark]
Answer: Because small errors in data values get magnified during the subtraction of adjacent values in difference formulas.
6. Define numerical integration. [1 Mark]
Answer: The process of computing the approximate value of a definite integral from a set of numerical values of the integrand.
7. What is the name of the general formula from which Newton-Cotes quadrature formulas are derived? [1 Mark]
Answer: General quadrature formula based on Newton's forward difference interpolation.
8. In the general quadrature formula, what polynomial is integrated? [1 Mark]
Answer: Newton's forward interpolation polynomial.
9. State the Trapezoidal rule for numerical integration. [1 Mark]
Answer: ∫x0x1 y dx = (h / 2) * (y0 + y1)
10. What degree of polynomial is assumed in each subinterval for the Trapezoidal rule? [1 Mark]
Answer: A first-degree polynomial (straight line).
11. What is the geometric interpretation of the Trapezoidal rule? [1 Mark]
Answer: Approximating the area under the curve by dividing it into a series of trapezoids.
12. State Simpson's one-third rule for numerical integration. [1 Mark]
Answer: ∫x0x2 y dx = (h / 3) * (y0 + 4y1 + y2)
13. What degree of polynomial is assumed in Simpson's one-third rule? [1 Mark]
Answer: A second-degree polynomial (parabola).
14. What restriction on the number of subintervals (n) applies when using Simpson's one-third rule? [1 Mark]
Answer: The number of subintervals n must be an even integer.
15. State Simpson's three-eighth rule for numerical integration. [1 Mark]
Answer: ∫x0x3 y dx = (3h / 8) * (y0 + 3y1 + 3y2 + y3)
16. What restriction on the number of subintervals (n) applies when using Simpson's three-eighth rule? [1 Mark]
Answer: The number of subintervals n must be a multiple of 3.
17. What degree of polynomial is assumed in Simpson's three-eighth rule? [1 Mark]
Answer: A third-degree polynomial (cubic curve).
18. What is the step size 'h' defined as in terms of the interval limits a and b and number of subintervals n? [1 Mark]
Answer: h = (b - a) / n
19. Which numerical integration rule is exact for polynomials of degree one or less? [1 Mark]
Answer: The Trapezoidal rule.
20. Which numerical integration rule is exact for polynomials up to degree three? [1 Mark]
Answer: Simpson's three-eighth rule.
Section B — 2/3 Mark Questions
1. Explain the basic concept of finding the first derivative using Newton's forward interpolation formula. [2 Marks]
Answer:
Given a set of tabular data, we first construct the Newton's forward interpolation polynomial matching the data points. By differentiating this polynomial with respect to x, and using the relation ds = h * du where u = (x - x0) / h, we obtain the formula for the first derivative at any given point.
2. Why is numerical differentiation prone to large errors when data contains experimental noise? [2 Marks]
Answer:
Numerical differentiation relies heavily on differences between successive values of y. If the data contains small experimental or rounding errors, these errors are amplified during subtraction. Furthermore, as step size h decreases, the round-off error increases while truncation error decreases, leading to overall instability.
3. Write the composite Trapezoidal rule formula and explain its terms. [3 Marks]
Answer:
Formula: ∫ab y dx = (h / 2) * [y0 + 2(y1 + y2 + ... + yn-1) + yn]
Terms explanation:
- h is the uniform step size calculated as (b - a) / n.
- y0 and yn are the first and last ordinates.
- The intermediate ordinates from y1 to yn-1 are multiplied by 2.
4. State the general quadrature formula and mention what it represents. [2 Marks]
Answer:
The general quadrature formula is given by ∫x0x0 + nh y dx = nh * [y0 + (n/2)Δy0 + (n(2n-3)/12)Δ2y0 + ...]. It represents the foundational formula derived by integrating Newton's forward interpolation formula, which serves as the basis for various numerical integration rules like Trapezoidal and Simpson's rules.
5. Derive or state Simpson's one-third rule and specify the condition on n. [3 Marks]
Answer:
Simpson's one-third rule is given by ∫x0x2 y dx = (h / 3) * (y0 + 4y1 + y2).
Conditions and details:
- It evaluates the integral over two subintervals (requiring 3 ordinates).
- The total number of subintervals n must be even.
- It assumes the curve passing through the points is a parabola.
6. Compare the order of accuracy of the Trapezoidal rule and Simpson's one-third rule. [2 Marks]
Answer:
The Trapezoidal rule approximates the function linearly and has an error term proportional to h2 for each subinterval (global error of order h2). In contrast, Simpson's one-third rule approximates the function quadratically and has a global error proportional to h4, making it generally more accurate for smoother functions.
7. What are the advantages of using numerical integration methods over analytical integration? [3 Marks]
Answer:
Key advantages include:
- Applicability to empirical or experimental data where the function is known only at discrete points.
- Ability to evaluate definite integrals whose antiderivatives cannot be expressed in terms of elementary functions.
- Ease of implementation on digital computers for large datasets and complex functions.
8. Explain why Simpson's three-eighth rule requires the number of subintervals to be a multiple of 3. [3 Marks]
Answer:
Simpson's three-eighth rule is derived by putting n = 3 in the general quadrature formula, which spans across three subintervals [x0, x3] involving four ordinates (y0, y1, y2, y3). Therefore, to apply this rule continuously over the entire range [a, b], the total number of subintervals n must be partitioned into groups of 3, making n a multiple of 3.
9. Write the formula for the second derivative using Newton's forward interpolation formula and explain its components. [2 Marks]
Answer:
Formula: d2y / dx2 = (1 / h2) * (Δ2y0 - Δ3y0 + (11 / 12)Δ4y0 - ...)
Components: h is the step size and Δ2y0, Δ3y0 are the successive forward differences evaluated at the initial point x0.
10. Distinguish between truncation error and round-off error in numerical integration and differentiation. [2 Marks]
Answer:
Truncation error arises from approximating a continuous mathematical process by a discrete formula (such as omitting higher-order terms in series). Round-off error arises from the limitation of computer hardware in representing numbers with infinite decimal places due to finite precision arithmetic.
Section C — 5 Mark Questions
1. Explain the derivation of the Trapezoidal rule for numerical integration, including its geometric interpretation and error term. [5 Marks]
Answer:
Introduction
The Trapezoidal rule is one of the simplest and most fundamental Newton-Cotes numerical integration formulas used to approximate the definite integral of a function.
Derivation and Explanation
To evaluate the integral I = ∫ab y dx, we divide the interval [a, b] into n subintervals of equal width h = (b - a) / n, with partition points x0, x1, x2, ..., xn. Taking the first subinterval from x0 to x1, we use Newton's forward interpolation formula by keeping only the linear term:
∫x0x1 y dx = ∫x0x1 [y0 + uΔy0] dx
Substituting dx = h du, when x = x0, u = 0, and when x = x1, u = 1. Integrating this gives the single-segment Trapezoidal rule:
∫x0x1 y dx = (h / 2) * (y0 + y1)
Composite Rule
Extending this over all n subintervals and summing the areas gives the composite Trapezoidal rule:
∫ab y dx = (h / 2) * [y0 + 2(y1 + y2 + ... + yn-1) + yn]
Geometric Interpretation and Error
Geometrically, the rule approximates the actual area under the curve by replacing the curve segment in each subinterval with a straight line connecting the endpoints, forming trapezoids. The error in a single application of the Trapezoidal rule is given by E = -(h3 / 12) * y''(ξ), where ξ lies between x0 and x1.
2. Describe Simpson's one-third rule for numerical integration in detail, including its formula, conditions of applicability, and error estimation. [5 Marks]
Answer:
Introduction
Simpson's one-third rule is a popular numerical integration technique that provides greater accuracy than the Trapezoidal rule by approximating the integrand using quadratic polynomials rather than linear segments.
Formula and Derivation
Simpson's one-third rule is derived by taking n = 2 in the general quadrature formula, which means integrating across two subintervals (three ordinates: y0, y1, y2) with step size h:
∫x0x2 y dx = (h / 3) * (y0 + 4y1 + y2)
Composite Simpson's One-Third Rule
When the interval [a, b] is divided into an even number of subintervals n, the composite formula becomes:
∫ab y dx = (h / 3) * [y0 + yn + 4(y1 + y3 + ... + yn-1) + 2(y2 + y4 + ... + yn-2)]
Key Characteristics
- Requires the total number of subintervals n to be an even number.
- Assumes the graph of the function over each pair of subintervals is an arc of a parabola.
- Exact for any polynomial of degree two or less.
Error Term
The error incurred in a single application over two subintervals is given by E = -(h5 / 90) * y(4)(ξ), showing that the error depends on the fourth derivative of the function.
3. Discuss the formulation and application of Simpson's three-eighth rule for numerical integration, highlighting its comparison with the one-third rule. [5 Marks]
Answer:
Introduction
Simpson's three-eighth rule is another standard Newton-Cotes formula used for numerical quadrature. Unlike the one-third rule, it fits a cubic polynomial through the data points.
Mathematical Formulation
The rule is derived by putting n = 3 in the general quadrature formula. It considers three subintervals (four successive ordinates y0, y1, y2, y3) over the range [x0, x3]:
∫x0x3 y dx = (3h / 8) * (y0 + 3y1 + 3y2 + y3)
Composite Form
For an interval divided into n subintervals, where n must be a multiple of 3, the composite Simpson's three-eighth rule is:
∫ab y dx = (3h / 8) * [y0 + yn + 3(y1 + y2 + y4 + y5 + ...) + 2(y3 + y6 + ...)]
Important Properties
- Requires the total number of subintervals n to be a multiple of 3.
- Based on cubic interpolation (degree 3 polynomial).
- Provides exact results for polynomials up to degree three.
Comparison with Simpson's One-Third Rule
While Simpson's one-third rule requires n to be even and uses weight coefficients in the ratio 1:4:1, the three-eighth rule requires n to be a multiple of 3 and uses weight coefficients in the ratio 1:3:3:1. In practice, the one-third rule is often preferred because it yields slightly smaller error bounds for the same step size, though both achieve fourth-order accuracy in their composite forms.
4. Explain how numerical differentiation is performed using Newton's forward interpolation formula, including the derivation steps for the first and second derivatives. [5 Marks]
Answer:
Introduction
Numerical differentiation involves calculating the derivative of a function from a given set of tabular values. When data points are equally spaced, Newton's forward interpolation formula serves as the primary starting point.
Forward Interpolation Polynomial
Let the equally spaced data points be (x0, y0), (x1, y1), ..., with step size h. Newton's forward interpolation formula is:
y(x) = y0 + uΔy0 + (u(u-1) / 2!)Δ2y0 + (u(u-1)(u-2) / 3!)Δ3y0 + ...
where u = (x - x0) / h, which implies dx = h du, and therefore dy/dx = (1 / h) * (dy / du).
Derivative Derivation Steps
Differentiating y(x) with respect to u:
dy / du = Δy0 + ((2u - 1) / 2!)Δ2y0 + ((3u2 - 6u + 2) / 3!)Δ3y0 + ...
To find the derivative at the tabular point x = x0 (which corresponds to u = 0):
(dy / dx)x=x0 = (1 / h) * [Δy0 - (1/2)Δ2y0 + (1/3)Δ3y0 - (1/4)Δ4y0 + ...]
Similarly, differentiating a second time with respect to u yields the second derivative at x0:
(d2y / dx2)x=x0 = (1 / h2) * [Δ2y0 - Δ3y0 + (11 / 12)Δ4y0 - ...]
Applications and Limitations
These formulas are extensively used in engineering and physics to compute rates of change from experimental tables, but care must be taken regarding error propagation from higher-order differences.
5. Discuss the general quadrature formula for numerical integration and explain how different standard integration rules are derived from it. [5 Marks]
Answer:
Introduction
The general quadrature formula is the master formula in numerical analysis from which all Newton-Cotes closed integration formulas (such as Trapezoidal, Simpson's 1/3, and Simpson's 3/8 rules) are systematically derived.
Derivation Foundation
The formula is obtained by integrating Newton's forward interpolation polynomial over the interval from x0 to x0 + nh:
∫x0x0+nh y dx = h * ∫0n [y0 + uΔy0 + (u(u-1)/2!)Δ2y0 + (u(u-1)(u-2)/3!)Δ3y0 + ...] du
Carrying out this integration for different values of n yields specific integration rules.
Derivation of Standard Rules
- Trapezoidal Rule (n = 1): Setting n = 1 in the general formula and ignoring differences above the first order yields ∫x0x1 y dx = (h / 2)(y0 + y1).
- Simpson's One-Third Rule (n = 2): Setting n = 2 and retaining differences up to the second order yields ∫x0x2 y dx = (h / 3)(y0 + 4y1 + y2).
- Simpson's Three-Eighth Rule (n = 3): Setting n = 3 and retaining differences up to the third order yields ∫x0x3 y dx = (3h / 8)(y0 + 3y1 + 3y2 + y3).
Significance
The general quadrature formula demonstrates the unified nature of Newton-Cotes integration techniques, showing how polynomial approximation degree directly determines the weights and accuracy of each numerical integration method.