Calculus • Core Flagship Pillar

Integral Calculator

Evaluate definite integrals (∫ₐᵇ f(x) dx) and indefinite antiderivatives (F(x) + C) step-by-step with live 2D Riemann area under the curve shading.

|
Last Updated: September 2026
|
Fundamental Theorem of Calculus Verified
Standard Calculus Integration Presets Standard Antiderivatives

Integral Settings

Antiderivative F(x) = ∫ f(x) dx
x³ - 2x² + 5x + C
Definite Integral Shaded Area ∫ₐᵇ f(x) dx
Definite Integral Value
24.0000
Exact net signed area
Integration Interval
[0, 3] (Δx = 3)
Domain of integration
∫

Step-by-Step Fundamental Theorem of Calculus Evaluation

Direct Answer & Overview
Verified Educational Guide

How to Calculate an Integral

To evaluate a definite integral ∫ₐᵇ f(x) dx: 1. Find an antiderivative function F(x) such that F'(x) = f(x). 2. Apply the Fundamental Theorem of Calculus: ∫ₐᵇ f(x) dx = F(b) − F(a). For indefinite integrals, express the family of all antiderivatives as F(x) + C.

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
∫abf(x) dx=F(b)−F(a),∫xn dx=xn+1n+1+C(n≠−1)\int_a^b f(x)\,dx = F(b) - F(a), \quad \int x^n \, dx = \frac{x^{n+1}}{n+1} + C \quad (n \ne -1)
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Integrand expression f(x)
2
Integration type (Definite vs. Indefinite) and bounds [a, b]
Expected Outputs
Calculated
Antiderivative F(x) + C and exact numerical definite integral value
Net signed area under curve and interactive Riemann shaded SVG canvas
Worked Numerical Example
Instant Verification
∫₀³ (3x² − 4x + 5) dx
→ F(x) = x³ − 2x² + 5x; F(3) = 27 − 18 + 15 = 24; F(0) = 0; 24 − 0 = 24
Antiderivative F(x) = x³ − 2x² + 5x + C | Definite Value = 24.00

The Fundamental Theorem of Calculus (FTC)

The Fundamental Theorem of Calculus unites the two primary branches of analysis—differential calculus (rates of change) and integral calculus (accumulated area)—demonstrating that they are exact mathematical inverses:

Part 1: d/dx [ ∫ₐˣ f(t) dt ] = f(x)
Part 2: ∫ₐᵇ f(x) dx = F(b) − F(a)

Where F(x) is any antiderivative satisfying F'(x) = f(x). This eliminates the need to compute infinite Riemann limits manually for elementary continuous functions.

Definite vs. Indefinite Integrals & The Constant of Integration (C)

Indefinite Integral (Antiderivative)
∫ f(x) dx = F(x) + C

Returns a family of functions. The constant +C arises because the derivative of any constant is zero (d/dx[C] = 0).

Definite Integral (Net Signed Area)
∫ₐᵇ f(x) dx = [ F(x) ]ₐᵇ = F(b) − F(a)

Returns a single numerical scalar value. Regions above the x-axis contribute positive area; regions below contribute negative area.

Core Integration Techniques

Method Formula / Rule Primary Use Case
Power Rule ∫ xⁿ dx = xⁿ⁺¹ / (n + 1) + C Polynomials & radicals (n ≠ −1)
Logarithmic ∫ (1/x) dx = ln|x| + C Reciprocal terms (n = −1)
U-Substitution ∫ f(g(x))g'(x) dx = ∫ f(u) du Reverse of the Chain Rule
By Parts ∫ u dv = uv − ∫ v du Products of polynomial & trig/exp functions

Riemann Sums & Geometric Area Under the Curve

Bernhard Riemann formalized integration in 1854 as the infinite limit of step approximations:

∫ₐᵇ f(x) dx = lim [n → ∞] ∑ᵢ₌₁ⁿ f(xᵢ*) · Δx where Δx = (b − a) / n

