Prerequisites: FTC Review · 1D Improper Integrals · U-sub & Partial Fractions

As rectangles multiply, their total area converges to the integral. How close can we get?

Riemann Sums

Partition $[a,b]$ into $n$ sub-intervals. For each, erect a rectangle whose height is $f$ evaluated at a chosen sample point. The Riemann sum is

$$ S_n = \sum_{k=1}^{n} f(x_k^*)\,\Delta x $$

As $n\to\infty$, $S_n\to\int_a^b f(x)\,dx$ for any choice of sample points, provided $f$ is integrable.

S = 1.9835

Independence of Sample Points

Fix a large $n$. No matter where you pick the sample point within each sub-interval, the sum barely changes - it always converges to the same value.

Drag the red dots below to move sample points within their sub-intervals. The total stays near $\int_0^\pi \sin x\,dx = 2$.

S = 2.0000

The sample points (red dots) are draggable horizontally within each sub-interval.

Properties of the Definite Integral

We know $\int_0^1 e^{-x^2}\,dx$ exists. Can we pin down its value without finding an antiderivative? Surprisingly, we can squeeze it between two numbers using nothing but common sense.

On $[0,1]$, the exponent $-x^2$ ranges from $0$ to $-1$, so $e^{-1}\le e^{-x^2}\le e^0 = 1$. The function is sandwiched between two constants. Since the interval has length 1:

$e^{-1}\approx 0.368\;\le\;\displaystyle\int_0^1 e^{-x^2}\,dx\;\le\; 1$

This is a special case of the general bounding property:

$$m(b-a)\le\int_a^b f(x)\,dx\le M(b-a) \quad\text{where } m\le f\le M$$

Linearity. This extends naturally. If we can split integrands and pull out constants, we can decompose hard integrals into easier ones:

$$\int_a^b\bigl[c_1 f + c_2 g\bigr]\,dx = c_1\int_a^b f\,dx + c_2\int_a^b g\,dx$$

Additivity. Integrals respect cutting. If $a < b < c$:

$$\int_a^c f = \int_a^b f + \int_b^c f$$

This is how we handle piecewise functions and singularities.

Mean Value Theorem for Integrals. The bounding property says $m\le\frac{1}{b-a}\int_a^b f\le M$. That middle quantity is the average value of $f$. If $f$ is continuous, the Intermediate Value Theorem says $f$ must hit every value between $m$ and $M$. So there exists $x_1\in[a,b]$ with:

$$\int_a^b f(x)\,dx = f(x_1)(b-a) \quad\text{for some } x_1\in[a,b]$$
Key insight: The function must hit its average somewhere. The rectangle with height $f(x_1)$ and width $b-a$ has exactly the same area as the region under the curve.

FTC connection. $\frac{d}{dx}\int_a^x f(t)\,dt = f(x)$. Differentiation undoes integration - the rate of change of accumulated area is the height of the curve.

Common trap: The bounds $m(b-a)$ and $M(b-a)$ require $m$ and $M$ on the specific interval $[a,b]$. Using the global min/max gives a valid but useless bound.

When Integrals Misbehave

Everything so far assumed $f$ is bounded on a finite interval. What happens when the interval stretches to infinity, or $f$ blows up?

Infinite limits. We define

$$\int_a^\infty f\,dx = \lim_{b\to\infty}\int_a^b f\,dx$$

If the limit exists, the integral converges; otherwise it diverges.

Example 1: $\int_1^\infty\frac{dx}{x^2}$. We expect this to converge since $1/x^2$ drops off fast:

$$\int_1^b\frac{dx}{x^2} = \left[-\frac{1}{x}\right]_1^b = 1 - \frac{1}{b}\;\to\; 1 \quad\checkmark$$

Example 2: $\int_0^1\frac{dx}{\sqrt{x}}$. There's a singularity at $x=0$, so we approach it as a limit:

$$\int_\varepsilon^1\frac{dx}{\sqrt{x}} = \left[2\sqrt{x}\right]_\varepsilon^1 = 2 - 2\sqrt{\varepsilon}\;\to\; 2 \quad\checkmark$$

Converges despite the blow-up.

The big trap - interior discontinuities require splitting. Consider $\int_{-1}^{1}\frac{dx}{x^2}$. Naively: $[-1/x]_{-1}^{1} = -1-1 = -2$. That's negative area for a positive function - obviously wrong! The singularity at $x=0$ means we must split and take limits separately. Both halves diverge to $+\infty$.

The $p$-test. These two families tell us everything about convergence near $\infty$ and near $0$:

$$\int_1^\infty x^{-p}\,dx \;\text{ converges iff } p > 1$$

$$\int_0^1 x^{-p}\,dx \;\text{ converges iff } p < 1$$

Key pattern: The critical exponent is always $p = 1$ - right at the boundary between convergent and divergent. At $p=1$ both integrals diverge ($\ln x$).

Practice - §4.1

From Kaplan, problems after §4.1

1(c) Evaluate $\displaystyle\iint_R r^3\cos\theta\,dr\,d\theta$ over $1\le r\le 2$, $\frac{\pi}{4}\le\theta\le\pi$
Compute $\displaystyle\iint_R r^3\cos\theta\,dr\,d\theta$, where $R: 1\le r\le 2$, $\frac{\pi}{4}\le\theta\le\pi$.

Step 1: Separate the integrals

The integrand factors as a product $r^3\cdot\cos\theta$, so the double integral separates:

$$\int_{\pi/4}^{\pi}\int_1^2 r^3\cos\theta\,dr\,d\theta = \int_{\pi/4}^{\pi}\cos\theta\,d\theta \cdot \int_1^2 r^3\,dr$$

