Concept Architecture
Concept
Theoretically, Trapezoidal Rule is a numerical integration method that approximates the value of a definite integral by replacing the underlying function with a series of straight-line segments connecting adjacent observations. The area beneath each segment forms a trapezium, and the sum of these trapezia provides an approximation to the integral. The method is a first-order Newton?Cotes quadrature technique and is widely used when a function is known only at discrete points. In health economics, the trapezoidal rule is commonly applied to estimate cumulative costs, quality-adjusted life years, life expectancy and areas under survival or utility curves.
Mathematically, the trapezoidal rule approximates the integral by averaging adjacent function values and multiplying by the interval width. The composite trapezoidal rule extends this calculation across multiple intervals. Although generally less accurate than Simpson Method for smooth functions, it is applicable to irregularly spaced observations and requires fewer assumptions regarding the functional form between measurement points.
In practice, analysts apply the trapezoidal rule whenever continuous outcomes are observed at discrete time points. Health economists routinely use the method to calculate quality-adjusted survival, cumulative healthcare costs, cumulative incidence functions and areas under longitudinal health utility curves collected during clinical studies.
Purpose
Used to approximate definite integrals from discrete observations, particularly for estimating cumulative costs, health outcomes and survival measures in health economic analyses.
Mathematical Formulae
Primary Formula
For a single interval,
??? f(x) dx � (b ? a)/2 [f(a) + f(b)]
Supporting Formulae
Composite Trapezoidal Rule:
??? f(x) dx � h[(f(x?) + f(x?))/2 + �???�?? f(x?)]
where
h = (b ? a)/n
For unequal interval widths,
??? f(x) dx � �???� [(x? ? x???)/2][f(x?) + f(x???)]
Related Mathematical Methods
- Numerical integration
- Newton?Cotes quadrature
- Simpson Method
- Gaussian quadrature
- Area under the curve (AUC) estimation
Example
A health economist estimates cumulative health utility over one year using utility values collected at six-month intervals.
| Time (years) | Utility |
|---|---|
| 0.0 | 0.90 |
| 0.5 | 0.82 |
| 1.0 | 0.75 |
Using the composite trapezoidal rule,
AUC = (0.5/2)(0.90 + 0.82) + (0.5/2)(0.82 + 0.75)
= 0.43 + 0.3925 = 0.8225
The estimated quality-adjusted survival over one year is 0.8225 QALYs.
Excel Implementation
| Function | Example Formula | Health Economics Application |
|---|---|---|
| SUMPRODUCT | =SUMPRODUCT((A3:A10-A2:A9),(B3:B10+B2:B9)/2) | Calculates the composite trapezoidal approximation for costs, utilities or survival data. |
| INDEX | =INDEX(B:B,ROW(A2)+1) | Retrieves adjacent observations for numerical integration. |
| ROW | =ROW(A2) | Supports sequential interval calculations. |
| SUM | =SUM(C2:C9) | Sums trapezoidal areas across all intervals. |
VBA (Optional)
Automate trapezoidal integration for longitudinal cost, utility and survival datasets with variable observation intervals.
Sources
- Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation.
- Drummond MF, Sculpher MJ, Claxton K, Stoddart GL, Torrance GW. Methods for the Economic Evaluation of Health Care Programmes. 4th ed.
- Burden RL, Faires JD. Numerical Analysis.
- Atkinson KE. An Introduction to Numerical Analysis.
- Press WH, Teukolsky SA, Vetterling WT, Flannery BP. Numerical Recipes: The Art of Scientific Computing.
Related Concepts (7)
Library
Publications
1
Modeling Good Research Practices — Overview: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-1 — Caro, Briggs, Siebert & Kuntz, Task Force Report 1 ed., 2012 (Value in Health / Medical Decision Making)
The overview paper of the seven-part ISPOR-SMDM modelling good-practice series, setting out best-practice recommendations across model design, technique selection, implementation, validation, parameterisation, uncertainty and use in decision making.
Journal ArticleView source →
Frequently Asked Questions (6)
What is the trapezoidal rule?
A numerical integration technique approximating a definite integral by dividing the area under a curve into trapezoids and summing their areas.
Source: Press et al. 2007
When is the trapezoidal rule adequate despite its simplicity?
The trapezoidal rule joins successive data points with straight lines and sums the areas of the trapezoids beneath them, which is simpler than fitting curves but less exact for a bending function. It is adequate where the function is nearly straight between points, or where the points are close enough together that little curvature is missed in each step. For smooth data sampled finely, its error becomes small and its simplicity is an advantage. Where accuracy matters more, a curve-fitting method is preferred. Press and colleagues (2007) describe it.
Source: Press et al. 2007
How does the trapezoidal rule work?
The trapezoidal rule works by dividing the integration interval into subintervals, evaluating the function at the endpoints of each, and approximating the area over each subinterval as a trapezoid with those endpoint values as its parallel sides. The areas of the trapezoids are summed to estimate the integral. Because it connects adjacent points with straight lines, the rule is straightforward to apply, needing only the function values at the chosen points, and its accuracy improves as more subintervals are used.
Source: Press et al. 2007
How does the trapezoidal rule compare with Simpson's rule?
The trapezoidal rule and Simpson's rule are both numerical integration methods but differ in how they approximate the function: the trapezoidal rule uses straight-line segments, forming trapezoids, while Simpson's rule uses parabolas over pairs of intervals. Because parabolas capture curvature that straight lines miss, Simpson's rule is generally more accurate for smooth functions with the same number of points. The trapezoidal rule is simpler but less accurate, so it suits situations where its simplicity suffices or the function is not smooth.
Source: Press et al. 2007
Where is the trapezoidal rule used?
The trapezoidal rule is used to approximate integrals in statistics and modelling where an analytical solution is unavailable, such as computing the area under a curve, which arises in estimating mean survival from a survival curve, calculating quality-adjusted life years, or integrating over a distribution. Its simplicity makes it convenient, and it is often applied to data given at discrete points. For smooth functions where greater accuracy is wanted, methods such as Simpson's rule may be preferred, but the trapezoidal rule remains widely used.
Source: Press et al. 2007
What are the limitations of the trapezoidal rule?
The trapezoidal rule's main limitation is that its straight-line approximation between points introduces error where the function curves, so it is less accurate than methods using curved segments, and it can systematically over- or underestimate for convex or concave functions unless many subintervals are used. Its accuracy improves with more points but at greater computation. For smooth functions, more accurate methods exist, so the trapezoidal rule is chosen where its simplicity is adequate or the data suit a linear approximation between points.
Source: Press et al. 2007
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 17 Oct 2025
Content version: 1.0.0
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/trapezoidal-rule
- Term code
- HE-EM-MV-085
Stable URI · Machine-readable · Resolvable · CC BY 4.0