SlideShare a Scribd company logo
2
Most read
5
Most read
7
Most read
Numerical Integration
BY
TAUSIF SHAHANSHAH
BCE – 3rd YEAR
DEPT. OF CIVIL ENGG.
JADAVPUR UNIVERSITY
1
WHAT IS NUMERICAL INTEGRATION?
• Approximate computation of a definite integral using numerical
techniques
• Tabulated at regularly spaced intervals
• Gives the approximate calculation
• Different from analytical integration
2
NUMERICAL INTEGRATION
TRAPEZOIDAL
RULE
SIMPSON’S RULE GAUSSIAN
QUADRATURE
3
TRAPEZOIDAL RULE
• Fundamental method of Numerical Integration
• Trapezoids are used for finding the area under curve
• Trapezoids better fits the curve, less error
4
• Evaluating, I = 𝑎
𝑏
𝑓 𝑥 𝑑𝑥 by Trapezoidal Rule
• Consider an expanded view of a general region
• Area of each trapezoid be,
𝑥 𝑖−1
𝑥 𝑖
𝑓 𝑥 𝑑𝑥 ≈
𝑓 𝑖−1+ 𝑓 𝑖
2
(∆𝑥)
And,
𝑥 𝑖
𝑥 𝑖+1
𝑓 𝑥 𝑑𝑥 ≈
𝑓 𝑖 + 𝑓 𝑖+1
2
(∆𝑥)
• The integral over two panel is given by,
𝑥 𝑖−1
𝑥 𝑖+1
𝑓 𝑥 𝑑𝑥 ≈
𝑓𝑖 + 𝑓𝑖+1
2
∆𝑥 +
𝑓𝑖−1 + 𝑓𝑖
2
∆𝑥 =
∆𝑥
2
(𝑓𝑖−1 + 2𝑓𝑖 + 𝑓𝑖+1)
• The Trapezoidal Rule approximation to a integral over the entire
Interval is ,
𝑎
𝑏
𝑓 𝑥 𝑑𝑥 ≈
∆𝑥
2
{ 𝑓0 + 𝑓𝑛) + 2(𝑓1 + 𝑓2 + ⋯ + 𝑓𝑛−1 }
Where 𝑓𝑜 = 𝑓 𝑎 𝑎𝑛𝑑 𝑓𝑛 = 𝑓 𝑏
∆x =
𝑏−𝑎
𝑛
5
SIMPSON’S 1/3 RULE
• A further improvement over Trapezoidal rule is Simpson’s Rule
• Based on use of parabolic arcs (quadratic function) to approximate the
curve instead of the straight lines employed in the trapezoid rule
• Connecting 3 points, the number of interval has
to be even
6
• Approximating the area of the panel by the area
under the parabola is given by,
𝑥 𝑖−1
𝑥 𝑖+1
𝑓2 𝑥 𝑑𝑥 =
∆𝑥
3
[ 𝑓 𝑥𝑖−1 + 4𝑓 𝑥𝑖 + 𝑓(𝑥𝑖+1)]
• The Simpson’s rule approximation to the
integral over the entire interval is
𝑎
𝑏
𝑓 𝑥 𝑑𝑥 ≈
∆𝑥
3
𝑓0 + 4𝑓1 + 2𝑓2 + 4𝑓3 + ⋯ + 2𝑓𝑛−2 + 4𝑓𝑛−1 + 𝑓𝑛
Where 𝑓𝑜 = 𝑓 𝑎 𝑎𝑛𝑑 𝑓𝑛 = 𝑓 𝑏
7
SIMPSON’S 3/8 RULE
• Consists of taking the area under a cubic equation connecting four
points.
• Number of interval must be multiple of three
• The formula for Simpson’s 3/8 rule is
𝑎
𝑏
𝑓 𝑥 𝑑𝑥 =
3∆𝑥
8
[ 𝑓0 + 𝑓𝑛 + 2 𝑓3 + 𝑓6 + ⋯ + 𝑓𝑛−3
+3 𝑓1 + 𝑓2 + 𝑓4 + 𝑓5 + ⋯ + 𝑓𝑛−1 ]
8
GAUSSIAN QUADRATURE
• Sampling points may not be equally spaced in practical problems
• Both positions of the sampling points and the weights have been
optimized
• Gaussian Quadrature formula can be expressed as,
−1
1
𝑓 𝑥 𝑑𝑥 = 𝑖=1
𝑛
𝑤𝑖 𝑓(𝑥𝑖)
• It produces most accurate approximation
9
One point Gaussian Quadrature
• There is only sampling point 𝑛 = 1
• −1
1
𝑓 𝑥 𝑑𝑥 = 𝑤1 𝑓(𝑥1)
• For one point Gaussian Quadrature the sampling point 𝑥1 = 0 and
weight 𝑤1 = 2
• For two point Gaussian Quadrature the sampling points 𝑥1 = −1/ 3,
𝑥2 = 1/ 3 and weight 𝑤1 = 𝑤2 = 1
10
PROBLEMS ON NUMERICAL
INTEGRATION
• EXAMPLE 1:
The cross section of stream 9.0 m wide is measured by means of soundings taken 1.5 m apart. The depths
recorded are 0, 0.45 m, 0.6 m, 1.05 m, 0.69 m, 0.3 m, 0 m. The mean velocity is observed to be 1.02 m per
second. Compute the discharge of the stream.
SOLUTION : Assuming the points at the depths may be connected by
straight lines the cross sectional area may be thought of to be divided
into trapezoids. Hence applying ‘Trapezoidal Rule’
𝐶𝑟𝑜𝑠𝑠 𝑠𝑒𝑐𝑡𝑖𝑜𝑛𝑎𝑙 𝐴𝑟𝑒𝑎 =
𝑑
2
{ 𝑦0 + 𝑦6 + 2 𝑦1 + 𝑦2 + 𝑦3 + 𝑦4 + 𝑦5 }
Area =
1.5
2
{ 0 + 0 + 2 0.45 + 0.60 + 1.05 + 0.69 + 0.30 } = 4.635 m2
Rate of flow through stream = 1.02 × 4.635
i.e; 4.7277 m3/s
11
• EXAMPLE 2:
A series of offsets were taken at 10 m intervals in the following order from a chain line to a curved boundary: 0, 7.2 m, 5.4 m,
6.0 m, 6.8 m, 7.4 m, 8.2 m and 0 m. Find the area enclosed between the chain line, the curved boundary and the end offsets.
SOLUTION :Assuming the points defined by the offsets over the
intervals 0-20 m, 20-40 m, 40-60 m to be connected by a parabolic curve,
the cross sectional area may be computed from ‘Simpson’s Rule’ as
=
𝑑
3
{ 𝑦0 + 4𝑦1 + 𝑦2 + 𝑦2 + 4𝑦3 + 𝑦4 + 𝑦4 + 4𝑦5 + 𝑦6 +
1
2
𝑦7 + 4𝑦6 + 𝑦7 }
=
𝑑
3
{ 𝑦0 + 𝑦6 + 2 𝑦2 + 𝑦4 + 4 𝑦1 + 𝑦3 + 𝑦5 + 𝑦7 + 2𝑦6 }
=
10
3
{ 0 + 8.2 + 2 5.4 + 6.8 + 4 7.2 + 6.0 + 7.4 + 0 + 2 ∗ 8.2}
= 458 m2
12
CONCLUSION
• It is an approximation and will not yield an exact answer
• Used for area and volume calculations
• Land filling and excavation works
• Is an iterative method
• Method with small error considered superior
13
REFERENCES
• Numerical Methods in Science and Engineering –by S. RAJASEKARAN
• Plane Surveying –by Dr. ALAK DE
• http://www.ce.utexas.edu/prof/mckinney/ce311k/handouts/Integration.pdf
• http://www.csun.edu/~ajp42955/382%20paper%20pdf.pdf
• https://www.slideshare.net/ianowen45/numerical-integration?qid=67fb6114-c743-4862-827f-
491935799fe1&v=&b=&from_search=3
• http://www.sam.nitk.ac.in/sites/default/Numerical_Methods/Numerical_Integration/numerical_integration.pdf
14
THANK YOU
15

