Integration and the Fundamental Theorem

A structured guide to antiderivatives, substitution, numerical and definite integration, and both parts of the Fundamental Theorem of Calculus.

The role of integration

Integration measures accumulated change and reverses differentiation in an important sense. The main tasks are to find antiderivatives, evaluate definite integrals, approximate integrals numerically, and interpret integrals as signed accumulation.

A useful first question is whether the integral has limits. An expression such as ∫f(x) dx\int f(x)\,dx is an and produces a family of functions. An expression such as ∫abf(x) dx\int_a^b f(x)\,dx is a and produces a number.

Core connection

Differentiation describes an instantaneous rate of change. Integration combines infinitely many small contributions to find accumulated change. The makes these operations inverse processes under appropriate continuity conditions.

Takeaway: Identify whether the problem asks for a function, a number, or an approximation before choosing a method.

Antiderivatives and indefinite integrals

An of ff is a function FF satisfying F′(x)=f(x)F'(x)=f(x). For example, since ddx(x3)=3x2\frac{d}{dx}(x^3)=3x^2, the function x3x^3 is an of 3x23x^2.

If one is F(x)F(x), then every function F(x)+CF(x)+C, where CC is constant, has the same derivative. Therefore,

∫f(x) dx=F(x)+C.\int f(x)\,dx=F(x)+C.

The constant is essential because differentiation removes constants. For example,

∫2x dx=x2+C.\int 2x\,dx=x^2+C.

Basic rules

For n≠−1n\neq -1, the power rule is

∫xn dx=xn+1n+1+C.\int x^n\,dx=\frac{x^{n+1}}{n+1}+C.

The exponent n=−1n=-1 is exceptional:

∫1x dx=ln⁡∣x∣+C.\int \frac{1}{x}\,dx=\ln|x|+C.

Linearity allows terms and constant factors to be handled separately:

∫[f(x)+g(x)] dx=∫f(x) dx+∫g(x) dx,\int [f(x)+g(x)]\,dx=\int f(x)\,dx+\int g(x)\,dx,
∫kf(x) dx=k∫f(x) dx.\int kf(x)\,dx=k\int f(x)\,dx.

Some useful formulas are

∫ex dx=ex+C,∫cos⁡x dx=sin⁡x+C,\int e^x\,dx=e^x+C,\qquad \int \cos x\,dx=\sin x+C,
∫sin⁡x dx=−cos⁡x+C,∫sec⁡2x dx=tan⁡x+C.\int \sin x\,dx=-\cos x+C,\qquad \int \sec^2x\,dx=\tan x+C.

Example

∫(6x2−4x+3x)dx=2x3−2x2+3ln⁡∣x∣+C.\begin{aligned} \int \left(6x^2-4x+\frac{3}{x}\right)dx &=2x^3-2x^2+3\ln|x|+C. \end{aligned}

Differentiate the result to check it:

ddx(2x3−2x2+3ln⁡∣x∣+C)=6x2−4x+3x.\frac{d}{dx}\left(2x^3-2x^2+3\ln|x|+C\right)=6x^2-4x+\frac{3}{x}.

Takeaway: For an , include CC, apply the basic rules term by term, and verify by differentiation.

Substitution and the reverse chain rule

reverses the chain rule. It is useful when an integrand contains an inner expression together with its derivative, or a constant multiple of that derivative.

Procedure

  1. Choose an inner expression and set it equal to uu.

  2. Compute dudu.

  3. Rewrite the entire integral using uu and dudu.

  4. Integrate with respect to uu.

  5. Substitute the original expression back for an .

  6. Add CC when there are no limits.

For

∫f(g(x))g′(x) dx,\int f(g(x))g'(x)\,dx,

set u=g(x)u=g(x), so that du=g′(x) dxdu=g'(x)\,dx. The integral becomes

∫f(u) du.\int f(u)\,du.

Example with a matching derivative

Let u=x2+5u=x^2+5 in

∫2x(x2+5)4 dx.\int 2x(x^2+5)^4\,dx.

Then du=2x dxdu=2x\,dx, giving

∫u4 du=u55+C.\int u^4\,du=\frac{u^5}{5}+C.

Substituting back produces

∫2x(x2+5)4 dx=(x2+5)55+C.\int 2x(x^2+5)^4\,dx=\frac{(x^2+5)^5}{5}+C.

Example with a constant factor

For

∫cos⁡(3x) dx,\int \cos(3x)\,dx,

let u=3xu=3x. Since du=3 dxdu=3\,dx, we have dx=13 dudx=\frac{1}{3}\,du. Thus,

