Calculator Numerical methods
Trapezium rule calculator
In one sentence
Estimates ∫ f with n strips.
Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)
Key facts
Trapezium rule calculator
- Formula ref
- (h/2)[y₀ + yₙ + 2Σy]
- Topic
- Numerical methods
Inputs
- f, a, b, n
Worked input
- Input ∫₀² √(1 + x²) dx with 4 strips.
- ordinates 1.0000, 1.1180, 1.4142, 1.8028, 2.2361
- Estimate = 2.9765.
- Estimate ∫₀¹ x² dx with 4 strips, a convex curve. The width is 0.25, and the rule gives 0.34375. A convex curve lies below its chords, so the trapezium rule overestimates the area, and the size of the error shrinks rapidly as the number of strips is increased. State clearly whether the estimate is likely to be too large or too small by considering the curvature of the graph, since many examination questions ask for this comment in addition to the numerical estimate itself. Check: the exact value is 1/3 = 0.33333, and a convex curve lies below its chords, so the trapezium estimate is an overestimate, as 0.34375 is.
- Estimate ∫₁² 1/x dx with 2 strips, a decreasing curve, so the ordinates 1, 2/3 and 1/2 fall. The rule gives 0.70833. For a decreasing curve the rule is still an overestimate when the curve is convex, and the ordinates must be computed at the correct equally spaced positions, with the right number of strips. Check: the exact value is ln 2 = 0.69315, so the estimate is slightly high, which is typical for a convex decreasing curve.
- Estimate ∫₀¹ √x dx with 4 strips, a concave curve that is very steep at the origin. The rule gives 0.64328. A concave curve lies above its chords, so the rule underestimates, and a very steep start such as the square root near zero makes the underestimate larger than usual. Check: the exact value is 2/3 = 0.66667, and a concave curve lies above its chords, so the trapezium estimate 0.64328 is an underestimate.
How to use it
- Enter f, limits and n.
- More strips improve the estimate.
Trapezium rule calculator in your study of A-level maths, set out with its source.
See also Probability union and conditional calculator, Two-stage tree diagram calculator, Binomial series estimate and Coefficient of xᵏ in a binomial expansion.
Study brief
- Numerical integration is a key component of the a level maths curriculum. One specific method students must understand is the trapezium rule. This technique allows for the estimation of the approximate area located under a curve. For instance, a student might evaluate the integral of 2 x + 1 from 0 to 1. This process involves using specific values for the function, such as the values of 2 x + 1 at x = 0, 0.25, 0.5, 0.75 and 1. By examining a provided graph, it is possible to determine if the trapezium rule produces an over-estimate or an under-estimate for the area. While a calculator can assist with mathematical tasks, students must ensure it is in good working condition and clear any stored information such as text, dictionaries, databanks, or mathematical formulas before an examination. It is also important to remember that calculators should be free of lids, cases, or covers containing printed instructions. Maintaining the power supply is the responsibility of the student during the assessment. This content is part of the Pearson Edexcel Level 3 Advanced GCE in Mathematics specification, Issue 4 from February 2020.
Practise for free
Test yourself with exam-style questions and see why each answer is right or wrong.
More from Numerical methods
-
Change of sign checker
Tests whether a root lies in an interval.
-
Newton-Raphson calculator
Runs Newton-Raphson steps for a polynomial.
-
Arc length and sector area calculator
Finds arc length and sector area from radius and angle.
-
Area between a curve and the x-axis
Splits the area at the roots and adds the absolute values.
-
Arithmetic sequence nth term and sum
Gives the nth term and the sum of the first n terms of an arithmetic sequence.
-
Binomial coefficient calculator
Evaluates C(n, r) = n!/(r!(n − r)!).
-
Binomial series estimate
Estimates (1 + x)ⁿ for small x using the first terms.
-
Circle centre and radius calculator
Reads the centre and radius from x² + y² + 2gx + 2fy + c = 0.