More Related Content

PPT
introduction to Numerical Analysis
PPTX
NUMERICAL INTEGRATION AND ITS APPLICATIONS
PPTX
trapezoidal and simpson's 1/3 and 3/8 rule
PPT
Numerical integration
PPTX
Newton cotes integration method
PPTX
Interpolation In Numerical Methods.
PDF
Numerical Analysis
PDF
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)
introduction to Numerical Analysis
NUMERICAL INTEGRATION AND ITS APPLICATIONS
trapezoidal and simpson's 1/3 and 3/8 rule
Numerical integration
Newton cotes integration method
Interpolation In Numerical Methods.
Numerical Analysis
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)

What's hot (20)

PPTX
Runge kutta
PPTX
Presentation on Numerical Method (Trapezoidal Method)
PDF
Numerical Differentiation and Integration
PPTX
presentation on Euler and Modified Euler method ,and Fitting of curve
DOCX
Numerical Integration Project Report
PPTX
Numerical integration
PPTX
Interpolation
PPT
Secant Method
PPTX
GAUSS ELIMINATION METHOD
PPTX
Euler and improved euler method
PPTX
Secant method
PPT
Regulafalsi_bydinesh
PPT
MATLAB : Numerical Differention and Integration
PPT
Numerical integration
PPTX
simpion's 3/8 rule
PPT
Numerical method
PPT
Newton raphson method
PPTX
Numerical analysis ppt
PPTX
False Point Method / Regula falsi method
PDF
Interpolation with Finite differences
Runge kutta
Presentation on Numerical Method (Trapezoidal Method)
Numerical Differentiation and Integration
presentation on Euler and Modified Euler method ,and Fitting of curve
Numerical Integration Project Report
Numerical integration
Interpolation
Secant Method
GAUSS ELIMINATION METHOD
Euler and improved euler method
Secant method
Regulafalsi_bydinesh
MATLAB : Numerical Differention and Integration
Numerical integration
simpion's 3/8 rule
Numerical method
Newton raphson method
Numerical analysis ppt
False Point Method / Regula falsi method
Interpolation with Finite differences
Ad

