The integral \(\mathop \smallint \limits_0^1 (5{x^3} + 4{x^2} + 3x + 2)dx\)

is estimated numerically using three alternative methods namely the rectangular, trapezoidal, and Simpson’s rules with a common step size. In this context, which one of the following statements is TRUE?

This question was previously asked in
GATE CE 2020 Official Paper: Shift 2
View all GATE CE Papers >
  1. Simpson’s rule as well as the rectangular rule of estimation will give NON-zero error.
  2. Simpson’s rule, rectangular rule as well as the trapezoidal rule of estimation will give NON-zero error.
  3. Only the rectangular rule of estimation will give zero error.
  4. Only Simpson’s rule of estimation will give zero error.

Answer (Detailed Solution Below)

Option 4 : Only Simpson’s rule of estimation will give zero error.
Free
GATE CE 2023: Full Mock Test
8.5 K Users
65 Questions 100 Marks 180 Mins

Detailed Solution

Download Solution PDF

Concept:

General Quadrature Formula (G.Q.F):-

\(I = \mathop \smallint \nolimits_a^b f\left( x \right)dx = \mathop \smallint \nolimits_{{x_0}}^{{x_n}} f\left( x \right)dx\)

\( = h\left[ {n{y_0} + \frac{{{n^2}}}{2}{\rm{\Delta }}{y_0} + \left( {\frac{{{n^3}}}{3} - \frac{{{n^2}}}{2}} \right){{\rm{\Delta }}^2}\frac{{{y_0}}}{{2!}} \ldots } \right]\)

Where, h = Step size

n = Number of strips

1) Trapezoidal rule: Taking n = 1 strip at a time and neglecting second and higher-order differences in G.Q.F

F1 Neel Madhu 21.04.20 D1

\(\mathop \smallint \nolimits_{{x_0}}^{{x_1}} f\left( x \right)dx = h\left[ {1.{y_0} + \left( {\frac{1}{2}} \right){\rm{\Delta }}{y_0} + Neglect} \right]\)

\( = h\left[ {{y_0} + \frac{1}{2}\left( {{y_1} - {y_0}} \right)} \right]\)

\( = \frac{h}{2}\left( {{y_0} + {y_1}} \right)\)

Again,

\(\mathop \smallint \nolimits_{{x_1}}^{{x_2}} f\left( x \right)dx = h\left[ {1.{y_1} + \frac{1}{2}{\rm{\Delta }}{y_1} + Neglect} \right]\)

\( = h\left[ {{y_1} + \left( {\frac{1}{2}} \right)\left( {{y_2} - {y_1}} \right)} \right]\)

\( = \frac{h}{2}\left( {{y_1} + {y_2}} \right)\)

Similarly, \(\mathop \smallint \nolimits_{{x_2}}^{{x_3}} f\left( x \right)dx = \frac{h}{2}\left( {{y_2} + {y_3}} \right)\) 

\(\mathop \smallint \nolimits_{{x_{n - 1}}}^{{x_n}} f\left( x \right)dx = \frac{h}{2}\left( {{y_{n - 1}} + {y_n}} \right)\)

\(I = \mathop \smallint \nolimits_a^b f\left( x \right)dx = \frac{h}{2}\left[ {{y_0} + {y_n} + 2\left( {{y_1} + {y_2} + {y_3} + \ldots {y_{n - 1}}} \right)} \right]\)

\( \Rightarrow I = \frac{h}{2}\left[ {{y_0} + {y_n} + 2\left( {{y_1} + {y_2} + {y_3} \ldots + {y_{n - 1}}} \right)} \right]\)

2) Simpson’s 1/3rd Rule: If we take n = 2 strip at a time and neglect 3rd and the higher-order difference in G.Q.F

F1 Neel Madhu 21.04.20 D2

\(I = \frac{h}{3}\left[ {{y_0} + {y_n} + 4\left( {{y_1} + {y_3} + {y_5} \ldots } \right) + 2\left( {{y_2} + {y_4} \ldots } \right)} \right]\)

3) Simpson’s 3/8th Rule: If we take n = 3 strips at a time and neglecting 4th and higher-order difference in G.Q.F.

\(I = \mathop \smallint \nolimits_a^b f\left( x \right)dx = \mathop \smallint \nolimits_{{x_0}}^{{x_3}} f\left( x \right)dx + \mathop \smallint \nolimits_{{x_3}}^{xb} f\left( x \right)dx \ldots \mathop \smallint \nolimits_{{x_{n - 3}}}^{{x_n}} f\left( x \right)dx\)

\(I = \frac{3}{8}h\left[ {{y_0} + {y_n} + 3\left( {{y_1} + {y_2} + {y_4} + {y_5} \ldots } \right) + 2\left( {{y_3} + {y_6} + {y_9}} \right)} \right]\)

F1 Neel Madhu 21.04.20 D3

4) Rectangle Rule

In the Rectangle rule, we approximate f|a,b| using a single interpolation point ‘a’. Our polynomial interpolant will thus be a constant polynomial p(t) = f(a), as shown in figure  and we can calculate its area IR using:

IR = f(a) ⋅ (b - a)

F1 Neel Madhu 21.04.20 D13

Thus,

 1) Trapezoidal Rule gives the exact result for a polynomial of degree 1 because we have neglected 2nd order difference in G.Q.F while the result exceeds from exact value for higher degree polynomials.

2) Simpson’s 1/3rd Rule gives the exact result for a polynomial of degree 2, while the result exceeds from exact value for higher degree polynomials.

3) Simpson’s 3/8th Rule gives the exact result for a cubic polynomial.

4) Rectangle Rule gives the exact result for a constant function.

Latest GATE CE Updates

Last updated on Jan 8, 2025

-> The GATE CE Admit Card has been released on 7th January 2025. The examination will be conducted on 16th February 2025 in 2 shifts.

> The GATE CE 2025 Notification has been released on the GATE official website. 

-> Candidates with a B.Tech degree in Civil Engineering can appear for the GATE CE exam. 

-> Candidates preparing for the exam can refer to the GATE CE Preparation Tips to increase their chances of selection.

-> Candidates must attempt the GATE CE mock tests. Also, practice with GATE CE Previous Year Papers

More Solutions of Integral Equations Questions

More Numerical Methods Questions

Get Free Access Now
Hot Links: real cash teen patti all teen patti teen patti master apk download teen patti download