4. Multiple Integrals

Change Of Variables And Jacobians

Introduces the change of variables formula for multiple integrals using Jacobians.

Change of Variables and Jacobians

Welcome, students! In this lesson, we’re diving into one of the coolest tools in multivariable calculus—changing variables in multiple integrals using Jacobians. 🌟

By the end of this lesson, you’ll be able to:

  • Understand why and when we use a change of variables in multiple integrals.
  • Learn how to compute the Jacobian determinant.
  • Apply the change of variables formula to solve complex integrals.
  • See real-world examples where this technique is essential (think physics, engineering, and even economics!).

Let’s unravel this powerful technique and see how it simplifies tricky integrals. Ready? Let’s go! 🚀

Why Change Variables?

Imagine trying to calculate the area of a region shaped like a banana 🍌. It’s not a simple rectangle or circle. Sometimes, the region you’re integrating over is weirdly shaped or the function is complicated. That’s where changing variables comes in.

Changing variables is like transforming a messy problem into a neat one. Think of it like switching from a wobbly coordinate system to a smooth one that makes the math easier. This is super helpful in:

  • Converting from Cartesian $(x, y)$ coordinates to polar $(r, \theta)$ coordinates.
  • Going from Cartesian $(x, y, z)$ to cylindrical $(r, \theta, z)$ or spherical $(\rho, \theta, \phi)$ coordinates.
  • Turning a complicated shape into a simple rectangle or cube in new variables.

But there’s a catch: when you switch variables, you have to adjust your integral. That’s where the Jacobian comes in.

Real-World Example: Polar Coordinates

Suppose you want to integrate a function over a circular region. In $(x, y)$ coordinates, the equation of a circle is $x^2 + y^2 = r^2$. That’s not super convenient. But in polar coordinates, it’s just $r$ (the radius). The integral becomes much easier!

The key is the Jacobian. It tells us how areas (or volumes) stretch or shrink when we change variables. Let’s see how it works.

The Jacobian: Your New Best Friend

The Jacobian is a fancy word for a matrix of partial derivatives. It measures how the new variables $(u, v)$ change with respect to the old variables $(x, y)$.

Here’s the definition for two variables:

$J = \frac{\partial(x, y)}{\partial(u, v)} = $

$\begin{vmatrix}$

\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} \\

\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v}

$\end{vmatrix}$

This is called the Jacobian determinant. It tells you how areas scale when you move from the $(u, v)$ plane to the $(x, y)$ plane.

Example: Polar Coordinates

Let’s do a step-by-step example to see the Jacobian in action.

We want to convert from Cartesian coordinates $(x, y)$ to polar coordinates $(r, \theta)$.

The transformations are:

$x = r \cos \theta$

$y = r \sin \theta$

Now let’s find the partial derivatives:

\frac{\partial x}{\partial r} = $\cos$ $\theta$, \quad \frac{\partial x}{\partial \theta} = -r $\sin$ $\theta$

\frac{\partial y}{\partial r} = $\sin$ $\theta$, \quad \frac{\partial y}{\partial \theta} = r $\cos$ $\theta$

So the Jacobian matrix is:

$J = $

$\begin{vmatrix}$

$\cos$ $\theta$ & -r $\sin$ $\theta$ \\

$\sin \theta & r \cos \theta$

$\end{vmatrix}$

Let’s find the determinant:

J = ($\cos$ $\theta)$(r $\cos$ $\theta)$ - ($\sin$ $\theta)$(-r $\sin$ $\theta)$ = r($\cos^2$ $\theta$ + $\sin^2$ $\theta)$ = r

We used the identity $\cos^2 \theta + \sin^2 \theta = 1$. So the Jacobian determinant is $r$.

This means that when we switch to polar coordinates, areas get scaled by a factor of $r$. That’s why when we integrate in polar coordinates, we multiply by $r$.

General Formula for Change of Variables

In general, if you have a function $f(x, y)$ and you’re changing variables to $(u, v)$, the integral transforms like this:

\iint_{\text{region}} f(x, y) \, dx \, dy = \iint_{\text{new region}} f(x(u, v), y(u, v)) \, |J| \, du \, dv

The $|J|$ is the absolute value of the Jacobian determinant. This formula helps you solve integrals in the new variables.

More Dimensions: 3D Jacobians

In three dimensions, the Jacobian is a $3 \times 3$ matrix. Let’s say you’re changing from $(x, y, z)$ to $(u, v, w)$:

