
In
calculus
Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizati ...
, the trapezoidal rule (also known as the trapezoid rule or trapezium rule; see
Trapezoid
A quadrilateral with at least one pair of parallel sides is called a trapezoid () in American and Canadian English. In British and other forms of English, it is called a trapezium ().
A trapezoid is necessarily a convex quadrilateral in Eucli ...
for more information on terminology) is a technique for approximating the
definite integral
In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along with ...
.
The trapezoidal rule works by approximating the region under the graph of the function
as a
trapezoid
A quadrilateral with at least one pair of parallel sides is called a trapezoid () in American and Canadian English. In British and other forms of English, it is called a trapezium ().
A trapezoid is necessarily a convex quadrilateral in Eucli ...
and calculating its area. It follows that

The trapezoidal rule may be viewed as the result obtained by averaging the
left
Left may refer to:
Music
* ''Left'' (Hope of the States album), 2006
* ''Left'' (Monkey House album), 2016
* "Left", a song by Nickelback from the album ''Curb'', 1996
Direction
* Left (direction), the relative direction opposite of right
* L ...
and
right
Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical th ...
Riemann sum
In mathematics, a Riemann sum is a certain kind of approximation of an integral by a finite sum. It is named after nineteenth century German mathematician Bernhard Riemann. One very common application is approximating the area of functions or l ...
s, and is sometimes defined this way. The integral can be even better approximated by
partitioning the integration interval, applying the trapezoidal rule to each subinterval, and summing the results. In practice, this "chained" (or "composite") trapezoidal rule is usually what is meant by "integrating with the trapezoidal rule". Let
be a partition of