Antiderivative & Definite Integral Calculator

Antiderivative & Definite Integral ∫ f(x) dx

Find antiderivative F(x) + C or compute definite integral. Results display exact fractions, logarithms, or decimals.

Examples (click to solve):

The calculator above finds an antiderivative F(x) and evaluates the definite integral from a to b with the Newton–Leibniz formula.

Formulas used

∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C (n ≠ −1)
∫ₐᵇ f(x) dx = F(b) − F(a)
  • ∫ 1/x dx = ln|x| + C, ∫ eˣ dx = eˣ + C, ∫ cos x dx = sin x + C.
  • Do not forget the constant C for indefinite integrals.

Worked example

Evaluate the integral of 2x + 1 from 0 to 2:

∫₀² (2x + 1) dx = [x² + x]₀² = 6

Enter the same values in the calculator above to see every step of the solution.

How to use the calculator

  1. Type the integrand f(x) and, for a definite integral, the limits a and b.
  2. Press the calculate button. The result appears instantly.
  3. Read the step-by-step solution, rendered with KaTeX, to check your own work.

🎯 Practice quiz: antiderivatives and integrals

Ten multiple-choice questions with four options each: the definition of an antiderivative, the power rule with radicals, e^(kx), the Newton–Leibniz formula, linearity, substitution, integration by parts, the continuity condition, area and volume of revolution. Pick an answer: the correct option turns green, a wrong one turns red, and the worked solution appears right below with a ⚠️ Traps box explaining why the wrong options are tempting. You can enter the function from any question into the calculator above to check every step.

1️⃣ Definition of an antiderivative Question 1. Which function is an antiderivative of f(x) = 3x² + 1:

2️⃣ Powers and radicals Question 2. The indefinite integral ∫ √x dx equals:

3️⃣ Exponential e^(kx) Question 3. The indefinite integral ∫ e^(3x) dx equals:

4️⃣ Newton–Leibniz formula Question 4. The value of the integral from 1 to 3 of (2x + 1) dx is:

5️⃣ Properties of the integral Question 5. Given ∫₀² f(x) dx = 3 and ∫₀² g(x) dx = −1, the value of ∫₀² [2f(x) − 3g(x)] dx is:

6️⃣ Substitution Question 6. The indefinite integral ∫ 2x(x² + 1)³ dx equals:

7️⃣ Integration by parts Question 7. The indefinite integral ∫ x cos x dx equals:

8️⃣ The continuity condition Question 8. A student computes the integral from −1 to 1 of dx/x² = [−1/x] = −1 − 1 = −2. Which statement is correct:

9️⃣ Area of a plane region Question 9. The area of the region bounded by the graph of y = x² − 1, the x-axis and the lines x = 0, x = 2 is:

🔟 Volume of revolution Question 10. The volume of the solid formed by rotating the region bounded by y = √x, the x-axis and the lines x = 0, x = 4 about the x-axis is: