Integral Calculator with Steps
Enter an integral with or without limits. The solver picks a method, shows each substitution or by-parts step, and checks the result by differentiating.
Worked example
Find ∫ x · cos(x) dx
- Choose integration by parts. The integrand is a product, with x becoming simpler when differentiated. Let u = x and dv = cos(x) dx
- Find du and v. du = dx and v = sin(x)
- Apply ∫ u dv = uv − ∫ v du. x · sin(x) − ∫ sin(x) dx
- Integrate what remains. ∫ sin(x) dx = −cos(x), so the result is x · sin(x) + cos(x) + C
Answer: x sin(x) + cos(x) + C
Check: Differentiating gives sin(x) + x cos(x) − sin(x) = x cos(x).
This example is written out in full. Enter your own problem above and the solver sets out the working the same way.
Where it's used
An integral accumulates a quantity: area under a curve, distance from velocity, total cost from marginal cost, work done by a varying force, and probabilities from a density function.
How to do it by hand
Simplify the integrand
Expand, divide or apply an identity first. Many integrals become standard forms.
Choose a technique
Substitution when an inner function's derivative is present; parts for a product such as x·e^x; partial fractions for rational functions.
Integrate and add C
Find the antiderivative and include the constant of integration for indefinite integrals.
Evaluate or check
Apply the limits for a definite integral, or differentiate the answer to confirm it.
Common mistakes
- Leaving out the constant of integration.
- Forgetting to change the limits, or change back, after a substitution.
- Choosing u and dv the wrong way round in integration by parts.
Questions about integrals
Does it handle definite integrals?
Yes. Give the limits, for example “∫ from 0 to π of sin(x) dx”.
What if there is no elementary antiderivative?
Some integrals, such as ∫ e^(−x²) dx, have none. The solver will say so and give a numerical value for definite integrals.
How do I choose u in integration by parts?
Pick the factor that gets simpler when differentiated. A common order of preference is logarithms, inverse trig, algebraic, trig, then exponentials.
What is an improper integral?
One with an infinite limit or an integrand that blows up. It is evaluated as a limit, and it either converges to a number or diverges.
What if the integral has no closed form?
Then a definite integral is evaluated numerically. The solver will say when no elementary antiderivative exists and give a numerical value.
Instant calculators for integrals
No AI and no limits: answers as you type.