Difference between revisions of "Iterated Integrals and Fubini's Theorem"
(Created page with "==Resources== * [https://tutorial.math.lamar.edu/classes/calciii/IteratedIntegrals.aspx Iterated Integrals, Paul's Online Notes] == Licensing == Content obtained and/or adap...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==Iterated Integrals== | ||
+ | We are about to look at a method of evaluating double integrals over rectangles and more general domains without using the definition of a double integral, but before we do so, we will first need to learn what an iterated integral. | ||
+ | |||
+ | Suppose that <math>z = f(x, y)</math> is a two variable real-valued function, and suppose that <math>f</math> is integrable for <math>a \leq x \leq b</math> and <math>c \leq y \leq d</math>, that is <math>f</math> is integrable over the rectangle: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad R = \{ (x, y) \in \mathbb{R}^2 : a \leq x \leq b, c \leq y \leq d \} = [a, b] \times [c, d] \end{align}</math></div> | ||
+ | |||
+ | Just like partial differentiation with respect to a specific variable, we can also partial integrate with respect to a specific variable. For example, <math>\int_c^d f(x, y) \, dy</math> means that we integrate <math>f</math> with respect to <math>y</math> while holding the variable <math>x</math> as fixed. When we evaluate this integral, we will obtain a function in terms of <math>x</math> only, and hence, we could then integrate the result from <math>a</math> to <math>b</math> with respect to <math>x</math> as: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_a^b \int_c^d f(x, y) \, dy \, dx \end{align}</math></div> | ||
+ | |||
+ | The result above is what we call an iterated integral which we will define below. | ||
+ | |||
+ | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
+ | :'''Definition:''' If <math>z = f(x, y)</math> is a two variable real valued function, and if <math>f</math> is integrable over the rectangle <math>R = [a, b] \times [c, d]</math>, then the '''Iterated Integral''' of <math>f</math> over <math>R</math> is | ||
+ | <div style="text-align: center;"><math>\int_a^b \int_c^d f(x, y) \, dy \, dx</math>. | ||
+ | </blockquote> | ||
+ | |||
+ | ''We will see later that iterated integrals need not be over rectangles but instead can be done over more general domains.'' | ||
+ | |||
+ | One important property about iterated integrals is that we can partially integrate <math>f(x, y)</math> with respect to either variable <math>x</math> or <math>y</math> first, and then continue onward with integrating with respect to the second variable, that is: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_a^b \int_c^d f(x, y) \, dy \, dx = \int_c^d \int_a^b f(x, y) \, dx \, dy \end{align}</math></div> | ||
+ | |||
+ | However, it is important to note that '''sometimes partial integrating with respect to a certain variable first will be a much easier process'''. | ||
+ | Let's now look at some examples of evaluating iterated integrals. | ||
+ | |||
+ | === Example 1 === | ||
+ | '''Evaluate the following iterated integral <math>\int_2^4 \int_1^3 x^3 + xy^2 \, dy \, dx</math>. Over what rectangle is <math>f(x, y) = x^3 + xy^2</math> being integrated?''' | ||
+ | |||
+ | When evaluated iterated integrals over rectangles, we always want to work from the inside out. Let's first evaluate the inside integral with respect to <math>y</math> while holding <math>x</math> as fixed. | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_1^3 x^3 + xy^2 \, dy =\left [ x^3y + \frac{xy^3}{3} \right ]_1^3 = \left ( 3x^3 + 9x \right ) - \left ( x^3 + \frac{x}{3} \right ) = 2x^3 + \frac{26x}{3} \end{align}</math></div> | ||
+ | |||
+ | Therefore we have that: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_2^4 \int_1^3 x^3 + xy^2 \, dy \, dx = \int_2^4 2x^3 + \frac{26x}{3} \, dx \end{align}</math></div> | ||
+ | |||
+ | Evaluating this definite integral and we get that: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_2^4 2x^3 + \frac{26x}{3} \, dx = \left [ \frac{x^4}{2} + \frac{26x^2}{6} \right ]_2^4 = \left ( 128 + \frac{416}{6} \right ) - \left ( 8 + \frac{104}{26} \right ) = 120 + 52 = 172 \end{align}</math></div> | ||
+ | |||
+ | Therefore we have that: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_2^4 \int_1^3 x^3 + xy^2 \, dy \, dx = 172 \end{align}</math></div> | ||
+ | |||
+ | In this particular example, we are integrating over the rectangle <math>R = [2, 4] \times [1, 3]</math>. | ||
+ | |||
+ | === Example 2 === | ||
+ | '''Evaluate the following iterated integral <math>\int_0^{\pi} \int_{0}^{\pi} \sin x \cos y \, dx \, dy</math>. Over what rectangle is <math>f(x, y) = \sin x \cos y</math> being integrated?''' | ||
+ | |||
+ | We will first start by evaluating the inner integral while holding <math>y</math> as fixed: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_{\frac{\pi}{2}}^{\pi} \sin x \cos y \, dx = \left [ -\cos x \cos y \right ]_{0}^{\pi} = \left ( \cos y \right ) - \left ( -\cos y \right ) = 2\cos y \end{align}</math></div> | ||
+ | |||
+ | Therefore we have that: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_0^{\pi} \int_{0}^{\pi} \sin x \cos y \, dx \, dy = \int_0^{\pi} 2 \cos y \, dy \end{align}</math></div> | ||
+ | |||
+ | Evaluating this definite integral and we get that: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_0^{\pi} 2 \cos y \, dy = \left [ 2 \sin y \right]_0^{\pi} = 0 \end{align}</math></div> | ||
+ | |||
+ | In this particular example, we are integrating over the square <math>R = [0, \pi] \times [0, \pi]</math>. | ||
+ | |||
+ | == Fubini's Theorem and Evaluating Double Integrals over Rectangles == | ||
+ | We have just looked at Iterated Integrals over rectangles. You might now wonder how iterated integrals relate to double integrals that we looked are earlier. Fubini's Theorem gives us a relationship between double integrals and these iterated integrals. | ||
+ | |||
+ | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
+ | :'''Theorem 1 (Fubini's Theorem):''' Let <math>z = f(x, y)</math> be a two variable real-valued function. If <math>f</math> is continuous on the rectangle <math>R = [a, b] \times [c, d]</math> then the double integral over <math>R</math> can be computed as an iterated integrals and <math>\iint_{R} f(x, y) \, dA = \int_a^b \int_c^d f(x, y) \, dy \, dx = \int_c^d \int_a^b f(x, y) \, dx \, dy</math>. | ||
+ | </blockquote> | ||
+ | |||
+ | Fubini's Theorem is critically important as it gives us a method to evaluate double integrals over rectangles without having to use the definition of a double integral directly. | ||
+ | |||
+ | Now the following corollary will give us another method for evaluating double integrals over a rectangle <math>R = [a, b] \times [c, d]</math> provided that <math>f</math> can be written as a product of a function in terms of <math>x</math> and a function in terms of <math>y</math>. | ||
+ | |||
+ | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
+ | :'''Corollary 1:''' Let <math>z = f(x, y)</math> be a two variable real-valued function. If <math>f(x, y) = g(x) h(y)</math> and <math>f</math></span> and <math>R = [a, b] \times [c, d]</math> then <math>\iint_R f(x, y) \, dA = \iint_R g(x) h(y) \, dA = \left [ \int_a^b g(x) \, dx \right ] \left [ \int_c^d h(y) \, dy \right ]</math>. | ||
+ | </blockquote> | ||
+ | |||
+ | === Example 1 === | ||
+ | '''Evaluate <math>\iint_R xy + y^2 \, dA</math> where <math>R = [0, 1] \times [1, 2]</math>.''' | ||
+ | |||
+ | By Fubini's Theorem we have that: | ||
+ | <div style="text-align: center;"><math>\begin{align} \quad \iint_R xy + y^2 \, dA = \int_0^1 \int_1^2 xy + y^2 \, dy \, dx \end{align}</math></div> | ||
+ | |||
+ | Now let's evaluate the inner integral <math>\int_1^2 xy + y^2 \, dy</math></span> first while holding <math>x</math> as fixed: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_1^2 xy + y^2 \, dy = \left [ \frac{xy^2}{2} + \frac{y^3}{3} \right ]_1^2 = \left ( 2x + \frac{8}{3} \right ) - \left ( \frac{x}{2} + \frac{1}{3} \right ) = \frac{3x}{2} + \frac{7}{3} \end{align}</math></div> | ||
+ | |||
+ | And so we have that: | ||
+ | <div style="text-align: center;"><math>\begin{align} \quad \int_0^1 \int_1^2 xy + y^2 \, dy \, dx = \int_0^1 \frac{3x}{2} + \frac{7}{3} \, dx = \left [ \frac{3x^2}{4} + \frac{7x}{3} \right ]_0^1 = \frac{3}{4} + \frac{7}{3} = \frac{37}{12} \end{align}</math></div> | ||
+ | |||
+ | === Example 2 === | ||
+ | '''Evaluate <math>\iint_R e^x \cos y \, dA</math> where <math>R = [0, 1] \times \left [ \frac{\pi}{2} , \pi \right ]</math>.''' | ||
+ | |||
+ | Note that <math>f(x, y) = e^x \cos y</math></span> can be written as the product of a function of <math>x</math> and a function of <math>y</math></span> if we let <math>g(x) = e^x</math> and <math>h(y) = \cos y</math> (then <math>f(x, y) = g(x) h(y)</math>). Therefore applying Corollary 1 and we get that: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad \iint_R e^x \cos y \, dA = \left [ \int_0^1 e^x \, dx \right ] \left [ \int_{\frac{\pi}{2}}^{\pi} \cos y \, dy \right ] = [ e - 1 ] [ -1] = 1 - e \end{align}</math></div> | ||
+ | |||
+ | == Fubini's Theorem for Evaluating Triple Integrals over Boxes == | ||
+ | We will now look at an analogous Theorem for evaluating triple integrals over a rectangular box <math>B</math> with iterated integrals. | ||
+ | |||
+ | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
+ | :'''Theorem 1:''' Let <math>w = f(x, y, z)</math> be a three variable real-valued function such that <math>f</math> is continuous on the rectangular box <math>B = [a, b] \times [c, d] \times [r, s]</math>. Then the triple integral of <math>f</math> over <math>B</math> can be evaluated as iterated integrals, that is, <math>\iiint_B f(x, y, z) \, dV = \int_r^s \int_c^d \int_a^b f(x, y, z) \, dx \, dy \, dz</math>. | ||
+ | </blockquote> | ||
+ | |||
+ | ''There are six total ways to evaluate a triple integral over a box using iterated integrals. For example, we could get that <math>\iiint_B f(x, y, z) \, dV = \int_a^b \int_c^d \int_r^s f(x, y, z) \, dz \, dy \, dx</math>, or <math>\iiint_B f(x, y, z) \, dV = \int_c^d \int_a^b \int_r^s f(x, y, z) \, dz \, dx \, dy</math>. Each of these six possible orders will give rise to the same value.'' | ||
+ | |||
+ | Let's now look at an example of evaluating a triple integral over a box. | ||
+ | |||
+ | ===Example 1=== | ||
+ | '''Evaluate the triple integral <math>\iiint_B 2x - e^y + 3z^2 \, dV</math> over the box <math>B = [0, 2] \times [0, 1] \times [1, 3]</math>.''' | ||
+ | |||
+ | By Fubini's Theorem we can rewrite this triple integral as iterated integrals: | ||
+ | <div style="text-align: center;"><math>\begin{align} \quad \iiint_B 2x - e^y + 3z^2 \, dV = \int_1^3 \int_0^1 \int_0^2 2x - e^y + 3z^2 \, dx \, dy \, dz \\ \quad \iiint_B 2x - e^y + 3z^2 \, dV = \int_1^3 \int_0^1 \left [x^2 - xe^y + 3xz^2 \right ]_0^2 \, dy \, dz \\ \quad \iiint_B 2x - e^y + 3z^2 \, dV = \int_1^3 \int_0^1 4 - 2e^y + 6z^2 \, dy \, dz \\ \quad \iiint_B 2x - e^y + 3z^2 \, dV = \int_1^3 \left [ 4y - 2e^y + 6yz^2 \right ]_0^1 \, dz \\ \quad \iiint_B 2x - e^y + 3z^2 \, dV = \int_1^3 6 - 2e + 6z^2 \, dz \\ \quad \iiint_B 2x - e^y + 3z^2 \, dV = \left [ 6z - 2ez + 2z^3 \right]_1^3 \\ \quad \iiint_B 2x - e^y + 3z^2 \, dV = (18 - 6e + 54) - (6 - 2e + 2) \\ \quad \iiint_B 2x - e^y + 3z^2 \, dV = 64-4e \end{align}</math></div> | ||
+ | |||
==Resources== | ==Resources== | ||
* [https://tutorial.math.lamar.edu/classes/calciii/IteratedIntegrals.aspx Iterated Integrals, Paul's Online Notes] | * [https://tutorial.math.lamar.edu/classes/calciii/IteratedIntegrals.aspx Iterated Integrals, Paul's Online Notes] |
Latest revision as of 14:51, 13 November 2021
Contents
Iterated Integrals
We are about to look at a method of evaluating double integrals over rectangles and more general domains without using the definition of a double integral, but before we do so, we will first need to learn what an iterated integral.
Suppose that is a two variable real-valued function, and suppose that is integrable for and , that is is integrable over the rectangle:
Just like partial differentiation with respect to a specific variable, we can also partial integrate with respect to a specific variable. For example, means that we integrate with respect to while holding the variable as fixed. When we evaluate this integral, we will obtain a function in terms of only, and hence, we could then integrate the result from to with respect to as:
The result above is what we call an iterated integral which we will define below.
- Definition: If is a two variable real valued function, and if is integrable over the rectangle , then the Iterated Integral of over is
.
We will see later that iterated integrals need not be over rectangles but instead can be done over more general domains.
One important property about iterated integrals is that we can partially integrate with respect to either variable or first, and then continue onward with integrating with respect to the second variable, that is:
However, it is important to note that sometimes partial integrating with respect to a certain variable first will be a much easier process. Let's now look at some examples of evaluating iterated integrals.
Example 1
Evaluate the following iterated integral . Over what rectangle is being integrated?
When evaluated iterated integrals over rectangles, we always want to work from the inside out. Let's first evaluate the inside integral with respect to while holding as fixed.
Therefore we have that:
Evaluating this definite integral and we get that:
Therefore we have that:
In this particular example, we are integrating over the rectangle .
Example 2
Evaluate the following iterated integral . Over what rectangle is being integrated?
We will first start by evaluating the inner integral while holding as fixed:
Therefore we have that:
Evaluating this definite integral and we get that:
In this particular example, we are integrating over the square .
Fubini's Theorem and Evaluating Double Integrals over Rectangles
We have just looked at Iterated Integrals over rectangles. You might now wonder how iterated integrals relate to double integrals that we looked are earlier. Fubini's Theorem gives us a relationship between double integrals and these iterated integrals.
- Theorem 1 (Fubini's Theorem): Let be a two variable real-valued function. If is continuous on the rectangle then the double integral over can be computed as an iterated integrals and .
Fubini's Theorem is critically important as it gives us a method to evaluate double integrals over rectangles without having to use the definition of a double integral directly.
Now the following corollary will give us another method for evaluating double integrals over a rectangle provided that can be written as a product of a function in terms of and a function in terms of .
- Corollary 1: Let be a two variable real-valued function. If and and then .
Example 1
Evaluate where .
By Fubini's Theorem we have that:
Now let's evaluate the inner integral first while holding as fixed:
And so we have that:
Example 2
Evaluate where .
Note that can be written as the product of a function of and a function of if we let and (then ). Therefore applying Corollary 1 and we get that:
Fubini's Theorem for Evaluating Triple Integrals over Boxes
We will now look at an analogous Theorem for evaluating triple integrals over a rectangular box with iterated integrals.
- Theorem 1: Let be a three variable real-valued function such that is continuous on the rectangular box . Then the triple integral of over can be evaluated as iterated integrals, that is, .
There are six total ways to evaluate a triple integral over a box using iterated integrals. For example, we could get that , or . Each of these six possible orders will give rise to the same value.
Let's now look at an example of evaluating a triple integral over a box.
Example 1
Evaluate the triple integral over the box .
By Fubini's Theorem we can rewrite this triple integral as iterated integrals:
Resources
Licensing
Content obtained and/or adapted from:
- Iterated integrals, mathonline.wikidot.com under a CC BY-SA license
- Fubini's Theorem and Evaluating Double Integrals over Rectangles, mathonline.wikidot.com under a CC BY-SA license
- Fubini's Theorem for Evaluating Triple Integrals over Boxes, mathonline.wikidot.com under a CC BY-SA license