The Wayback Machine - https://web.archive.org/web/20240713020909/https://www.geeksforgeeks.org/difference-between-simpson-s-1-3-rule-and-3-8-rule/
Open In App

Difference between Simpson ‘s 1/3 rule and 3/8 rule

Last Updated : 04 Sep, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

In Simpson’s 1/3 rule, we approximate the polynomial based on quadratic approximation. In this, each approximation actually covers two of the subintervals. This is why we require the number of subintervals to be even. Some of the approximations look more like a line than a quadratic, but they really are quadratics.  

Formula of Simpson’s¹/₃ rule

ₐ∫ᵇ f (x) dx = h/3 [(y₀ + yₙ) + 4 (y₁ + y₃ + ..) + 2(y₂ + y₄ + ..)]

where,

  • a, b is the interval of integration
  • h = (b – a)/ n
  • y₀ means the first term and yₙ means last term.
  • (y₁ + y₃ + ..) means the sum of odd terms.
  • (y₂ + y₄ + …) means sum of even terms.

Example: Find the Solution using Simpson’s 1/3 rule.

x  f(x)
0.0 1.0000
0.1  0.9975
0.2  0.9900
0.3  0.9776
0.4  0.8604

Solution:

Using Simpson’s 1/3 rule

ₐ∫ᵇ f (x) dx = h/₃ [(y₀ + yₙ) + 4 (y₁ + y₃ + …) + 2 (y₂ + y₄ + …)] 

h = 0.1

ₐ∫ᵇ f (x) dx = 0.1/3 [(1+0.8604)+4×(0.9975+0.9776)+2×(0.99)]

ₐ∫ᵇ f (x) dx = 0.1/3 [(1+0.8604)+4×(1.9751)+2×(0.99)]

ₐ∫ᵇ f (x) dx = 0.39136

Solution of Simpson’s 1/3 rule =  0.39136

In Simpson’s 3/8 rule, we approximate the polynomial based on quadratic approximation. However, each approximation actually covers three of the subintervals instead of two.

Formula of Simpson’s 3/8 rule

 ₐ∫ᵇ f (x) dx = 3h/8[(y₀ + yₙ) + 3(y₁ + y₂ + y₄ + …) + 2(y₃ + y₆ +…)]

where,

  • a, b is the interval of integration
  • h = (b – a )/ n
  • y₀ means the first term and yₙ means the last term.
  • ( y₁ + y₂ + y₄ + … ) means the sum of remaining terms.
  • ( y₃ + y₆ +…) means the multiples of 3.

Example: Find a Solution using Simpson’s 1/3 rule.

x f(x)
0.0 1.0000
0.1 0.9975
0.2 0.9900
0.3 0.9776
0.4 0.8604

Solution:

Using Simpson’s 3/8 rule:  

ₐ∫ᵇ f (x) dx = 3h/8[(y₀ + yₙ) + 3(y₁ + y₂ + y₄ + …) + 2(y₃ + y₆ +…)]

h = 0.1

ₐ∫ᵇ f (x) dx = 3h/8 [(y0+y4)+2(y3)+3(y1+y2)]

ₐ∫ᵇ f (x) dx = 3* 0.1/8 [(1+0.8604)+2×(0.9776)+3×(0.9975+0.99)]

ₐ∫ᵇ f (x) dx = 3* 0.1/8 [(1+0.8604)+2×(0.9776)+3×(1.9875)]

ₐ∫ᵇ f (x) dx = 0.36668

Solution of Simpson’s 3/8 rule = 0.36668

Following is a table of differences between the Simpson’s 1/3 rule and Simpson’s 3/8 rule

Sr. No

Simpson’s 1/3 rule

Simpson’s 3/8 rule