$J = $

$\begin{vmatrix}$

\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} & \frac{\partial x}{\partial w} \\

\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v} & \frac{\partial y}{\partial w} \\

\frac{\partial z}{\partial u} & \frac{\partial z}{\partial v} & \frac{\partial z}{\partial w}

$\end{vmatrix}$

And the integral formula becomes:

\iiint_{\text{region}} f(x, y, z) \, dx \, dy \, dz = \iiint_{\text{new region}} f(x(u, v, w), y(u, v, w), z(u, v, w)) \, |J| \, du \, dv \, dw

This is super useful when working in cylindrical or spherical coordinates.

Example: Cylindrical Coordinates

Let’s switch from Cartesian $(x, y, z)$ to cylindrical $(r, \theta, z)$ coordinates. The transformations are:

$x = r \cos \theta$

$y = r \sin \theta$

$z = z$

We’ll compute the Jacobian. The partial derivatives are:

\frac{\partial x}{\partial r} = $\cos$ $\theta$, \quad \frac{\partial x}{\partial \theta} = -r $\sin$ $\theta$, \quad \frac{\partial x}{\partial z} = 0

\frac{\partial y}{\partial r} = $\sin$ $\theta$, \quad \frac{\partial y}{\partial \theta} = r $\cos$ $\theta$, \quad \frac{\partial y}{\partial z} = 0

\frac{\partial z}{\partial r} = 0, \quad \frac{\partial z}{\partial \theta} = 0, \quad \frac{\partial z}{\partial z} = 1

So the Jacobian matrix is:

$J = $

$\begin{vmatrix}$

$\cos$ $\theta$ & -r $\sin$ $\theta$ & 0 \\

$\sin$ $\theta$ & r $\cos$ $\theta$ & 0 \\

0 & 0 & 1

$\end{vmatrix}$

Let’s find the determinant:

J = ($\cos$ $\theta)$(r $\cos$ $\theta)$(1) + (-r $\sin$ $\theta)$($\sin$ $\theta)$(1) = r($\cos^2$ $\theta$ + $\sin^2$ $\theta)$ = r

So the Jacobian determinant is $r$. That’s why in cylindrical coordinates, you multiply the integral by $r$.

Example: Spherical Coordinates

Now let’s go from Cartesian $(x, y, z)$ to spherical $(\rho, \theta, \phi)$ coordinates. The transformations are:

x = $\rho$ $\sin$ $\phi$ $\cos$ $\theta$

y = $\rho$ $\sin$ $\phi$ $\sin$ $\theta$

$z = \rho \cos \phi$

Here, $\rho$ is the distance from the origin, $\phi$ is the angle from the $z$-axis (polar angle), and $\theta$ is the angle in the $xy$-plane (azimuthal angle).

We won’t go through the full calculation here (it’s a bit lengthy), but the result is:

$|J| = \rho^2 \sin \phi$

So when you integrate in spherical coordinates, the volume element is $dV = \rho^2 \sin \phi \, d\rho \, d\theta \, d\phi$.

Fun Fact: Why the Jacobian Works

The Jacobian comes from linear algebra. It measures how a small square or cube in the $(u, v)$ or $(u, v, w)$ plane gets stretched into a parallelogram or parallelepiped in the $(x, y)$ or $(x, y, z)$ space.

If the Jacobian is large, the region stretches a lot. If it’s small, it shrinks. If the Jacobian is zero, the transformation squashes the region flat (no volume).

This idea is super important in physics, engineering, and computer graphics. For example, when you’re simulating fluid flow, you often change variables to simplify the equations.

Solving Integrals with Change of Variables

Let’s go through a full example to see how we put all this together.

Example: Integrating a Function Over a Circle

We want to find the integral of the function $f(x, y) = x^2 + y^2$ over the unit circle $x^2 + y^2 \leq 1$.

In Cartesian coordinates, this is tricky. But let’s switch to polar coordinates.

We know:

x = r $\cos$ $\theta$, \quad y = r $\sin$ $\theta$

So:

f(r, $\theta)$ = (r $\cos$ $\theta)^2$ + (r $\sin$ $\theta)^2$ = r^2 ($\cos^2$ $\theta$ + $\sin^2$ $\theta)$ = r^2

The region $x^2 + y^2 \leq 1$ becomes $r \leq 1$ and $0 \leq \theta \leq 2\pi$.

