What is an integral?
An integral is a way to add up infinitely many tiny pieces. The most common picture is the area under a curve. Cut the area into thin strips, find the area of each strip and add them. As the strips get thinner, the sum gets closer to the true area. The integral is the exact value that sum approaches.
Integrals show up wherever a total builds up from small changes. They give distance from speed, volume from cross-sections, and total cost from a cost per unit. If derivatives measure how fast something changes, integrals measure how much has accumulated.
What is an antiderivative?
An antiderivative of a function f is a function F whose derivative is f. It reverses differentiation. Since the derivative of x³ is 3x², an antiderivative of 3x² is x³.
The antiderivative is not unique. The functions x³, x³ + 4 and x³ − 10 all have derivative 3x². So we write the general antiderivative with a constant:
The symbol ∫ is the integral sign, and dx tells you the variable. This is the indefinite integral. The C stands for any constant.
How does the power rule work for integrals?
To integrate a power of x, raise the exponent by one, then divide by the new exponent.
You can check the result by differentiating it. For a polynomial, integrate term by term. For ∫(6x² − 4x + 3) dx:
- 6x² becomes 6x³⁄3 = 2x³.
- −4x becomes −4x²⁄2 = −2x².
- 3 becomes 3x.
So the answer is 2x³ − 2x² + 3x + C. Check it: the derivative of 2x³ is 6x², of −2x² is −4x, and of 3x is 3. It matches the original. Our guide to the power rule for derivatives and integrals shows both directions side by side.
What is a definite integral?
A definite integral has limits a and b. It gives a single number, the signed area between the curve and the x-axis from x = a to x = b. The fundamental theorem of calculus tells you how to compute it:
Here F is any antiderivative of f. You do not need the constant C, because it cancels when you subtract.
Find ∫ from 0 to 3 of x² dx.
- An antiderivative of x² is x³⁄3.
- Evaluate at 3: 3³⁄3 = 9.
- Evaluate at 0: 0.
- Subtract: 9 − 0 = 9.
The area under y = x² from 0 to 3 is 9 square units. Try it in the integral calculator, which also shows the antiderivative step.
How do you find an area with an integral?
Set up the integral of the function between the two x-values and evaluate it. Take the line y = 2x + 1 from x = 0 to x = 4.
- Find an antiderivative: x² + x.
- Evaluate at 4: 16 + 4 = 20.
- Evaluate at 0: 0.
- Subtract: 20.
The area is 20 square units. You can check this with geometry, since the region is a trapezoid. The heights are 1 at x = 0 and 9 at x = 4, and the width is 4. The area is (1 + 9) ÷ 2 × 4 = 20. The two methods agree, which gives confidence in the integral.
Why do rectangles approach the integral?
The idea behind the definition is a sum of thin rectangles. Take y = x² from 0 to 3 and use three rectangles of width 1.
- Using the right edge of each strip: heights 1, 4 and 9, so the area estimate is 1 + 4 + 9 = 14.
- Using the left edge: heights 0, 1 and 4, so the estimate is 0 + 1 + 4 = 5.
The true value, 9, lies between 5 and 14. With more and thinner strips, both estimates close in on 9. An integral is the limit of such sums as the strips become infinitely thin. This is why it gives exact areas for curves.
How do you handle negative values?
Area below the x-axis counts as negative. Compute ∫ from 0 to 2 of (x − 2) dx.
- An antiderivative is x²⁄2 − 2x.
- At 2: 2 − 4 = −2.
- At 0: 0.
- The result is −2.
The graph of y = x − 2 lies below the axis between 0 and 2, so the integral is negative. The shape is a triangle with base 2 and height 2, which has area 2. The integral gives −2 because the triangle is below the axis. For total area, use the absolute value. If a graph crosses the axis, split the interval at the crossing and add the absolute values.
How do integrals give distance, volume and totals?
If v(t) is velocity, then the integral of v from t = a to t = b is the change in position. Say a car's speed is v(t) = 8t + 3 meters per second.
- An antiderivative is 4t² + 3t.
- From t = 0 to t = 2: (4 × 4 + 3 × 2) − 0 = 22.
The car travels 22 meters in the first 2 seconds. If you also know the starting position, say 5 meters, then the position function is s(t) = 4t² + 3t + 5. The constant C is fixed by that starting condition. Compare this with the derivative idea in what is a derivative, where the same function s(t) gave velocity.
What can the calculator do?
The integral calculator handles sums of powers, sin, cos, tan, e^x, ln and abs, products that need integration by parts, such as x·sin(x), and simple u-substitutions, such as 2x·e^(x²). You can enter an expression and, optionally, a lower and an upper limit. It shows the antiderivative and names the method for each term.
For the harder cases it skips, the ideas are the same. You still look for an antiderivative, then use the fundamental theorem. Practicing with polynomials builds the habit of checking your answer by differentiating it.
What are common mistakes?
- Forgetting + C on an indefinite integral.
- Adding 1 to the exponent but dividing by the old one. Divide by the new exponent, n + 1.
- Using the power rule when n = −1. The integral of 1⁄x is a logarithm, not a power.
- Mixing up the order of the limits. Always compute F(b) − F(a), upper minus lower.
- Ignoring negative area. Check whether the curve goes below the axis.
- Forgetting the constant multiple. Keep the coefficient with its term.
Practice problems
- Find ∫(4x³ + 2x) dx. The answer is x⁴ + x² + C.
- Evaluate the integral of 3x² from 1 to 2. An antiderivative is x³, so 8 − 1 = 7.
- Find the area under y = x from 0 to 6. An antiderivative is x²⁄2, so 18 − 0 = 18.
- Evaluate the integral of (2x − 4) from 0 to 4. An antiderivative is x² − 4x, so (16 − 16) − 0 = 0. The areas above and below the axis cancel.
Check your answers with the calculator, and differentiate each antiderivative to confirm it returns the original function.