Solve bounded piecewise integrals using flexible interval entries. Track each segment contribution and total area. Download tables, print summaries, and inspect curves with confidence.
| Piece | Interval | Expression | Used Bounds | Segment Integral |
|---|---|---|---|---|
| Piece 1 | [-2, 0] | x^2 | [-1, 0] | 0.333333 |
| Piece 2 | [0, 2] | 2*x+1 | [0, 1.5] | 3.75 |
| Total | — | — | [-1, 1.5] | 4.083333 |
This calculator evaluates a definite integral over a piecewise function by splitting the chosen bounds into the parts that overlap each defined piece.
For each active overlap, it applies:
∫ab f(x) dx = Σ ∫LiRi fi(x) dx
Here, Li = max(a, piece start) and Ri = min(b, piece end).
Each segment integral is approximated numerically with the composite Simpson rule:
∫LR f(x) dx ≈ h/3 [f(x0) + f(xn) + 4Σf(xodd) + 2Σf(xeven)]
where h = (R − L) / n and n is an even number of steps.
Gaps between defined pieces are treated as zero on the uncovered parts of the chosen interval.
It computes the definite integral of a piecewise function over chosen bounds. It also shows segment contributions, absolute area, mean value, and a graph.
Yes. The calculator automatically splits the interval wherever your bounds intersect defined pieces, then adds those segment integrals together.
Any uncovered subinterval is treated as zero. The notes section lists those uncovered intervals so you can check your piecewise definition.
No. Overlapping pieces are rejected because a standard piecewise function should assign one rule to each x-value in the interval.
Yes. Reversing the bounds changes the sign of the definite integral. The calculator reports that in the notes section.
You can use x, parentheses, +, -, *, /, ^, sin, cos, tan, sqrt, abs, exp, ln, log, pow, pi, and e.
More steps usually improve numerical accuracy, especially for curved or rapidly changing pieces. The step count must stay even for Simpson integration.
The exports include the main summary values and the piece contribution table, making the result easy to store, print, or share.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.