Trapezoidal Rule Formula: Definition & Solved Examples

Jasmine Grover logo

Jasmine Grover

Education Journalist | Study Abroad Lead

Trapezoidal rule, also referred to as the trapezoid rule or trapezium rule, is a quantitative analytic technique for approximating the definite integral. The trapezoidal rule is an integrating rule that divides a curve into little trapezoids to compute the area beneath it. The surface under the curve is calculated by adding the areas of all the tiny trapezoids. Among the most significant rules in theoretical approach is this rule. Any region that measures the total is subdivided into several sections. 

Read Also: Volume of a Right Circular Cone

Key Terms: Trapezoidal rule, Trapezoid formula, Equation, Integration, approximation, value, integrals, trapezoids, area, definite integral

Trapezoidal Rule

[Click Here for Sample Questions]

Instead of utilising rectangles, the Trapezoidal Rule divides the whole area into tiny trapezoids to find the space under the curves. This integrating determines the area by representing the area under the graph of a variable as a trapezoid. The mean of the left and right sums is used in this rule. 

Whenever the fundamental value is continuous, the Trapezoidal Rule does not produce the same appropriate figure as Simpson's Rule. Simpson's Rule employs quadratic approximation rather than linear approximations. Both Simpson's Method and the Trapezoidal Rule provide an approximation estimate for the integrals, however Simpson's Rule provides a more precise approximation figure.

Graph of Trapezoidal Rule
Graph of Trapezoidal Rule
Check Important Notes for Heron’s Formula

Trapezoid Rule Formula

[Click Here for Sample Questions]

To calculate a numerical solution, we use the trapezoidal rule formula to calculate the region under the curve by dividing the overall area into small trapezoids instead of rectangles. The linear estimations of the functions are utilised to approximate the definite integrals in this rule. The mean of the left and right sums is used in the trapezoidal rule.

On [a, b], let y = f(x) be constant. The range [a, b] is divided into n equivalent subintervals, each with a width of h = (b - a)/n.

That is = x00 < x11 < x22 < ... < xnn = b

Trapezoid Rule Formula

Here, 

y0y0, y1y1,y2y2…. are the estimates of function at x = 1, 2, 3….. respectively.

Trapezoid Rule Formula

Trapezoid Rule Formula

Examples of Trapezoid Rule Formula

[Click Here for Sample Questions]

Let's test it out by simulating the region under the function f(x)= 3 ln (x) with three trapezoids. When we label the first trapezoid T1, T2, and T3, here is how it looks in a diagram.

Graph of f(x)= 3 in (x)
Graph of f(x)= 3 in (x)

The area of trapezoid is \(h (\frac{b_{1}+b_{2}}{2})\) where h is the representation of height & ‘b’ as bases.

FINDING T1 AREA- 

Trapezoid Formula

Read More: Surface Area of a Right Circular Cone

By putting altogether, we get

Trapezoid Formula

By simplification,

Trapezoid Formula

FINDING T2-

Finding height & bases

Trapezoid Formula

By simplification,

Trapezoid Formula


Riemann Sums

[Click Here for Sample Questions]

Riemann summarises work on the concept of dividing the area under the arc into rectangular sections. The area gets closer and nearer to the present area as the count of rectangles grows. There is a functional f in the diagram below (x). This function divides the area into several rectangles. The total area underneath the curve is equivalent to the total of the rectangles' surfaces.

Riemann Sums

The right corner of the rectangles touches the curve in this case. Right-Riemann sums are the term for this. Left Riemann summation is formed when the left side of the rectangles contacts the curve in another scenario. The left-Riemann sum is illustrated in the diagram beneath.

Riemann Sums

The sum given will be

Riemann Sums

Check More: Factorial Formula


