Trapezoidal Rule - Definition, Formula, Examples, and FAQs
Trapezoidal Rule - Definition, Formula, Examples, and FAQs
Trapezoidal Rule
Read Discuss
Trapezoidal rule is one of the fundamental rules of integration which is used to define the
basic definition of integration. It is a widely used rule and the Trapezoidal rule is named so
because it gives the area under the curve by dividing the curve into small trapezoids instead
of rectangles.
Generally, we find the area under the curve by dividing the area into smaller rectangles and
then finding the sum of all the rectangles but in the trapezoidal rule the area under the curve
is divided into trapezoids and then their sum is calculated. The trapezoidal rule is used to find
the value of the definite integrals in numerical analysis. This rule is also called the trapezoid
rule or the trapezium rule. Let us learn more about the trapezoidal rule, its formula and proof,
example, and others in detail in this article.
In the Trapezoidal rule as the name suggest the area under the curve is divided into several
trapezoids and then their sum is found to get the area of the curve. The trapezoidal rule does
not provide the best approximation of the area under the curve than the Simpson’s Rule but
still, its result is precise enough and this rule is a widely used rule in calculus.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
Got It !
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Trapezoidal Rule Formula
The trapezoidal rule formula is the formula that is used to find the area under the curve. Now
to find the area under the curve using the Trapezoidal Rule,
Let y = f(x) be a continuous curve defined on the closed interval [a, b]. Now we divide the
closed interval [a, b] into n equal subintervals, with each having the width of,
Δx = (b – a)/n
Such that,
Now using the Trapezoidal rule formula we can find the area under the curve as,
∫ba f(x) dx = Area Under the Curve = (Δx/2) [y0 + 2 (y1 + y2 + y3 + ….. + yn-1) + yn]
where, y0, y1, y2, …. yn are the values of function at x = 1, 2, 3, ….., n respectively.
Statement:
Let f(x) be a continuous function defined on the interval (a, b). Now we divide the intervals (a,
b) into n equal sub-intervals where the width of each interval is,
Δx = (b – a)/n
where, xi = a + i△x
Proof:
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
This formula is proved by dividing the area under the given curve as shown in the above
figure into various trapezoids. The first trapezoid has a height Δx and the length of parallel
bases are f(x0) and f(x1)
Similarly, the area of the remaining trapezoids are (1/2)Δx [f(x1) + f(x2)], (1/2)Δx [f(x2) + f(x3)],
and so on.
∫ba f(x) dx≈ (Δx/2) (f(x0)+2 f(x1)+2 f(x2)+2 f(x3)+ … +2f(xn-1) + f(xn))
We have to find the value of the definite integral, ∫ba f(x) dx. The value of the definite integral
can be calculated using the trapezoidal rule by following the steps below,
Step 1: Mark the value of sub-intervals, “n” and intervals “a” and “b”.
Step 2: Find the width of sub-interval (△x) using the formula △x = (b – a)/n
Step 3: Put all the values in the trapezoidal rule formula and find the approximate area
of the given curve which represents the definite integral ∫ba f(x) dx
where, xi = a + i△x
A = A1 + A2 + ….+ An
⇒A=
⇒A=
This is called the sigma notation or summation notation of the trapezoid sums.
Riemann Sums
The Riemann sums up work on the idea of diving the area under the curve into different
rectangular parts. As the number of rectangles increases, the area becomes closer and closer
to the current area. In the figure shown below, there is a function f(x). The area under this
function is divided into many rectangles. The total area under the curve is the sum of the
areas of all the rectangles.
Notice that in the above figure, the right end of the rectangles touches the curve. This is
called right-Riemann sums.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
In another case, when the left end of the rectangles touches the curve as shown in the image
below, they are called left Riemann sums.
Let’s say Δx is the width of the interval width n is the number of intervals as stated above.
Then the area of the curve represented by the sum is given by,
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Let’s say Ai denotes the area of the ith rectangle. The area of this rectangle in this case will
be,
Now, the total area in the summation notation will be given by,
Read More,
Integration Formulas
Integration by Parts
Differentiation and Integration Formula
Solution:
Here a = 0, b = 4 and n = 4.
Example 2: Find the area enclosed by the function f(x) between x = 0 to x = 3 with 3
intervals.
f(x) = x
Solution:
Here a = 0, b = 3 and n = 3.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Example 3: Find the area enclosed by the function f(x) between x = 0 to x = 2 with 2
intervals.
f(x) = 2x
Solution:
Here a = 0, b = 2 and n = 2.
Example 4: Find the area enclosed by the function f(x) between x = 0 to x = 3 with 3
intervals.
f(x) = x2
Solution:
Here a = 0, b = 3 and n = 3.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
The trapezoidal rule for n = 3 is,
Example 5: Find the area enclosed by the function f(x) between x = 0 to x = 4 with 4
intervals.
f(x) = x3 + 1
Solution:
Here a = 0, b = 4 and n = 4.
Example 6: Find the area enclosed by the function f(x) between x = 0 to x = 4 with 4
intervals.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
f(x) = ex
Solution:
Here a = 0, b = 4 and n = 4.
Answer:
The trapezoidal rule is the rule that is used to find the definite integral it divides the
area under the curve into several trapezoids and then their individual area is found and
then the sum is calculated to get the value of the definite integral.
Answer:
The
We use trapezoidal
cookies to ensure yourule
have formula is, experience on our website. By using our site, you
the best browsing
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
∫ba f(x) dx = (Δx/2) (f(x0)+2 f(x1)+2 f(x2)+2 f(x3)+ … +2f(xn-1) + f(xn))
Answer:
Trapezoidal Rule Formula is called the trapezoidal rule because it divides the area
under the curve into several trapezoids and then their area is calculated by finding the
sum of the trapezoids.
Q4: What is the Difference Between Trapezoidal Rule and Riemann Sums Rule?
Answer:
The major difference between the Trapezoidal rule and Riemann Sums rule is, as the
trapezoidal rule divides the area under the curve as the trapezoids and then finds the
area by taking their sum whereas, the Riemann Sums divides the area under the curve
as the trapezium and then finds the area by taking their sum.
Similar Reads
Difference between Simpson 's 1/3 Power Rule
rule and 3/8 rule
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Reverse Chain Rule BODMAS Rule
What is all sin tan cos rule? Given the function rule f(x) = x2 - 3x
+ 2, what is the output of f(-2)?
Related Tutorials
What is a Logarithm? - Rules, Economics
Differentiation, Functions &
Properties
Previous Next
Article Contributed By :
anjalishukla1859
A anjalishukla1859
Improved By : satyam_sharma
Article Tags : Maths-Class-12, Picked, Class 12, School Learning, School Mathematics
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy
A-143, 9th Floor, Sovereign Corporate
Tower, Sector-136, Noida, Uttar Pradesh -
201305
Company Explore
About Us Job-A-Thon Hiring Challenge
Legal Hack-A-Thon
Careers GfG Weekly Contest
In Media Offline Classes (Delhi/NCR)
Contact Us DSA in JAVA/C++
Advertise with us Master System Design
Master CP
Commerce UPSC
Accountancy Polity Notes
Business Studies Geography Notes
Economics History Notes
Management Science and Technology Notes
Income Tax Economics Notes
Finance Important Topics in Ethics
Statistics for Economics UPSC Previous Year Papers
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and @geeksforgeeks , Some
understood our Cookie rights
Policy reserved
& Privacy Policy
Do Not Sell or Share My Personal Information
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our Cookie Policy & Privacy Policy