Learn how to simplify multivariable integrals using change of variables and the Jacobian determinant for coordinate transformations.
Key Takeaways
- Change of variables can transform complicated integration regions into simpler ones.
- The Jacobian determinant accounts for area scaling during coordinate transformations.
- Multivariable integration generalizes single variable substitution by involving partial derivatives.
- Choosing appropriate variables u and v can convert complex boundaries into constant limits.
- Understanding the Jacobian helps visualize how small regions deform under transformation.
What the video covers
- Choosing the right coordinate system simplifies integration over complex regions.
- Example of transforming a parallelogram region in xy-coordinates to a rectangle in uv-coordinates.
- Introduction of new variables u and v to convert complicated boundaries into constant limits.
- Explanation of single variable u-substitution as a foundation for multivariable substitution.
- In multivariable calculus, the integral transforms with a Jacobian determinant as a scaling factor.
- Jacobian is defined as the determinant of a matrix of partial derivatives representing area scaling.
- Worked example calculating the Jacobian for the transformation u = x - y and v = y.
- Final integral limits become simpler and the integrand is expressed in terms of u and v.
- Reasons to use change of variables include simplifying the region or the integrand.
- Intuitive explanation of the Jacobian as the area scaling factor from uv-plane rectangles to xy-plane parallelograms.
Full Transcript — Download SRT & Markdown
Speaker A
Whenever we want to integrate a function over a region, we need to decide what coordinate system we should use. For instance, just a rectangle is really easy to compute in Cartesian or rectangular coordinates. Well, a circle is very easy to compute in polar coordinates but not so easy in rectangular coordinates. However, we can move on to any coordinate system that we wish to define, and if that coordinate system makes it easy to express the region, then it might well be useful using that coordinate system. Consider, for example, this region. There are two horizontal lines, y = 1 and y = 2, and that's sort of the same kind of thing we've seen in Cartesian where you have to specify different y values. But if I look at the two red lines, the line y = x - 1 and x - 2, there's a certain symmetry on the two different sides here, but it's not vertical line symmetry as is often represented in Cartesian coordinates. So what if I do a change of variables? That is, what if I introduce new variables u and v? For v, it's just going to be equal to the y values, and I said I was happy with those horizontal lines; those were perfectly fine. But for the two diagonal lines that are not easily expressed by x equal to a fixed value, if I set u equal to x - y, then the one line is just u equal to 1 and the other line is u equal to 2. These are just constants. Indeed, if I tried to draw the exact same region but now in the UV plane, that is expressing it in terms of u and v as opposed to x and y, then what I get is just a rectangle. It's just the rectangle where the v values are between 1 and 2 and the u values are between 1 and 2. So my plan is that this is going to be way easier to integrate in this coordinate system because my limits of integration are going to be 1 and 2 for u and 1 and 2 for v. So how do I actually integrate in some new generic coordinate system? Let's think back to what we used to do for single variable u-substitution. The idea was the following: suppose I have an integral of some function of x dx. Then what I can do is take x and write it as some function of a new variable, a new variable u. And then what the u-substitution did was it allows us to rewrite this new integral as an integral in terms of u. The function of x is now turned into f of g of u because x is defined as g of u, and the dx transforms into a du. But there's an important point to note there: there is also this new factor, this scaling factor, this g prime of u. And that was u-substitution. I'll note that this formula may seem exactly backwards to how you recall it in single variable calculus. Typically, in single variable calculus, you would actually set u to be a function of x as opposed to x being a function of u. It doesn't matter which way you write it, which you think of as sort of the new variable and the old variable, but I'm going to do it this way because I'm about to have a u and a v, and I want to think of the new v as converting the messy xy into a nice u and v coordinate system. So I like this order of presenting it. Nevertheless, let's go and look at what it's going to be in multivariable calculus. Well, you begin sort of much the same way. You have an integral in terms of x and y, and it's integrated over some particular region. And then you say I need to take the x and write that in terms of u and v, some function g of u and v, and I'm going to take the y and write that in terms of u and v, some function h of u and v. Then if I plug this all in, I want to get an integral with respect to u and v. Well, the function evaluates now in terms of u and v. The limits of integration are no longer the region r; now we call it the region g. It's what happens when you transform under these equations. And then the dx dy transforms into a du dv. But just like in the single variable case, you have to have a multiplicative factor. We're going to call this multiplicative factor no longer g prime; we call it j of u and v. Here j is called j for the Jacobian. At the end of the video, I'm going to talk about the intuition of how to come up with this j of u and v, but for now, I'm just going to state it. J of u and v, the Jacobian, is just the determinant of a particular matrix, a matrix of partial derivatives. And the idea here is that this represents the scaling factor from when you shift your areas, thought of in terms of the xy coordinate system, to being areas in the uv coordinate system. You need to get a scaling factor, and this j gives you that scaling factor. All right, so let's look at the example that we had before where our u was x - y and our v was just equal to y. And then if I take that exact same region, I now represent it in the uv coordinate system, it looks a lot nicer. The first thing I want to do is try to write it in the way that's compatible with my formulas where I had x as a function of u and v and y as a function of u and v. So I'm just going to take these formulas; I'm just going to rewrite them in that way. And if I do that, of course y is equal to v; it's the same thing as v equal to y. I plug that in, and I get x is equal to u + v. All right, so let's compute that Jacobian, this determinant. Well, most of these partials are straightforward, which the partial of x to u, well, it's just one, and so on. So I can compute what these are going to be. It's just the determinant of the matrix 1 1 0 1, and that's just equal to the value of one. So in this case, the Jacobian is just multiplied by one. So here then is my final formula: the double integral over the original region, the sort of parallelogram one, if I take that region and integrate some function of x and y over, it's the same thing as the much simpler region, the region in the uv coordinate system where the u integral just goes between 1 and 2 and the v integral just goes between 1 and 2. The function, whatever it is, I haven't told you, would be represented now in terms of u and v. You multiply by that one for the Jacobian, and then you get your result. Have you integrated with respect to u and v? You might want to do this transformation of variables for multiple reasons. It might be that your region is really messy, and you can transform it into a much nicer region with the substitution, or it might be that your integrand is really messy and you don't know how to integrate that. And then with the substitution, you can now integrate the integrand. So there's multiple reasons why you might wish to do a change of variables. The final thing I want to talk about in this video is to motivate the j of u and v, the Jacobian. Why was that the case? So I want to imagine that I'm in the uv coordinate system, and I'm going to transform a little region, a little area in the uv coordinate system into the xy coordinate system. That is, imagine I just have a little rectangle. This is a rectangle, and it can be described by having two different vectors. One vector is a little change in u and no change in v, and the other one consists of no change in u and a little change in v. When I integrate, of course, I take a region. I think of breaking it up into a bunch of little regions. So in the uv coordinate system, these little regions are simple; they're just little rectangles. But let's see what this little region looks like all the way back in the xy coordinate system. Indeed, this green arrow goes somewhere, the red arrow goes somewhere, and whatever you get defines a parallelogram. As in, the original square defined by these two vectors transforms into a parallelogram defined by wherever those two vectors end up. But where do they end up? Well, if you think of the green vector as the result of just first a small nudge in u and then you transform it into x and y, then the result you get, well, what change in x do you get? It's the resulting change from nudging the u a little bit. In other words, what you get is a change in x with respect to u times that little distance du. And likewise for y, it's the partial of y with respect to u times du. So these are the little nudges in the x and the y direction that result from nudging u a little bit. Then likewise for the red vector, you get a similar kind of...
Speaker A
to compute in polar coordinates but not so easy in rectangular coordinates however we can move on to any coordinate system that we wish to Define and if that coordinate system system makes it easy to express region that it might well be useful using that
Speaker A
coordinate system consider for example this region there's two horizontal lines yal 1 and yal 2 and that's sort of the same kind of thing we've seen in cartisian where you have specify different y values but if I look at the
Speaker A
two red lines the line y = x -1 and x - 2 there's a certain symmetry on the two different sides here but it's it's not vertical line symmetry as is often represented in cartisian coordinates so what if I do a change of variables that
Speaker A
is what if I introduce new variables u and v for the V is just going to be equal to the Y values and I said I was happy with those horizontal lines those were perfectly fine but for the two
Speaker A
diagonal lines that are not easily expressed by x equal to a fixed value if I set u equal to x - y then the one line is just U equal to 1 and the other line is U equal to 2 two these are just
Speaker A
constants indeed if I tried to draw the exact same region but now in the UV plane that is expressing it in terms of u and v opposed to X and Y then what I get is just a rectangle it's just the
Speaker A
rectangle where the Val values are between 1 and two and the u values are between 1 and two so my plan is that this is going to be way easier to integrate in this coordinate system because my limits of integration is
Speaker A
going to be one and two for you and one and to for V so how do I actually integrate in some new generic coordinate system let's think back to what we used to do for single variable U substitution
Speaker A
the idea was the following suppose I have an integral of some function of X DX then what I can do is take X and write it as some function of a new variable a new variable U and then what
Speaker A
the U substitution did was it allows us to rewrite this this new integral is an integral in terms of U the function of X is now turned into F of G of U because X is defin a b g of U and the DX
Speaker A
transforms into a du but there's an important point to note there is also this new Factor this scaling Factor this G Prime of U and that was U substitution I'll note that this formula may seem exactly backwards to how you recall it
Speaker A
in single variable calculus typically in single variable calculus you would actually set u to be a function of X opposed to X being a function of U it doesn't matter which way you write it which you think of as sort of the new
Speaker A
variable and the old variable but I'm going to do it this way because I'm about to have a u and a V and I want to think of the new V is converting the messy XY into a nice u and v coordinate
Speaker A
system so I like this order of presenting it nevertheless let's go and look at what it's going to be in multivariable calculus well you begin sort of much the same way you have an integral in terms of X and Y and it's
Speaker A
integrated over some particular region and then you say I need to take the X and WR that in terms of u and v some function G of u and v and I'm going to take the Y and write that in terms of UV
Speaker A
some function h of u and v then if I plug this all in I want to get an integral with respect to u and v well the function evaluates now in terms of u and v the limits of integration are no
Speaker A
longer the region R now we call it the region G it's what happens when you transform under these equations and then the dxdy transforms into a du DV but just like in the single variable case you have to have a
Speaker A
multiplicative Factor we're going to call this multiplicative Factor no longer G Prime we call it J of u and v here J is called J for the Jacobian at the end of the video I'm going to talk about the intuition of how
Speaker A
to come up with this J of u and v but for now I'm just going to State it J of u and v the Jacobian is just the determinant of a particular Matrix a matrix of partial derivatives and the idea here is that
Speaker A
this represents the scaling factor from when you shift your areas thought of in terms of the XY coordinate system to being areas in the UV coordinate system you need to get a scaling factor and this J gives you that scaling Factor all
Speaker A
right so let's look at the example that we had before where our U was x - Y and our V was just equal to y and then if I take that exact same region I now represent it in the UV coordinate system
Speaker A
it looks a lot nicer first thing I want to do is try to write it in the way that's compatible with my formulas where I had X as a function of u and v and y as a function of u and v so I'm just
Speaker A
going to take these formulas I'm just going to rewrite them in that way and if I do that of course Y is equal to V is the same thing as V equal to Y I plug that in and I get X is equal to U + V
Speaker A
all right so let's compute up that Jacobian this determinant well most of these partials are straightforward which the partial of x to U well it's just one and so on so I can compute what these are going to be it's just the
Speaker A
determinant of the Matrix 1 1 01 and that's just equal to the value of one so in this case the Jacobian is just multiplied by one so here then is my final formula the double integral over the original region the sort of
Speaker A
parallelogram one if I take that region and integrate some function of X and Y over it's the same thing as the much simpler region the region in the UV coordinate system where the U integral just goes between 1 and two and the V
Speaker A
integral just goes between 1 and two the function whatever it is I haven't told you would be represented now in terms of u and v you multiply by that one for the Jacobian and then you get your result
Speaker A
have you integrate with respect to u and v you might want to do this transformation of variables for multiple reasons it might be that your region is really messy and you can transform it into a much nicer region with the
Speaker A
substitution or it might be that your integrand is really messy and you don't know how to integrate that and then with the substitution you can now integrate the integrad so there's multiple reasons why you might wish to do a change of
Speaker A
variables final thing I want to talk about in this video is motivate the J of un andv the Jacobian why was that the case so I want to imagine that I'm in the UV coordinate system and I'm going
Speaker A
to transform a little region a little area in the UV coordinate system into the XY coordinate system that is imagine I just have a little rectangle this is a rectangle and it's can be described by having two different vectors one vector
Speaker A
is a little change in U and no change in v and the other one consists of no change in U and a little change in V when I integrate of course I take a region I think of breaking it up into a
Speaker A
bunch of little regions so in the UV cordinate system these little regions are simple they're just little rectangles but let's see what this little region looks like all the way back in the XY coordinate system indeed this green arrow goes somewhere the red
Speaker A
arrow goes somewhere and whatever you get defines a parallelogram as in the original Square defined by these two vectors transforms into a parallelogram defined by wherever those two vectors end up but where do they end up well if you think of the
Speaker A
green Vector as the result of just first a small nudge in U and then you transform it into X and Y then the result you get well what change in X do you get it's the resulting change from
Speaker A
nudging the u a little bit in other words what you get is a change in X with respect to U times that little distance du U and likewise for y it's the partial of Y with respect to U * du so these are
Speaker A
the little nudges in the X and the y direction that result from nudging u a little bit then likewise for the red Vector you get a similar kind of construct the nudge in the X dire direction is just the the change in X
Speaker A
with respect to V times this DV and the change in the y direction is the change in y with respect to this V DV now back in the original UV coordinate system the area was easy to express it was just du
Speaker A
* DV so you take your big region you make it a bunch of little rectangles these little rectangles have areas du DV exactly what we've seen when we defined double integration but now if I ask the area for the same region but then mapped
Speaker A
back into the XY coordinate system well area of the parallelogram is a cross product so what is the area of this new parallelogram well it's just going to be the cross product of these two little vectors and the cross product of those
Speaker A
two different vectors is the determinant that we've seen before indeed this is nothing but the Jacobian so what does the Jacobian represent it says if you take a region in UV a little area in UV you transform it into the XY coordinate
Speaker A
system well you get a multiplicative Factor on their area the dudv transforms to this Matrix times a dudv so if you're going to integrate with respect to these new coordinate systems that's fine that's great it's easy but you have to bring along this
Speaker A
multiplicative Factor this J of un andv if you have a question about this video leave it down in the comments below we're all mathematicians here we appreciate algorithms so let's just help the YouTube algorithm out by giving this
Speaker A
video a like and finally if you want to watch more multivariable calculus videos this video is part of a larger playlist a multivariable calculus so you can check out those videos here and we'll do some more math in the next video
Topics:change of variablesJacobianmultivariable integrationcoordinate transformationu-substitutionpartial derivativesintegration limitsarea scalingpolar coordinatesrectangular coordinates











