Example 1
Polynomial (power rule)
Integrate term by term with the power rule.
Answer
Find antiderivatives and evaluate definite integrals, including improper ones with infinite bounds. Each solution names the technique used, and every antiderivative is checked by differentiating it before you see it.
Try an example

An indefinite integral ∫f(x) dx is the family of all antiderivatives of f: functions F with F′ = f. Because any constant disappears when you differentiate, the answer always includes an arbitrary constant + C.
A definite integral ∫ₐᵇ f(x) dx is a number: the signed area between the graph of f and the x-axis from a to b. The Fundamental Theorem of Calculus links the two ideas. Any antiderivative F turns a definite integral into a subtraction.
Unlike differentiation, integration has no rule that always works. The calculator tries these techniques in order, from the simplest to the most involved.
The workhorse for polynomials and roots.
The absolute value keeps the answer valid for negative x as well.
Linear inner functions such as e^(3x+1) are handled by dividing by the slope.
The reverse of the chain rule: look for a function and its derivative appearing together.
The reverse of the product rule. Choose u by LIATE: Logs, Inverse trig, Algebraic, Trig, Exponential.
Rational functions are split into simple fractions after any polynomial long division.
The calculator first applies the constant, sum and constant-multiple rules, then checks a table of standard forms. If neither finishes the job, it tries rewriting (expanding products, splitting fractions), polynomial long division and partial fractions for rational functions, then u-substitution with every plausible inner function, then integration by parts. Each successful technique is recorded as a step.
If none of these rules works, a bundled computer algebra system (Algebrite, running in your browser) is tried as a fallback. Answers from the fallback are labelled as such and come without full steps.
Whatever the source, the answer is differentiated and compared with your integrand at a range of sample points. If they disagree, the answer is not shown; you see an honest “could not find an antiderivative” message instead.
For definite integrals, the calculator evaluates F(b) − F(a), using limits for infinite bounds or where F is undefined at an endpoint. It cross-checks the result with tanh-sinh numerical integration. When there is no elementary antiderivative, such as ∫e^(−x²) dx, you get an accurate numerical value instead.
For the full details, including how answers are verified, see how the solver works.
Work through these by hand first, then enter them above to compare each step.
Example 1
Integrate term by term with the power rule.
Answer
Example 2
Let u = x², so du = 2x dx. The integrand is exactly cos(u) du.
Substitute back u = x².
Answer
Example 3
Choose u = x (algebraic) and dv = cos x dx, so du = dx and v = sin x.
The remaining integral is −cos x, and subtracting it adds cos x.
Answer
Example 4
Factor x² − 4 = (x − 2)(x + 2) and split the fraction. The cover-up method gives A = 1/4 and B = −1/4.
Each piece integrates to a logarithm.
Answer
Example 5
An antiderivative is F(x) = x⁴/4 + x.
Answer
Example 6
Replace the infinite bound with a limit.
As b grows, 1/b → 0, so the area is finite.
Answer
An indefinite integral is a family of functions. Leaving out the constant loses information and often costs marks.
In u-substitution the dx must become du as well. ∫cos(x²) dx cannot be done with u = x² because there is no 2x factor to absorb.
∫1/x dx = ln|x| + C. Writing ln x silently restricts the answer to x > 0.
∫ from −1 to 1 of 1/x² dx is not −2. The integrand blows up at x = 0, so the integral diverges. The calculator checks for this and says so.
∫u dv = uv − ∫v du. The minus sign applies to the whole remaining integral, which matters when you integrate by parts twice.
Select “Definite integral”, type the integrand, then enter the lower and upper bounds. Bounds can be numbers, expressions like pi/2, or inf and -inf for improper integrals.
Two antiderivatives of the same function can differ by a constant. For example, sin²(x)/2 and −cos²(x)/4 + C are both valid for ∫sin x cos x dx. Differentiate both answers: if you get the integrand each time, both are right.
Some functions have antiderivatives that cannot be written using powers, roots, exponentials, logs and trig functions. e^(x²) is the classic example. Its antiderivative is expressed with the special error function. Definite integrals of such functions can still be computed numerically.
The calculator differentiates its own answer and compares it numerically with your integrand at many sample points. Definite integrals are also compared with an independent numerical integration.
Yes. Use inf or -inf as a bound. The calculator also detects vertical asymptotes inside the interval and reports when an integral diverges.
Pick one of the worked examples, solve it on paper, then enter it in the calculator and compare your steps with each rule shown. Spotting where your work differs is the fastest way to improve.
Back to the calculator