cos(-5*x), not cos(-5x).e^(-x^2), not e^-x^2.
Type a function, choose the variable of integration, and MathLive finds the antiderivative symbolically — an exact formula, not a decimal approximation. Leave the bounds empty for an indefinite integral, or enter a lower and upper bound (for example 0 and pi) for a definite integral. The answer is simplified, shown in proper math notation, and can be copied as LaTeX, exported as a PNG, or sent to the MathLive grapher to plot.
For ∫ x·sin(3x) dx, let u = x and dv = sin(3x) dx, so du = dx and v = −cos(3x)/3. Then ∫ u dv = uv − ∫ v du = −x·cos(3x)/3 + ∫ cos(3x)/3 dx = −x·cos(3x)/3 + sin(3x)/9 + C. Type x*sin(3*x) to check it.
∫₀^π sin(x) dx = [−cos(x)]₀^π = −cos(π) + cos(0) = 1 + 1 = 2. A definite integral gives the net signed area between the curve and the x-axis: area above the axis counts as positive, area below as negative.
Use * for multiplication and ^ for powers, for example x^2*exp(x), sqrt(1-x^2) or 1/(1+x^2). Write pi for π. Trigonometric functions use radians.
An indefinite integral is a whole family of functions: adding any constant C gives another antiderivative, because the derivative of a constant is zero.
Some integrals, such as ∫ e^(−x²) dx, have no answer in elementary functions. The calculator may then return a special function (like the error function erf) or tell you it could not find a closed form.
Differentiate it: the derivative of the result should give back your original function. The Symbolic Derivative Calculator does this in one click.