Integral Calculator

Compute definite and indefinite integrals step by step. Supports polynomials, trig, exponentials, and substitution — see

Function Settings

Supported: x^n, sin(x), cos(x), e^x, 1/x, constants

Integration Rules

  • • Power Rule: ∫x^n dx = x^(n+1)/(n+1) + C
  • • Constant Rule: ∫k dx = kx + C
  • • Sum Rule: ∫[f(x) + g(x)] dx = ∫f(x) dx + ∫g(x) dx
  • • Substitution: ∫f(g(x))g'(x) dx = ∫f(u) du

Indefinite Integral

0.3333333333333333x^3 + C

∫x^2 dx

Solution Steps

1. Power Rule: ∫x^2 dx = 0.3333333333333333x^3 + C

How it works

Integration is the reverse of differentiation: it finds the area under a curve, or accumulates a quantity. A definite integral computes the net area between a function and the x-axis over an interval; the power rule for integration adds one to the exponent and divides by the new exponent.

Power rule for integration

∫ xⁿ dx = x^(n+1) ÷ (n+1) + C        Definite: ∫ₐᵇ f(x) dx = F(b) − F(a)
n
exponent (n ≠ −1)
C
constant of integration (indefinite integrals)

Worked example

  • Integrate ∫ 2x dx from 0 to 3
  1. Antiderivative of 2x is x²
  2. Evaluate: 3² − 0²

Area = 9.

Good to know

  • A definite integral gives a number (net area); an indefinite one gives a function plus a constant C.
  • Area below the x-axis counts as negative in a definite integral.
  • Integration accumulates — e.g. integrating velocity gives distance traveled.

Related Calculators