Section 1.9 Applications of multiple integrals
Subsection 1.9.1 Center of mass
Definition 1.9.1. Center of mass.
Let \(\mathcal{R}\subseteq \R^n\) (\(n=2,3\)) represent a solid object, and suppose the function \(\delta\colon\mathcal{R}\rightarrow \R\) defines the mass density per unit area (\(n=2\)) or unit volume (\(n=3\)) at points in \(\mathcal{R}\text{.}\) We define the mass, first moments, and center of mass of \(\mathcal{R}\) as follows.
Example 1.9.2. Centroids of triangles.
Let \(T\) be the solid triangular region with vertices \((0,0),(1,0),(0,1)\text{.}\)
Compute the center of mass of \(T\) when the density function \(\delta(x,y)=c\) is constant. (In other words, compute the centroid of \(T\)).
Compute the center of mass of \(T\) when the density function is given by \(\delta(x,y)=x+y\text{.}\)
Let \(T'\) be the solid triangular region with vertices \((0,0),(a,b),(c,d)\text{.}\) Give a formula for the centroid of \(T'\) in terms of \(a,b,c,d\text{.}\)
-
We compute
\begin{align*} M \amp = \iint\limits_Tc\, dA \\ \amp =c\operatorname{area} T=\frac{c}{2}\\ M_y \amp=\iint\limits_T cx\, dA \\ \amp=c\int_0^1\int_0^{1-x}x\, dy\, dx \\ \amp = c\left(\frac{1}{2}x-\frac{1}{3}x^3\right)\Bigr\vert_0^1\\ \amp = \frac{c}{6}\\ M_x \amp =\iint\limits_T cy\, dA \\ \amp =c\int_0^1\int_0^{1-y}y\, dx\, dy\\ \amp =\frac{c}{6} \\ (\overline{x},\overline{y}) \amp=(M_y/M, M_x/M) \\ \amp = (1/3,1/3))\text{.} \end{align*}Note: intuitively it is no surprise that the center of mass of \(T\) lies along the line \(y=x\text{,}\) since this is an axis of symmetry of \(T\text{.}\) To make this symmetry argument rigorous, however, requires some finessing.
-
We compute
\begin{align*} M \amp = \iint\limits_T x+y\, dA \\ \amp=\int_0^1\int_0^{1-x}x+y\, dy\, dx \\ \amp =\int_0^1x(1-x)+\frac{1}{2}(1-x)^2\, dx\\ \amp = \frac{1}{3}\\ M_y \amp =\iint\limits_T x(x+y)\, dA\\ \amp = \int_0^1\int_0^{1-x}x^2+xy\, dy\, dx\\ \amp = \int_0^1x^2(1-x)+\frac{1}{2}x(1-x)^2\, dx\\ \amp = \frac{1}{8}\\ M_x \amp = \iint\limits_T y(x+y)\, dA \\ \amp =\int_0^1\int_0^{1-y}xy+y^2\, dx\, dy\\ \amp =\frac{1}{8}\\ (\overline{x},\overline{y}) \amp=(M_y/M, M_x/M) \\ \amp = (3/8, 3/8)\text{.} \end{align*}Again, it is no surprise that the center of mass lies along the line \(y=x\text{,}\) since both \(T\) and the density function \(\delta(x,y)=x+y\) are symmetric with respect to this line. In contrast to the previous computation, the center of mass is further from the origin. This makes sense in terms of our “balancing point” interpretation of center of mass: in this case the greater amount of mass in the upper right of the triangle moves the balancing point up and to the right.
-
The transformation \(G(u,v)=(au+cv, bu+dv)\) maps the triangle \(T\) with vertices \((0,0),(1,0), (0,1)\) in the \(uv\)-plane to the given triangle \(T'\) in the \(xy\)-plane. We can use substitution to reduce the computation for \(T'\) to that of \(T\text{.}\) Let \(M, M_y, M_x\) be the mass and moments of \(T\text{,}\) and \(M', M_y', M_x'\) the mass and moments of \(T'\text{.}\)
\begin{align*} M'\amp=\iint\limits_{T'}1\, dA \\ \amp =\iint\limits_T \abs{J(G)}\, dA \\ \amp =\iint\limits_T\abs{ad-bc}\, dA\\ \amp =\abs{ad-bc}M\\ M_y' \amp=\iint\limits_{T'}x\, dA \\ \amp =\iint\limits_T (au+cv) \abs{ad-bc}\, dA\\ \amp =\abs{ad-bc}(a\iint\limits_Tu\, dA+c\iint\limits_T v\, dA)\\ \amp =\abs{ad-bc}(aM_y+cM_x)\\ M_x' \amp=\iint\limits_{T'}y\, dA \\ \amp =\iint\limits_T (bu+dv) \abs{ad-bc}\, dA\\ \amp =\abs{ad-bc}(b\iint\limits_Tu\, dA+d\iint\limits_T v\, dA)\\ \amp =\abs{ad-bc}(bM_y+dM_x)\\ (\overline{x}',\overline{y}') \amp = (M_y'/M', M_x'/M') \\ \amp = \frac{1}{M}(aM_y+cM_x, bM_y+dM_x)\\ \amp = \frac{1}{3}(a+c,b+d)\text{.} \end{align*}Note: looking closely at the penultimate line, we see that
\begin{equation*} (\overline{x}',\overline{y}')=G(\overline{x}, \overline{y})\text{.} \end{equation*}In other words, the center of mass of \(T'=G(T)\) is the result of applying \(G\) to the center of mass of \(T\text{!}\) This is a consequence of the fact that \(G\) is a linear transformation.
Example 1.9.3. Centroid of hemisphere.
Let \(D\) be the solid hemisphere \(x^2+y^2+z^2\leq 4\text{,}\) \(z\geq 0\text{.}\) Find the center of mass of \(D\) assuming the mass density function is given by \(\delta(x,y,z)=z\text{.}\)
It is inuitively clear from the symmetry of \(D\text{,}\) as well as the fact that \(\delta(x,y,z)=z\) does not depend on \(x\) or \(y\text{,}\) that \(M_{yz}=M_{xz}=0\text{.}\) In more detail let \(D=D_1\cup D_2\) where \(D_1\) is the right half of \(D\) (i.e., where \(x\geq 0\)), and \(D_2\) is the left half. Let \(f(x,y,z)=x\delta(x,y,z)=xz\text{.}\) The transformation \(G(x,y,z)=(-x,y,z)\) maps \(D_1\) onto \(D_2\text{.}\) By substitution we have
and thus
A similar argument works to show \(M_x=0\text{.}\)
To compute the remaining ingredients we will use spherical coordinates. Observe that the solid hemisphere \(D\) has spherical description
Now compute:
Subsection 1.9.2 Probability and density functions
Definition 1.9.4. Random variable.
Let \(S\) be any set, which we will consider to be a sample space. A random variable is a function
Definition 1.9.5.
Let \(X, Y\) be random variables defined on the sample space \(S\text{.}\) A joint probability density function for \(X\) and \(Y\) is a function \(f\colon \R^2\rightarrow \R\) satisfying the following properties.
\(\displaystyle f(x,y)\geq 0\)
\(\displaystyle \int_{-\infty}^\infty\int_{-\infty}^\infty f(x,y)\, dx\, dy=1\)
\(\operatorname{Prob}\left( \{s\in S\colon (X(s),Y(s))\in \mathcal{R}\} \right)=\iint\limits_\mathcal{R}f(x,y)\, dA\) for any \(\mathcal{R}\subseteq \R^2\) over which \(f\) is integrable.
Example 1.9.6. Joint probability density function.
Verify that the function
is a joint probability distribution function.
Let \(R=[0,1]\times [0,1]\text{.}\) It is clear that \(f(x,y)\geq 0\) for all \((x,y)\text{.}\) Furthermore, we have
Definition 1.9.7.
Let \(\mathcal{R}\subseteq\R^2\) have area \(A\text{.}\) The random variables \(X, Y\) are uniformly distributed over \(\mathcal{R}\) if their joint probabiltity disribution function is given by
Definition 1.9.8. Expected value.
Assume the random variables \(X,Y\) on the sample set \(S\) have joint probability density function \(f(x,y)\text{.}\) We define the expected values of \(X\) and \(Y\text{,}\) denoted \(\mu_X\) and \(\mu_Y\text{,}\) as
Example 1.9.9. Joint probability density function.
Assume random variables \(X\) and \(Y\) have joint probability density function
Compute \(\mu_X\) and \(\mu_Y\) for any two random variables \(X\) and \(Y\) with joint probability distribution function \(f\text{.}\)
Compute the probability that \(X\geq Y\text{.}\)
-
We compute:
\begin{align*} \mu_X \amp =\iint\limits_R xf(x,y)\, dA \\ \amp = \int_0^1\int_0^16x^3y\, dx\, dy \\ \amp = 6\int_0^1x^3\, dx\int_0^1y\, dy\\ \amp =6(1/4)(1/2)=3/4 \\ \mu_Y \amp =\iint\limits_R yf(x,y)\, dA \\ \amp = \int_0^1\int_0^16x^2y^2\, dx\, dy \\ \amp = 6\int_0^1x^2\, dx\int_0^1y^2\, dy\\ \amp =6(1/3)(1/3)=2/3\text{.} \end{align*} -
Let \(\mathcal{R}=\{(x,y)\in [0,1]\times[0,1]\colon x\geq y\}\text{.}\) We have
\begin{align*} \operatorname{Prob}(\{s\in S\colon X(s)\geq Y(s)\}) \amp= \operatorname{Prob}(\{s\in S\colon (X(s),Y(s))\in \mathcal{R}\}) \\ \amp = \iint\limits_\mathcal{R}f(x,y)\, dA \amp (\knowl{./knowl/d_probability_functions.html}{\text{1.9.5}}) \\ \amp =\int_0^1\int_0^{x}6x^2y\, dy\, dx \\ \amp = \int_0^13x^4\\ \amp =\frac{3}{5}\text{.} \end{align*}