Integration Solver

Antiderivative Calculator & Integral Solver

An antiderivative (also called an indefinite integral) is the reverse of differentiation. If F'(x) = f(x), then F(x) is an antiderivative of f(x). This solver doubles as an antiderivative calculator and definite integral evaluator — enter ∫ f(x) dx or ∫ₐᵇ f(x) dx and you get the full step-by-step solution.

How to use the antiderivative calculator

  • Type \int x^2 dx for the antiderivative of x²
  • Type \int_0^1 x^2 dx for the definite integral from 0 to 1
  • Type \int e^x dx for ∫eˣ dx
  • Type \int \sin(x) \cos(x) dx for substitution-based problems

The most common antiderivatives (every student should memorise)

Power rule
$\int x^n \, dx = \dfrac{x^{n+1}}{n+1} + C$ (n ≠ −1)
Reciprocal
$\int \dfrac{1}{x} \, dx = \ln|x| + C$
Exponential
$\int e^x \, dx = e^x + C$
Sine
$\int \sin(x) \, dx = -\cos(x) + C$
Cosine
$\int \cos(x) \, dx = \sin(x) + C$
Sec squared
$\int \sec^2(x) \, dx = \tan(x) + C$

Worked example — integration by substitution

Find ∫ 2x cos(x²) dx.

  • Step 1. Let u = x². Then du = 2x dx.
  • Step 2. The integral becomes ∫ cos(u) du.
  • Step 3. Integrate: ∫ cos(u) du = sin(u) + C.
  • Step 4. Substitute back: sin(x²) + C.

Worked example — integration by parts

Find ∫ x eˣ dx using the formula ∫ u dv = uv − ∫ v du.

  • Choose u and dv (LIATE rule). u = x (algebraic, easier to differentiate), dv = eˣ dx.
  • Compute du and v. du = dx, v = eˣ.
  • Apply the formula. ∫ x eˣ dx = x eˣ − ∫ eˣ dx = x eˣ − eˣ + C = eˣ(x − 1) + C.

Definite integrals — the Fundamental Theorem of Calculus

If F(x) is an antiderivative of f(x), then ∫ₐᵇ f(x) dx = F(b) − F(a). So ∫₀² x² dx = [x³/3]₀² = 8/3 − 0 = 8/3 ≈ 2.667. Definite integrals give a numerical value (the signed area under the curve); indefinite integrals give a family of functions (the + C captures all the antiderivatives).

Why is there always a + C?

Because differentiation kills constants — the derivative of any constant is zero. So when you reverse the process, you have to add back an unknown constant of integration. The C represents the entire family of curves that all have the same slope at every x.

An online integration solver helps students calculate integrals of mathematical functions quickly and accurately, making it easier to understand essential calculus concepts. With a step-by-step integration solver, learners can follow each stage of the integration process, understand the rules and formulas applied, and learn how to solve different types of integral problems. Practising integration problems with solutions also helps students develop a stronger understanding of definite and indefinite integrals, substitution methods, and integration by parts. Whether you are preparing for exams, completing assignments, or improving your calculus skills, these tools make complex integration problems easier to solve and help build confidence in mathematics.

Frequently Asked Questions

Is this Integration calculator free?

Yes, it is completely free to use with no limits.

How do I enter fractions or powers?

Use the toolbar buttons above the input field, or type standard math notation (like ^ for power, / for division).

What is a definite integral calculator used for?

A definite integral calculator helps students evaluate integrals within specified upper and lower limits to calculate the accumulated value or signed area under a curve. It simplifies complex integration problems and helps learners understand how definite integrals are applied in calculus, physics, and engineering.

How does an indefinite integral solver help students?

An indefinite integral solver helps students find the antiderivative of a function without specified integration limits. It supports learning by applying integration rules, simplifying mathematical expressions, and including the constant of integration, making it useful for homework, exam preparation, and practising calculus problems.

Related Graduate Topics