Skip to content

Integral Calculator

Find antiderivatives and evaluate definite or improper integrals. The calculator identifies the technique (power rule, u-substitution, integration by parts, partial fractions) and verifies the answer by differentiating it back or comparing with numerical integration.

How to use the integral calculator

  1. Enter the integrand.
  2. Leave the bounds empty for an indefinite integral (+C), or enter both for a definite integral (use inf for ∞).
  3. Review the technique, the antiderivative and the verification.

Examples

∫ x² sin x dx

Answer: −x² cos x + 2x sin x + 2cos x + C

Integration by parts (twice)

∫₀³ 2x dx

Answer: 9

∫ 1/(x² − 1) dx

Answer: ½ ln|x − 1| − ½ ln|x + 1| + C

Partial fractions

What an integral is

An indefinite integral finds an antiderivative, a function whose derivative is . A definite integral gives the signed area under the curve from to . It's also total distance from velocity, total change from a rate, and much more.

The calculator integrates symbolically, shows the technique used, and checks every antiderivative by differentiating it back. Definite integrals are also compared with a numerical integration.

Techniques, and when to use them

  • Basic rules: (for ), , .
  • u-substitution: when you see a function and (a multiple of) its derivative, as in .
  • Integration by parts: , for products like or .
  • Partial fractions: for rational functions like .
  • Trig identities and substitution: for powers of sin and cos, or roots like .

Worked example: integration by parts

Find .

  1. Choose (it gets simpler when differentiated) and .
  2. Then and .
  3. .

Check: ✓

Worked example: a definite integral

Common mistakes

  • Forgetting on indefinite integrals.
  • Forgetting to change the limits (or substitute back) after a u-substitution.
  • is , not .
  • Area vs signed area: where the integral counts negative. For total area, split at the zeros and use absolute values.

Some integrals, like , have no elementary antiderivative. The calculator says so and gives a numerical value for definite integrals.

Formulas

Practice problems

Try each one first, then open the answer to check your work.

  1. 1.Find .

    Show answer

    .

  2. 2.Find .

    Show answer

    .

  3. 3.Find .

    Show answer

    , with .

  4. 4.Evaluate .

    Show answer

    8. .

  5. 5.Find .

    Show answer

    , by parts with .

Key terms

Antiderivative
A function whose derivative is the given function.
Integrand
The function being integrated.
Limits of integration
The start and end values and in .
u-substitution
Replacing part of the integrand with to make it simpler.
Fundamental theorem of calculus
, where .

Frequently asked questions

Why add + C?

Every function has infinitely many antiderivatives that differ by a constant; +C represents all of them.

What if there is no elementary antiderivative?

Some functions (like e^(−x²)) have none. For definite integrals the calculator still returns an accurate numerical value.

Why do we add $+ C$?

The derivative of a constant is zero, so every function has infinitely many antiderivatives that differ by a constant. represents all of them.

What's the difference between definite and indefinite integrals?

An indefinite integral is a family of functions (). A definite integral has limits and gives a number: the signed area between the curve and the x-axis.

How do I know which technique to use?

Try a basic rule first, then u-substitution if you see a function and its derivative, parts for products of different types (polynomial times exponential or trig), and partial fractions for rational functions.

What if the integral can't be done by hand?

Some, like , have no elementary antiderivative. For definite integrals, the calculator gives an accurate numerical value.