The trapezoidal rule is a numerical method to approximate the value of a definite integral. It works by dividing the area under the curve into trapezoids rather than rectangles (as in the midpoint or left/right endpoint methods) and better approximates areas under curves that are non-linear.