Skip to content
Toolcroft

Math Calculators

Integral Calculator - Symbolic & Definite Integration

Calculate indefinite and definite integrals instantly. Supports polynomials, sin, cos, exp, ln, and sqrt with step-by-step antiderivatives. Definite integrals evaluated numerically for complex expressions.

Use: +, −, *, /, ^ | Functions: sin, cos, exp, ln, sqrt | Press Enter or click ∫ dx

Definite integral bounds (optional)

to

Quick examples:

Antiderivative F(x) + C

(x^4) / 4 - 4(x^3) / 3 + 2(x^2) / 2 + C

Steps

  1. Integrate: ∫ x^3 - 4x^2 + 2x dx
  2. Sum/difference rule: integrate term by term
  3. Antiderivative: (x^4) / 4 - 4(x^3) / 3 + 2(x^2) / 2 + C
Loading chart…
f(x)
xf(x)
-5.0000-235.0000
-3.8889-127.0850
-2.7778-57.8532
-1.6667-19.0741
-0.5556-2.5171
0.55560.0480
1.6667-3.1481
2.7778-3.8752
3.88896.0974
5.000035.0000

Integration rules quick reference

RuleFormula
Power rule∫xⁿ dx = xⁿ⁺¹/(n+1) + C  (n ≠ −1)
Reciprocal∫1/x dx = ln|x| + C
Constant∫c dx = cx + C
Sum/difference∫(f±g) dx = ∫f dx ± ∫g dx
Constant multiple∫c·f(x) dx = c·∫f(x) dx
Substitution∫f(g(x))·g'(x) dx = F(g(x)) + C
Integration by parts∫u dv = uv − ∫v du
sin∫sin(x) dx = −cos(x) + C
cos∫cos(x) dx = sin(x) + C
∫eˣ dx = eˣ + C

Numerical vs. symbolic integration

Not all integrals have a closed-form solution expressible in elementary functions. There are two complementary approaches:

  • Symbolic integration (what this calculator uses): finds an exact antiderivative formula, e.g. ∫3x² dx = x³ + C. Not all functions have closed-form antiderivatives (∫e^(x²) dx has none).
  • Numerical integration: approximates definite integrals using methods like Simpson's rule, Gaussian quadrature, or Monte Carlo integration. Useful when no closed form exists or when integrating experimental data.

Definite vs. indefinite integrals

A definite integral ∫ₐᵇ f(x) dx has two bounds and yields a number - the net signed area between the curve and the x-axis from a to b. An indefinite integral ∫f(x) dx has no bounds and yields a family of functions F(x) + C, where C is an arbitrary constant representing vertical shifts of the antiderivative.

What is integration?

Integration is the reverse of differentiation. Given a function f(x), finding its integral means finding a function F(x) whose derivative equals f(x). Integration also measures the area under a curve, one of the two pillars of calculus alongside differentiation.

Key integration rules

  • Power rule: ∫xⁿ dx = xⁿ⁺¹/(n+1) + C (n ≠ −1)
  • Reciprocal rule: ∫x⁻¹ dx = ln|x| + C
  • Constant rule: ∫c dx = cx + C
  • Linearity: ∫(f ± g) dx = ∫f dx ± ∫g dx
  • Constant multiple: ∫c·f(x) dx = c·∫f(x) dx
  • sin: ∫sin(x) dx = −cos(x) + C
  • cos: ∫cos(x) dx = sin(x) + C
  • exp: ∫eˣ dx = eˣ + C
  • ln: ∫ln(x) dx = x·ln(x) − x + C

Fundamental Theorem of Calculus

If F is an antiderivative of f on [a, b], then ∫ₐᵇ f(x) dx = F(b) − F(a). This theorem connects differentiation and integration: the definite integral of f from a to b equals the net change in any antiderivative over that interval.

Input syntax

  • Exponents: x^3 or x^(1/2)
  • Multiplication: 3*x^2
  • Functions: sin(x), cos(x), exp(x), ln(x), sqrt(x)
  • Combinations: 3*x^2 + sin(2*x) - exp(-x)