SlideShare a Scribd company logo
1 of 1
Download to read offline
proof of Simpson’s rule∗
drini†
2013-03-21 18:20:43
We want to derive Simpson’s rule for
b
a
f(x) dx.
We will use Newton and Cotes formulas for n = 2. In this case, x0 = a,
x2 = b and x1 = (a + b)/2. We use Lagrange’s interpolation formula to get a
polynomial p(x) such that p(xj) = f(xj) for j = 0, 1, 2.
The corresponding interpolating polynomial is
p(x) = f(x1)
(x − x2)(x − x3)
(x1 − x2)(x1 − x3)
+f(x2)
(x − x1)(x − x3)
(x2 − x1)(x2 − x3)
+f(x3)
(x − x1)(x − x2)
(x3 − x1)(x3 − x2)
.
and thus
b
a
f(x) dx ≈
b
a
f(x1)
(x − x2)(x − x3)
(x1 − x2)(x1 − x3)
+f(x2)
(x − x1)(x − x3)
(x2 − x1)(x2 − x3)
+f(x3)
(x − x1)(x − x2)
(x3 − x1)(x3 − x2)
dx.
Since integration is linear, we are concerned only with integrating each term
in the sum. Now, taking xj = a + hj where j = 0, 1, 2 and h = |b − a|/2, we can
rewrite the quotients on the last integral as
b
a
p(x) dx = hf(x0)
2
0
(t − 1)(t − 2)
(0 − 1)(0 − 2)
dt+hf(x1)
2
0
(t − 0)(t − 2)
(1 − 0)(1 − 2)
dt+hf(x2)
2
0
(t − 0)(t − 1)
(2 − 0)(2 − 1)
dt.
and if we calculate the integrals on the last expression we get
b
a
p(x) dx = hf(x0)
1
3
+ hf(x1)
4
3
+ hf(x2)
1
3
,
which is Simpson’s rule:
b
a
f(x) dx ≈
h
3
(f(x0) + 4f(x1) + f(x2)).
∗ ProofOfSimpsonsRule created: 2013-03-21 by: drini version: 36509 Privacy
setting: 1 Proof 65D32 41A55 26A06 28-00
†This text is available under the Creative Commons Attribution/Share-Alike License 3.0.
You can reuse this document or portions thereof only if you do so under terms that are
compatible with the CC-BY-SA license.
1

More Related Content

What's hot

11 X1 T05 06 Line Through Pt Of Intersection
11 X1 T05 06 Line Through Pt Of Intersection11 X1 T05 06 Line Through Pt Of Intersection
11 X1 T05 06 Line Through Pt Of IntersectionNigel Simmons
 
7.1 area between curves
7.1 area between curves7.1 area between curves
7.1 area between curvesdicosmo178
 
7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shells7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shellsdicosmo178
 
Exercise set 3.7
Exercise set 3.7Exercise set 3.7
Exercise set 3.7math265
 
Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleVARUN KUMAR
 
Statistics for Economics Midterm 2 Cheat Sheet
Statistics for Economics Midterm 2 Cheat SheetStatistics for Economics Midterm 2 Cheat Sheet
Statistics for Economics Midterm 2 Cheat SheetLaurel Ayuyao
 
CS571:: Part of-Speech Tagging
CS571:: Part of-Speech TaggingCS571:: Part of-Speech Tagging
CS571:: Part of-Speech TaggingJinho Choi
 
On Local Integrable Solutions of Abstract Volterra Integral Equations
On Local Integrable Solutions of Abstract Volterra Integral EquationsOn Local Integrable Solutions of Abstract Volterra Integral Equations
On Local Integrable Solutions of Abstract Volterra Integral EquationsIOSR Journals
 
2.3 slopes and difference quotient t
2.3 slopes and difference quotient t2.3 slopes and difference quotient t
2.3 slopes and difference quotient tmath260
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integrationdicosmo178
 