Things to Remember

  • The trapezoidal rule calculates the area of the zone under the graphs of the function f(x) that is approximated as a trapezoid.
  • The trapezoidal rule can be thought of as the result of summing the left and right Riemann summation, and it is often defined in this way.
  • By dividing the integral interval, implementing the trapezoidal method to each subinterval, and combining the results, the total can be estimated even better.
  • In practice, "incorporating with the trapezoidal rule" usually refers to this "shackled" (or "composite") trapezoidal rule.
  • The trapezoidal rule is part of the Newton–Cotes series of numerical integration equations, which includes the midpoint rule, which is related to the trapezoidal rule.
  • Approaches with different basis points, including such Gaussian quadrature and Clenshaw–Curtis quadrature, are usually more effective for non-periodic distributions.
  • Clenshaw quadrature can be seen as a shift in variables that allows arbitrary integrals to be expressed in terms of regular integrals, allowing the trapezoidal rule to be performed precisely.
  • For the same amount of objective functions, the trapezoidal rule frequently provides sharper boundaries than Simpson's rule.

Also Read:


Sample Questions

Ques. What is the Applicability of Trapezoid rule? (3 marks)

Ans. The trapezoidal rule is part of the Newton–Cotes group of numerical assimilation formulas, which includes the midpoint rule, which is related to the trapezoidal law. Simpson's rule is yet another component of the same group, and for functions that are twice constantly differentiable, it has a faster rate of convergence than the trapezoidal rule in average, albeit not in all circumstances. 

The trapezoidal rule, on the other hand, has a higher convergence rate than Simpson's rule for certain classes of coarser functions (those with weaker smoothing criteria). Furthermore, when periodic variables are combined throughout their periods, the trapezoidal rule is likely to become exceedingly precise, which can be studied in a variety of ways. Maximum functionalities also have a similar effect.

Ques. Applying the trapezoidal rule formula, determine the area underneath the curve that goes through the mentioned sequence: (3 marks)
Applying the trapezoidal rule formula, determine the area underneath the curve that goes through the mentioned sequence

Ans. Presented: y00 = 5
y1y1= 6
y2y2= 9
y3y3= 11
h = (0.5 - 0) = (1 - 0.5) = (1.5 - 1) = 0.5

By applying Trapezoidal Rule Formula,

Area = h2[y0+yn+2(y1+y2+y3+.....+yn−1)]h2[y0+yn+2(y1+y2+y3+.....+yn−1)]

= 0.52[5+11+2(6+9)]0.52[5+11+2(6+9)]

= 0.25[16+30]

= 0.25[46]

= 11.5

Hence, the area underneath the curve is 11.5 sq units.

Ques. Which Quantitative integration method is the best? (2 marks)

Ans. The finest numerical approach of inclusion is called Gaussian quadrature if the parameters are known analytically rather than tabulated at evenly spaced frequencies. Gaussian quadrature provides the most precise approximations available by selecting the abscissas at which to assess the function. Considering the pace of today's electronics, however, the added complexity of the Gaussian quadrature approach is typically less desired than just brute-forcing twice as many dots on a grid pattern.

Ques. Determine the area underneath the curve y = x2 between x = 0 and x = 4 by utilising the Trapezoidal Rule Formula with a scale factor of 1. (4 marks)

Ans. Presented: y = x2
h = 1

Evaluate the values of ‘y’ for different variables of ‘x’ by putting the value of ‘x’ in the equation y = x2

X 0 1 2 3 4
y = x22 y00 = 0 y11 = 1 y22 = 4 y33 = 9 y44 = 16

By applying Trapezoidal Rule Formula:

Area = h2[y0+yn+2(y1+y2+y3+.....+yn−1)]h2[y0+yn+2(y1+y2+y3+.....+yn−1)]

= 12[0+16+2(1+4+9)]12[0+16+2(1+4+9)]

= 0.5[16 + 28]

= 22

Hence, the area underneath the curve is 22 sq units.

Ques. The trapezoidal rule formula, which travels through the following locations, can be used to calculate the area beneath the curve: (3 marks)
x00.511.5
y471015

Ans. Presented: y00= 4
y1y1 = 7
y2y2 = 10
y3y3 = 15
h = (0.5 - 0) = (1 - 0.5) = (1.5 - 1) = 0.5

By applying Trapezoidal Rule Formula:

Area = h2[y0+yn+2(y1+y2+y3+.....+yn−1)]h2[y0+yn+2(y1+y2+y3+.....+yn−1)]

= 0.52[4+15+2(7+10)]0.52[4+15+2(7+10)]

= 0.25[19+34]

= 0.25[53]

= 13.25

Hence, the area underneath the curve is 13.25 sq units.

