Try it yourself:


integrate(): find an antiderivative

integrate(expr, variable) symbolically integrates an expression. It finds a function whose derivative is the input; for example, integrating x^2 with respect to x gives x^3 / 3, up to an arbitrary constant.

Definite and indefinite work

An indefinite integral represents a family of functions, so remember the constant of integration when applying it outside the calculator. A definite integral uses bounds and represents accumulated signed area. Check a symbolic answer by applying derivative().

Useful companions

Use simplify() to make an expression easier to read, subset() when extracting data for numerical work, and sum() for finite discrete accumulation. Functions such as sin() and exp() commonly appear in integrands.

Limits

Not every elementary expression has an elementary antiderivative. State the variable explicitly in multivariable expressions and inspect assumptions about constants, units, and singularities.

Try Integrate in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions