commands → integrate

integrate(A,X)
integrate(A,X,x0,x1)

The integrate command computes an indefinite integral for an expression A with respect to the variable X. If the integral can not be computed then null is returned. If optional third and fourth arguments are provided, the integral is evaluated from x0 <= X <= x1. This assumes the function A(X) is continuous.

Examples

integrate(x^2,x);
	1/3*x^3

integrate(x*ln(x),x);
	-1/4*x^2+1/2*x^2*ln(x)

integrate(sin(x),x,0,pi);
	2