∫cos⁡(3x) dx=13∫cos⁡u du=13sin⁡(3x)+C.\int \cos(3x)\,dx=\frac{1}{3}\int \cos u\,du=\frac{1}{3}\sin(3x)+C.

The factor 13\frac{1}{3} compensates for the derivative of the inner expression.

Definite integrals

For limits, either return to the original variable before using the original limits or change the limits with the substitution:

∫abf(g(x))g′(x) dx=∫g(a)g(b)f(u) du.\int_a^b f(g(x))g'(x)\,dx=\int_{g(a)}^{g(b)}f(u)\,du.

For example,

∫012x(x2+1)3 dx=∫12u3 du=[u44]12=154.\begin{aligned} \int_0^1 2x(x^2+1)^3\,dx &=\int_1^2u^3\,du\\ &=\left[\frac{u^4}{4}\right]_1^2 =\frac{15}{4}. \end{aligned}

Once the limits have been changed, do not substitute back to xx at the end.

Takeaway: A successful substitution accounts for both the new expression and its differential factor.

Approximating integrals numerically

When an exact is unavailable or a problem asks for an approximation, use . Divide [a,b][a,b] into nn equal subintervals of width

Δx=b−an,\Delta x=\frac{b-a}{n},

with partition points

xi=a+iΔx.x_i=a+i\Delta x.

Rectangle methods

A left uses the left endpoint of each subinterval:

Ln=Δx∑i=0n−1f(xi).L_n=\Delta x\sum_{i=0}^{n-1}f(x_i).

A right uses the right endpoint:

Rn=Δx∑i=1nf(xi).R_n=\Delta x\sum_{i=1}^{n}f(x_i).

A midpoint sum uses the midpoint mi=xi−1+xi2m_i=\frac{x_{i-1}+x_i}{2}:

Mn=Δx∑i=1nf(mi).M_n=\Delta x\sum_{i=1}^{n}f(m_i).

Trapezoidal rule

The trapezoidal rule replaces each curved section with a trapezoid:

Tn=Δx2[f(x0)+2f(x1)+⋯+2f(xn−1)+f(xn)].T_n=\frac{\Delta x}{2}\left[f(x_0)+2f(x_1)+\cdots+2f(x_{n-1})+f(x_n)\right].

For equally spaced points,

Tn=Ln+Rn2.T_n=\frac{L_n+R_n}{2}.

If a function is increasing, the left sum generally underestimates and the right sum generally overestimates. For a concave-up function, the trapezoidal rule generally overestimates; for a concave-down function, it generally underestimates. These are tendencies and require attention to changes in behavior.

Example

For f(x)=x2f(x)=x^2 on [0,2][0,2] with two subintervals, Δx=1\Delta x=1. Therefore,

L2=1[f(0)+f(1)]=1,L_2=1[f(0)+f(1)]=1,
R2=1[f(1)+f(2)]=5.R_2=1[f(1)+f(2)]=5.

The exact value is 83\frac{8}{3}, which lies between these estimates. The trapezoidal estimate is

T2=1+52=3.T_2=\frac{1+5}{2}=3.

Increasing nn usually improves an approximation because the subintervals become narrower.

Takeaway: Choose the numerical method specified by the problem, and use monotonicity or concavity to anticipate the direction of error.

Definite integrals and signed accumulation

A is written

∫abf(x) dx\int_a^b f(x)\,dx

and is defined, when the limit exists, by Riemann sums:

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi∗)Δx.\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^{n}f(x_i^*)\Delta x.

Here, xi∗x_i^* is a sample point in the ii-th subinterval. The result measures net signed accumulation: contributions above the horizontal axis are positive, and contributions below it are negative.

Signed area and total area

If f(x)≥0f(x)\geq 0 throughout [a,b][a,b], the is the geometric area between the graph and the axis. If the function changes sign, the integral gives net signed area, not total geometric area. Total area is found with

∫ab∣f(x)∣ dx,\int_a^b|f(x)|\,dx,

usually by splitting at the zeros of ff.

For example,

∫02πsin⁡x dx=0\int_0^{2\pi}\sin x\,dx=0

because the positive and negative contributions cancel. However,

∫02π∣sin⁡x∣ dx=4.\int_0^{2\pi}|\sin x|\,dx=4.

Important properties

∫aaf(x) dx=0,∫baf(x) dx=−∫abf(x) dx,\int_a^a f(x)\,dx=0, \qquad \int_b^a f(x)\,dx=-\int_a^b f(x)\,dx,
∫ab[f(x)+g(x)] dx=∫abf(x) dx+∫abg(x) dx,\int_a^b[f(x)+g(x)]\,dx=\int_a^b f(x)\,dx+\int_a^b g(x)\,dx,
∫abkf(x) dx=k∫abf(x) dx,\int_a^b kf(x)\,dx=k\int_a^b f(x)\,dx,