Similar to Presentation on Numerical Integration (20)

PPTX
Numerical integration
PDF
Overviewing the techniques of Numerical Integration.pdf
PPTX
NUMERICAL METHOD'S
PDF
IRJET- Parallelization of Definite Integration
PDF
Efficient Accuracy: A Study on Numerical Integration.
PPT
Numerical hhhhhhhhhhhhhhhhhIntegration.ppt
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PPTX
PPTX
Nsm ppt.ppt
PPT
1519 differentiation-integration-02
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PPT
08 numerical integration 2
PDF
Applied Mathematics and Sciences: An International Journal (MathSJ)
PPTX
Numerical integration for engineering students.pptx
PDF
Error analysis in numerical integration
PDF
Numerical integration
PPTX
CE324-Module-9-10-Week-5-1st-Session.pptx
PDF
05_AJMS_16_18_RA.pdf
PDF
05_AJMS_16_18_RA.pdf
Numerical integration
Overviewing the techniques of Numerical Integration.pdf
NUMERICAL METHOD'S
IRJET- Parallelization of Definite Integration
Efficient Accuracy: A Study on Numerical Integration.
Numerical hhhhhhhhhhhhhhhhhIntegration.ppt
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
Nsm ppt.ppt
1519 differentiation-integration-02
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
08 numerical integration 2
Applied Mathematics and Sciences: An International Journal (MathSJ)
Numerical integration for engineering students.pptx
Error analysis in numerical integration
Numerical integration
CE324-Module-9-10-Week-5-1st-Session.pptx
05_AJMS_16_18_RA.pdf
05_AJMS_16_18_RA.pdf
Ad

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
PPT on Performance Review to get promotions
PPTX
Welding lecture in detail for understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Construction Project Organization Group 2.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
UNIT 4 Total Quality Management .pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CH1 Production IntroductoryConcepts.pptx
PPT on Performance Review to get promotions
Welding lecture in detail for understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CYBER-CRIMES AND SECURITY A guide to understanding
Internet of Things (IOT) - A guide to understanding
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Structs to JSON How Go Powers REST APIs.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Construction Project Organization Group 2.pptx
bas. eng. economics group 4 presentation 1.pptx
Arduino robotics embedded978-1-4302-3184-4.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
UNIT 4 Total Quality Management .pptx

