









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Multivariable calculus. Before we tackle the very large subject of calculus of functions of several variables, ... 10 Multivariable functions and integrals.
Typology: Study notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!










Before we tackle the very large subject of calculus of functions of several variables, you should know the applications that motivate this topic. Here is a list of some key applications.
When dealing with these sorts of questions, the functions and their notation can start to seem di cult and abstract. Geometric understanding of multi-variable functions will help us think straight when doing word problems and algebraic manipulations.
To understand functions of several variables, start by recalling the ways in which you understand a function f of one variable.
(i) As a rule, e.g., “double and add 1”
(ii) As an equation, e.g., f (x) = 2x + 1
(iii) As a table of values, e.g., x 0 1 2 5 20 -95 ⇡ f (x) 1 3 5 11 41 -189 2 ⇡ + 1
(iv) As a graph, e.g.,
Similarly, a function f of two variables is a way of associating to any pair of values for x and y (two real numbers) a real number f (x, y). The same options apply for understanding f.
(i) We can give the rule if it is easily stated, e.g., “multiply the two inputs.”
(ii) We could give an equation, such as f (x, y) = xy.
(iii) We could make a table, e.g.,
x 1 1 1 2 2 y 0 1 5 0 ⇡ f (x, y) 0 1 5 0 2 ⇡
(iv) One might graph f.
The elevation example is very important even if you don’t care about hiking. This is because the traditional way to plot f is to plot the surface z = f (x, y), which means that our brains are primed to accept f (x, y) as an elevation at the point with coordinates (x, y). However, this is far from the only use of contour plotting. The most important application of this is when f (x, y) is profit or some other kind of a utility function (e.g., the level of satisfaction when you have x dollars in the bank and a car that costs y dollars). The contour plot of f shows the indi↵erence curves. Later we can use this interpretation of contour plots along with some calculus to compute optimal allocations. The next figure shows the contour plot for f (x, y) = xy along with the height plot z = f (x, y) that you already saw for this function.
All we are doing in this first section is getting used to functions of more than one variable and their visual depictions. We’re almost done, except that we haven’t talked about functions of three or more variables. We don’t have four dimensions handy, so we can’t graph z = f (x 1 , x 2 , x 3 ). We can still think of f as a function mapping points in an abstract n-dimensional space to the real numbers, and in the case of exactly three variables, we can make a contour plot which now has contour surfaces in three dimensions; see Figure 14.8 in the book. For now, it su ces to practice going back and forth between the equation for a function of two variables and its visual representations.
R f^ (x, y)^ dA^ are units of^ f^ times units of^ A.^ The units of^ A^ can be area, but more generally, they are whatever unit x represents times whatever unit y represents.
Here are some more meanings for a double integral.
Volume. If f (x, y) is the height of a surface at the point (x, y), then
f (x, y) dA gives the volume underneath the surface but above the xy-plane. That’s because the summands (namely the area of a little region times f (x, y) evaluated at a point in the region) is the volume of a tall skinny rectangular shard, many of which together physically approximate the region. If you can’t picture this, you have to have a look at Figure 15.3. Notice the units work: f is height (units of length) and
R f^ (x, y)^ dA is volume, which does indeed have units of length times area.
Area. A special case is when f (x, y) is the constant function 1. Who would have thought that integrating 1 could be at all important? But it is. If you build a surface of height 1 over a region R, then the volume of each shard is the area at the base of the shard and the integral is just the limitin sum of these, namely the total area. Notice the units work: in the example f is unitless, and
R f^ (x, y)^ dA^ is the area of R, which has units of area.
Averages. By definition, the average of a varying quantity f (x, y) over a region R is the total of f divided by the area of the region:
Average of f over R =
R f^ (x, y)^ dA Area of R
Probability. This application will get its own treatment in Section 10.4.
(ii) Computing the iterated integral: rectangular regions
Remember how it worked when you learned integration in one variable? It was defined as the limit of Riemann sums, which intuitively captures the notion of area under a curve. Then there’s a theorem saying you can figure out the value of the integral over an interval by computing an antiderivative and subtracting its values at the two endpoints. Similarly, we have already defined the integral conceptually, now we need to say something about using calculus to compute it. A lucky fact: we don’t need anything as di cult as the Fundamental Theorem of Calculus like we did for one variable integrals. That’s because we assume you already know how to compute single variable integrals and that can be harnesses to compute the double integral. Remember, for now we’re sticking to to the case where R is a rectangle.
As the textbook does, we start by assuming R is a rectangle a x b and c y d, chopped up so that each little square has width x and length y. We then add up the little bits in an organized way. First add all the tall skinny rectangles over a given x interval as y varies. In the volume interpretation this gives the volume of the slice of the solid that has width x. There is a slice for each x-value in the grid.
Here’s the thing. If you fix a value x = M , then you’re just computing x times the area under the one-variable function f (M, y). You know how to do that:
you integrate
R (^) d c f^ (M, y)dy^ and multiply by^ x. This integral of course depends on M. Call it g(M ). Summing all the slice volumes is the same as integrating g(M ) from a to b. We don’t have to use the variable M , we can just call it x. So the answer is: (^) Z
R
f (x, y) dA =
Z (^) b
a
g(x) dx, where g(M ) =
Z (^) d
c
f (M, y) dy.
This is Fubini’s Theorem (first form) on page 885 which you practiced computing in the MML problems from Section 15.1. I prefer to put parentheses into the equation given in the book: Z
R
f (x, y) dA =
Z (^) b
a
Z (^) d
c
f (x, y) dy
dx =
Z (^) d
c
Z (^) b
a
f (x, y) dx
dy. (10.1)
At this point it would be a good idea to read Examples 1 and 2 in Section 15.1. Also, you should pay attention to free and bound variables. In the so-called inner integralR d c f^ (x, y)^ dy, the variable^ y^ is bound, but^ x^ is free.^ In other words, this integral represents a quantity that depends on x (but not y). That’s why we can integrate it against dx in the outer integral, to finally get a number.
The trickiest thing about learning double integration is when R is not a rectangle. Then, when you cut into slices, the limits of integration will change with each slice. That’s OK as long as you can write them as a function of the variable you are not integrating and evaluate properly. There are four examples in the book (Section 15.2), plus I’ll give you one more here. But before diving into these, we should review how to write sets of points in the plane.
Writing sets of points in the plane
The notation {(x, y) : blah blah blah} denotes the set of points in the plane satisfying the condition I have called “blah blah blah”. For example, {(x, y) : x 2 + y 2 1 } is the unit disk. You will need to become an expert at writing sets of points in a very specific manner: the set of points where x is in some interval [a, b] and y lies between two functions of x, call them g and h. It looks like
{(x, y) : a x b, g(x) y h(x)}.
Example: can you write the unit disk in this format? For a and b you need the least and greatest x values that appear anywhere in the region. For the unit disk, that’s 1 and 1. Then, for each x, you need to figure out the least and greatest y values that can be associated with that x. For the unit disk, the least value is
p 1 x 2 and the greatest is +
p 1 x 2.
The y-value goes from
p 1 x 2 to +
p 1 x 2
So in the end, the unit disk {(x, y) : x 2 + y 2 1 } can be written in our standard form as {(x, y) : 1 x 1 ,
p 1 x 2 y
p 1 x 2 }.
This way of writing it naturally breaks the unit disk into vertical strips where x is held constant and y varies from some least to some greatest value depending on x. I should have said this is “a standard form” not “the standard form” because it is equally useful to break into horizontal strips. These correspond to the format
{(x, y) : c y d, g(y) x h(y)}
where for each fixed y, the x values range from some minimum to some maximum value depending on y. You will be practicing a lot with these two formats!
Limits of integration for non-rectangular regions
What I am explaining here is Theorem 2 on page 889 of the textbook. When com- puting
R f^ (x, y)^ dA, if you can write^ R^ as a region in the form above.
There are three steps. First, specify the region of integration in terms of varying limits of integration. Second, use these as limits of integration. If x goes from z to b while y goes from g(x) to h(x) then the integral will look like
R (^) b z
R (^) h(x) g(x) f^ (x, y)^ dy dx. Third, carry out the integration with these limits.
Example: Let R be the unit disk and let f (x, y) = 1. The possible x-values in R
range from 1 to 1. So we put this on the outer integral: