What you'll learn
- How an integral with a variable limit defines an accumulation function.
- Why differentiating an accumulation function recovers the original function.
- How to evaluate definite integrals using antiderivatives.
- How to handle variable limits, reversed limits and signed areas correctly.
Prerequisites
Antiderivatives
An antiderivative of a function fff is a function FFF whose derivative is fff:
F′(x)=f(x).F'(x)=f(x).F′(x)=f(x).For example, because
ddx(x3)=3x2,\frac{d}{dx}\left(x^3\right)=3x^2,dxd(x3)=3x2,the function x3x^3x3 is an antiderivative of 3x23x^23x2.
Antiderivatives are not unique. Every function of the form x3+Cx^3+Cx3+C, where CCC is a constant, has derivative 3x23x^23x2.
Indefinite integral
The notation
∫f(x) dx=F(x)+C\int f(x)\,dx=F(x)+C∫f(x)dx=F(x)+Crepresents the family of all antiderivatives of fff, where F′(x)=f(x)F'(x)=f(x)F′(x)=f(x) and CCC is an arbitrary constant.
Finding an antiderivative
Find an antiderivative of f(x)=6x2−4x+3f(x)=6x^2-4x+3f(x)=6x2−4x+3.
-
Integrate each term using the reverse power rule:
∫xn dx=xn+1n+1+C,n≠−1.\int x^n\,dx=\frac{x^{n+1}}{n+1}+C, \qquad n\neq -1.∫xndx=n+1xn+1+C,n=−1. -
Applying this term by term gives
∫(6x2−4x+3) dx=6(x33)−4(x22)+3x+C=2x3−2x2+3x+C.\begin{aligned} \int (6x^2-4x+3)\,dx &=6\left(\frac{x^3}{3}\right)-4\left(\frac{x^2}{2}\right)+3x+C\\ &=2x^3-2x^2+3x+C. \end{aligned}∫(6x2−4x+3)dx=6(3x3)−4(2x2)+3x+C=2x3−2x2+3x+C. -
A quick differentiation check gives
ddx(2x3−2x2+3x+C)=6x2−4x+3,\frac{d}{dx}\left(2x^3-2x^2+3x+C\right)=6x^2-4x+3,dxd(2x3−2x2+3x+C)=6x2−4x+3,confirming that the antiderivative is correct.
Definite integrals and accumulation
A definite integral has fixed or variable limits. Geometrically, it gives the signed area between a curve and the horizontal axis.
For a continuous function fff,
∫abf(x) dx\int_a^b f(x)\,dx∫abf(x)dxcounts area above the horizontal axis positively and area below it negatively.
An accumulation function records how much signed area has accumulated as its upper limit moves. Fix a starting point aaa and define
A(x)=∫axf(t) dt.A(x)=\int_a^x f(t)\,dt.A(x)=∫axf(t)dt.The letter ttt is a dummy variable: it is used only inside the integral. The variable xxx controls the upper limit and is therefore the input of AAA.
The shaded region below represents A(x)A(x)A(x). Moving the upper boundary from xxx to x+hx+hx+h adds a thin strip whose area is approximately f(x)hf(x)hf(x)h.

