Integration techniques used
| Technique | Use it when | Example |
|---|---|---|
| Power rule | Polynomials | ∫ 3x² + 2x − 1 dx = x³ + x² − x + C |
| u-substitution | An inner function and its derivative both appear | ∫ 2x cos(x²) dx = sin(x²) + C |
| Integration by parts | A product like x·eˣ or x·sin x | ∫ x eˣ dx = eˣ(x − 1) + C |
| Partial fractions | A rational function | ∫ 1/(x² − 1) dx = ½ ln|(x − 1)/(x + 1)| + C |
| Trig identities | Powers of sin and cos | cos²x = (1 + cos 2x)/2 |
Why there is a “+ C”
Many functions have the same derivative: x², x² + 5 and x² − 100 all differentiate to 2x. An indefinite integral therefore gives a whole family of antiderivatives, and C stands for the unknown constant. In a definite integral the constants cancel, so C disappears.
Worked example: u-substitution
Integrate 2x cos(x²) dx
- Let u = x². Then du = 2x dx.
- The integral becomes ∫ cos(u) du.
- That equals sin(u) + C.
- Substitute back: sin(x²) + C.
Answer: sin(x²) + C
Worked example: integration by parts
A good rule for choosing u is LIATE: Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential. Pick u from the earliest group in the list.
Integrate x eˣ dx
- The formula is ∫ u dv = uv − ∫ v du.
- Choose u = x, so du = dx, and dv = eˣ dx, so v = eˣ.
- Then ∫ x eˣ dx = x eˣ − ∫ eˣ dx = x eˣ − eˣ + C.
- Factor: eˣ(x − 1) + C.
Answer: eˣ(x − 1) + C
Check by differentiating
The quickest way to verify an indefinite integral is to differentiate the answer. If d/dx of eˣ(x − 1) gives x eˣ, the integration was right.
Improper integrals
An integral with an infinite limit, such as ∫ from 1 to ∞ of 1/x² dx, is evaluated as a limit. Here it converges to 1. By contrast ∫ from 1 to ∞ of 1/x dx diverges. For improper integrals the solver gives a numerical value and says so, so a result such as 0.9999999999 means 1.
Frequently asked questions
How do I enter limits of integration?
Use the lower and upper boxes, or type “∫ x^2 dx from 0 to 3”. Use ∞ for improper integrals.
What if there is no formula for the integral?
For a definite integral the area is computed numerically with adaptive Simpson's rule.
What does it mean when an integral has no closed form?
Functions like e^(−x²) have no antiderivative made of elementary functions. A definite integral of one can still be computed numerically.
Can I get the area under a curve?
Yes. Fill in the lower and upper limits and the area is shaded on the graph. Note that regions below the x-axis count as negative.