Trapezoidal Rule - Formula - Cuemath
Có thể bạn quan tâm
In mathematics, the trapezoidal rule, also known as the trapezoid rule or trapezium rule is a technique for approximating the definite integral in numerical analysis. The trapezoidal rule is an integration rule used to calculate the area under a curve by dividing the curve into small trapezoids. The summation of all the areas of the small trapezoids will give the area under the curve. Let us understand the trapezoidal rule formula and its proof using examples in the upcoming sections.
| 1. | What is Trapezoidal Rule? |
| 2. | Trapezoidal Rule Formula |
| 3. | Derivation of Trapezoidal Rule Formula |
| 4. | How to Apply Trapezoidal Rule? |
| 5. | FAQs on Trapezoidal Rule |
What is Trapezoidal Rule?
The trapezoidal rule is applied to solve the definite integral of the form b∫a f(x) dx, by approximating the region under the graph of the function f(x) as a trapezoid and calculating its area. Under the trapezoidal rule, we evaluate the area under a curve is by dividing the total area into little trapezoids rather than rectangles.
Trapezoidal Rule Formula
We apply the trapezoidal rule formula to solve a definite integral by calculating the area under a curve by dividing the total area into little trapezoids rather than rectangles. This rule is used for approximating the definite integrals where it uses the linear approximations of the functions. The trapezoidal rule takes the average of the left and the right sum.
Let y = f(x) be continuous on [a, b]. We divide the interval [a, b] into n equal subintervals, each of width, h = (b - a)/n,
such that a = x0 < x1 < x2 < ⋯ < xn = b
Area = (h/2) [y0 + 2 (y1 + y2 + y3 + ..... + yn-1) + yn]
where,
- y0, y1,y2…. are the values of function at x = 1, 2, 3….. respectively.

Derivation of Trapezoidal Rule Formula
We can calculate the value of a definite integral by using trapezoids to divide the area under the curve for the given function.
Trapezoidal Rule Statement: Let f(x) be a continuous function on the interval (a, b). Now divide the intervals (a, b) into n equal sub-intervals with each of width,
Δx = (b - a)/n, such that a = x0 < x1 < x2 < x3 <…..< xn = b
Then the Trapezoidal Rule formula for area approximating the definite integral b∫af(x)dx is given by:
b∫af(x) dx ≈ Tn = △x/2 [f(x0) + 2f(x1) + 2f(x2) +….2f(xn-1) + f(xn)]
where, xi = a + i△x
If n → ∞, R.H.S of the expression approaches the definite integral b∫a f(x)dx
Proof:
To prove the trapezoidal rule, consider a curve as shown in the figure above and divide the area under that curve into trapezoids. We see that the first trapezoid has a height Δx and parallel bases of length y0 or f(x0) and y1 or f1. Thus, the area of the first trapezoid in the above figure can be given as,
(1/2) Δx [f(x0) + f(x1)]
The areas of the remaining trapezoids are (1/2)Δx [f(x1) + f(x2)], (1/2)Δx [f(x2) + f(x3)], and so on.
Consequently,
∫ba f(x) dx ≈ (1/2)Δx (f(x0)+f(x1) ) + (1/2)Δx (f(x1)+f(x2) ) + (1/2)Δx (f(x2)+f(x3) ) + … + (1/2)Δx (f(n-1) + f(xn) )
After taking out a common factor of (1/2)Δx and combining like terms, we have,
∫ba f(x) dx≈ (Δx/2) (f(x0)+2 f(x1)+2 f(x2)+2 f(x3)+ ... +2f(n-1) + f(xn) )
How to Apply Trapezoidal Rule?
The trapezoidal rule can be applied to solve the definite integral of any given function. It calculates the area under the curve formed by the function by dividing it into trapezoids and is a lesser accurate method in comparison to Simpson’s Rule. Both Simpson’s Rule and Trapezoidal Rule give the approximation value, but Simpson’s Rule results in an even more accurate approximation value of the integrals because Simpson’s Rule uses the quadratic approximation instead of linear approximation.
Follow the below-given steps to apply the trapezoidal rule to find the area under the given curve, y = f(x).
- Step 1: Note down the number of sub-intervals, "n" and intervals "a" and "b".
- Step 2: Apply the formula to calculate the sub-interval width, h (or) △x = (b - a)/n
- Step 3: Substitute the obtained values in the trapezoidal rule formula to find the approximate area of the given curve, b∫a f(x)dx ≈ Tn = (△x/2) [f(x0) + 2 f(x1) + 2 f(x2) +….+ 2 f(n-1) + f(n)], where, xi = a + i△x
Let us have a look at a few examples to understand trapezoidal rule better.
Từ khóa » H=b-a/n
-
The Trapezium Rule – Mathematics A-Level Revision
-
[PDF] Numerical Methods - UCL
-
Trapezoidal Rule - Wikipedia
-
Simpson's Rule - Wikipedia
-
The Trapezium Rule In 5 Minutes - YouTube
-
[PDF] For ∫ F(x)dx; • Divide [a, B] Into N Equal Subintervals With Xi = A + I(b
-
Trapezoidal Rule For Integration (Definition, Formula, And Examples)
-
The Trapezium Rule, Integration, Pure Mathematics
-
Simpson's Rule: The Formula And How It Works - FreeCodeCamp
-
Trapezoidal Rule For Approximate Value Of Definite Integral
-
Trapezoidal Rule - An Overview | ScienceDirect Topics
-
Driving Angel Investment | Halo Business Angel Network (HBAN)
-
[PDF] TRAPEZOIDAL METHOD ERROR FORMULA Theorem Let F(x) Have ...