Prove that Simpson's method is exact for cubic polynomials over any interval (a, b). That is, show the approximation error in equation (2) is zero for such functions. Demonstrate this principle for the integral of f(x) = 4.x³ – 202² + 12x + 37 over the domain [0, 4] using N = 2 subintervals for Simpson's rule.

Functions and Change: A Modeling Approach to College Algebra (MindTap Course List)
6th Edition
ISBN:9781337111348
Author:Bruce Crauder, Benny Evans, Alan Noell
Publisher:Bruce Crauder, Benny Evans, Alan Noell
ChapterA: Appendix
SectionA.2: Geometric Constructions
Problem 10P: A soda can has a volume of 25 cubic inches. Let x denote its radius and h its height, both in...
icon
Related questions
Question
1. Let SN be the approximated value of the integral of f(x) over an interval [a, b] obtained with
Simpson's rule using N subintervals,
SN -
| f(x) dz.
(1)
Here, the domain [a, b] is evenly divided into N subintervals with endpoints {ro, x1,..., IN} with
a = xo < x1 <.…< ¤N = b. The distance between subinterval endpoints is xk – *k-1 = Ax
(b – a)/N. The absolute error in approximating the integral with Simpson's method is bounded,
K(b – a)5
SN
- |
f (x) dx <
(2)
180N4
approximation error
where K is the maximum of the absolute value of the fourth derivative of f(x) over the interval
[a, b], i.e., K = max |f(4) (x)|.
1. Prove that Simpson's method is exact for cubic polynomials over any interval [a, 6]. That is,
show the approximation error in equation (2) is zero for such functions.
2. Demonstrate this principle for the integral of f(x) = 4x3 – 20x? + 12x + 37 over the domain
[0, 4] using N = 2 subintervals for Simpson's rule.
Transcribed Image Text:1. Let SN be the approximated value of the integral of f(x) over an interval [a, b] obtained with Simpson's rule using N subintervals, SN - | f(x) dz. (1) Here, the domain [a, b] is evenly divided into N subintervals with endpoints {ro, x1,..., IN} with a = xo < x1 <.…< ¤N = b. The distance between subinterval endpoints is xk – *k-1 = Ax (b – a)/N. The absolute error in approximating the integral with Simpson's method is bounded, K(b – a)5 SN - | f (x) dx < (2) 180N4 approximation error where K is the maximum of the absolute value of the fourth derivative of f(x) over the interval [a, b], i.e., K = max |f(4) (x)|. 1. Prove that Simpson's method is exact for cubic polynomials over any interval [a, 6]. That is, show the approximation error in equation (2) is zero for such functions. 2. Demonstrate this principle for the integral of f(x) = 4x3 – 20x? + 12x + 37 over the domain [0, 4] using N = 2 subintervals for Simpson's rule.
Expert Solution
Step 1

(1).

Let fx=a1x3+b1x2+c1x+d1 be an arbitrary cubic polynomial.

SN be the approximated value of the integral of fx=a1x3+b1x2+c1x+d1over an arbitrary interval a,b obtained with Simpson's rule using N intervals. That is:

SNabfxdx.

We know that maximum error using Simpson's rule with N intervals can be calculated as:

SN-abfxdxKb-a5180N4, where K=maxf4x on a,b.

Since fx=a1x3+b1x2+c1x+d1 is a cubic polynomial, therefore its fourth and higher derivative will be zero. That is:

f4x=0, therefore maxf4x=0=K over a,b.

Hence the maximum error while calculating SNabfxdx is:

SN-abfxdxKb-a5180N4=0b-a5180N4=0

Hence the maximum error is zero. Therefore Simpson's rule is exact for the cubic polynomial fx=a1x3+b1x2+c1x+d1 over arbitrary interval a,b.

Since fx was arbitrary cubic polynomial, therefore Simpson's rule is exact for cubic polynomial over any interval a,b.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Recommended textbooks for you
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,