Subsection 6.4.1 Analyzing the Sums in the Riemann Integral
I want to be able to calculate the multivariable Riemann integral.
\begin{equation*}
\int_{I} f(x_1, x_2, \ldots, x_n) dV = \lim_{k \rightarrow
\infty} \sum_{l=0}^{k^n} f(x_l^*) \Delta V
\end{equation*}
The original Riemann integral was already a very difficult definition to actually work with. This multivariable version is even worse, since I haven’t specified how to actually do the sum over all
\(k^n\) subintervals. This is where I want to start: with a better understanding of this sum. However, working to this understanding in full generality or
\(\RR^n\) at the start is very unwieldy, so I’ll start with a scalar field
\(f(x,y)\) defined on an interval in
\(\RR^2\text{.}\) As noted before, In
\(\RR^2\text{,}\) I will write
\(\Delta A\) and
\(dA\) instead of
\(\Delta V\) and
\(dV\text{,}\) since the pieces of an interval in
\(\RR^2\) are rectangles and have area, not volume.
Consider an interval in
\(\RR^2\text{:}\) \(I = [a_1,b_1] \times
[a_2,b_2]\text{.}\) If I divide the two single-variable intervals into
\(k\) pieces, I can choose
\(x_{i_1}^* \in [a_1,b_1]\) and
\(y_{i_2}^* \in [a_2,b_2]\text{.}\) With these choices, the point
\((x_{i_1}^*, y_{i_2}^*)\) is a point in one of the subintervals of
\(I\text{.}\) As both the indices
\(i_1\) and
\(i_2\) count from
\(1\) to
\(k\text{.}\)
I actuallywant to count the two sums independently, so all count to
\(k_1\) in
\(x\) and to
\(k_2\) in
\(y\text{.}\) This might mean that I have more rectancles in a row than in a column, or vice-versa, but that’s fine; the rectangles are still subintervals making up the whole interval. The sum can now be written as a double sum over these two indices. The limit also needs to take both upper bounds to infinity.
\begin{equation*}
\int_{I} f(x,y) dA = \lim_{k_1 \rightarrow \infty} \lim_{k_2
\rightarrow \infty} \sum_{i_1=1}^{k_1} \sum_{i_2=1}^{k_2}
f(x_{i_1}^*,y_{i_2}^*) \Delta A
\end{equation*}
Instead of writing
\(\Delta A\) for the area of a subintervals, I could write this as the product of the height and width of this rectangle. The width,
\(\Delta x\text{,}\) is
\(\frac{b_1-a_1}{k_1}\text{,}\) the length of the subdivision in the
\(x\) variable. The height,
\(\Delta y\text{,}\) is likewise
\(\frac{b_2-a_2}{k_2}\text{.}\)
\begin{equation*}
\int_{I} f(x,y) dA = \lim_{k \rightarrow \infty}
\sum_{i_1=1}^{k_1} \sum_{i_2=1}^{k_2} f(x_{i_1}^*,y_{i_2}^*)
\Delta x \Delta y
\end{equation*}
Now, let me group this using some brackets, moving some terms in and out of sums (recall than anything that doesn’t involve the index of a particular sum and be moved out from the sum).
\begin{equation*}
\int_{I} f(x,y) dA = \lim_{k_1 \rightarrow \infty}
\sum_{i_1=1}^{k_1} \left[ \lim_{k_2 \rightarrow \infty}
\sum_{i_2=1}^{k_2} f(x_{i_1}^*,y_{i_2}^*) \Delta y
\right] \Delta x
\end{equation*}
Now the term inside the brackets is just a single-variable Riemann integral. As far as the sum inside the brackets is concerns,
\(x\) and
\(x_{i_1}^*\) are constants. The sum only changes the
\(y\) coordinates. I can treat this as a single variable integral in the variable
\(y\text{.}\)
\begin{equation*}
\int_{I} f(x,y) dA = \lim_{k_1 \rightarrow \infty}
\sum_{i_1}^{k_1} \left[ \int_c^d f(x_{i_1}^*,y) dy \right]
\Delta x
\end{equation*}
Now I can consider the outside sum and, again, this is just a single-variable Riemann integral. It treats the variable
\(y\) as constant and integrates in
\(x\text{.}\) Let me write this as an integral as well.
\begin{equation*}
\int_{I} f(x,y) dA = \int_a^b \left[ \int_c^d f(x,y) dy \right]
dx
\end{equation*}
This is called an
iterated integral and it will be the calculation techinque for definite integrals. Every definite integral of an (integrable) scalar field on an interval can be treated as a iterated single-variable integral in each variable independently.
In an iterated integral, I must always from the inside out: the infinitesimal piece
\(dx\) or
\(dy\) that is closest to the function acts first. Its bounds are written on the right, closest to the function. That integral is a single-variable integration, pretending that the other variables are constant, as was the case with partial derivatives. Then, once the first integration is finished, I proceed outward to the next integral.
Iterated integrals also work in higher dimensions: I just iterate through the variables. In
\(\RR^3\text{,}\) over the interval
\(I =
[a_1,b_1] \times [a_2,b_2] \times [a_3,b_3]\) with three iterations, this is the setup.
\begin{equation*}
\int_{I} f(x,y,z) dV = \int_{a_1}^{b_1} \left[ \int_{a_2}^{b_2}
\left[ \int_{a_3}^{b_3} f(x,y,z) dz \right] dy \right] dx
\end{equation*}
Notice that the bounds of integration always match with the correct infinitesimal piece, working from the inside out. I won’t write the full version in
\(\RR^n\text{,}\) but it works same way. It has
\(n\) iterated pieces.