1. It approximates function y = f(x) by a parabola i.e. by 2nd order polynomial. It approximates the function y = f(x) by a parabola i.e. by 3rd order polynomial.
2. In this, the chances of error are more than Simpson’s 3/8 rule. In this, the chances of error are less.
3. The integral function can be calculated as = h/3 [(sum of 1st and last ordinates) + 4 (sum of odd ordinates) + 2  (sum of even ordinates)]. The integral function can be calculated as = 3h/8 [(sum of 1st and last ordinates) + 2 (sum of multiple of 3 ordinates) + 3  (sum of remaining ordinates)].
4.

Estimation in truncation error in Simpson ‘s 1/3 rule is 

E< -h5/90 y4(x) where h = (b-a)/n

Estimation in truncation error in Simpson ‘s 3/8 rule is 

E< -3h5/80 y4(x) where h = (b-a)/n

5.  This rule is applied where N is an even number.  This rule is applied where N is a multiple of 3.


Similar Reads

Simpson's Rule Formula
A way of finding the area of any figure is by integrating the function of that curve within the required limits which gives the area under that curve. However, there is a problem with this approach as in some cases the integral of the function can not be calculated or is difficult to find. It should also be noted that in many real-life engineering
6 min read
Main difference between Timestamp protocol and Thomas write rule in DBMS
Time Stamping Protocols: The timestamp protocols ensures that each transaction in the system has in advance a timestamp that has been associated with each transaction that is being helpful to the transaction to be executed in the system that time only. It is most helpful in the case when large number of concurrent processes are running in the syste
2 min read
Colonial Rule and Pastoral Life
Pastoralists are people who do not stay in one place and keep moving from one place to another to earn a living. Pastoralism has been influential in the societies of India and Africa for a long time. Under colonial rule, the pastoralists' life has changed completely. Regulated movements, grazing grounds reduced and the revenue payment has increased
5 min read
Complementary Events: Definition, Rule, and Examples
Complementary events are fundamental concepts in probability theory that provide insights into the relationship between different outcomes of an experiment or event. In probability, events are not isolated occurrences but often have complementary counterparts that represent the opposite or negation of the original event. Table of Content What is Pr
6 min read
Componendo and Dividendo Rule
The Componendo and Dividendo rule is a useful mathematical theorem often applied to simplify calculations, especially in solving proportion problems. This rule states that if a/b = c/d where a,b,c and d are real numbers and b≠0,d≠0, then (a+b)/(a-b) = (c+d)/(c-d). Componendo and Dividendo are two very uncommon rules in algebra that help us solve va
7 min read
Chain Rule: Theorem, Formula and Solved Examples
Chain Rule is a way to find the derivative of composite functions. It is one of the basic rules used in mathematics for solving differential problems. It helps us to find the derivative of composite functions such as (3x2 + 1)4, (sin 4x), e3x, (ln x)2, and others. Only the derivatives of composite functions are found using the chain rule. The famou
9 min read
Internal and External Forwarding Rule in GCP
What is a Forwarding Rule?In Cloud Computing and specifically focusing on Google Cloud Platform, a Forwarding Rule is set up to allow incoming traffic and direct it from individual ports within a specific range to particular ports on user VM's on Google Cloud Platform. This range of ports can be opened on the public IP Address by using firewall rul
4 min read
Applications of Power Rule
Differentiation of a function is breaking up the function into a smaller and much simpler version of itself. Derivative of any function is differentiating it with respect to the variable present in it, in easier words, derivatives are the rate of change of any function with respect to the variable present in it. For instance, when a car is driven t
4 min read
Settlements of Land during British Rule
On 12 August 1765, the East India Company turned into the Diwan of Bengal. As Diwan, the Company turned into the boss monetary executive of the district under its influence. The Company expected to coordinate its income and regulate the land assets. It should have been finished in a manner that could produce sufficient pay to meet the developing co
7 min read
Reverse Chain Rule
Integrals are an important part of the theory of calculus. They are very useful in calculating the areas and volumes for arbitrarily complex functions, which otherwise are very hard to compute and are often bad approximations of the area or the volume enclosed by the function. Integrals are the reverse of the differentiation and that's why they are
6 min read