Ques. Applying the Trapezoidal Rule with n = 4 subintervals, estimate the area underneath the curve y = f(x) between x = 0 and x=8. In the list of values, there is a function f(x). (3 marks)
Applying the Trapezoidal Rule with n = 4 subintervals, estimate the area underneath the curve y = f(x) between x = 0 and x=8. In the list of values, there is a function f(x)

Ans. The Trapezoidal Rule for n= 4 subintervals is Presented as:

T4 =(Δx/2)[f(x0)+ 2f(x1)+ 2f(x2)+2f(x3) + f(x4)]

We can see the subinterval width Δx = 2.

Now, through substitution the values from the table, to find the approximation value of the area underneath the curve.

A≈ T4 =(2/2)[3+ 2(7)+ 2(11)+2(9) + 3]

A≈ T4 = 3 + 14 + 22+ 18+3 = 60

Hence, the approximation value of area underneath the curve using Trapezoidal Rule is 60.

Ques. Calculate the location encompassed by the function f(x) with two intervals between x = 0 and x = 2. 2x Equals f(x). (3 marks)

Ans. We are provided a=0, b=2, c=-2

Trapezoid Rule

The trapezoid rule for n=2 is,

Trapezoid Rule

By substitution, we get

Trapezoid Rule

Ques. By using the Trapezoid formula, numerically integrate the following equation: from a=0 to b=2. Trapezoidal Rule (3 marks)

Ans. Trapezoidal Rule

The real solution is

Trapezoidal Rule

As f(x) is the linear function, the trapezoid rules give the right solution.

Ques. By using the Trapezoid formula, numerically integrate the following equation: Riemann Sums  (3 marks)
from a=0, b=2

Ans. ??

The real solution:

Trapezoidal Rule

The Relative error:

Trapezoidal Rule

Ques. By using the 2- segment Trapezoid formula, numerically integrate the following equation: (3 marks)

Ans.Riemann Sums

The Relative error is

Riemann Sums

For Latest Updates on Upcoming Board Exams, Click Here: https://t.me/class_10_12_board_updates


Check-Out: 

CBSE CLASS XII Related Questions

  • 1.
    Using integration, find the area of the region bounded by the curve \( y = x|x| \), the x-axis, and the vertical lines \( x = -2 \) and \( x = 2 \).


      • 2.
        Differentiate \( \tan^{-1}\left( \frac{\sqrt{1 + x^2} + \sqrt{1 - x^2}}{\sqrt{1 + x^2} - \sqrt{1 - x^2}} \right) \) with respect to \( \cos^{-1}(x^2) \).


          • 3.
            Find:

            The principal value of \[ \sec^{-1}(\sqrt{2})+2\csc^{-1}(-2) \] is:

              • \(-\frac{\pi}{2}\)
              • \(-\frac{\pi}{4}\)
              • \(\frac{\pi}{4}\)
              • \(\frac{\pi}{2}\)

            • 4.
              Which of the following equations is NOT a Linear Differential Equation?

                • \((1 + x^2) \, dy + 2xy \, dx = \cot x \, dx\)
                • \(y + \frac{d}{dx}(xy) = x(\sin x + \log x)\)
                • \(x(1 + y^2) \, dx - y(1 + x^2) \, dy = 0\)
                • \(y \, dx - (x + 3y^2) \, dy = 0\)

              • 5.

                Find:
                Let \(A=[a_{ij}]\) be a \(2\times2\) matrix whose elements are given by \[ a_{ij}=\frac{(2i-j)^2}{3} \] Find the transpose matrix \(A'\).

                  • \(\begin{bmatrix} \frac{1}{3} & 3 \\ 0 & \frac{4}{3} \end{bmatrix}\)
                  • \(\begin{bmatrix} \frac{1}{3} & 0 \\ 3 & \frac{4}{3} \end{bmatrix}\)
                  • \(\begin{bmatrix} \frac{4}{3} & 3 \\ 1 & 0 \end{bmatrix}\)
                  • \(\begin{bmatrix} \frac{4}{3} & 0 1 & \frac{3}{3} \end{bmatrix}\)

                • 6.
                  If \( xy = e^{x - y} \), then find \( \frac{dy}{dx} \).

                    CBSE CLASS XII Previous Year Papers

                    Comments


                    No Comments To Show