Ekuation

purpose

Definite Integral Calculator

Calculate the exact value of any definite integral with step-by-step solutions and shaded area visualization.

Back to Integral Calculator

Enter a mathematical expression using x as the variable.

Number of rectangles shown in the visualization.

Integral Calculator Tips

Click to show tips

Try an Example

Pick a scenario to see how the calculator works, then adjust the values

Basic Polynomial

Integrate x^2 from 0 to 1 using Simpson's rule. Exact answer: 1/3.

Key values: x^2 · [0, 1] · Simpson's rule

Trigonometric Integral

Integrate sin(x) from 0 to pi. Exact answer: 2.

Key values: sin(x) · [0, pi] · Exact: 2

Area Under a Bell Curve

Approximate the Gaussian integral e^(-x^2) from -3 to 3.

Key values: e^(-x^2) · [-3, 3] · Gaussian

Documentation

The Definite Integral

The definite integral of f(x)f(x) from aa to bb accumulates the signed area between the curve and the x-axis:

abf(x)dx=F(b)F(a)\int_a^b f(x) \, dx = F(b) - F(a)

where FF is any antiderivative of ff. This is the Fundamental Theorem of Calculus — it connects differentiation and integration.


Key Properties

PropertyFormula
Linearityab[cf(x)+g(x)]dx=c ⁣abfdx+abgdx\int_a^b [cf(x) + g(x)]\,dx = c\!\int_a^b f\,dx + \int_a^b g\,dx
Reversing limitsabfdx=bafdx\int_a^b f\,dx = -\int_b^a f\,dx
Splitting intervalabfdx=acfdx+cbfdx\int_a^b f\,dx = \int_a^c f\,dx + \int_c^b f\,dx
Zero-widthaafdx=0\int_a^a f\,dx = 0
ComparisonIf f(x)0f(x) \geq 0 on [a,b][a,b], then abfdx0\int_a^b f\,dx \geq 0

Evaluation Example

Compute: 13(2x2+1)dx\int_1^3 (2x^2 + 1) \, dx

=[2x33+x]13=(543+3)(23+1)=2153=583= \left[\frac{2x^3}{3} + x\right]_1^3 = \left(\frac{54}{3} + 3\right) - \left(\frac{2}{3} + 1\right) = 21 - \frac{5}{3} = \frac{58}{3}

Signed vs. Total Area

The definite integral gives signed area — regions below the x-axis contribute negatively. For the total area(always positive), integrate the absolute value:

Total area=abf(x)dx\text{Total area} = \int_a^b |f(x)| \, dx

In practice, find where f(x)=0f(x) = 0, split at those points, and negate the integral on intervals where ff is negative.


Frequently Asked Questions

What is a definite integral?

A definite integral abf(x),dx\int_a^b f(x)\\,dx computes the signed area between the curve f(x)f(x) and the x-axis over the interval [a,b][a, b]. By the Fundamental Theorem of Calculus, it equals F(b)F(a)F(b) - F(a), where FF is any antiderivative of ff.

What is the difference between signed area and total area?

Signed area counts regions below the x-axis as negative, so they subtract from the total. Total area uses f(x)|f(x)| so all regions contribute positively. For example, for sin(x)\sin(x) from 00 to 2π2\pi, the signed area is 0 but the total area is 4.

What does the Fundamental Theorem of Calculus say?

The Fundamental Theorem connects differentiation and integration. It states that if FF is an antiderivative of ff, then the definite integral from aa to bb of f(x),dxf(x)\\,dx equals F(b)F(a)F(b) - F(a). This transforms the problem of computing area into evaluating a function at two points.

Can a definite integral be negative?

Yes. When f(x)f(x) is below the x-axis over most of the interval, the integral is negative because the signed area below the axis outweighs the area above it.

What happens when the upper and lower bounds are reversed?

Reversing the bounds negates the integral: baf(x),dx=abf(x),dx\int_b^a f(x)\\,dx = -\int_a^b f(x)\\,dx. This is one of the fundamental properties of definite integrals.

Related purpose Variants

Explore more purpose options

More Math Calculators

Explore the category

Calculator Search

Search and find calculators