Trapezoidal Rule: Maximum error in approximation?

Jess Karakov
Messages
11
Reaction score
3

Homework Statement


Suppose that T4 is used to approximate the ∫ from 0 to 3 of f(x)dx, where -2 ≤ f ''(x) ≤ 1 for all x. What is the maximum error in the approximation?

Homework Equations


|ET|≤ (K(b-a)^3)/(12n^2)

The Attempt at a Solution


So I know how to find the error of the trapezoidal rule using the above equation, but I do not understand how to find the maximum error in an approximation.
To find the max error I would find the max/mins of f ''(x), right? But I don't know how to do that when f(x) is not given
 
Physics news on Phys.org
Jess Karakov said:

Homework Statement


Suppose that T4 is used to approximate the ∫ from 0 to 3 of f(x)dx, where -2 ≤ f ''(x) ≤ 1 for all x. What is the maximum error in the approximation?

Homework Equations


|ET|≤ (K(b-a)^3)/(12n^2)

The Attempt at a Solution


So I know how to find the error of the trapezoidal rule using the above equation, but I do not understand how to find the maximum error in an approximation.
To find the max error I would find the max/mins of f ''(x), right? But I don't know how to do that when f(x) is not given

You can't. All you can do is find an upper bound on the absolute error, so your actual error may be a lot less than your bound. Just find an upper bound on ##|f''(x)|## over ##x \in [0,3]##.

Note: people hardly ever find best bounds by finding actual maxima of things like ##|f''(x)|##; typically, they are satisfied with decent bounds.
 
So K would just be 2?
 
Jess Karakov said:
So K would just be 2?

You tell me.
 
yes...:wink:
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top