Integration Calculator
Solve integration problems step-by-step with substitution, parts, and partial fractions for any
What Is Integration?
Integration is the mathematical process of finding the total accumulated quantity from a rate of change. If differentiation breaks things apart into instantaneous rates, integration puts them back together into totals. The integral of a velocity function gives total distance traveled. The integral of a rate-of-flow function gives total volume. Geometrically, the definite integral calculates the area under a curve between two points. Enter any function in the calculator above to compute both indefinite and definite integrals with step-by-step solutions.
How Does This Differ from the Integral Calculator?
Both tools perform the same mathematical operation. This Integration Calculator emphasizes the computational process and techniques, walking you through substitution, integration by parts, partial fractions, and trigonometric methods with detailed explanations of why each step works. Our Integral Calculator page focuses on the conceptual framework, explaining what integrals mean, the fundamental theorem of calculus, and real-world applications. Use whichever page matches your current need: technique-focused problem solving here, conceptual understanding there.
Integration Techniques Overview
Direct integration applies basic rules to standard forms. The integral of x^n is x^(n+1)/(n+1) + C. The integral of sin(x) is -cos(x) + C. U-substitution handles composite functions by simplifying the inner function. Integration by parts handles products of different function types using the formula: integral of u dv = uv minus integral of v du. Partial fractions decomposes rational functions into simpler fractions. Trigonometric substitution handles integrals involving square roots of quadratic expressions. Trigonometric identities simplify products and powers of trig functions. Each technique targets specific integral patterns.
Step-by-Step: U-Substitution
U-substitution is the most frequently used integration technique. The process: (1) Identify an inner function and call it u. (2) Compute du/dx and solve for dx. (3) Rewrite the integral entirely in terms of u. (4) Integrate. (5) Substitute back to the original variable. Example: integral of 2x cos(x²) dx. Let u = x², du = 2x dx. The integral becomes cos(u) du = sin(u) + C = sin(x²) + C. The key skill is recognizing when a function and its derivative both appear in the integrand, which signals that u-substitution will work.
Step-by-Step: Integration by Parts
Integration by parts reverses the product rule. Choose u (which gets differentiated) and dv (which gets integrated) so that the resulting integral is simpler than the original. The LIATE rule guides selection: choose u from (L)ogarithmic, (I)nverse trig, (A)lgebraic, (T)rigonometric, (E)xponential, in that priority. Example: integral of x e^x dx. Let u = x (algebraic, differentiates to 1) and dv = e^x dx (exponential, integrates to e^x). Result: xe^x minus integral of e^x dx = xe^x - e^x + C = e^x(x - 1) + C. Sometimes integration by parts must be applied twice, and occasionally it produces a recurring integral that can be solved algebraically.
Definite Integration and Area
A definite integral computes a specific numerical value: the signed area between the function and the x-axis from a to b. The fundamental theorem of calculus states: integral from a to b of f(x) dx = F(b) - F(a), where F is any antiderivative of f. For the area under y = x² from 0 to 3: F(x) = x³/3, so the area = 27/3 - 0 = 9 square units. When the function dips below the x-axis, the integral counts that area as negative. To find total area regardless of sign, integrate the absolute value of the function, or split the integral at the zero-crossings and sum the absolute values of each segment.
Numerical Integration Methods
When no closed-form antiderivative exists (like for e^(-x²), the Gaussian function), numerical methods approximate the integral. The trapezoidal rule approximates the area using trapezoids, converging as the number of subdivisions increases. Simpson's rule fits parabolic arcs to pairs of intervals, achieving higher accuracy with fewer subdivisions. Gaussian quadrature uses optimally chosen evaluation points for maximum precision per function evaluation. Monte Carlo integration uses random sampling, scaling well to high-dimensional integrals where grid-based methods become impractical. The calculator above attempts symbolic integration first and falls back to numerical methods when no exact antiderivative can be found.
Common Integration Mistakes
The most frequent error is forgetting the constant of integration (+C) in indefinite integrals. Every antiderivative includes C because infinitely many functions share the same derivative, differing only by a constant. Another common mistake is applying the power rule to 1/x: the integral of x^(-1) is ln|x| + C, not x^0/0 (which is undefined). Students also frequently forget to change dx when performing u-substitution, or they substitute back incorrectly. In definite integrals, a common error is forgetting to evaluate at both bounds (F(b) minus F(a), not just F(b)). Careful attention to these details prevents the errors that cost points on exams and produce incorrect results in applications.
Frequently asked questions
What is the difference between this and the Integral Calculator?
What is u-substitution?
What is the LIATE rule?
Why do I add +C to indefinite integrals?
What if there is no antiderivative formula?
What is the most common integration mistake?
Rate This Calculator
Your feedback helps us improve our tools