- #1
garrus
- 17
- 0
Homework Statement
[tex]a,b\in R, a<b, n\in N\\ h=\frac{b-a}{n} , x_i = a+ih , i=0..n \\
f\in C^1[a,b]
[/tex]
we approximate the integral of f in a,b with [itex]Q_n(f) = h\left[f(x_1) + f(x_1) + ... + f(x_n)\right]
[/itex]
Find the error [itex]R_n(f) = \int_a^bf(x)dx - Q_n(f)[/itex], as function of the first derivative of f, evaluated at a point [itex] k , k \in (a,b) [/itex]
The Attempt at a Solution
At problems where the function to be integrated is interpolated, you can get an error estimate from the corresponding error analysis of polynomial interpolation.
If I'm not mistaken, this approximation is adding up rectangles of width h and height [itex]f(x_i)[/itex],
which i guess could be considered as dividing up f in n segments of width h, and interpolating f in each segment by a constant polynomial.
From right to left, since [itex]f(x_0)[/itex] isn't used in the approximation.
The sum of the individual errors in each segment would sum up to the total approximation error of the analytical integration.
However,the error in each segment is an expression of the 1st derivative of f on a point in that segment,that i calculated in another exercise:
[tex]R(f) = \int_a^bf(x)dx - Q(f) = (\frac{a^2}{2} - b f(b) ) f'(k) , \\k\in (a,b)[/tex]
So the final result will be a sum of factors of the form [itex]c f'(k_i) , k_i \in {x_i,x_i+h} , c\in R[/itex], contradicting the solution form required : a function of [itex]f'(k) , k\in (a,b)[/itex].
Any ideas?