Statistics for Economics Final Exam Cheat Sheet
Statistics for Economics Final Exam Cheat SheetStatistics for Economics Final Exam Cheat Sheet
Statistics for Economics Final Exam Cheat SheetLaurel Ayuyao
 
A note on variational inference for the univariate Gaussian
A note on variational inference for the univariate GaussianA note on variational inference for the univariate Gaussian
A note on variational inference for the univariate GaussianTomonari Masada
 

What's hot (20)

11 X1 T05 06 Line Through Pt Of Intersection
11 X1 T05 06 Line Through Pt Of Intersection11 X1 T05 06 Line Through Pt Of Intersection
11 X1 T05 06 Line Through Pt Of Intersection
 
7.1 area between curves
7.1 area between curves7.1 area between curves
7.1 area between curves
 
7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shells7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shells
 
Htdp27.key
Htdp27.keyHtdp27.key
Htdp27.key
 
Exercise set 3.7
Exercise set 3.7Exercise set 3.7
Exercise set 3.7
 
Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal Rule
 
mathFin01
mathFin01mathFin01
mathFin01
 
Statistics for Economics Midterm 2 Cheat Sheet
Statistics for Economics Midterm 2 Cheat SheetStatistics for Economics Midterm 2 Cheat Sheet
Statistics for Economics Midterm 2 Cheat Sheet
 
Trig identities
Trig identitiesTrig identities
Trig identities
 
133467 p2a2
133467 p2a2133467 p2a2
133467 p2a2
 
CS571:: Part of-Speech Tagging
CS571:: Part of-Speech TaggingCS571:: Part of-Speech Tagging
CS571:: Part of-Speech Tagging
 
On Local Integrable Solutions of Abstract Volterra Integral Equations
On Local Integrable Solutions of Abstract Volterra Integral EquationsOn Local Integrable Solutions of Abstract Volterra Integral Equations
On Local Integrable Solutions of Abstract Volterra Integral Equations
 
Interpolation
InterpolationInterpolation
Interpolation
 
2.3 slopes and difference quotient t
2.3 slopes and difference quotient t2.3 slopes and difference quotient t
2.3 slopes and difference quotient t
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 
AP Calculus 1984 FRQs
AP Calculus 1984 FRQsAP Calculus 1984 FRQs
AP Calculus 1984 FRQs
 
Statistics for Economics Final Exam Cheat Sheet
Statistics for Economics Final Exam Cheat SheetStatistics for Economics Final Exam Cheat Sheet
Statistics for Economics Final Exam Cheat Sheet
 
P13 030
P13 030P13 030
P13 030
 
A note on variational inference for the univariate Gaussian
A note on variational inference for the univariate GaussianA note on variational inference for the univariate Gaussian
A note on variational inference for the univariate Gaussian
 
Jacobson Theorem
Jacobson TheoremJacobson Theorem
Jacobson Theorem
 

Similar to Lagrange

Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010akabaka12
 
19 trig substitutions-x
19 trig substitutions-x19 trig substitutions-x
19 trig substitutions-xmath266
 
Sbma 4603 numerical methods Assignment
Sbma 4603 numerical methods AssignmentSbma 4603 numerical methods Assignment
Sbma 4603 numerical methods AssignmentSaidatina Khadijah
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010akabaka12
 
NCERT Class 9 Maths Polynomials
NCERT Class 9 Maths  PolynomialsNCERT Class 9 Maths  Polynomials
NCERT Class 9 Maths PolynomialsPankajGahlot2
 
Roots equations
Roots equationsRoots equations
Roots equationsoscar
 
Roots equations
Roots equationsRoots equations
Roots equationsoscar
 
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...Jayanshu Gundaniya
 
Student Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdf
Student Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdfStudent Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdf
Student Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdfBEATRIZJAIMESGARCIA
 
Succesive differntiation
Succesive differntiationSuccesive differntiation
Succesive differntiationJaydevVadachhak
 

