Trapezoidal Rule: Maximum error in approximation?

Click For Summary

Homework Help Overview

The discussion revolves around the application of the trapezoidal rule for approximating the integral of a function over a specified interval, focusing on determining the maximum error in the approximation given certain constraints on the second derivative of the function.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formula for estimating the error in the trapezoidal rule and express uncertainty about how to find the maximum error without a specific function. There is a suggestion to consider the bounds of the second derivative to establish an upper limit on the error.

Discussion Status

The conversation is ongoing, with participants exploring the implications of the bounds on the second derivative and how they relate to the error estimation. Some guidance has been offered regarding finding upper bounds, but no consensus has been reached on the specifics of the maximum error calculation.

Contextual Notes

Participants note the challenge of determining maximum and minimum values of the second derivative without the function itself being provided, leading to a focus on establishing reasonable bounds instead.

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:
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
9K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K