Integrals
Integrals measure accumulation. They connect infinitely many tiny contributions to total change, signed area, average value and antiderivatives — and the Fundamental Theorem of Calculus ties all of this directly to derivatives.
1. What an integral means
The definite integral \(\int_a^b f(x)\,dx\) is the net accumulation of \(f\) from \(a\) to \(b\). Geometrically, it is signed area: regions above the x-axis contribute positively and regions below contribute negatively.
Add infinitely many tiny contributions \(f(x)\,dx\).
Above the axis is positive; below is negative.
If \(r(t)\) is a rate, \(\int r(t)dt\) gives accumulated change.
The indefinite integral describes all antiderivatives:
2. From rectangles to a Riemann integral
Partition \([a,b]\) into \(n\) subintervals of width \(\Delta x=(b-a)/n\). Choose a sample point \(x_i^*\) in each interval. The sum
approximates the accumulated area. If these sums approach a unique limit as the partition becomes arbitrarily fine, then
Every continuous function on a closed interval is Riemann integrable. Many discontinuous functions are integrable too, but continuity is a powerful sufficient condition.
3. Fundamental Theorem of Calculus
The theorem explains why differentiation and integration are inverse processes.
Part I — accumulation creates an antiderivative
for continuous \(f\). The instantaneous rate of accumulated area is exactly the current function value.
Part II — evaluate definite integrals with antiderivatives
This replaces an infinite limiting sum by two function evaluations.
4. Core integration rules
Linearity lets constants and sums pass through the integral:
Substitution
Substitution reverses the chain rule. If \(u=g(x)\), then \(du=g'(x)dx\):
Integration by parts
This reverses the product rule:
5. Worked examples
A — polynomial definite integral
Evaluate \(\int_0^2(3x^2-2x+1)dx\).
B — substitution
Evaluate \(\int 2x\cos(x^2)dx\). Set \(u=x^2\), so \(du=2x dx\).
C — area versus signed integral
For \(f(x)=x\) on \([-1,1]\), symmetry gives \(\int_{-1}^{1}x\,dx=0\), but the geometric area between the graph and x-axis is \(1\). To compute total geometric area, integrate \(|f(x)|\) or split where the sign changes.
D — average value
The average value of continuous \(f\) on \([a,b]\) is
6. Interactive polynomial integral & Riemann tool
Explore \(f(x)=Ax^3+Bx^2+Cx+D\). The tool computes the exact definite integral and visualizes midpoint rectangles.
7. Common mistakes
- Forgetting the constant \(+C\) in an indefinite integral.
- Treating a definite integral as ordinary geometric area when the function changes sign.
- Using the power rule with \(n=-1\); \(\int x^{-1}dx=\ln|x|+C\).
- Changing variables in substitution but forgetting to change the differential or bounds.
- Assuming every antiderivative has an elementary closed form; \(\int e^{-x^2}dx\) is a classic counterexample.
8. Practice
- Find \(\int(4x^3-6x+2)dx\).
- Evaluate \(\int_1^3 2x\,dx\).
- Evaluate \(\int_0^1 3x^2e^{x^3}dx\) by substitution.
- Find the average value of \(f(x)=x^2\) on \([0,3]\).
Solutions
1) \(x^4-3x^2+2x+C\). 2) \([x^2]_1^3=8\). 3) \(e-1\). 4) \(3\).