As the number of rectangular subintervals n grows toward infinity, the approximation error shrinks to zero, yielding the continuous exact integral.

Real-World Applications of Integral Calculus

Mechanical Work & Physics

Calculating mechanical work done by variable forces $W = \int F(x) dx$, rocket launch escape energy, and centers of mass.

Probability & Statistics

Integrating continuous probability density functions (PDFs) to compute cumulative distribution probabilities $P(a \le X \le b) = \int_a^b f(x) dx$.

Civil & Fluid Engineering

Hydrostatic pressure forces on dams and total water storage reservoir volumes calculated via double and triple integrals.

Step-by-Step Worked Numerical Solutions

Example 1: Definite Integral Evaluation Polynomial

Problem: Evaluate ∫₀² (3x² + 2x − 1) dx.

1. Find Antiderivative: F(x) = 3(x³/3) + 2(x²/2) − x = x³ + x² − x.
2. Evaluate Upper Bound at x = 2: F(2) = (2)³ + (2)² − 2 = 8 + 4 − 2 = 10.
3. Evaluate Lower Bound at x = 0: F(0) = 0³ + 0² − 0 = 0.
4. FTC Difference: F(2) − F(0) = 10 − 0 = 10.
Result: ∫₀² (3x² + 2x − 1) dx = 10

Common Pitfalls & Mistakes

Forgetting the Constant of Integration (+C)

Omitting +C on indefinite integrals represents a loss of all potential family solutions.

Sign Reversal on Trig Antiderivatives

∫ sin(x) dx = −cos(x) + C (with a negative sign), whereas d/dx[sin(x)] = +cos(x).

Applying Power Rule to 1/x

Setting n = −1 in xⁿ⁺¹/(n+1) yields division by zero (x⁰/0). The correct integral is ln|x| + C.

Fact-Checked & Verified • Computational Accuracy Standards
Updated August 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

What is the Fundamental Theorem of Calculus (FTC)?
The Fundamental Theorem of Calculus establishes that differentiation and integration are inverse operations. Part 1 states that the derivative of an accumulation function is the original function: d/dx [∫ₐˣ f(t) dt] = f(x). Part 2 states that a definite integral can be evaluated using any antiderivative F(x): ∫ₐᵇ f(x) dx = F(b) − F(a).
What is the difference between Definite and Indefinite Integrals?
An indefinite integral ∫ f(x) dx represents the family of all antiderivatives F(x) + C (where C is an arbitrary constant of integration). A definite integral ∫ₐᵇ f(x) dx computes a specific numerical value representing the net signed area bounded by the curve, the x-axis, and vertical lines x = a and x = b.
How does the Power Rule for Integration work?
For any real power n ≠ −1, the power rule of integration is ∫ xⁿ dx = (xⁿ⁺¹) / (n + 1) + C. When n = −1 (the special case 1/x), the integral is ∫ (1/x) dx = ln|x| + C.
How does U-Substitution (Integration by Substitution) work?
U-substitution is the reverse of the Chain Rule. If an integrand contains an inner function g(x) and its derivative g'(x), set u = g(x) and du = g'(x) dx to convert ∫ f(g(x))g'(x) dx into ∫ f(u) du, which is simpler to integrate.
How do Riemann Sums approximate the area under a curve?
A Riemann sum partitions the interval [a, b] into n subintervals of width Δx = (b − a) / n and approximates the total area by summing the areas of n rectangles: Area ≈ ∑ f(xᵢ*) · Δx. Taking the limit as n → ∞ yields the exact definite integral.
How is integration used in real-world physics and probability theory?
Physicists use integration to compute total work W = ∫ F(x) dx and center of mass. In statistics, probability density functions (PDFs) are integrated to compute cumulative probabilities P(a ≤ X ≤ b) = ∫ₐᵇ f(x) dx.