Online Integral Calculator

Get the whole story

Wolfram|Alpha is more than just an online integral solver. It also shows plots, alternate forms, and other relevant information to help you enhance your mathematical intuition.

Tips for typing in your math

With the ability to enter your query in plain English, computing an integral has never been easier. Wolfram|Alpha is a great calculator for indefinite integrals and definite integrals, including improper integrals. Here are some tips and examples illustrating how one could ask for an integral.

`int x/(x-1) dx`

`int xsin(x^2)dx`

`int x sqrt(1 - sqrt x) dx`

`int_0^oo x/(x+1)^3 dx`

`int_0^(2pi) 1/(cos(x)+2) dx`

`int_0^pi int_0^1 x^2 sin(y)\ dx\ dy`

What are integrals?

Integration is an important tool in calculus that can give an antiderivative or represent area under a curve.

The indefinite integral of `f(x)`, denoted `int f(x)\ dx`, is defined to be the antiderivative of `f(x)`. In other words, the derivative of `int f(x)\ dx` is `f(x)`. Since the derivative of a constant is zero, indefinite integrals are defined only up to an arbitrary constant. For example, `int sin(x)\ dx = -cos(x) + "constant"`, since the derivative of `-cos(x) + "constant"` is `sin(x)`. The definite integral of `f(x)` from `x = a` to `x = b`, denoted `int f(x)\ dx`, is defined to be the signed area between `f(x)` and the `x` axis, from `x = a` and `x = b`.

Both types of integrals are tied together by the fundamental theorem of calculus. This states that if `f(x)` is continuous on `[a,b]` and `F(x)` is its continuous indefinite integral, then `int_(a)^(b) f(x)\ dx = F(b) - F(a)`. This means `int_(0)^(pi) sin(x)\ dx = (-cos(pi))-(-cos(0)) = 2`. Sometimes an approximation to a definite integral is desired. A common way to do so is to place thin rectangles under the curve and add the signed areas together. Wolfram|Alpha can solve a broad range of integrals.

Learn more »

How Wolfram|Alpha calculates integrals

Wolfram|Alpha computes integrals differently than people. It calls Mathematica's Integrate function, which represents a huge amount of mathematical and computational research. Integrate doesn't do integrals the way people do. Instead, it uses powerful, general algorithms that often involve very sophisticated math. There are a couple of approaches that it most commonly takes. One involves working out the general form for an integral, then differentiating this form and solving equations to match undetermined symbolic parameters. Even for quite simple integrands, the equations generated in this way can be highly complex and require Mathematica's strong algebraic computation capabilities to solve. Another approach that Mathematica uses in working out integrals is to convert them to generalized hypergeometric functions, then use collections of relations about these highly general mathematical functions.

While these powerful algorithms give Wolfram|Alpha the ability to compute integrals very quickly and handle a wide array of special functions, understanding how a human would integrate is important too. As a result, Wolfram|Alpha also has algorithms to perform integrations step by step. These use completely different integration techniques that mimic the way humans would approach an integral. This includes integration by substitution, integration by parts, trigonometric substitution, and integration by partial fractions.