Integrals
From rectangles to accumulation
Split an interval into thin slices. For each slice, multiply its width by the function’s height at the midpoint. Add the rectangles, then make them thinner. Their sum approaches the definite integral.
A rectangle below the horizontal axis counts negatively. That is why a definite integral can be zero even when the curve encloses visible regions.
Build area from rectangles
Add rectangles and watch the estimate approach the exact integral.
A definite integral measures signed accumulation. When the curve crosses the axis, positive and negative parts can cancel even though the geometric area is not zero.
A faster exact method
An antiderivative reverses differentiation. If differentiating a function gives the curve you are integrating, evaluate that function at the bounds and subtract. This is the Fundamental Theorem of Calculus.
For the square curve, the power rule works in reverse. The result agrees with what the rectangles approach.
Where the basic integration rules come from
Every indefinite-integral rule can be checked by differentiating its answer. If , then . The constant is needed because differentiating any constant gives zero.
1. Constants, multiples, and sums
Differentiation distributes across sums and constant multiples. It also turns into the constant . Reverse those three facts together:
Here and . This is why you can integrate a polynomial one term at a time.
2. Powers
The derivative power rule lowers an exponent by one. To reverse it, raise the exponent first, then divide by the new exponent:
For example, becomes . The rule cannot use because that would divide by zero. Apply it on an interval where the power is defined.
3. The reciprocal becomes a logarithm
The missing power-rule case has its own antiderivative. On either side of zero, the derivative of the logarithm of absolute value is the reciprocal:
Work on an interval that does not cross zero, where the integrand is defined.
4. Exponentials
The natural exponential differentiates to itself. For any other positive base, differentiation introduces a logarithm factor, so integration must divide by it:
5. Basic trigonometric functions
The familiar derivative identities supply the antiderivatives. In particular, differentiating cosine introduces a minus sign, so integrating sine needs one too:
Reverse each identity to obtain the integration rules:
These identities hold on intervals where the functions are defined; in particular, and are undefined where .
6. Substitution reverses the chain rule
If an inner function appears along with its derivative, treat the inner function as a new variable. The chain rule explains why this works:
For , we have . The integral then becomes a familiar cosine rule:
7. Integration by parts reverses the product rule
A product is different: differentiating it creates two terms. Integrate the product rule and move one term to the other side:
Choose and . Then and :
8. Why endpoint subtraction gives a definite integral
Let be the area accumulated up to . If is continuous, the extra area over a very short interval is approximately its width times . Shrinking that width gives:
So and any antiderivative differ only by a constant. Because , that constant is . At the upper bound:
Check your understanding
Choose an answer to see why it works. You can change your choice.
Question 1
What is the exact signed area over this interval?
Question 2
What happens when the positive and negative parts balance?
Question 3
Use an antiderivative to evaluate the accumulation.