Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Trapezoidal rule
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Applicability and alternatives == The trapezoidal rule is one of a family of formulas for [[numerical integration]] called [[Newton–Cotes formulas]], of which the [[midpoint rule]] is similar to the trapezoid rule. [[Simpson's rule]] is another member of the same family, and in general has faster convergence than the trapezoidal rule for functions which are twice continuously differentiable, though not in all specific cases. However, for various classes of rougher functions (ones with weaker smoothness conditions), the trapezoidal rule has faster convergence in general than Simpson's rule.<ref name="cun02">{{Harv|Cruz-Uribe|Neugebauer|2002}}</ref> Moreover, the trapezoidal rule tends to become extremely accurate when [[periodic function]]s are integrated over their periods, which can be [[#Periodic and peak functions|analyzed in various ways]].<ref name="rs90">{{Harv|Rahman|Schmeisser|1990}}</ref><ref name="w02">{{Harv|Weideman|2002}}</ref> A similar effect is available for peak functions.<ref name=":0" /><ref name="w02" /> For non-periodic functions, however, methods with unequally spaced points such as [[Gaussian quadrature]] and [[Clenshaw–Curtis quadrature]] are generally far more accurate; Clenshaw–Curtis quadrature can be viewed as a change of variables to express arbitrary integrals in terms of periodic integrals, at which point the trapezoidal rule can be applied accurately.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)