Formulas » Trapezoid Rule Formula

Trapezoid Rule Formula with Solved Examples

In Mathematics trapezoidal rule or trapezoid rule is a technique for estimating the definite integral in numerical analysis. Explore more about the trapezoid rule with solved examples.

Trapezoid Rule Formula 

The trapezoid rule is usually an integration of rules that are used to calculate the area under a curve just by dividing the curve into smaller trapezoids. The sum of all small trapezoids will give us the area under the curve. According to the trapezoidal rule, we can evaluate the area under the curve by dividing the total area of a small trapezoid rather than any rectangle. 

Now let’s apply the trapezoid Rule Formula to solve the definite integral by calculating the area under the curve by dividing the total area into small trapezoids rather than rectangles. This rule is usually used to approximate the definite integral where it requires a linear approximation of the function. The trapezoid Rule averagely requires the left and right sum. 

Let y = f(x) continues on a,b. Now let’s divide (a,b) by n equal sub intervals each of its width 

h = (b-a)/n 

So, X1<X2<X3<……Xn 

Area = (h/2) {y1 +2 (y1+y2+y3….Yn-1) Y

Solved Examples

Example 1 

Find out the area under the curve with help of the Trapezoid Rule Formula that passes through the following points

0

0.5

1

1.5

5

6

9

11 

Given, 

Y0 – 5, Y1 – 6, Y2 – 9, Y3 – 11 

h – 0.5-0 = 0.5 

Area of Trapezoid Formula = (h/2) {y0 + yn +2 (y1+y2+y3….Yn-1)} 

                          = 0.5/2 {5+11+2 (6+9)} 

                         = 11.2 sq units 

Thus, the area under the curve is 11.2 sq units. 

Example 2 

With the help of the Trapezoidal rule, the formula finds the area under the curve y = X sq between x = 0 and x = 4 using the step size of 1 

Given, y = x

h = 1 

Let’s find out the value of y with help of this y = x

X

0

1

2

3

4

Y

4

9

16 

Using trapezoid Rule

Area of under the curve= (h/2) {y0 + Yn +2 (y1+y2+y3….Yn-1)} 

          = 1/2 {0+16+2(1+4+9)} 

           = 22 

Therefore, an area under the curve is 22 sq units.

faq

Frequently asked questions

Get answers to the most common queries related to the Trapezoid Rule Formula.

What is Trapezoid Rule?

Ans. The trapezoid Rule is generally integration of rules that is found by dividing the area under the curve by smal...Read full

Why this rule is named after a trapezoid?

Ans. The rule is named after trapezoid because when we are evaluating then the area under the curve is divided by sm...Read full

What is the trapezoid Rule Formula?

Ans. Area = (h/2) {y0 +2 (y...Read full