Integrate

Integrate

Integrate[ expr, var ] integrates an expression with respect to a variable.

Usages

Integrate[ expr, var ]

Integrate[ expr, var ] returns the indefinite integral of expr with respect to var.

Example in reduced
The indefinite integral of 2x. Integrate[ 2x, x ] x^2+c

Integrate[ expr, n1, n2, var ]

Integrate[ expr, n1, n2, var ] returns the definite integral between n1 and n2 of expr with respect to var.

Example in reduced
The integral for 2x between 0 and 1. Integrate[ 2x, 0, 1, x ] 1
Options

ConstantName

ConstantName defines the name used for the integration constant. You can use this function in an intermediate step, and later solve for the integration constant you have just defined.

Syntax Example
Integrate[x^2 + 3,x,ConstantName=>c] Integrate[x^2 + 3,x,ConstantName=>c]