Double Integrals
Welcome, students! In today’s lesson, we’re diving into the fascinating world of double integrals. 🌟 By the end of this lesson, you’ll not only understand what double integrals are, but also how to compute them over rectangular and general regions, and how they apply to real-world problems. Ready to explore the next dimension of calculus? Let’s go!
What Are Double Integrals?
Before we dive into the computations, let’s break down what a double integral really is.
A double integral extends the idea of an integral to two dimensions. While a single integral $\int f(x) \, dx$ represents the area under a curve in one dimension, a double integral $\iint f(x, y) \, dA$ represents the volume under a surface in two dimensions. Imagine a surface floating above the $xy$-plane. The double integral helps us find the volume of the “solid” between this surface and the $xy$-plane.
Mathematically, we write a double integral as:
$$
$\iint_{R} f(x, y) \, dA$
$$
Here, $R$ is the region in the $xy$-plane over which we’re integrating, and $f(x, y)$ is the function that gives the height of the surface above each point $(x, y)$.
Why Do We Care About Double Integrals?
Double integrals are super useful in a variety of fields! 🌍 They help us:
- Find the volume under surfaces (think: mountains, hills, or even buildings in engineering).
- Compute mass and center of mass of objects with varying density.
- Evaluate work done by forces over regions.
- Analyze probability over two-dimensional spaces.
In short, double integrals open up a whole new world of applications. Let’s start by understanding how to compute them.
Double Integrals Over Rectangular Regions
We’ll first focus on the simplest type of region: a rectangular region. This will help us get comfortable with the mechanics of double integration.
Rectangular Region Basics
A rectangular region in the $xy$-plane looks like this:
$$
R = [a, b] $\times$ [c, d]
$$
This means $x$ ranges from $a$ to $b$, and $y$ ranges from $c$ to $d$.
For example, $R = [0, 2] \times [1, 3]$ is a rectangle where $x$ goes from 0 to 2, and $y$ goes from 1 to 3.
Setting Up the Double Integral
For a rectangular region, the double integral of $f(x, y)$ is written as:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{y=c}$^{d} $\int_{x=a}$^{b} f(x, y) \, dx \, dy
$$
Notice that we have two integrals: the inner integral and the outer integral. The order of integration matters!
Step-by-Step Example: Rectangular Region
Let’s walk through an example. Suppose you want to integrate the function:
$$
$f(x, y) = x^2 + y$
$$
over the rectangular region $R = [0, 2] \times [1, 3]$.
We’ll integrate with respect to $x$ first (the inner integral), and then with respect to $y$ (the outer integral).
- Inner integral (with respect to $x$):
$$
$ \int_{x=0}^{2} (x^2 + y) \, dx$
$$
Treat $y$ as a constant for this step. Integrating term by term:
$$
$\int_{0}$^{2} x^2 \, dx = $\frac{x^3}{3}$ $\Big|_0$^2 = $\frac{8}{3}$
$$
$$
$\int_{0}$^{2} y \, dx = y $\cdot$ (2 - 0) = 2y
$$
So the result of the inner integral is:
$$
$ \frac{8}{3} + 2y$
$$
- Outer integral (with respect to $y$):
Now we integrate the result of the inner integral with respect to $y$:
$$
$\int_{y=1}$^{3} $\left($ $\frac{8}{3}$ + 2y $\right)$ \, dy
$$
Integrating term by term:
$$
$\int_{1}$^{3} $\frac{8}{3}$ \, dy = $\frac{8}{3}$ $\cdot$ (3 - 1) = $\frac{8}{3}$ $\cdot 2$ = $\frac{16}{3}$
$$
$$
$\int_{1}$^{3} 2y \, dy = $2 \cdot$ $\frac{y^2}{2}$ $\Big|_1$^3 = y^$2 \Big|_1$^3 = 9 - 1 = 8
$$
Add them up:
$$
$\frac{16}{3}$ + 8 = $\frac{16}{3}$ + $\frac{24}{3}$ = $\frac{40}{3}$
$$
So the value of the double integral is $\frac{40}{3}$. 🎉
Switching the Order of Integration
Sometimes, it’s easier to switch the order of integration. For a rectangular region, you can integrate with respect to $y$ first and then $x$. The integral would look like this:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{x=a}$^{b} $\int_{y=c}$^{d} f(x, y) \, dy \, dx
$$
For our previous example, integrating with respect to $y$ first would give the same result, but sometimes one way is simpler than the other. Flexibility is key! 🗝️
Double Integrals Over General Regions
Now that we’ve mastered rectangular regions, let’s move on to more general regions. These regions aren’t always rectangular—they might be bounded by curves!
General Region Basics
A general region $R$ can be described by:
- A function that gives the lower boundary for $y$: $y = g_1(x)$
- A function that gives the upper boundary for $y$: $y = g_2(x)$
- An interval for $x$: $x \in [a, b]$
So the region $R$ is:
$$
R = \{ (x, y) \mid a $\leq$ x $\leq$ b, \, g_1(x) $\leq$ y $\leq$ g_2(x) \}
$$
Setting Up the Double Integral for General Regions
For general regions, the double integral looks like this:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{x=a}$^{b} $\int_{y=g_1(x)}$^{g_2(x)} f(x, y) \, dy \, dx
$$
Here, the inner integral is with respect to $y$, and the outer integral is with respect to $x$.
Step-by-Step Example: General Region
Let’s try an example. Suppose we want to integrate the function:
$$
$f(x, y) = x + y$
$$
over the region bounded by $y = x$ and $y = x^2$ for $x$ ranging from 0 to 1.
- Identify the region:
We know $y = x$ is a straight line, and $y = x^2$ is a parabola. The region we’re interested in is between these two curves.
We need to find where they intersect:
$$
x = x^2 \implies x^2 - x = 0 \implies x(x - 1) = 0
$$
So they intersect at $x = 0$ and $x = 1$.
For $0 \leq x \leq 1$, the parabola $y = x^2$ is below the line $y = x$. So the region is:
$$
x $\in$ [0, 1], \quad y $\in$ [x^2, x]
$$
- Set up the double integral:
$$
$\iint_{R}$ (x + y) \, dA = $\int_{x=0}$^{1} $\int_{y=x^2}$^{x} (x + y) \, dy \, dx
$$
- Inner integral (with respect to $y$):
$$
$ \int_{y=x^2}^{x} (x + y) \, dy$
$$
Integrate term by term:
$$
$\int_{x^2}$^{x} x \, dy = x $\cdot$ (y)$\Big|_{x^2}$^{x} = x(x - x^2) = x^2 - x^3
$$
$$
$\int_{x^2}$^{x} y \, dy = $\frac{y^2}{2}$ $\Big|_{x^2}$^{x} = $\frac{x^2}{2}$ - $\frac{(x^2)^2}{2}$ = $\frac{x^2}{2}$ - $\frac{x^4}{2}$
$$
So the result of the inner integral is:
$$
(x^2 - x^3) + $\left($ $\frac{x^2}{2}$ - $\frac{x^4}{2}$ $\right)$ = x^2 - x^3 + $\frac{x^2}{2}$ - $\frac{x^4}{2}$
$$
Combine like terms:
$$
$ = \frac{3x^2}{2} - x^3 - \frac{x^4}{2}$
$$
- Outer integral (with respect to $x$):
Now we integrate with respect to $x$:
$$
$\int_{0}$^{1} $\left($ $\frac{3x^2}{2}$ - x^3 - $\frac{x^4}{2}$ $\right)$ \, dx
$$
Integrate term by term:
$$
$\int_{0}$^{1} $\frac{3x^2}{2}$ \, dx = $\frac{3}{2}$ $\cdot$ $\frac{x^3}{3}$ $\Big|_0$^1 = $\frac{1}{2}$
$$
$$
$\int_{0}$^{1} (-x^3) \, dx = -$\frac{x^4}{4}$ $\Big|_0$^1 = -$\frac{1}{4}$
$$
$$
$\int_{0}$^{1} $\left($-$\frac{x^4}{2}$$\right)$ \, dx = -$\frac{1}{2}$ $\cdot$ $\frac{x^5}{5}$ $\Big|_0$^1 = -$\frac{1}{10}$
$$
Add them up:
$$
$\frac{1}{2}$ - $\frac{1}{4}$ - $\frac{1}{10}$ = $\frac{5}{10}$ - $\frac{2.5}{10}$ - $\frac{1}{10}$ = $\frac{1.5}{10}$ = $\frac{3}{20}$
$$
So the value of the double integral is $\frac{3}{20}$. 🎉
Switching the Order of Integration for General Regions
Sometimes, it’s easier to switch the order of integration. For that, you need to rewrite the region in terms of $x$ as a function of $y$.
For our example, switching the order means finding $x$ in terms of $y$. We had $y = x^2$ and $y = x$. Solving for $x$:
- From $y = x^2$: $x = \sqrt{y}$ (positive root since we’re in $[0,1]$).
- From $y = x$: $x = y$.
So the region can also be described as:
$$
y $\in$ [0, 1], \quad x $\in$ [$\sqrt{y}$, y]
$$
The double integral would then be:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{y=0}$^{1} \int_{x=\sqrt{y}}^{y} f(x, y) \, dx \, dy
$$
Switching the order of integration can sometimes simplify the integral, depending on the function $f(x, y)$.
Applications of Double Integrals
Now that we know how to compute double integrals, let’s explore some real-world applications! 🌎
Volume Under a Surface
One of the most common applications of double integrals is finding the volume under a surface. Let’s say we have a surface defined by $z = f(x, y)$. The volume under this surface over a region $R$ in the $xy$-plane is:
$$
\text{Volume} = $\iint_{R}$ f(x, y) \, dA
$$
For example, if $f(x, y) = x + y$ and $R$ is the region we explored earlier, the volume is exactly the value of the double integral we computed: $\frac{3}{20}$ units^3.
Mass of a Plate with Varying Density
Another cool application is finding the mass of a thin plate (like a metal sheet) with a varying density. Suppose the density of the plate at any point $(x, y)$ is given by $\rho(x, y)$. The mass of the plate is:
$$
$\text{Mass}$ = $\iint_{R}$ $\rho($x, y) \, dA
$$
For example, if $\rho(x, y) = x + y$ and $R$ is the region we explored, the mass would be $\frac{3}{20}$ units (assuming the density is measured in mass units per area unit).
Center of Mass
We can also use double integrals to find the center of mass $(\bar{x}, \bar{y})$ of a plate with varying density. The formulas are:
$$
$\bar{x}$ = $\frac{\iint_{R} x \rho(x, y) \, dA}{\iint_{R} \rho(x, y) \, dA}$, \quad $\bar{y}$ = $\frac{\iint_{R} y \rho(x, y) \, dA}{\iint_{R} \rho(x, y) \, dA}$
$$
This helps engineers and scientists find balance points of objects. ⚖️
Probability Over a 2D Region
In probability, double integrals can be used to find probabilities over two-dimensional spaces. If $f(x, y)$ is a joint probability density function (PDF), then the probability that $(X, Y)$ lies in a region $R$ is:
$$
P((X, Y) $\in$ R) = $\iint_{R}$ f(x, y) \, dA
$$
This is super useful in statistics and data analysis! 📊
Conclusion
Congratulations, students! You’ve just unlocked a powerful new tool in calculus: double integrals. We learned:
- How double integrals extend the idea of single integrals to two dimensions.
- How to compute double integrals over rectangular regions.
- How to handle more general regions bounded by curves.
- Real-world applications like finding volumes, mass, center of mass, and probabilities.
Double integrals are an essential stepping stone to even more advanced topics, like triple integrals and surface integrals. Keep practicing, and you’ll master these concepts in no time! 🚀
Study Notes
- A double integral $\iint_{R} f(x, y) \, dA$ represents the volume under the surface $z = f(x, y)$ over the region $R$.
- For rectangular regions $R = [a, b] \times [c, d]$:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{y=c}$^{d} $\int_{x=a}$^{b} f(x, y) \, dx \, dy
$$
- You can switch the order of integration:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{x=a}$^{b} $\int_{y=c}$^{d} f(x, y) \, dy \, dx
$$
- For general regions bounded by curves:
- Region described as: $x \in [a, b], \, y \in [g_1(x), g_2(x)]$
- Double integral:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{x=a}$^{b} $\int_{y=g_1(x)}$^{g_2(x)} f(x, y) \, dy \, dx
$$
- You can also reverse the description:
- Region described as: $y \in [c, d], \, x \in [h_1(y), h_2(y)]$
- Double integral:
$$
$\iint_{R}$ f(x, y) \, dA = $\int_{y=c}$^{d} $\int_{x=h_1(y)}$^{h_2(y)} f(x, y) \, dx \, dy
$$
- Volume under a surface:
$$
\text{Volume} = $\iint_{R}$ f(x, y) \, dA
$$
- Mass of a plate with density $\rho(x, y)$:
$$
$\text{Mass}$ = $\iint_{R}$ $\rho($x, y) \, dA
$$
- Center of mass $(\bar{x}, \bar{y})$:
$$
$\bar{x}$ = $\frac{\iint_{R} x \rho(x, y) \, dA}{\iint_{R} \rho(x, y) \, dA}$, \quad $\bar{y}$ = $\frac{\iint_{R} y \rho(x, y) \, dA}{\iint_{R} \rho(x, y) \, dA}$
$$
- Probability over a region for a joint PDF $f(x, y)$:
$$
P((X, Y) $\in$ R) = $\iint_{R}$ f(x, y) \, dA
$$
Keep practicing, students, and soon double integrals will be second nature to you! 🌟