and for any point cc,

∫abf(x) dx=∫acf(x) dx+∫cbf(x) dx.\int_a^b f(x)\,dx=\int_a^c f(x)\,dx+\int_c^b f(x)\,dx.

The variable of integration is a dummy variable, so ∫abf(x) dx=∫abf(t) dt\int_a^b f(x)\,dx=\int_a^b f(t)\,dt.

Takeaway: Always determine whether an integral represents net signed accumulation or total geometric area.

The two parts of the Fundamental Theorem

The has two complementary parts. Together, they connect accumulation with rates of change.

Accumulation and differentiation

If ff is continuous and

F(x)=∫axf(t) dt,F(x)=\int_a^x f(t)\,dt,

then

F′(x)=f(x).F'(x)=f(x).

The variable tt is a dummy variable inside the integral, while xx indicates the changing upper limit. For example,

F(x)=∫2x1+t4 dtF(x)=\int_2^x\sqrt{1+t^4}\,dt

has derivative

F′(x)=1+x4.F'(x)=\sqrt{1+x^4}.

No elementary is needed for this differentiation.

If the upper limit is a function, apply the chain rule:

ddx∫ag(x)f(t) dt=f(g(x))g′(x).\frac{d}{dx}\int_a^{g(x)}f(t)\,dt=f(g(x))g'(x).

Thus,

ddx∫1x2cos⁡(t3) dt=2xcos⁡(x6).\frac{d}{dx}\int_1^{x^2}\cos(t^3)\,dt=2x\cos(x^6).

If the variable is the lower limit, the sign changes:

ddx∫xaf(t) dt=−f(x).\frac{d}{dx}\int_x^a f(t)\,dt=-f(x).

Evaluating a

If F′(x)=f(x)F'(x)=f(x) on [a,b][a,b], then

∫abf(x) dx=F(b)−F(a).\int_a^b f(x)\,dx=F(b)-F(a).

The notation [F(x)]ab[F(x)]_a^b means F(b)−F(a)F(b)-F(a).

For example,

∫13(2x+1) dx=[x2+x]13=(9+3)−(1+1)=10.\begin{aligned} \int_1^3(2x+1)\,dx &=[x^2+x]_1^3\\ &=(9+3)-(1+1)=10. \end{aligned}

Net change and motion

If r(t)r(t) is the rate of change of a quantity Q(t)Q(t), then

Q(b)−Q(a)=∫abr(t) dt.Q(b)-Q(a)=\int_a^b r(t)\,dt.

For velocity v(t)v(t), is

s(b)−s(a)=∫abv(t) dt,s(b)-s(a)=\int_a^b v(t)\,dt,

while total distance is

∫ab∣v(t)∣ dt.\int_a^b|v(t)|\,dt.

For v(t)=t−2v(t)=t-2 on [0,4][0,4], is zero because the positive and negative contributions cancel, but total distance is 44.

Takeaway: Use Part 1 to differentiate an integral-defined function and Part 2 to evaluate a from an .

A reliable problem-solving strategy

Use this sequence to organize an integration problem:

  1. Classify the problem. Decide whether it is an , a , a numerical approximation, or a derivative of an accumulation function.

  2. Inspect the integrand. Look for a basic , a sum of terms, a power, or a composite expression with a matching derivative.

  3. Select a method. Use direct integration, substitution, a , a numerical rule, or the .

  4. Track constants and limits. Include CC only for indefinite integrals. Reversing limits changes the sign.

  5. Interpret signs. Decide whether the result is net signed accumulation, total area, , or total distance.

  6. Check the result. Differentiate an indefinite-integral answer, compare a numerical estimate with expected bounds, or consider the magnitude and sign of a .

Frequent errors

  • Forgetting CC in an .

  • Applying the power rule to x−1x^{-1}; instead, ∫x−1 dx=ln⁡∣x∣+C\int x^{-1}\,dx=\ln|x|+C.

  • Omitting the derivative factor in substitution, as in incorrectly writing ∫cos⁡(3x) dx=sin⁡(3x)+C\int\cos(3x)\,dx=\sin(3x)+C.

  • Confusing signed area with total geometric area.

  • Confusing , which uses velocity, with total distance, which uses ∣v(t)∣|v(t)|.

  • Changing the limits during substitution but then substituting back to the original variable.

  • Adding CC to a , which already produces a number.

A final derivative check is often the fastest way to catch an algebraic or constant-factor error.