Step-by-step math solver
Indefinite integrals
Find antiderivatives of polynomials, exponential and trigonometric functions and 1/x with the basic rules, integration by parts and u-substitution.
Free, no sign-in. The solver runs in your browser and does not send your problem to the server.
Part of the course: Calculus
Method
- Power rule: ∫xⁿ dx = xⁿ⁺¹/(n + 1) + C for n ≠ −1, and ∫(1/x) dx = ln|x| + C.
- The integral of a sum is the sum of the integrals, and a constant factor can be moved outside the integral sign.
- Exponential and trigonometric rules: ∫e^(ax + b) dx = e^(ax + b)/a + C, ∫cos(ax + b) dx = sin(ax + b)/a + C and ∫sin(ax + b) dx = −cos(ax + b)/a + C.
- Integration by parts: ∫u dv = uv − ∫v du; for ∫x·eˣ dx, let u = x and dv = eˣ dx.
- u-substitution: when the integrand contains u(x) together with u′(x), let t = u(x) and dt = u′(x) dx; for ∫x·e^(x²) dx, let t = x².
Worked examples
3x² + 2x
Integrate term by term using the table of antiderivatives
∫(3x²)dx = x³ + C
∫(2x)dx = x² + C
∫(3x² + 2x)dx = x³ + x² + C
Check
The derivative of the result must equal the given function
(x³ + x²)′ = 3x² + 2x
Result
∫(3x² + 2x)dx = x³ + x² + C
C is an arbitrary constant
Open in the solver
1/x
Integrate term by term using the table of antiderivatives
∫(1/x)dx = ln(|x|) + C
Check
The derivative of the result must equal the given function
(ln(|x|))′ = 1/x
Result
∫(1/x)dx = ln(|x|) + C
C is an arbitrary constant
Open in the solver
cos(2x)
Integrate term by term using the table of antiderivatives
∫(cos(2x))dx = (sin(2x))/2 + C
Check
The derivative of the result must equal the given function
((sin(2x))/2)′ = cos(2x)
Result
∫(cos(2x))dx = (sin(2x))/2 + C
C is an arbitrary constant
Open in the solver
x·e^x
Integration by parts: ∫u dv = uv − ∫v du
Let u = x and dv = (e^(x))dx, so du = dx and v = e^(x)
∫(xe^(x))dx = xe^(x) − ∫(e^(x))dx
∫(e^(x))dx = e^(x)
∫(xe^(x))dx = (x − 1)e^(x) + C
Check
The derivative of the result must equal the given function
((x − 1)e^(x))′ = xe^(x)
Result
∫(xe^(x))dx = (x − 1)e^(x) + C
C is an arbitrary constant
Open in the solver
x·e^(x²)
Substitution: ∫f(u(x))·u′(x)dx = ∫f(t)dt with t = u(x)
Let t = x², so dt = (2x)dx
∫(xe^(x²))dx = (1/2)∫(e^(t))dt
= e^(t)/2 + C
Substitute t = x² back
∫(xe^(x²))dx = e^(x²)/2 + C
Check
The derivative of the result must equal the given function
(e^(x²)/2)′ = xe^(x²)
Result
∫(xe^(x²))dx = e^(x²)/2 + C
C is an arbitrary constant
Open in the solver
Practice problems
Work it out on paper first, then tap to see the step-by-step solution.
Not supported yet
- Integrals whose result is an inverse trigonometric function (such as 1/(x² + 1)) and integrals that need trigonometric identities first (such as sin³x) are not supported yet.
- Some functions, such as e^(x²), have no antiderivative in elementary functions; the solver says it cannot find one.
For these, open Chat with the Tutor skill from the solver (sign-in required, uses credit like a normal chat).