We also know the Jacobian is $r$. So the integral becomes:

$\iint_{x^2 + y^2 \leq 1}$ (x^2 + y^2) \, dx \, dy = $\int_{0}$^{$2\pi$} $\int_{0}$^{1} r^$2 \cdot$ r \, dr \, d$\theta$

That’s:

$\int_{0}$^{$2\pi$} $\int_{0}$^{1} r^3 \, dr \, d$\theta$

Now integrate with respect to $r$:

$\int_{0}$^{1} r^3 \, dr = $\frac{r^4}{4}$ $\bigg|_{0}$^{1} = $\frac{1}{4}$

Now integrate with respect to $\theta$:

$\int_{0}$^{$2\pi$} $\frac{1}{4}$ \, d$\theta$ = $\frac{1}{4}$ ($2\pi)$ = $\frac{\pi}{2}$

So the integral is $\frac{\pi}{2}$.

Another Example: Ellipse

Let’s say we want to integrate over an ellipse defined by:

$\frac{x^2}{a^2} + \frac{y^2}{b^2} \leq 1$

We can use the change of variables:

x = a u, \quad y = b v

Then the ellipse becomes the unit circle $u^2 + v^2 \leq 1$.

The Jacobian is:

$J = $

$\begin{vmatrix}$

\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} \\

\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v}

$\end{vmatrix} $

$= $

$\begin{vmatrix}$

a & 0 \\

0 & b

$\end{vmatrix} $

$= ab$

So the integral transforms as:

\iint_{\text{ellipse}} f(x, y) \, dx \, dy = \iint_{\text{unit circle}} f(a u, b v) \, ab \, du \, dv

This makes the integral simpler because we’re now working with a unit circle.

Conclusion

Awesome job, students! 🎉 We covered a lot in this lesson. We learned:

  • Why changing variables is useful in multiple integrals.
  • How to compute the Jacobian determinant.
  • How to apply the change of variables formula in 2D and 3D.
  • Real-world examples like polar, cylindrical, and spherical coordinates.

With these tools, you can tackle integrals over complicated regions and functions more easily. Keep practicing, and you’ll master this technique in no time!

Study Notes

  • The Jacobian is a determinant of partial derivatives that measures how areas/volumes scale when changing variables.
  • For two variables:

$ J = \frac{\partial(x, y)}{\partial(u, v)} = $

$ \begin{vmatrix}$

\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} \\

\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v}

$ \end{vmatrix}$

  • For three variables:

$ J = $

$ \begin{vmatrix}$

\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} & \frac{\partial x}{\partial w} \\

\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v} & \frac{\partial y}{\partial w} \\

\frac{\partial z}{\partial u} & \frac{\partial z}{\partial v} & \frac{\partial z}{\partial w}

$ \end{vmatrix}$

  • Change of variables formula for integrals in 2D:

\iint_{\text{region}} f(x, y) \, dx \, dy = \iint_{\text{new region}} f(x(u, v), y(u, v)) \, |J| \, du \, dv

  • In polar coordinates:

x = r $\cos$ $\theta$, \quad y = r $\sin$ $\theta$, \quad |J| = r

  • In cylindrical coordinates:

x = r $\cos$ $\theta$, \quad y = r $\sin$ $\theta$, \quad z = z, \quad |J| = r

  • In spherical coordinates:

x = $\rho$ $\sin$ $\phi$ $\cos$ $\theta$, \quad y = $\rho$ $\sin$ $\phi$ $\sin$ $\theta$, \quad z = $\rho$ $\cos$ $\phi$, \quad |J| = $\rho^2$ $\sin$ $\phi$

  • Example integral in polar coordinates:

\iint_{\text{circle } x^2 + y^$2 \leq 1$} (x^2 + y^2) \, dx \, dy = $\int_{0}$^{$2\pi$} $\int_{0}$^{1} r^3 \, dr \, d$\theta$ = $\frac{\pi}{2}$

  • Example integral over ellipse:

$\iint_{\frac{x^2}${a^2} + $\frac{y^2}{b^2}$ $\leq 1$} f(x, y) \, dx \, dy = $\iint_{u^2 + v^2 \leq 1} f(a u, b v) \, ab \, du \, dv

Keep these notes handy as you practice. You’re on your way to becoming a master of multivariable integrals! 🌟

Practice Quiz

5 questions to test your understanding

Change Of Variables And Jacobians — High School Calculus 3 | A-Warded