Brain Gains (Rapid Recall, Jivin' Generation)

- A metal plate covers the region in the first quadrant that lies below the parabola $y=9-x^2$. The density (mass per area) at points in the plate is given by the function $\delta = xy$. Set up an iterated double integral that would give the mass of this metal plate.
Solution
The solution is $\ds\iint_Rdm =\iint_R\delta dydx = \int_0^3\int_0^{9-x^2}(xy)dydx$.
Here's some easy to modify Mathematica code that will compute the integral for you, as well as draw the region to help you know that what you gave for the bounds is correct.
OuterBounds = {x, 0, 3};
InnerBounds = {y, 0, 9 - x^2};
Integrand = x y;
Integrate[Integrand, OuterBounds, InnerBounds]
CoordinateSystem = {x, y};
ParametricPlot[CoordinateSystem, OuterBounds, InnerBounds, Mesh -> {10, 0}]
ParametricPlot[Evaluate[CoordinateSystem, OuterBounds, InnerBounds], Mesh -> {10, 0}]
- Set up iterated integral formulas that would give the center of mass $\bar x$ and $\bar y$ for the region in the previous part.
Solution
We have $\ds\bar x = \frac{\iint_Rxdm}{\iint_Rdm} =\frac{\iint_Rxdydx}{\iint_Rdydx} = \frac{\int_0^3\int_0^{9-x^2}x(xy)dydx}{\int_0^3\int_0^{9-x^2}xydydx}$.
The only difference for $\bar y$ is we change the $x$ to a $y$, so that we are finding the average $y$ value, instead of the average $x$-value. This gives $\ds\bar y = \frac{\iint_Rydm}{\iint_Rdm} =\frac{\iint_Rydydx}{\iint_Rdydx} = \frac{\int_0^3\int_0^{9-x^2}y(xy)dydx}{\int_0^3\int_0^{9-x^2}xydydx}$.
OuterBounds = {x, 0, 3};
InnerBounds = {y, 0, 9 - x^2};
density = x y;
Integrate[x*density, OuterBounds, InnerBounds]/Integrate[density, OuterBounds, InnerBounds]
Integrate[y*density, OuterBounds, InnerBounds]/Integrate[density, OuterBounds, InnerBounds]
CoordinateSystem = {x, y};
ParametricPlot[CoordinateSystem, OuterBounds, InnerBounds, Mesh -> {10, 0}]
ParametricPlot[Evaluate[CoordinateSystem, OuterBounds, InnerBounds], Mesh -> {10, 0}]
- What is the difference between the three double integrals $\iint_RdA$, $\iint_Rdydx$, and $\iint_Rdxdy$?
Solution
The three integral notations all add up area. The first notation assumes you have cut the region up into tiny rectangles where both the width and height have been reduced. The second slices a region up into vertical slabs with a tiny width $dx$. The later assumes the slabs are horizontal, with a tiny height $dy$. They all compute the same number, just in a different way. Fubini's theorem provides precise details under which these three integrals are guaranteed to be equal.
We can use the Mesh command in Mathematica to quickly visualize this.
xBounds = {x, 0, 3};
yBounds = {y, 0, 9 - x^2};
CoordinateSystem = {x, y};
ParametricPlot[Evaluate[CoordinateSystem, xBounds, yBounds], Mesh -> {20, 20}]
ParametricPlot[Evaluate[CoordinateSystem, xBounds, yBounds], Mesh -> {20, 0}]
ParametricPlot[Evaluate[CoordinateSystem, xBounds, yBounds], Mesh -> {0, 20}]
- Set up an iterated integral, using polar coordinates, that would give the area in the second quadrant inside a circle or radius 5 that is centered at the origin.
Solution
The area is $\ds\iint_RdA =\iint_Rr drd\theta = \int_{\pi/2}^{\pi}\int_0^{5}rdrd\theta$.
Here's some code that will plot any polar region. The key is to use the change-of-coordinates $x = r\cos\theta$ and $y=r\sin\theta$. This code can be adapted to work with any change of coordinates, which we'll focus on in a couple weeks.
OuterBounds = {theta, Pi/2, Pi};
InnerBounds = {r, 0, 5};
Integrand = r;
Integrate[Integrand, OuterBounds, InnerBounds]
CoordinateSystem = {r Cos[theta], r Sin[theta]};
ParametricPlot[CoordinateSystem, OuterBounds, InnerBounds, Mesh -> {10, 0}]
ParametricPlot[Evaluate[CoordinateSystem, OuterBounds, InnerBounds], Mesh -> {10, 0}]
- Set up iterated integral formulas, using polar coordinates, that would give the centroid (center of mass, assuming constant density) of the region above.
Solution
The centroid $(\bar x, \bar y)$ is the point that gives the average $(x,y)$ coordinates of the points in the region. It's the geometric center, and variable densities are ignored. These are just average $x$ and $y$ values, so we use the average value formula $\bar f = \frac{\iint_R f dA}{\iint_R dA}$, with $f$ equal to $x$ and $y$ respectively, to obtain
- $\ds\bar x = \frac{\iint_RxdA}{\iint_RdA} =\frac{\iint_R(r\cos\theta)rdrd\theta}{\iint_Rrdrd\theta} = \frac{\int_{\pi/2}^{\pi}\int_0^{5}rdrd\theta}{\int_{\pi/2}^{\pi}\int_0^{5}(r\cos\theta)rdrd\theta}$ and
- $\ds\bar y = \frac{\iint_RxdA}{\iint_RdA} =\frac{\iint_R(r\sin\theta)rdrd\theta}{\iint_Rrdrd\theta} = \frac{\int_{\pi/2}^{\pi}\int_0^{5}rdrd\theta}{\int_{\pi/2}^{\pi}\int_0^{5}(r\sin\theta)rdrd\theta}$.
With Mathematica, we can quickly compute these.
OuterBounds = {theta, Pi/2, Pi};
InnerBounds = {r, 0, 5};
Integrate[(r Cos[theta]) r, OuterBounds, InnerBounds]/Integrate[r, OuterBounds, InnerBounds]
Integrate[(r Sin[theta]) r, OuterBounds, InnerBounds]/Integrate[r, OuterBounds, InnerBounds]
CoordinateSystem = {r Cos[theta], r Sin[theta]};
ParametricPlot[CoordinateSystem, OuterBounds, InnerBounds, Mesh -> {10, 0}]
ParametricPlot[Evaluate[CoordinateSystem, OuterBounds, InnerBounds], Mesh -> {10, 0}]
Group Problems
Pick up where you left off yesterday (or just restart), and work though as many as you can.
- A metal plate lies in the rectangle $ [-2,6]\times [1,5] $ (so $-2\leq x\leq 6$ and $1\leq y \leq 5$ ).
- What is the center-of-mass $(\bar x,\bar y)$ of the metal plate? (Where is the geometric center?)
- Compute the integral formula $\bar x = \ds\frac{\int_{-2}^{6}\int_1^5 x dydx}{\int_{-2}^{6}\int_1^5 1 dydx}.$ [Check: 64/32=2.]
- Compute the integral formula $\bar y = \ds\frac{\int_{-2}^{6}\int_1^5 y dydx}{\int_{-2}^{6}\int_1^5 1 dydx}.$ [Check: 96/32=3.]
- Compute the integral formula $\bar x = \ds\frac{\int_1^5 \int_{-2}^{6}x dxdy}{\int_1^5 \int_{-2}^{6}1 dxdy}$, to verify that swapping the order of integration still yields $\bar x = 2$.
- Draw the region described by the bounds of each integral.
- $\ds\int_{0}^{2}\int_{2x}^{4}dydx$
- $\ds\int_{0}^{4}\int_{0}^{y/2}dxdy$
- $\ds\int_{0}^{3\pi/2}\int_{0}^{2+2\cos\theta}rdrd\theta$
- $\ds\int_{-3}^{3}\int_{0}^{9-x^2}\int_{0}^{5}dzdydx$
- $\ds\int_{0}^{1}\int_{0}^{1-z}\int_{0}^{\sqrt{1-x^2}}dydxdz$
Here's 2 options for plotting the first region in Mathematica.
ContourPlot[{x == 0, x == 2, y == 2 x, y == 4}, {x, -1, 3}, {y, -1, 5}]
RegionPlot[ x >= 0 && x <= 2 && y >= 2 x && y <= 4, {x, -1, 3}, {y, -1, 5}]
Here's two options for the first 3D plot in Mathematica.
ContourPlot3D[{x == -3, x == 3, y == 0, y == 9 - x^2, z == 0, z == 5}, {x, -4, 4}, {y, -1, 10}, {z, -1, 6}]
RegionPlot3D[x >= -3 && x <= 3 && y >= 0 && y <= 9 - x^2 && z >= 0 && z <= 5, {x, -4, 4}, {y, -1, 10}, {z, -1, 6}]
- Set up an integral formula to compute each of the following:
- The mass of a disc that lies inside the circle $x^2+y^2=9$ and has density function given by $\delta = x+10$
- The $x$-coordinate of the center of mass (so $\bar x$) of the disc above.
- The $z$-coordinate of the center-of-mass (so $\bar z$) of the solid object in the first octant (all variables positive) that lies under the plane $2x+3y+6z=6$.
- The $y$-coordinate of the center-of-mass (so $\bar y$) of the same object.
