01 / Methods
Methods named
Each step says what was done: power rule, substitution, parts, partial fractions or a standard form.
Free tool
Type a function to get its antiderivative with steps, or add two limits for a definite integral with the exact value, a decimal and the area drawn on a graph. Each answer is checked by differentiating it back, and limits at infinity are supported. No sign-up, nothing leaves your browser.
Steps
Leave both limits empty for an indefinite integral. Limits can be numbers, pi, e, or inf and -inf. Do not type dx.
Worked out in your browser. Nothing is sent anywhere.
The method
01 / Methods
Each step says what was done: power rule, substitution, parts, partial fractions or a standard form.
02 / Checked
The result is differentiated back and compared with your function before it is shown. A failed check is never displayed.
03 / Limits
Exact values between limits, and limits at infinity, with the area drawn on the graph.
Guide
An integral calculator finds the antiderivative of a function, which is a function whose derivative is the one you typed. Add two limits and it gives the area under the curve between them. This one works out the steps and names each method, so you can follow it. It covers polynomials, powers and roots, exponentials, logs, trig and inverse trig functions, products that need integration by parts, fractions that need partial fractions, and many substitutions.
x e^x. Leave out the dx. Multiplication can be left out.A definite integral is F(upper) − F(lower), where F is the antiderivative. Here are four you can type in to check.
| Integral | Antiderivative | Working | Value |
|---|---|---|---|
| x^2 from 0 to 1 | x^3/3 | 1/3 − 0 | 1/3 |
| sin(x) from 0 to pi | −cos(x) | −cos(pi) − (−cos(0)) = 1 + 1 | 2 |
| ln(x) from 1 to e | x ln(x) − x | (e − e) − (0 − 1) | 1 |
| e^(−x) from 0 to inf | −e^(−x) | 0 − (−1) | 1 |
The last row is an improper integral, because the upper limit is infinity. The calculator pushes the limit outwards and checks that the answer settles on a number. If it does not settle, it says the integral diverges. It also looks for places between the limits where the function blows up, such as 1/x from −1 to 1, and tells you the integral has no finite value there instead of giving a wrong number.
Some functions have no antiderivative that can be written with the usual functions. Two famous ones are e^(x^2) and sin(x)/x. When the calculator cannot find one, it says so. If you gave limits, it still gives a numeric estimate and labels it as an estimate, not an exact answer. A few functions do have an antiderivative that needs a method this calculator does not have yet, such as some products of three trig functions or square roots of general quadratics in a product.
Differentiating removes any constant, so many functions share the same derivative. x^2 + 1 and x^2 + 7 both give 2x. The + C stands for that unknown constant. A definite integral has no C, because the constant cancels when you subtract.
To check an answer, differentiate it with the derivative calculator. To see the curve, open the graphing calculator. For equations, there is the algebra calculator.
Questions
An integral adds up many tiny pieces. An indefinite integral gives the antiderivative, and a definite integral gives the signed area between the curve and the x axis.
Yes. It names the method used for each part, such as substitution, parts or partial fractions, and ends with a check that differentiating the answer gives back your function.
Yes. Fill in both limits. It gives the exact value when it can and a decimal beside it. Limits can be pi, e, inf and -inf.
It means the area grows without settling on a number. For example the integral of 1/x from 1 to infinity diverges, so the calculator says it has no finite value.
Some functions, like e^(x^2) and sin(x)/x, have antiderivatives that cannot be written with ordinary functions. That is a fact about the function, not a fault in the calculator.
The variable is chosen for you. Leave Variable on Auto, or pick the letter you are integrating with respect to.
Yes. Before an antiderivative is shown, the calculator differentiates it and compares it with your function at several points. If the check fails, nothing is shown. The engine was also compared against the computer algebra system SymPy on more than fifty functions.
Yes. Other letters are treated as constants, so the integral of a x^2 with respect to x is a x^3/3.
No. The calculation runs in your browser, and the last function you typed is kept on this device only.