Approximation Error and Tough Integral

Hello Everyone! Today We are asked to find . We are given two option. First is by evaluating the definite integral itself or we can do numerical approximation using both Trapezoidal and Mid point Rules with sub interval n valued at 10. Since I've figured out that integrating such integral would be a (Lipssealed), I just gone on and used the Numerical Approximation way. Everything is well until I am asked to find the error for both and . I know the formula and the value of for the second derivative of the function to use it as a rule to find constant from the formula and . Now I am stuck at how to find K when at interval . Anyone got any idea to find ? Thanks y'all in advance!(Nod)

Edit: I have an idea on how to solve this one. As we can see, x is bounded in [1,2], and that 1/x would only max out at x=1 since anything more than 1 would make x less so we can conclude that . Since K is the max value of the second derivative, then max value is acquired when 1/x is evaluated at x=1. So that so if we substitute 1 to all 1/x, we get: . Is that the right way to do it?Hehe it is late in the morning and I am still pumped to do this problem(Rock)!

Re: Approximation Error and Tough Integral

I think you need to find an upper bound for K, not a lower bound.

But you can't get a bound of any kind by setting x to the same value when you have the product of a decreasing and an increasing function. For example, if you have y=x(1-x) on [0,1], if you set x=0 across the board, you get a bound of zero, but y goes above zero. The correct procedure in this simplistic case is to recognize that x is always less than or equal to 1, and 1-x is always less than or equal to 1. So x(1-x) is always less than or equal to 1 times 1, which is 1. In this case we know the function has a maximum of , so it is indeed always less than or equal to 1.

- Hollywood

Re: Approximation Error and Tough Integral

Hi Hollywood! Well I think from the definitions of Error bounds, K is just a constant in which the second derivative of integrand, f(x), maxes out. And if we look at the second derivative of f(x), we can see that we have product of 3 kinds of functions-exponential(decreasing), linear(increasing), and rational(decreasing). If we take the limit of as x goes to infinity, the value would go to zero. That means that for any increase in x in the bounds [1,2], the second derivative of f(x) only decreases, meaning, in the bounds of the integral [n-k,n], the second derivative maxes out on the smallest value of n-k which is 1. So to find the max value for K, we have to plug in 1 for any x in the second derivative. If we do that correctly, we should have . And since the Error is only bounded by the formula that involves max K, then we can just plug in K to all variable K in the formula. Is that reasoning good? Not really sure. :D

Re: Approximation Error and Tough Integral

Showing the limit of f''(x) as x goes to infinity is not good enough to do what you're doing. You would have to show that it is a decreasing function (i.e. that f'''(x)<0). Since it is a decreasing function, your answer is correct.

Another way to look at it is to write |f''(x)| as:

and all the functions are decreasing, so you can just plug in 1, the smallest value for x.

And yes, I also get 3e for the numerical answer.

- Hollywood

Re: Approximation Error and Tough Integral

Hey pal. As far as Im concern, K is the abs(f''(x))<=K

:)

Re: Approximation Error and Tough Integral

Thanks both of you for your answers. From what I understand, since K is defined from the inequality then K must be the highest value of the second derivative of the function. :D