Presentation on Numerical Integration

  • 1. Numerical Integration BY TAUSIF SHAHANSHAH BCE – 3rd YEAR DEPT. OF CIVIL ENGG. JADAVPUR UNIVERSITY 1
  • 2. WHAT IS NUMERICAL INTEGRATION? • Approximate computation of a definite integral using numerical techniques • Tabulated at regularly spaced intervals • Gives the approximate calculation • Different from analytical integration 2
  • 4. TRAPEZOIDAL RULE • Fundamental method of Numerical Integration • Trapezoids are used for finding the area under curve • Trapezoids better fits the curve, less error 4
  • 5. • Evaluating, I = 𝑎 𝑏 𝑓 𝑥 𝑑𝑥 by Trapezoidal Rule • Consider an expanded view of a general region • Area of each trapezoid be, 𝑥 𝑖−1 𝑥 𝑖 𝑓 𝑥 𝑑𝑥 ≈ 𝑓 𝑖−1+ 𝑓 𝑖 2 (∆𝑥) And, 𝑥 𝑖 𝑥 𝑖+1 𝑓 𝑥 𝑑𝑥 ≈ 𝑓 𝑖 + 𝑓 𝑖+1 2 (∆𝑥) • The integral over two panel is given by, 𝑥 𝑖−1 𝑥 𝑖+1 𝑓 𝑥 𝑑𝑥 ≈ 𝑓𝑖 + 𝑓𝑖+1 2 ∆𝑥 + 𝑓𝑖−1 + 𝑓𝑖 2 ∆𝑥 = ∆𝑥 2 (𝑓𝑖−1 + 2𝑓𝑖 + 𝑓𝑖+1) • The Trapezoidal Rule approximation to a integral over the entire Interval is , 𝑎 𝑏 𝑓 𝑥 𝑑𝑥 ≈ ∆𝑥 2 { 𝑓0 + 𝑓𝑛) + 2(𝑓1 + 𝑓2 + ⋯ + 𝑓𝑛−1 } Where 𝑓𝑜 = 𝑓 𝑎 𝑎𝑛𝑑 𝑓𝑛 = 𝑓 𝑏 ∆x = 𝑏−𝑎 𝑛 5
  • 6. SIMPSON’S 1/3 RULE • A further improvement over Trapezoidal rule is Simpson’s Rule • Based on use of parabolic arcs (quadratic function) to approximate the curve instead of the straight lines employed in the trapezoid rule • Connecting 3 points, the number of interval has to be even 6
  • 7. • Approximating the area of the panel by the area under the parabola is given by, 𝑥 𝑖−1 𝑥 𝑖+1 𝑓2 𝑥 𝑑𝑥 = ∆𝑥 3 [ 𝑓 𝑥𝑖−1 + 4𝑓 𝑥𝑖 + 𝑓(𝑥𝑖+1)] • The Simpson’s rule approximation to the integral over the entire interval is 𝑎 𝑏 𝑓 𝑥 𝑑𝑥 ≈ ∆𝑥 3 𝑓0 + 4𝑓1 + 2𝑓2 + 4𝑓3 + ⋯ + 2𝑓𝑛−2 + 4𝑓𝑛−1 + 𝑓𝑛 Where 𝑓𝑜 = 𝑓 𝑎 𝑎𝑛𝑑 𝑓𝑛 = 𝑓 𝑏 7
  • 8. SIMPSON’S 3/8 RULE • Consists of taking the area under a cubic equation connecting four points. • Number of interval must be multiple of three • The formula for Simpson’s 3/8 rule is 𝑎 𝑏 𝑓 𝑥 𝑑𝑥 = 3∆𝑥 8 [ 𝑓0 + 𝑓𝑛 + 2 𝑓3 + 𝑓6 + ⋯ + 𝑓𝑛−3 +3 𝑓1 + 𝑓2 + 𝑓4 + 𝑓5 + ⋯ + 𝑓𝑛−1 ] 8
  • 9. GAUSSIAN QUADRATURE • Sampling points may not be equally spaced in practical problems • Both positions of the sampling points and the weights have been optimized • Gaussian Quadrature formula can be expressed as, −1 1 𝑓 𝑥 𝑑𝑥 = 𝑖=1 𝑛 𝑤𝑖 𝑓(𝑥𝑖) • It produces most accurate approximation 9
  • 10. One point Gaussian Quadrature • There is only sampling point 𝑛 = 1 • −1 1 𝑓 𝑥 𝑑𝑥 = 𝑤1 𝑓(𝑥1) • For one point Gaussian Quadrature the sampling point 𝑥1 = 0 and weight 𝑤1 = 2 • For two point Gaussian Quadrature the sampling points 𝑥1 = −1/ 3, 𝑥2 = 1/ 3 and weight 𝑤1 = 𝑤2 = 1 10
  • 11. PROBLEMS ON NUMERICAL INTEGRATION • EXAMPLE 1: The cross section of stream 9.0 m wide is measured by means of soundings taken 1.5 m apart. The depths recorded are 0, 0.45 m, 0.6 m, 1.05 m, 0.69 m, 0.3 m, 0 m. The mean velocity is observed to be 1.02 m per second. Compute the discharge of the stream. SOLUTION : Assuming the points at the depths may be connected by straight lines the cross sectional area may be thought of to be divided into trapezoids. Hence applying ‘Trapezoidal Rule’ 𝐶𝑟𝑜𝑠𝑠 𝑠𝑒𝑐𝑡𝑖𝑜𝑛𝑎𝑙 𝐴𝑟𝑒𝑎 = 𝑑 2 { 𝑦0 + 𝑦6 + 2 𝑦1 + 𝑦2 + 𝑦3 + 𝑦4 + 𝑦5 } Area = 1.5 2 { 0 + 0 + 2 0.45 + 0.60 + 1.05 + 0.69 + 0.30 } = 4.635 m2 Rate of flow through stream = 1.02 × 4.635 i.e; 4.7277 m3/s 11
  • 12. • EXAMPLE 2: A series of offsets were taken at 10 m intervals in the following order from a chain line to a curved boundary: 0, 7.2 m, 5.4 m, 6.0 m, 6.8 m, 7.4 m, 8.2 m and 0 m. Find the area enclosed between the chain line, the curved boundary and the end offsets. SOLUTION :Assuming the points defined by the offsets over the intervals 0-20 m, 20-40 m, 40-60 m to be connected by a parabolic curve, the cross sectional area may be computed from ‘Simpson’s Rule’ as = 𝑑 3 { 𝑦0 + 4𝑦1 + 𝑦2 + 𝑦2 + 4𝑦3 + 𝑦4 + 𝑦4 + 4𝑦5 + 𝑦6 + 1 2 𝑦7 + 4𝑦6 + 𝑦7 } = 𝑑 3 { 𝑦0 + 𝑦6 + 2 𝑦2 + 𝑦4 + 4 𝑦1 + 𝑦3 + 𝑦5 + 𝑦7 + 2𝑦6 } = 10 3 { 0 + 8.2 + 2 5.4 + 6.8 + 4 7.2 + 6.0 + 7.4 + 0 + 2 ∗ 8.2} = 458 m2 12
  • 13. CONCLUSION • It is an approximation and will not yield an exact answer • Used for area and volume calculations • Land filling and excavation works • Is an iterative method • Method with small error considered superior 13
  • 14. REFERENCES • Numerical Methods in Science and Engineering –by S. RAJASEKARAN • Plane Surveying –by Dr. ALAK DE • http://www.ce.utexas.edu/prof/mckinney/ce311k/handouts/Integration.pdf • http://www.csun.edu/~ajp42955/382%20paper%20pdf.pdf • https://www.slideshare.net/ianowen45/numerical-integration?qid=67fb6114-c743-4862-827f- 491935799fe1&v=&b=&from_search=3 • http://www.sam.nitk.ac.in/sites/default/Numerical_Methods/Numerical_Integration/numerical_integration.pdf 14