Read the value of ∫abf(x)dx under Integral. The signed area is shaded on the graph: area above the x-axis counts as positive, below as negative. Learn more about reading the shaded area
Change the function or either limit and the value and the shading follow at once.
Integral
Integral
∫03x2dx≈9
How it was found
The integral is the signed area between the graph of f and the x-axis, from x=0 to x=3.
Area above the axis counts as positive, area below as negative.
Type a function and the two limits. The calculator gives the value of the definite integral
∫abf(x)dx
and shades the region it measures on the graph. Change the function or a limit and both update at once.
The value is worked out numerically, to many more places than the four shown, so it agrees with the exact answer where one exists: ∫03x2dx shows 9, and ∫02x2dx shows 2.6667, the decimal for 38.
Reading the shaded area
DemoPositive and negative area
Step 0 of 4
The shaded region lies between the curve and the x-axis, from x=a to x=b. The integral is its signed area:
area above the x-axis counts as positive;
area below the x-axis counts as negative.
So a total of 0 does not mean there is no area: ∫02πsinxdx=0 because the arch above and the arch below are the same size. To find the total area regardless of sign, integrate ∣f(x)∣ instead.
If f has a vertical asymptote between a and b, the area is not finite, and the calculator says so rather than give a number.
What a definite integral is
The definite integral of f from a to b adds up the values of f across the interval. Picture the region under the curve cut into thin vertical strips, each of width Δx and height f(x); the sum of their areas, ∑f(x)Δx, gets closer and closer to one number as the strips get thinner. That number is the integral.
For f(x)=x2 from 0 to 3 the region under the parabola has area 9. The Riemann Sum visualizer shows the strips getting thinner.
The area under y=x2 from 0 to 3 is 9.
Signed area
Because f(x)Δx is negative wherever f(x) is negative, the integral subtracts the area that lies below the axis. For sinx:
∫0πsinxdx=2 (the first arch, above the axis);
∫π2πsinxdx=−2 (the second arch, below);
∫02πsinxdx=0 (they cancel).
Swapping the limits changes the sign too: ∫baf(x)dx=−∫abf(x)dx.
One arch of sinx above the axis (positive), one below (negative).
The Fundamental Theorem of Calculus
Integrals can be found exactly with an antiderivative: a function F with F′=f. The Fundamental Theorem of Calculus says
∫abf(x)dx=F(b)−F(a).
For f(x)=2x an antiderivative is F(x)=x2, so ∫132xdx=32−12=8. The calculator gets the same 8 by adding up thin strips, without needing F — which is why it can also handle functions such as e−x2 whose antiderivative has no simple formula.
∫132xdx=8; the dashed curve is the antiderivative x2.
Rules for integrals
A few rules make integrals easier to split up and check:
Symmetry: for an odd function, ∫−aaf(x)dx=0; for an even one, ∫−aaf(x)dx=2∫0af(x)dx.
Each rule can be tried in the calculator: ∫−22x3dx comes out 0.
Asymptotes and infinite areas
When f has a vertical asymptote inside [a,b], the region under the curve runs up forever, and its area may or may not be finite. Such an integral is called improper; it is defined as a limit, and it needs to be worked out by hand.
The calculator refuses to give a number across an asymptote rather than risk a wrong one. For example ∫−11x1dx has no finite value, even though the two halves look as if they might cancel. Between 1 and 3, away from the asymptote, x1 integrates to ln3 without trouble.
x21 and x1 both run up the y-axis.
Common mistakes
Reading the integral as total area. Area below the axis counts as negative; for the total area integrate ∣f(x)∣.
Forgetting to subtract F(a).∫132xdx=9−1, not 9.
Ignoring an asymptote.∫−11x21dx is not −2, though the formula [−x1]−11 suggests it; the area is infinite.
Mixing degrees and radians.∫0πsinxdx=2 uses radians, which is what the calculator uses.