Integral Calculator
Powers ^ · multiply with * or a space · sqrt( ) ln( ) log( ) sin( ) cos( ) tan( ) e pi |x| · implicit products like 2x or x sin x work
Try an example
Numbers, pi, e or -inf
Leave both bounds empty for the antiderivative only
Definite integral
Average value of f on the interval: 3
Indefinite integral (antiderivative)
x^3/3 + CChecked by differentiating the result back to f(x).
Graph
Methods used
- Power rule
Find antiderivatives and definite integrals of functions of x. Definite integrals accept infinite bounds and are computed numerically when no elementary antiderivative exists; each antiderivative is checked by differentiating it back to the original function.
Formula
Worked Example
An antiderivative of x² is x³/3, so the integral from 0 to 3 is 27/3 − 0 = 9: the area under the parabola over that interval. Dividing by the width of the interval, 3, gives the average value of the function.
Frequently Asked Questions
What is the difference between a definite and an indefinite integral?
An indefinite integral is a family of functions, F(x) + C, whose derivative is f(x). A definite integral is a single number, the signed area between f and the x-axis from a to b, equal to F(b) − F(a) by the fundamental theorem of calculus.
Why do some functions have no antiderivative formula?
Every continuous function has an antiderivative, but for some, such as e^(−x²), sin(x)/x and √(1 + x³), it can't be written with elementary functions. Their definite integrals can still be computed numerically: e^(−x²) integrated over the whole real line gives √π ≈ 1.7725.
What does a negative definite integral mean?
More of the area lies below the x-axis than above it on that interval. The integral of sin x from 0 to 2π is 0 because the two halves cancel; integrate |f(x)| to get the total area instead.
Common Mistakes
- !Leaving out the constant of integration, + C, on an indefinite integral.
- !Using ∫ xⁿ dx = xⁿ⁺¹/(n + 1) for n = −1: the integral of 1/x is ln|x| + C.