Similar to Lagrange (20)

NUMERICAL METHODS
NUMERICAL METHODSNUMERICAL METHODS
NUMERICAL METHODS
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010
 
Bayes gauss
Bayes gaussBayes gauss
Bayes gauss
 
Sol84
Sol84Sol84
Sol84
 
19 trig substitutions-x
19 trig substitutions-x19 trig substitutions-x
19 trig substitutions-x
 
Derivatives
DerivativesDerivatives
Derivatives
 
Chapter 1 (maths 3)
Chapter 1 (maths 3)Chapter 1 (maths 3)
Chapter 1 (maths 3)
 
Sbma 4603 numerical methods Assignment
Sbma 4603 numerical methods AssignmentSbma 4603 numerical methods Assignment
Sbma 4603 numerical methods Assignment
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010
 
NCERT Class 9 Maths Polynomials
NCERT Class 9 Maths  PolynomialsNCERT Class 9 Maths  Polynomials
NCERT Class 9 Maths Polynomials
 
maths
maths maths
maths
 
Ece3075 a 8
Ece3075 a 8Ece3075 a 8
Ece3075 a 8
 
Roots equations
Roots equationsRoots equations
Roots equations
 
Roots equations
Roots equationsRoots equations
Roots equations
 
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
 
Improper integral
Improper integralImproper integral
Improper integral
 
Maths04
Maths04Maths04
Maths04
 
Quadrature
QuadratureQuadrature
Quadrature
 
Student Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdf
Student Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdfStudent Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdf
Student Solutions Manual for Quantum Chemistry, 7th Edition, Ira N, Levine.pdf
 
Succesive differntiation
Succesive differntiationSuccesive differntiation
Succesive differntiation
 

Recently uploaded

College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

Lagrange

  • 1. proof of Simpson’s rule∗ drini† 2013-03-21 18:20:43 We want to derive Simpson’s rule for b a f(x) dx. We will use Newton and Cotes formulas for n = 2. In this case, x0 = a, x2 = b and x1 = (a + b)/2. We use Lagrange’s interpolation formula to get a polynomial p(x) such that p(xj) = f(xj) for j = 0, 1, 2. The corresponding interpolating polynomial is p(x) = f(x1) (x − x2)(x − x3) (x1 − x2)(x1 − x3) +f(x2) (x − x1)(x − x3) (x2 − x1)(x2 − x3) +f(x3) (x − x1)(x − x2) (x3 − x1)(x3 − x2) . and thus b a f(x) dx ≈ b a f(x1) (x − x2)(x − x3) (x1 − x2)(x1 − x3) +f(x2) (x − x1)(x − x3) (x2 − x1)(x2 − x3) +f(x3) (x − x1)(x − x2) (x3 − x1)(x3 − x2) dx. Since integration is linear, we are concerned only with integrating each term in the sum. Now, taking xj = a + hj where j = 0, 1, 2 and h = |b − a|/2, we can rewrite the quotients on the last integral as b a p(x) dx = hf(x0) 2 0 (t − 1)(t − 2) (0 − 1)(0 − 2) dt+hf(x1) 2 0 (t − 0)(t − 2) (1 − 0)(1 − 2) dt+hf(x2) 2 0 (t − 0)(t − 1) (2 − 0)(2 − 1) dt. and if we calculate the integrals on the last expression we get b a p(x) dx = hf(x0) 1 3 + hf(x1) 4 3 + hf(x2) 1 3 , which is Simpson’s rule: b a f(x) dx ≈ h 3 (f(x0) + 4f(x1) + f(x2)). ∗ ProofOfSimpsonsRule created: 2013-03-21 by: drini version: 36509 Privacy setting: 1 Proof 65D32 41A55 26A06 28-00 †This text is available under the Creative Commons Attribution/Share-Alike License 3.0. You can reuse this document or portions thereof only if you do so under terms that are compatible with the CC-BY-SA license. 1