Integral (integrate)
Antiderivative of an expression, or its definite integral over a range.
With this function, the solver shows the steps whenever it finds them.
How to write it
integrate(f, x)
The indefinite integral: an antiderivative.
- f
- The expression or function to work on. Takes an expression.
- x
- The variable of integration. Takes a variable.
integrate(f, x = a..b)
The definite integral over the range.
- f
- The expression or function to work on. Takes an expression.
- x = a..b
- The variable and its bounds; a bound may be inf. Takes a variable with its range.
integrate(f, x = a..b, y = a..b)
An iterated integral over two ranges.
- f
- The expression or function to work on. Takes an expression.
- x = a..b
- The first variable and its bounds. Takes a variable with its range.
- y = a..b
- The second variable and its bounds. Takes a variable with its range.
Examples
integrate(x^2, x)In the solver,
Open in the solverintegrate(x^2, x)givesx^3/3.integrate(x*sin(x), x)In the solver,
Open in the solverintegrate(x*sin(x), x)givessin(x) - x*cos(x).integrate(x^2, x = 0..1)In the solver,
Open in the solverintegrate(x^2, x = 0..1)gives1/3.integrate(exp(-x^2), x = -inf..inf)In the solver,
Open in the solverintegrate(exp(-x^2), x = -inf..inf)givessqrt(pi).integrate(x^2 + y, x = 0..1, y = 0..1)In the solver,
Open in the solverintegrate(x^2 + y, x = 0..1, y = 0..1)gives5/6.
Functions its examples use
Related functions
- numeric_integrate
Approximate a definite integral numerically.
- jacobian
Jacobian matrix of a list of expressions: their partial derivatives.
- hessian
Hessian matrix of an expression: its second partial derivatives.
- laplacian
Laplacian of an expression: the sum of its second partial derivatives.
- grad
Gradient of an expression: the list of its partial derivatives.
- limit
Limit of an expression as a variable approaches a point.