Step 2: Evaluate each factor

$$\int_{\pi/4}^{\pi}\cos\theta\,d\theta = [\sin\theta]_{\pi/4}^{\pi} = 0 - \frac{\sqrt{2}}{2} = -\frac{\sqrt{2}}{2}$$

$$\int_1^2 r^3\,dr = \left[\frac{r^4}{4}\right]_1^2 = 4 - \frac{1}{4} = \frac{15}{4}$$

Result

$$\iint_R r^3\cos\theta\,dr\,d\theta = -\frac{\sqrt{2}}{2}\cdot\frac{15}{4} = \boxed{-\dfrac{15\sqrt{2}}{8}}$$
1(d) Evaluate $\displaystyle\iiint_R (x+z)\,dV$ over the tetrahedron with vertices $(0,0,0)$, $(1,0,0)$, $(0,2,0)$, $(0,0,3)$
Compute $\displaystyle\iiint_R (x+z)\,dV$, where $R$ is the tetrahedron with vertices $(0,0,0)$, $(1,0,0)$, $(0,2,0)$, $(0,0,3)$.

Step 1: Set up the limits

The tetrahedron satisfies $\frac{x}{1}+\frac{y}{2}+\frac{z}{3}\le 1$ with $x,y,z\ge 0$.

Limits: $0\le x\le 1$, $0\le y\le 2(1-x)$, $0\le z\le 3(1-x-y/2)$.

Step 2: Inner integral ($z$)

Let $u = 1-x-y/2$. Then:

$$\int_0^{3u}(x+z)\,dz = 3xu + \frac{9}{2}u^2$$

Step 3: Middle integral ($y$)

With $y$ from $0$ to $2(1-x)$, we have $u$ from $1-x$ down to $0$, and $dy = -2\,du$:

$$\int_0^{2(1-x)}\!\left(3xu+\tfrac{9}{2}u^2\right)dy = \int_0^{1-x}\!\left(3xu+\tfrac{9}{2}u^2\right)\cdot 2\,du = \bigl[3xu^2+3u^3\bigr]_0^{1-x}$$

$$= 3x(1-x)^2+3(1-x)^3 = 3(1-x)^2\bigl[x+(1-x)\bigr] = 3(1-x)^2$$

Result

$$\int_0^1 3(1-x)^2\,dx = 3\!\left[-\frac{(1-x)^3}{3}\right]_0^1 = 3\cdot\frac{1}{3} = \boxed{1}$$
2(a) Volume below $z = e^x\cos y$ for $0\le x\le 1$, $0\le y\le\pi/2$
Find the volume below $z = e^x\cos y$ for $0\le x\le 1$, $0\le y\le\pi/2$.

Step 1: Set up and separate

$$V = \int_0^1\int_0^{\pi/2} e^x\cos y\,dy\,dx = \int_0^1 e^x\,dx\cdot\int_0^{\pi/2}\cos y\,dy$$

Step 2: Evaluate each factor

$$\int_0^1 e^x\,dx = e-1$$

$$\int_0^{\pi/2}\cos y\,dy = [\sin y]_0^{\pi/2} = 1$$

Result

$$V = (e-1)\cdot 1 = \boxed{e-1}$$
2(c) Volume below $z = x^2 y$ for $0\le x\le 1$, $x+1\le y\le x+2$
Find the volume below $z = x^2 y$ for $0\le x\le 1$, $x+1\le y\le x+2$.

Step 1: Set up

$$V = \int_0^1\int_{x+1}^{x+2} x^2 y\,dy\,dx$$

Step 2: Inner integral

$$\int_{x+1}^{x+2} x^2 y\,dy = x^2\left[\frac{y^2}{2}\right]_{x+1}^{x+2} = \frac{x^2}{2}\bigl[(x+2)^2-(x+1)^2\bigr] = \frac{x^2}{2}(2x+3)$$

Step 3: Outer integral

$$\int_0^1\frac{x^2(2x+3)}{2}\,dx = \frac{1}{2}\int_0^1(2x^3+3x^2)\,dx = \frac{1}{2}\left[\frac{x^4}{2}+x^3\right]_0^1 = \frac{1}{2}\cdot\frac{3}{2}$$

Result

$$V = \boxed{\dfrac{3}{4}}$$
5(a) Interchange order: $\displaystyle\int_0^1\int_0^{1-x} f(x,y)\,dy\,dx$
Interchange the order of integration: $\displaystyle\int_0^1\int_0^{1-x} f(x,y)\,dy\,dx$.

Step 1: Identify the region

$0\le x\le 1$, $0\le y\le 1-x$. This is the triangle below $y=1-x$ (i.e. $x+y\le 1$) in the first quadrant.

Step 2: New limits

For fixed $y\in[0,1]$, $x$ ranges from $0$ to $1-y$.

Result

$$\int_0^1\int_0^{1-x} f\,dy\,dx = \boxed{\int_0^1\int_0^{1-y} f\,dx\,dy}$$
5(c) Interchange order: $\displaystyle\int_0^1\int_0^{\sqrt{y}} f(x,y)\,dx\,dy$
Interchange the order of integration: $\displaystyle\int_0^1\int_0^{\sqrt{y}} f(x,y)\,dx\,dy$.

Step 1: Identify the region

$0\le y\le 1$, $0\le x\le\sqrt{y}$, i.e. $x^2\le y\le 1$ with $0\le x\le 1$.

Step 2: New limits

For fixed $x\in[0,1]$, $y$ ranges from $x^2$ to $1$.

Result

$$\int_0^1\int_0^{\sqrt{y}} f\,dx\,dy = \boxed{\int_0^1\int_{x^2}^{1} f\,dy\,dx}$$