How to use it
- Type the function the way you would on a calculator:
x^2,sin(2x),1/x,e^x,sqrt(x). Implied multiplication works, so3x^2 - 4xand2(x + 1)are fine. - The antiderivative appears as you type, as F(x) + C. Below it, a panel lists the rules that built the answer, one line per step.
- Fill in From x = and To x = for the definite integral. The calculator then shows the
substitution, F(b) − F(a), so you can follow the working. The bounds can be expressions:
pi,e,1/2. - Integrating with respect to something other than
x? Change the letter in With respect to. Other letters are treated as constants and carried through unchanged: the antiderivative ofa tis a·t²/2. - The address bar holds the function and the bounds, so a link brings back exactly the same calculation.
Which rules it uses
| What you type | Rule | Antiderivative |
|---|---|---|
x^n |
Power rule | xⁿ⁺¹/(n + 1) |
1/x |
The power rule’s exception | ln|x| |
e^x, 2^x |
Exponentials | eˣ, 2ˣ/ln 2 |
sin(x), cos(x) |
Trigonometry, in radians | −cos x, sin x |
sqrt(x), root(x, 3) |
Root as a power | 2x√x/3, 3x∛x/4 |
f + g, f - g, c*f |
Term by term | F ± G, c·F |
sin(2x), e^(3x + 1) |
Linear inner function | −cos(2x)/2, e³ˣ⁺¹/3 |
The last row is the only substitution the calculator makes on its own: when what sits inside the function is a straight line, kx + m, it divides by k. That works for every rule in the table.
Worked examples
A polynomial. 3x^2 - 4x + 1 is integrated term by term with the power rule: 3x² becomes x³, −4x
becomes −2x² and 1 becomes x. F(x) = x³ − 2x² + x + C. With bounds 0 and 2 the definite integral is
F(2) − F(0) = (8 − 8 + 2) − 0 = 2. The constant C cancels in the subtraction, which is why a definite
integral never needs it.
A linear inner function. sin(2x) has an antiderivative that is easy to get wrong. −cos(2x) is
nearly right, but differentiate it and you get 2·sin(2x), twice too much. So the calculator divides by
two: F(x) = −cos(2x)/2.
A product. x*e^x cannot be integrated with the table above. It takes
integration by parts, and the calculator says it does not do that rather than
guess. Give it bounds, say 0 and 1, and it still works out the value numerically: 1, marked as
approximate. By hand it is (x − 1)·eˣ between 0 and 1, so 0 − (−1) = 1.
What the integral is for
The definite integral is the area between the curve and the x-axis, counted with sign:
- Where the function is positive the area counts as plus, where it is negative as minus. ∫₀^π sin x dx is 2, but ∫₀^2π sin x dx is 0: the arch below the axis cancels the one above. For the whole geometric area, split the interval where the curve crosses the axis and add the absolute values.
- In physics the integral of speed is the distance travelled, and the integral of a force along a path is the work done.
- The integral divided by the length of the interval is the function’s average value over it.
Integrating and differentiating undo each other: differentiate the antiderivative and you get back what you typed. That is the fundamental theorem of calculus, and it is why the definite integral can be computed as F(b) − F(a).
Frequently asked questions
Does it show the steps?
Yes. The panel under the answer lists each rule it used, in order, and with bounds it shows the
substitution F(b) − F(a) with the numbers written out.
What does “approximate (numeric)” mean?
That the rule table found no antiderivative, but the value could still be worked out by adding up the
function over many small pieces (adaptive Simpson’s rule). The answer is right to many decimals, but it
is an estimate and is labelled as one. When it says “exact”, the value comes from F(b) − F(a).
What can it not integrate?
Products of two varying factors, such as x·eˣ, quotients of two varying expressions, and functions of
anything other than a straight line, such as e^(x²) or sin(x²). It also has no rule for ln x on its own,
tan x, the inverse trig functions, absolute values or factorials. In each case it says what is missing,
and with bounds it still works out the value numerically.
Why is there no answer for 1/x from −1 to 1?
Because 1/x is not finite at x = 0, which lies between the bounds. Putting the bounds into ln|x| gives
0, but that answer is wrong: the integral does not exist. The calculator checks the interval and says so
instead. The same goes for improper integrals such as ∫₀¹ ln x dx, where it does not take the limit.
Why are angles in radians?
Because the antiderivative of cos x is sin x only in radians. The same rule applies in the
derivative calculator.