Rate of accumulation
If xxx increases by a small amount hhh, then the accumulated area changes by approximately
A(x+h)−A(x)≈f(x)h.A(x+h)-A(x)\approx f(x)h.A(x+h)−A(x)≈f(x)h.Dividing by hhh suggests that the rate at which area accumulates is A′(x)=f(x)A'(x)=f(x)A′(x)=f(x).
The first part of the theorem
Fundamental theorem of calculus: differentiation form
If fff is continuous, then
ddx(∫axf(t) dt)=f(x).\frac{d}{dx}\left(\int_a^x f(t)\,dt\right)=f(x).dxd(∫axf(t)dt)=f(x).In words: differentiating an integral with variable upper limit recovers the original integrand, evaluated at that upper limit.
This result makes the inverse relationship between integration and differentiation precise. Integration accumulates values of a function; differentiation measures the rate of that accumulation.
Differentiating an accumulation function
Differentiate
A(x)=∫2x(t3+4t) dt.A(x)=\int_2^x \left(t^3+4t\right)\,dt.A(x)=∫2x(t3+4t)dt.-
The lower limit is constant and the upper limit is exactly xxx, so the differentiation form of the theorem applies directly.
-
Replace the dummy variable ttt in the integrand by the upper limit xxx:
A′(x)=x3+4x.A'(x)=x^3+4x.A′(x)=x3+4x. -
There is no need to evaluate the integral first: the theorem gives the derivative immediately.
Keeping the dummy variable
After differentiating ∫axf(t) dt\int_a^x f(t)\,dt∫axf(t)dt, write the answer as f(x)f(x)f(x), not f(t)f(t)f(t). The derivative is a function of xxx.
When the upper limit is a function
Suppose the upper limit is g(x)g(x)g(x) rather than simply xxx:
A(x)=∫ag(x)f(t) dt.A(x)=\int_a^{g(x)}f(t)\,dt.A(x)=∫ag(x)f(t)dt.The fundamental theorem gives the derivative with respect to the upper limit, but the chain rule must then account for the rate at which that limit changes:
A′(x)=f(g(x))g′(x).A'(x)=f\bigl(g(x)\bigr)g'(x).A′(x)=f(g(x))g′(x).Differentiating with a variable upper limit
Differentiate
A(x)=∫1x21+t3 dt.A(x)=\int_1^{x^2}\sqrt{1+t^3}\,dt.A(x)=∫1x21+t3dt.-
Evaluate the integrand at the upper limit t=x2t=x^2t=x2:
1+(x2)3=1+x6.\sqrt{1+(x^2)^3}=\sqrt{1+x^6}.1+(x2)3=1+x6. -
Differentiate the upper limit:
ddx(x2)=2x.\frac{d}{dx}\left(x^2\right)=2x.dxd(x2)=2x. -
Multiply the two results using the chain rule:
A′(x)=2x1+x6.A'(x)=2x\sqrt{1+x^6}.A′(x)=2x1+x6.
Upper-limit pattern
For ddx(∫ag(x)f(t) dt)\dfrac{d}{dx}\left(\int_a^{g(x)}f(t)\,dt\right)dxd(∫ag(x)f(t)dt), use the pattern “integrand at the limit, multiplied by the derivative of the limit”.
A variable lower limit
Reversing the limits changes the sign:
∫g(x)af(t) dt=−∫ag(x)f(t) dt.\int_{g(x)}^a f(t)\,dt=-\int_a^{g(x)}f(t)\,dt.∫g(x)af(t)dt=−∫ag(x)f(t)dt.Therefore,
ddx(∫g(x)af(t) dt)=−f(g(x))g′(x).\frac{d}{dx}\left(\int_{g(x)}^a f(t)\,dt\right) =-f\bigl(g(x)\bigr)g'(x).dxd(∫g(x)af(t)dt)=−f(g(x))g′(x).Differentiating with a variable lower limit
Differentiate
B(x)=∫x34cost dt.B(x)=\int_{x^3}^{4}\cos t\,dt.B(x)=∫x34costdt.-
Since the variable expression is the lower limit, reverse the limits and introduce a minus sign:
B(x)=−∫4x3cost dt.B(x)=-\int_4^{x^3}\cos t\,dt.B(x)=−∫4x3costdt. -
Evaluate the integrand at t=x3t=x^3t=x3 and differentiate the limit x3x^3x3:
cos(x3)⋅3x2.\cos(x^3)\cdot 3x^2.cos(x3)⋅3x2. -
Include the minus sign caused by reversing the limits:
B′(x)=−3x2cos(x3).B'(x)=-3x^2\cos(x^3).B′(x)=−3x2cos(x3).
The second part of the theorem
The theorem also explains how antiderivatives can be used to calculate definite integrals exactly.
Fundamental theorem of calculus: evaluation form
If fff is continuous on the interval from aaa to bbb, and F′(x)=f(x)F'(x)=f(x)F′(x)=f(x), then
∫abf(x) dx=F(b)−F(a).\int_a^b f(x)\,dx=F(b)-F(a).∫abf(x)dx=F(b)−F(a).This is often written as
∫abf(x) dx=[F(x)]ab.\int_a^b f(x)\,dx=\left[F(x)\right]_a^b.∫abf(x)dx=[F(x)]ab.The notation [F(x)]ab\left[F(x)\right]_a^b[F(x)]ab means “substitute the upper limit, then subtract the result from substituting the lower limit”.
The constant of integration is unnecessary in a definite integral because it cancels:
(F(b)+C)−(F(a)+C)=F(b)−F(a).\bigl(F(b)+C\bigr)-\bigl(F(a)+C\bigr)=F(b)-F(a).(F(b)+C)−(F(a)+C)=F(b)−F(a).Evaluating a definite integral
Evaluate
∫13(2x2−4x) dx.\int_1^3 (2x^2-4x)\,dx.∫13(2x2−4x)dx.-
Find an antiderivative:
∫(2x2−4x) dx=23x3−2x2.\int (2x^2-4x)\,dx=\frac{2}{3}x^3-2x^2.∫(2x2−4x)dx=32x3−2x2. -
Substitute the upper and lower limits:
∫13(2x2−4x) dx=[23x3−2x2]13.\int_1^3 (2x^2-4x)\,dx =\left[\frac{2}{3}x^3-2x^2\right]_1^3.∫13(2x2−4x)dx=[32x3−2x2]13. -
Evaluate the upper limit first:
23(33)−2(32)=18−18=0.\frac{2}{3}(3^3)-2(3^2)=18-18=0.32(33)−2(32)=18−18=0. -
Evaluate the lower limit and subtract it:
0−(23−2)=0−(−43)=43.0-\left(\frac{2}{3}-2\right) =0-\left(-\frac{4}{3}\right) =\frac{4}{3}.0−(32−2)=0−(−34)=34.
Forgetting the lower-limit brackets
Always calculate F(b)−F(a)F(b)-F(a)F(b)−F(a) with brackets around the entire lower-limit value. Otherwise, one or more terms may be subtracted incorrectly.
Integral versus geometric area
A definite integral gives signed area, which is not always the same as total geometric area.
If f(x)<0f(x)<0f(x)<0, then
∫abf(x) dx<0\int_a^b f(x)\,dx<0∫abf(x)dx<0over an interval where the graph lies below the horizontal axis. Geometric area must be positive, so you must split at any points where the curve crosses the axis and make the below-axis contribution positive.
Finding total area across the axis
Find the total area between y=x−1y=x-1y=x−1, the horizontal axis, and the lines x=0x=0x=0 and x=3x=3x=3.
-
Solve x−1=0x-1=0x−1=0 to find where the graph crosses the axis:
x=1.x=1.x=1.The graph is below the axis from 0 to 1 and above it from 1 to 3.
-
Find the signed integral on the first interval:
∫01(x−1) dx=[x22−x]01=−12.\int_0^1(x-1)\,dx =\left[\frac{x^2}{2}-x\right]_0^1 =-\frac{1}{2}.∫01(x−1)dx=[2x2−x]01=−21.Its geometric area is therefore 12\frac{1}{2}21.
-
Find the area on the second interval:
∫13(x−1) dx=[x22−x]13=2.\int_1^3(x-1)\,dx =\left[\frac{x^2}{2}-x\right]_1^3 =2.∫13(x−1)dx=[2x2−x]13=2. -
Add the positive areas:
Total area=12+2=52.\text{Total area}=\frac{1}{2}+2=\frac{5}{2}.Total area=21+2=25.
Continuity matters
The standard form of the theorem assumes that the integrand is continuous over the relevant interval. Functions with discontinuities or infinite values may require separate treatment as improper integrals.
Useful consequences
The evaluation form immediately gives these properties:
∫aaf(x) dx=0,\int_a^a f(x)\,dx=0,∫aaf(x)dx=0,because no interval is traversed, and
∫baf(x) dx=−∫abf(x) dx,\int_b^a f(x)\,dx=-\int_a^b f(x)\,dx,∫baf(x)dx=−∫abf(x)dx,because reversing the direction reverses the sign.
It also shows why differentiation and integration are inverse processes:
ddx(∫axf(t) dt)=f(x),\frac{d}{dx}\left(\int_a^x f(t)\,dt\right)=f(x),dxd(∫axf(t)dt)=f(x),while
∫abF′(x) dx=F(b)−F(a).\int_a^b F'(x)\,dx=F(b)-F(a).∫abF′(x)dx=F(b)−F(a).In the exam
- Decide whether you are differentiating an integral or evaluating one: the two forms of the theorem perform different jobs.
- For a variable limit g(x)g(x)g(x), substitute it into the integrand and multiply by g′(x)g'(x)g′(x); include a minus sign if it is the lower limit.
- For a definite integral, find an antiderivative and use upper minus lower, keeping the lower-limit substitution in brackets.
- If the question asks for geometric area, identify axis crossings and split the integral before making each contribution positive.
Check yourself
- Can you explain why ddx(∫axf(t) dt)=f(x)\dfrac{d}{dx}\left(\int_a^x f(t)\,dt\right)=f(x)dxd(∫axf(t)dt)=f(x) using the area of a thin strip?
- How would you differentiate ∫2sinx(1+t2) dt\displaystyle \int_2^{\sin x}(1+t^2)\,dt∫2sinx(1+t2)dt?
- Why might the value of a definite integral differ from the total area between a graph and the horizontal axis?