Loading…

Integral Graph and Area Visualizer

Math Calculus • Integrals

View all topics

Visualize a definite integral as net signed area and as an accumulated change function. Enter a function, choose an interval, and compare left, right, midpoint, trapezoidal, and Simpson approximations.

Definite integral \(\displaystyle \int_a^b f(x)\,dx\) Net signed area \(\displaystyle \text{area above }x\text{-axis}-\text{area below }x\text{-axis}\) Accumulated change \(\displaystyle A(x)=\int_a^x f(t)\,dt\) Midpoint sum \(\displaystyle M_n=\Delta x\sum_{i=1}^{n}f\!\left(\frac{x_{i-1}+x_i}{2}\right)\)

Function and interval

Enter any graphable function of \(x\). Supported functions include sin, cos, tan, exp, ln, log, sqrt, and abs. Examples: sin(x), x^2-4, exp(-x^2), x cos(x).

Use smaller \(n\) for clearer rectangle animation.
Live preview
\[\int_0^{\pi}\sin(x)\,dx\]

Graph and output settings

Quick examples

Ready
Enter a function and interval, then click “Visualize integral”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does net signed area mean?

Net signed area means that area above the x-axis counts positive and area below the x-axis counts negative.

What is the difference between net area and total area?

Net area subtracts area below the x-axis, while total geometric area counts both above and below as positive.

What does the accumulated change graph show?

It shows A(x) = integral from a to x of f(t) dt, so each point gives the accumulated signed area from the lower bound to that x-value.

What is a left Riemann sum?

A left Riemann sum uses the left endpoint of each subinterval as the rectangle height.

What is a right Riemann sum?

A right Riemann sum uses the right endpoint of each subinterval as the rectangle height.

What is a midpoint Riemann sum?

A midpoint Riemann sum uses the midpoint of each subinterval as the rectangle height.

What does the trapezoidal rule do?

The trapezoidal rule approximates the area under the curve using trapezoids instead of rectangles.

Why does Simpson’s rule sometimes use a different n?

Simpson’s rule requires an even number of subintervals. If n is odd, the calculator uses the next even number.

Can I use pi in the bounds?

Yes. You can use pi, pi/2, 2pi, and similar expressions.

Is the shaded area exact?

The shading is a visual representation. The displayed integral value is calculated numerically using high-resolution Simpson approximation.