Math Solver Free

Definite Integral Calculator

Numeric integration with Simpson's rule โ€” subinterval working shown.

How Definite Integrals Are Computed

A definite integral โˆซab f(x) dx measures the signed area under the curve between x = a and x = b. The Fundamental Theorem of Calculus says: find an antiderivative F, then compute F(b) โˆ’ F(a). When no elementary antiderivative exists, Simpson's rule approximates the area by fitting parabolas through sample points โ€” with 1000 subintervals, the result is accurate far beyond what homework requires.

Simpson's Rule in One Line

Split [a, b] into an even number n of slices of width h. Then โˆซf โ‰ˆ (h/3)ยท[f(xโ‚€) + 4f(xโ‚) + 2f(xโ‚‚) + 4f(xโ‚ƒ) + โ€ฆ + f(xโ‚™)]. The alternating 4-2-4 weights are what make it far more accurate than simple rectangles or trapezoids.

Exact vs. Numeric

Where the antiderivative is a standard form (powers, sin, cos, e^x), this tool also shows the exact value for comparison. For symbolic antiderivatives in general, try our indefinite integral calculator.

Frequently Asked Questions

What is a definite integral?

It is the signed area under f(x) between two limits a and b, computed as F(b) โˆ’ F(a) where F is any antiderivative of f.

What is Simpson's rule?

A numerical integration method that approximates the area using parabolas through sample points: โˆซf โ‰ˆ (h/3)[f(xโ‚€) + 4f(xโ‚) + 2f(xโ‚‚) + โ€ฆ + f(xโ‚™)] with an even number of subintervals.

How accurate is the numeric result?

With 1000 subintervals, Simpson's rule is accurate to many decimal places for smooth functions. It is still an approximation, not a symbolic proof.

Is this definite integral calculator free?

Yes โ€” every tool on Math Solver Free is free with no sign-up, and all calculations run in your browser.