SlideShare a Scribd company logo
1 of 4
Download to read offline
www.ajms.com 50
ISSN 2581-3463
RESEARCH ARTICLE
Comparison Results of Trapezoidal, Simpson’s
1
3
rule, Simpson’s
3
8
rule, and
Weddle’s rule
A. Karpagam, V. Vijayalakshmi
Department of Mathematics, SRM Valliammai Engineering College, Chennai, Tamil Nadu, India
Received: 02-08-2018; Revised: 12-09-2018; Accepted: 15-11-2018
ABSTRACT
Numerical integration plays very important role in mathematics. In this paper, overviews on the most
common one, namely, trapezoidal Simpson’s
1
3
rule, Simpson’s
3
8
rule and Weddle’s rule. Different
procedures compared and tried to evaluate the value of some definite integrals. A combined approach of
different integral rules has been proposed for a definite integral to get more accurate value for all cases.
Key words: Numerical integration, Simpson’s
1
3
rule, Simpson’s
3
8
rule, trapezoidal rule, Weddle’s rule
INTRODUCTION
Numerical integration of a function of a single
variable is called quadrature, which represents the
area under the curve f (x) bounded by the ordinates
x0
, xn
and X-axis. The numerical integration of
a multiple integral is sometimes described as
cubature.
Numerical integration problems go back at least to
Greek antiquity when, for example, the area of a
circle was obtained by successively increasing the
number of sides of an inscribed polygon. In the
17th
century, the invention of calculus originated
a new development of the subject leading to the
basic numerical integration rules. In the following
centuries, the field became more sophisticated
and, with the introduction of computers in the
recent past, many classical and new algorithms
had been implemented, leading to very fast and
accurate results. An extensive research work has
already been done by many researchers in the field
of numerical integration.[1-5]
Numerical integration
a
b
f x dx
∫ ( ) represents the
area between y=f (x), X-axis and the ordinates
x = a and x = b. This integration is possible only if
the f (x) is explicitly given and if it is integrable.
If the ordered pairs (xi
, yi
), i = 0,1,2,..,n are plotted
and if any two consecutive points are joined by
straight line.
The problem of numerical integration can be
stated as follows:
Given a set of (n+1) paired values (xi
, yi
),
i = 0,1,2,…,n of the function y = f (x) where f (x) is
not known explicitly, it is required to compute
0
∫
n
x
x
ydx .
PRELIMINARIES
Definition 2.1
Trapezoidal rule is a technique for approximating
the definite integral.[6-7]
{displaystyleint_{a}^{b}
Address for correspondence:
A.Karpagam,
E-mail: karpagamohan@rediffmail.com
Karpagam and Vijayalakshmi: Comparison Results of Trapezoidal
AJMS/Oct-Dec-2018/Vol 2/Issue 4 51
f(x),dx}Thetrapezoidalruleworksbyapproximating
the region of the function {displaystyle f(x)} f(x) as
a trapezoid and calculating its area.{displays
Definition 2.2
Simpson’sruleisamethodofnumericalintegration
that provides an approximation of a definite
integral over the interval [a,b] using parabolas.
The integral of a function f(x) over the interval
[a,b] subintervals length can be approximated as,
as long as n is even.
Definition 2.3
Weddle’s rule, a function f(x) be tabulated at points
xi
equally spaced by h = xi+1
−xi
, so f1
= f (x1
). Then,
Weddle’s rule approximating the integral of f (x) is
given by the Newton–Cotes like formula [Table 1].
Definition 2.4
Quadrature formula for equidistant ordinates
For equally spaced intervals, we have Newton’s
forward difference formula as follows:
y x y u y
u u
y
u u u
y
( ) = + ∆ +
−
∆ +
− −
∆ +
0 0
2
0
3
0
1
2
1 2
3
( )
!
( )( )
!
....
Here, u =
−
= +
x x
h
x x nh
0
0
, , dx = h du
x
x
x
x nh
x
x nh
n
n
ydx f x dx P x dx
0 0
0
0
0
∫ ∫ ∫
= ( ) = ( )
+ +
=
0
0 0
2
0
3
0
1
2
1
2
3
n
y u y
u u
y
u u
u
y
hd
∫ + ∆ +
−
( )
∆ +
−
( )
−
( )
∆ +…












! !
u
u
= h y u y
u u
y
u u
u
y
d
n
0
0 0
2
0
3
0
1
2
1
2
3
∫ + ∆ +
−
( )
∆ +
−
( )
−
( )
∆ +…












! !
u
u
= h ny
n
y
n n
y
[ ]
0
2
0
3 2
2
0
2
1
2 3 2
+ ∆ + −





 ∆ +…
This is called Newton’s–Cotes quadrature formula.
Existing rule
Trapezoidal rule is a technique for approximating
the definite integral. {displaystyleint _{a}^{b}
f(x),dx} {displays
By putting n = 1 in quadrature formula, we get the
trapezoidal rule.
x
x
n n
n
ydx
h
y y y y y y
0
2
2
0 1 2 3 1
∫ = +
( )+ + + +…+
( )

 

−
Simpson’sruleisamethodofnumericalintegration
that provides an approximation of a definite
integral over the interval [a,b] using parabolas.
By putting n = 2 in quadrature formula, we get the
Simpson’s
1
3
rule.
x
x
n n
n
ydx
h y y y y y
y y
0
3
2
4
0 2 4 2
1 3
∫ =
+
( )+ + +…+
( )+
+ +…+






(
By putting n = 3 in quadrature formula, we get the
Simpson’s
3
8
rule.
x
x
n
n
ydx
h y y y y y y
y y
0
3
8
3
2
0 1 2 4 5
3 6
∫ =
+
( )+ + + + +…
( )+
+ +…+






(
Weddle’s rule
Weddle’s rule, a function f(x) be tabulated at points
xi
equally spaced by h = xi+1
−xi
, so f1
= f (x1
).[8]
Then, Weddle’s rule approximating the integral of
f(x) is given by the Newton–Cotes like formula
x
xn
ydx
h
y y y y y y
y y y y y y
0
3
10
5 6 5
2 5 6 5
0 1 2 3 4 5
6 7 8 9 10 1
∫ =
+ + + + +
( )+
+ + + + + 1
1
6 5 4
3 2 1
2 5
6 5
( )+
………
( )+ + + +
+ + +








− − −
− − −
(
[ )
y y y
y y y y
n n n
n n n n 






Karpagam and Vijayalakshmi: Comparison Results of Trapezoidal
AJMS/Oct-Dec-2018/Vol 2/Issue 4 52
Proposed rule
Let y0
,y1
,y2
,….,yn−1
,yn
be the values of the function
y=f (x) at x0
,x1
,x2
,x3,
x4
….,xn,
respectively.
By putting n = 1, h = 1, and sum of all the variables
in quadrature formula, we get the trapezoidal rule.
x
x
n n
n
ydx y y y y y
0
1
2
0 1 2 1
∫ = + + +…+ +
−
[ ]
The curve on each consecutive pair of intervals
is approximated b a parabola. The dotted line is
graph of f (x) in [a,b].
By putting n = 2, h = 1 and in quadrature formula,
we get the Simpson’s
1
3
rule.
x
x
n n
n n
n
ydx y y y y y y
y y y y
0
1
3
1
6
0 1 2 1 0
1 2 1
∫ = + + +…+ +
[ ]+ +
+ +…+ +
−
−
[
]
By putting n = 3 and h = 1 in quadrature formula,
we get the Simpson’s
3
8
rule.
x
x
n n
n
ydx y y y y y
0
3
8
1
8
0 1 2 1
∫ = + + + +…+ +
−
[ ]
Weddle’s rule
x
x
n n
n n
n
ydx y y y y y y y
y y y
0
3
10
1
5
0 1 2 1 0 1
2 1
∫ = + + +…+ +
[ ]+ +
+ +…+ +
−
−
[
]
CONCLUSION
In this paper, to find the numerical approximate
value of a definite integral
0
( )
∫
n
x
x
f x dx , trapezoidal,
Simpson’s
1
3
rule, Simpson’s
3
8
rule, and Weddle’s
rule are used and its seen that the Weddle’s rule
gives more accuracy compared the other rules.
REFERENCES
1. Richard LB, Faires JD. Numerical Analysis. Pacific
Grove, CA: Wadsworth Group; 2001.
Table 1: Comparison results of trapezoidal, Simpson’s 1
3
rule, Simpson’s
3
8
rule, and Weddle’s rule
Integral Actual Trapezoidal Simpson’s 1
3
Simpson’s
3
8
Weddle’s rule
3
4
3
x dx
−
∫
97.2 98.000 97.999 98.000 98.000
Error 0.8 0.799 0.000 0.000
6
0
1
1
dx
x
+
∫
1.9459 2 1.999 2 2
Error 0.0541 0.0004 0.000 0.000
0
sin xdx

∫
2 1.9825 1.7131 1.5326 1.85746
Error 0.0175 0.2869 0.4674 0.1425
6
2
0
1
dx
x
+
∫
1.4056 1.083778 1.083759 1.08374 1.08378
Error 0.321822 0.32186 0.32182
5.2
4
e
log x dx
∫
2.182 2.2804 2.2802 2.2804 2.2803
Error 0.0984 0.0982 0.0984 0.0981
Karpagam and Vijayalakshmi: Comparison Results of Trapezoidal
AJMS/Oct-Dec-2018/Vol 2/Issue 4 53
2. Jain MK, Iyengar SR, Jain RK. Numerical Methods
for Scientific and Engineering Computation. 6th
ed.
New Delhi: New Age International; 2012.
3. Frontini M, Sormoni E. Some variants of Newton’s
method with third order convergence. Appl Math
Comput 2003;140:419-26.
4. Jisheng K,Yitian L, XiuhuaW.Third-order modification
of Newton’s method. J Comput Appl Math 2007;
205:1‑5.
5. Jayakumar J, Kalyanasundaram M. Modified Newton’s
method using harmonic mean for solving nonlinear
equations. IOSR J Math 2013;7:93-7.
6. Natarajan A, Mohankumar N. A comparison of some
quadrature methods for approximating Cauchy principal
value integrals. J Comput Phys 1995;116:365-8.
7. Liu DJ, Wu JM, Yu DH. The super convergence of the
Newton-cotes rule for cauchy principal value integrals.
J Comput Appl Math 2010;235:696-707.
8. UllahA. Numerical integration and a proposed rule.Am
J Eng Res 2015;4:120-3.

More Related Content

Similar to 05_AJMS_16_18_RA.pdf

07 chap3
07 chap307 chap3
07 chap3
ELIMENG
 
Classical relations and fuzzy relations
Classical relations and fuzzy relationsClassical relations and fuzzy relations
Classical relations and fuzzy relations
Baran Kaynak
 

Similar to 05_AJMS_16_18_RA.pdf (20)

Nonlinear perturbed difference equations
Nonlinear perturbed difference equationsNonlinear perturbed difference equations
Nonlinear perturbed difference equations
 
1519 differentiation-integration-02
1519 differentiation-integration-021519 differentiation-integration-02
1519 differentiation-integration-02
 
Multivriada ppt ms
Multivriada   ppt msMultivriada   ppt ms
Multivriada ppt ms
 
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
 
Quadrature
QuadratureQuadrature
Quadrature
 
Numarical values
Numarical valuesNumarical values
Numarical values
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
 
Common fixed point theorems with continuously subcompatible mappings in fuzz...
 Common fixed point theorems with continuously subcompatible mappings in fuzz... Common fixed point theorems with continuously subcompatible mappings in fuzz...
Common fixed point theorems with continuously subcompatible mappings in fuzz...
 
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
07 chap3
07 chap307 chap3
07 chap3
 
Classical relations and fuzzy relations
Classical relations and fuzzy relationsClassical relations and fuzzy relations
Classical relations and fuzzy relations
 
Conformable Chebyshev differential equation of first kind
Conformable Chebyshev differential equation of first kindConformable Chebyshev differential equation of first kind
Conformable Chebyshev differential equation of first kind
 
Constraints on conformal field theories in d=3
Constraints on conformal field theories in d=3Constraints on conformal field theories in d=3
Constraints on conformal field theories in d=3
 
The chain rule
The chain ruleThe chain rule
The chain rule
 
Regression
RegressionRegression
Regression
 
METHOD OF LEAST SQURE
METHOD OF LEAST SQUREMETHOD OF LEAST SQURE
METHOD OF LEAST SQURE
 
A Fast Numerical Method For Solving Calculus Of Variation Problems
A Fast Numerical Method For Solving Calculus Of Variation ProblemsA Fast Numerical Method For Solving Calculus Of Variation Problems
A Fast Numerical Method For Solving Calculus Of Variation Problems
 

More from BRNSS Publication Hub

ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC DISTRIBUTION USING MAXIMUM LIKELIH...
ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC  DISTRIBUTION USING MAXIMUM LIKELIH...ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC  DISTRIBUTION USING MAXIMUM LIKELIH...
ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC DISTRIBUTION USING MAXIMUM LIKELIH...
BRNSS Publication Hub
 
AN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION NUMBER OF TENEMENT GRAPHS
AN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION  NUMBER OF TENEMENT GRAPHSAN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION  NUMBER OF TENEMENT GRAPHS
AN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION NUMBER OF TENEMENT GRAPHS
BRNSS Publication Hub
 
TRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL CANTOR FUNCTIONS
TRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL  CANTOR FUNCTIONSTRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL  CANTOR FUNCTIONS
TRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL CANTOR FUNCTIONS
BRNSS Publication Hub
 
SYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE AND LIE ALGEBRA
SYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE  AND LIE ALGEBRASYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE  AND LIE ALGEBRA
SYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE AND LIE ALGEBRA
BRNSS Publication Hub
 
SUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE OF DIFFERENT ORDERS
SUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE  OF DIFFERENT ORDERSSUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE  OF DIFFERENT ORDERS
SUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE OF DIFFERENT ORDERS
BRNSS Publication Hub
 
Artificial Intelligence: A Manifested Leap in Psychiatric Rehabilitation
Artificial Intelligence: A Manifested Leap in Psychiatric RehabilitationArtificial Intelligence: A Manifested Leap in Psychiatric Rehabilitation
Artificial Intelligence: A Manifested Leap in Psychiatric Rehabilitation
BRNSS Publication Hub
 
A Review on Polyherbal Formulations and Herbal Medicine for Management of Ul...
A Review on Polyherbal Formulations and Herbal Medicine for Management of  Ul...A Review on Polyherbal Formulations and Herbal Medicine for Management of  Ul...
A Review on Polyherbal Formulations and Herbal Medicine for Management of Ul...
BRNSS Publication Hub
 
Current Trends in Treatments and Targets of Neglected Tropical Disease
Current Trends in Treatments and Targets of Neglected Tropical DiseaseCurrent Trends in Treatments and Targets of Neglected Tropical Disease
Current Trends in Treatments and Targets of Neglected Tropical Disease
BRNSS Publication Hub
 
Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...
Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...
Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...
BRNSS Publication Hub
 
Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...
Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...
Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...
BRNSS Publication Hub
 

More from BRNSS Publication Hub (20)

ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC DISTRIBUTION USING MAXIMUM LIKELIH...
ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC  DISTRIBUTION USING MAXIMUM LIKELIH...ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC  DISTRIBUTION USING MAXIMUM LIKELIH...
ALPHA LOGARITHM TRANSFORMED SEMI LOGISTIC DISTRIBUTION USING MAXIMUM LIKELIH...
 
AN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION NUMBER OF TENEMENT GRAPHS
AN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION  NUMBER OF TENEMENT GRAPHSAN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION  NUMBER OF TENEMENT GRAPHS
AN ASSESSMENT ON THE SPLIT AND NON-SPLIT DOMINATION NUMBER OF TENEMENT GRAPHS
 
TRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL CANTOR FUNCTIONS
TRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL  CANTOR FUNCTIONSTRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL  CANTOR FUNCTIONS
TRANSCENDENTAL CANTOR SETS AND TRANSCENDENTAL CANTOR FUNCTIONS
 
SYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE AND LIE ALGEBRA
SYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE  AND LIE ALGEBRASYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE  AND LIE ALGEBRA
SYMMETRIC BILINEAR CRYPTOGRAPHY ON ELLIPTIC CURVE AND LIE ALGEBRA
 
SUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE OF DIFFERENT ORDERS
SUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE  OF DIFFERENT ORDERSSUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE  OF DIFFERENT ORDERS
SUITABILITY OF COINTEGRATION TESTS ON DATA STRUCTURE OF DIFFERENT ORDERS
 
Artificial Intelligence: A Manifested Leap in Psychiatric Rehabilitation
Artificial Intelligence: A Manifested Leap in Psychiatric RehabilitationArtificial Intelligence: A Manifested Leap in Psychiatric Rehabilitation
Artificial Intelligence: A Manifested Leap in Psychiatric Rehabilitation
 
A Review on Polyherbal Formulations and Herbal Medicine for Management of Ul...
A Review on Polyherbal Formulations and Herbal Medicine for Management of  Ul...A Review on Polyherbal Formulations and Herbal Medicine for Management of  Ul...
A Review on Polyherbal Formulations and Herbal Medicine for Management of Ul...
 
Current Trends in Treatments and Targets of Neglected Tropical Disease
Current Trends in Treatments and Targets of Neglected Tropical DiseaseCurrent Trends in Treatments and Targets of Neglected Tropical Disease
Current Trends in Treatments and Targets of Neglected Tropical Disease
 
Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...
Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...
Evaluation of Cordia Dichotoma gum as A Potent Excipient for the Formulation ...
 
Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...
Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...
Assessment of Medication Adherence Pattern for Patients with Chronic Diseases...
 
AJMS_491_23.pdf
AJMS_491_23.pdfAJMS_491_23.pdf
AJMS_491_23.pdf
 
AJMS_490_23.pdf
AJMS_490_23.pdfAJMS_490_23.pdf
AJMS_490_23.pdf
 
AJMS_487_23.pdf
AJMS_487_23.pdfAJMS_487_23.pdf
AJMS_487_23.pdf
 
AJMS_482_23.pdf
AJMS_482_23.pdfAJMS_482_23.pdf
AJMS_482_23.pdf
 
AJMS_481_23.pdf
AJMS_481_23.pdfAJMS_481_23.pdf
AJMS_481_23.pdf
 
AJMS_480_23.pdf
AJMS_480_23.pdfAJMS_480_23.pdf
AJMS_480_23.pdf
 
AJMS_477_23.pdf
AJMS_477_23.pdfAJMS_477_23.pdf
AJMS_477_23.pdf
 
AJMS_476_23.pdf
AJMS_476_23.pdfAJMS_476_23.pdf
AJMS_476_23.pdf
 
AJMS_467_23.pdf
AJMS_467_23.pdfAJMS_467_23.pdf
AJMS_467_23.pdf
 
IJPBA_2061_23_20230715_V1.pdf
IJPBA_2061_23_20230715_V1.pdfIJPBA_2061_23_20230715_V1.pdf
IJPBA_2061_23_20230715_V1.pdf
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

05_AJMS_16_18_RA.pdf

  • 1. www.ajms.com 50 ISSN 2581-3463 RESEARCH ARTICLE Comparison Results of Trapezoidal, Simpson’s 1 3 rule, Simpson’s 3 8 rule, and Weddle’s rule A. Karpagam, V. Vijayalakshmi Department of Mathematics, SRM Valliammai Engineering College, Chennai, Tamil Nadu, India Received: 02-08-2018; Revised: 12-09-2018; Accepted: 15-11-2018 ABSTRACT Numerical integration plays very important role in mathematics. In this paper, overviews on the most common one, namely, trapezoidal Simpson’s 1 3 rule, Simpson’s 3 8 rule and Weddle’s rule. Different procedures compared and tried to evaluate the value of some definite integrals. A combined approach of different integral rules has been proposed for a definite integral to get more accurate value for all cases. Key words: Numerical integration, Simpson’s 1 3 rule, Simpson’s 3 8 rule, trapezoidal rule, Weddle’s rule INTRODUCTION Numerical integration of a function of a single variable is called quadrature, which represents the area under the curve f (x) bounded by the ordinates x0 , xn and X-axis. The numerical integration of a multiple integral is sometimes described as cubature. Numerical integration problems go back at least to Greek antiquity when, for example, the area of a circle was obtained by successively increasing the number of sides of an inscribed polygon. In the 17th century, the invention of calculus originated a new development of the subject leading to the basic numerical integration rules. In the following centuries, the field became more sophisticated and, with the introduction of computers in the recent past, many classical and new algorithms had been implemented, leading to very fast and accurate results. An extensive research work has already been done by many researchers in the field of numerical integration.[1-5] Numerical integration a b f x dx ∫ ( ) represents the area between y=f (x), X-axis and the ordinates x = a and x = b. This integration is possible only if the f (x) is explicitly given and if it is integrable. If the ordered pairs (xi , yi ), i = 0,1,2,..,n are plotted and if any two consecutive points are joined by straight line. The problem of numerical integration can be stated as follows: Given a set of (n+1) paired values (xi , yi ), i = 0,1,2,…,n of the function y = f (x) where f (x) is not known explicitly, it is required to compute 0 ∫ n x x ydx . PRELIMINARIES Definition 2.1 Trapezoidal rule is a technique for approximating the definite integral.[6-7] {displaystyleint_{a}^{b} Address for correspondence: A.Karpagam, E-mail: karpagamohan@rediffmail.com
  • 2. Karpagam and Vijayalakshmi: Comparison Results of Trapezoidal AJMS/Oct-Dec-2018/Vol 2/Issue 4 51 f(x),dx}Thetrapezoidalruleworksbyapproximating the region of the function {displaystyle f(x)} f(x) as a trapezoid and calculating its area.{displays Definition 2.2 Simpson’sruleisamethodofnumericalintegration that provides an approximation of a definite integral over the interval [a,b] using parabolas. The integral of a function f(x) over the interval [a,b] subintervals length can be approximated as, as long as n is even. Definition 2.3 Weddle’s rule, a function f(x) be tabulated at points xi equally spaced by h = xi+1 −xi , so f1 = f (x1 ). Then, Weddle’s rule approximating the integral of f (x) is given by the Newton–Cotes like formula [Table 1]. Definition 2.4 Quadrature formula for equidistant ordinates For equally spaced intervals, we have Newton’s forward difference formula as follows: y x y u y u u y u u u y ( ) = + ∆ + − ∆ + − − ∆ + 0 0 2 0 3 0 1 2 1 2 3 ( ) ! ( )( ) ! .... Here, u = − = + x x h x x nh 0 0 , , dx = h du x x x x nh x x nh n n ydx f x dx P x dx 0 0 0 0 0 ∫ ∫ ∫ = ( ) = ( ) + + = 0 0 0 2 0 3 0 1 2 1 2 3 n y u y u u y u u u y hd ∫ + ∆ + − ( ) ∆ + − ( ) − ( ) ∆ +…             ! ! u u = h y u y u u y u u u y d n 0 0 0 2 0 3 0 1 2 1 2 3 ∫ + ∆ + − ( ) ∆ + − ( ) − ( ) ∆ +…             ! ! u u = h ny n y n n y [ ] 0 2 0 3 2 2 0 2 1 2 3 2 + ∆ + −       ∆ +… This is called Newton’s–Cotes quadrature formula. Existing rule Trapezoidal rule is a technique for approximating the definite integral. {displaystyleint _{a}^{b} f(x),dx} {displays By putting n = 1 in quadrature formula, we get the trapezoidal rule. x x n n n ydx h y y y y y y 0 2 2 0 1 2 3 1 ∫ = + ( )+ + + +…+ ( )     − Simpson’sruleisamethodofnumericalintegration that provides an approximation of a definite integral over the interval [a,b] using parabolas. By putting n = 2 in quadrature formula, we get the Simpson’s 1 3 rule. x x n n n ydx h y y y y y y y 0 3 2 4 0 2 4 2 1 3 ∫ = + ( )+ + +…+ ( )+ + +…+       ( By putting n = 3 in quadrature formula, we get the Simpson’s 3 8 rule. x x n n ydx h y y y y y y y y 0 3 8 3 2 0 1 2 4 5 3 6 ∫ = + ( )+ + + + +… ( )+ + +…+       ( Weddle’s rule Weddle’s rule, a function f(x) be tabulated at points xi equally spaced by h = xi+1 −xi , so f1 = f (x1 ).[8] Then, Weddle’s rule approximating the integral of f(x) is given by the Newton–Cotes like formula x xn ydx h y y y y y y y y y y y y 0 3 10 5 6 5 2 5 6 5 0 1 2 3 4 5 6 7 8 9 10 1 ∫ = + + + + + ( )+ + + + + + 1 1 6 5 4 3 2 1 2 5 6 5 ( )+ ……… ( )+ + + + + + +         − − − − − − ( [ ) y y y y y y y n n n n n n n       
  • 3. Karpagam and Vijayalakshmi: Comparison Results of Trapezoidal AJMS/Oct-Dec-2018/Vol 2/Issue 4 52 Proposed rule Let y0 ,y1 ,y2 ,….,yn−1 ,yn be the values of the function y=f (x) at x0 ,x1 ,x2 ,x3, x4 ….,xn, respectively. By putting n = 1, h = 1, and sum of all the variables in quadrature formula, we get the trapezoidal rule. x x n n n ydx y y y y y 0 1 2 0 1 2 1 ∫ = + + +…+ + − [ ] The curve on each consecutive pair of intervals is approximated b a parabola. The dotted line is graph of f (x) in [a,b]. By putting n = 2, h = 1 and in quadrature formula, we get the Simpson’s 1 3 rule. x x n n n n n ydx y y y y y y y y y y 0 1 3 1 6 0 1 2 1 0 1 2 1 ∫ = + + +…+ + [ ]+ + + +…+ + − − [ ] By putting n = 3 and h = 1 in quadrature formula, we get the Simpson’s 3 8 rule. x x n n n ydx y y y y y 0 3 8 1 8 0 1 2 1 ∫ = + + + +…+ + − [ ] Weddle’s rule x x n n n n n ydx y y y y y y y y y y 0 3 10 1 5 0 1 2 1 0 1 2 1 ∫ = + + +…+ + [ ]+ + + +…+ + − − [ ] CONCLUSION In this paper, to find the numerical approximate value of a definite integral 0 ( ) ∫ n x x f x dx , trapezoidal, Simpson’s 1 3 rule, Simpson’s 3 8 rule, and Weddle’s rule are used and its seen that the Weddle’s rule gives more accuracy compared the other rules. REFERENCES 1. Richard LB, Faires JD. Numerical Analysis. Pacific Grove, CA: Wadsworth Group; 2001. Table 1: Comparison results of trapezoidal, Simpson’s 1 3 rule, Simpson’s 3 8 rule, and Weddle’s rule Integral Actual Trapezoidal Simpson’s 1 3 Simpson’s 3 8 Weddle’s rule 3 4 3 x dx − ∫ 97.2 98.000 97.999 98.000 98.000 Error 0.8 0.799 0.000 0.000 6 0 1 1 dx x + ∫ 1.9459 2 1.999 2 2 Error 0.0541 0.0004 0.000 0.000 0 sin xdx  ∫ 2 1.9825 1.7131 1.5326 1.85746 Error 0.0175 0.2869 0.4674 0.1425 6 2 0 1 dx x + ∫ 1.4056 1.083778 1.083759 1.08374 1.08378 Error 0.321822 0.32186 0.32182 5.2 4 e log x dx ∫ 2.182 2.2804 2.2802 2.2804 2.2803 Error 0.0984 0.0982 0.0984 0.0981
  • 4. Karpagam and Vijayalakshmi: Comparison Results of Trapezoidal AJMS/Oct-Dec-2018/Vol 2/Issue 4 53 2. Jain MK, Iyengar SR, Jain RK. Numerical Methods for Scientific and Engineering Computation. 6th ed. New Delhi: New Age International; 2012. 3. Frontini M, Sormoni E. Some variants of Newton’s method with third order convergence. Appl Math Comput 2003;140:419-26. 4. Jisheng K,Yitian L, XiuhuaW.Third-order modification of Newton’s method. J Comput Appl Math 2007; 205:1‑5. 5. Jayakumar J, Kalyanasundaram M. Modified Newton’s method using harmonic mean for solving nonlinear equations. IOSR J Math 2013;7:93-7. 6. Natarajan A, Mohankumar N. A comparison of some quadrature methods for approximating Cauchy principal value integrals. J Comput Phys 1995;116:365-8. 7. Liu DJ, Wu JM, Yu DH. The super convergence of the Newton-cotes rule for cauchy principal value integrals. J Comput Appl Math 2010;235:696-707. 8. UllahA. Numerical integration and a proposed rule.Am J Eng Res 2015;4:120-3.