- I-Learn, Class Pictures, Learning Targets, Text Book Practice
- Prep Tasks: Unit 1 - Motion, Unit 2 - Derivatives, Unit 3 - Integration, Unit 4 - Vector Calculus
We still have some tasks from Day 33 to finish discussing in class.
Day 33 - Prep
Task 33.1
Polar coordinates is one type of new coordinate system, in particular this coordinate systems helps compute double integrals for planar regions that have some kind of rotational symmetry. We've actually been using change-of-coordinates since first semester calculus, every time we perform a substitution to complete an integral. What we'll do in this task is look at two changes-of-coordinates, one which stretches lengths, and the other which stretches areas.
- Consider the integral $\ds\int_{-1}^{2} e^{-3x}\, dx$.
- To complete this integral we use the substitution $u=-3x$. Solve for $x$ and compute the differential $dx$.
- Perform the substitution, filling in the missing parts of $$\int_{x=-1}^{x=2} e^{-3x}\, dx = \int_{u=?}^{u=?} e^{u}? du.$$ Note that when a definite integral ends with $du$, the bounds should be in terms of $u$. To find the $u$ bounds, just ask, "If $x=-1$, then $u=?$" Don't spend any time completing the integral, rather just focus on completing the substitution above.
- The $x$ values range from $-1$ to $2$. This is a directed interval whose width is 3 units, pointing from left to right along the $x$-axis (shown below). Our substitution $u=-3x$ transforms this directed interval into a different directed interval along the $u$-axis. Draw the transformed interval on the $u$-axis below.
- How long is the new interval along the $u$-axis? What does your differential equation $dx=-\frac{1}{3}du$ have to do with this problem? What does the negative sign do?
Above we showed that the differential equation $dx = \frac{dx}{du}du$ tells us how to relate lengths along the $u$-axis to lengths along the $x$-axis. We could think of the number $\frac{dx}{du}$ as a length stretch factor. Let's now examine a two dimensional change-of-coordinates, and connect areas in the $uv$-plane to areas in the $xy$-plane.
- Consider the change-of-coordinates $x=u-v$ and $y=u+v$, which we could also write as the coordinate transformation $\vec T(u,v) = (u-v,u+v)$.
- In the table below, you're given several $(u,v)$ points. Find the corresponding $(x,y)$ pair. $$ \begin{array}{|c|c|c|} \text{Name}&(u,v)&(x,y)\\\hline A&(0,0)&(0,0)\\ B&(1,0)&(1-0,1+0) = (1,1)\\ C&(0,1)&(0-1,0+1) = (-1,1)\\ D&(1,1)&\\ E&(3,3)&\\ F&(2,4)&\\ G&(-2,4)&\\ \end{array}$$
- There are two graphs below. One is a plot in the $uv$-plane of the points from the table, along with the parabola $v=u^2$, the line $v=u$, and the shaded box whose corners are the first four points. Complete a similar plot in the $xy$-plane by adding the remaining points, and then connect the points in your $xy$ plot to show how the parabola, line, and shaded box (done for you) transform because of this change-of-coordinates. How would you describe what this change-of-coordinates is doing?
- The following Mathematica code allows you to draw any region from the $uv$-plane in the $xy$ plane. You can use it to check your work (as well as adapt the code to work with ANY new coordinate system).
R1 = ParametricRegion[{{u - v, u + v}, 0 <= u <= 1 && 0 <= v <= 1}, {u, v}]; Region[R1, Axes -> True, AxesLabel -> {x, y}] R2 = ParametricRegion[{{u - v, u + v}, v == u^2}, {{u, -2, 2}, v}]; Region[R2, Axes -> True, AxesLabel -> {x, y}]
- The differential of $x$ is $dx = du-dv$. Obtain a similar formula for the differential $dy$. Then write your answer as the vector equation (linear combination) $$\begin{pmatrix}dx\\dy\end{pmatrix} = \begin{pmatrix} 1\\ ?\end{pmatrix}du+\begin{pmatrix}-1\\?\end{pmatrix}dv.$$
- How are areas in the $uv$-plane related to areas in the $xy$-plane? In particular, the area of the 1 by 1 box in the $uv$ plane is 1. What is the area of the shaded region in the $xy$-plane. By how much are we stretching areas when we change from $uv$ to $xy$ coordinates (what's the "area stretch factor")?
The area stretch factor above is called a "Jacobian". We'll soon have quick way to compute a Jacobian, which will result from finding the area of a parallelogram (the next task).
Task 33.2
We need a quick way to compute the area of a parallelogram. In this task, we'll prove the following theorem and then use it in a few specific examples.
The area $A$ of a parallelogram whose edges are the two vectors $\vec u= (a,b)$ and $\vec v = (c,d)$ is given by $A=|ad-bc|$.
- Suppose a parallelogram has edges that are parallel to the vectors $\vec u=(a,b)$ and $\vec v=(c,d)$. Prove that the area of this parallelogram is given by $|ad-bc|$. If you want some help, here are some steps you can follow:
- Draw a generic parallelogram. Label one corner the origin, and then the two connecting edges are the vectors $\vec u = (a,b)$ and $\vec v=(c,d)$.
- Add to your picture (1) the projection of $\vec u$ onto $\vec v$ (so $\vec u_{\parallel \vec v}$) and (2) the component of $\vec u$ that is orthogonal to $\vec v$ (so $\vec u_{\perp \vec v}$).
- Explain why the area is $A = |\vec v||\vec u_{\perp \vec v}|$.
- Use Mathematica to perform the computations, and then explain why the result given is equal to $|ad-bc|$.
u = {a, b}; v = {c, d}; uPerpv = u - Projection[u, v]; Norm[uPerpv]*Norm[v] // FullSimplify
- Whether you are able to complete the proof above or not, let's practice using the result to compute areas of parallelogram (and triangles). Use the area formula $|ad-bc|$ to compute the requested areas below.
- A parallelogram has vertices $(0,0)$, $(-2,5)$, $(3,4)$, and $(1,9)$. Find its area.
- Find the area of the triangle with vertices $(0,0)$, $(-2,5)$, and $(3,4)$.
- Find the area of the triangle with vertices $(-3,1)$, $(-2,5)$, and $(3,4)$. [You'll need to give vectors $\vec u$ and $\vec v$ that form the edges of a parallelogram.]
Task 33.3
Recall that the gradient of a function $f$ is the quantity $$\vec \nabla f = \left(\frac{\partial f}{\partial x},\frac{\partial f}{\partial y},\frac{\partial f}{\partial z} \right) = \left(\frac{\partial }{\partial x},\frac{\partial }{\partial y},\frac{\partial }{\partial z} \right)f ,$$ where in the last expression we let $\vec \nabla = \left(\frac{\partial }{\partial x},\frac{\partial }{\partial y},\frac{\partial }{\partial z} \right)$ and then treat $\vec \nabla f$ as a "vector" $\vec \nabla$ times a scalar $f$. The quantity $\vec \nabla = \left(\frac{\partial }{\partial x},\frac{\partial }{\partial y},\frac{\partial }{\partial z} \right)$ is an example of something we call an "operator," something that operates on functions.
An operator is a function whose input is a function itself. This allows us to say "operator on functions" instead of "function of functions."
We've already encountered several operators before this class. For example, the derivative operator $\frac{d}{dx}$ from first semester calculus takes a function such as $f(x) = x^2$ and returns a new function $\frac{d}{dx}f = 2x$. The integral operator $\int_a^b f dx$ takes a function $f$ and return a real number. The gradient operator takes a function $f$ and returns a vector of functions $\vec \nabla f = (f_x,f_y,f_z)$. This is just 3 examples of operators. Here are two more.
Consider the vector field $\vec F(x,y,z) = (M,N,P)$, where $M$, $N$, and $P$ are functions of $x$, $y$, and $z$.
- The divergence of $\vec F$ is the scalar quantity $$ \begin{align*} \text{div}(\vec F) &= \vec \nabla \cdot \vec F \\ &= \left(\frac{\partial }{\partial x},\frac{\partial }{\partial y},\frac{\partial }{\partial z} \right)\cdot \left(M,N,P\right) \\ &= \frac{\partial M}{\partial x}+\frac{\partial N}{\partial y}+\frac{\partial P}{\partial z}\\ &= M_x+N_y+P_z . \end{align*} $$
- The curl of $\vec F$ is the vector quantity $$ \begin{align*} \text{curl}(\vec F) &= \vec \nabla \times \vec F \\ &= \left(\frac{\partial }{\partial x},\frac{\partial }{\partial y},\frac{\partial }{\partial z} \right)\times \left(M,N,P\right) \\ &= \left(\frac{\partial P}{\partial y}-\frac{\partial N}{\partial z},\frac{\partial M}{\partial z}-\frac{\partial P}{\partial x},\frac{\partial N}{\partial x}-\frac{\partial M}{\partial y}\right) \\ &= \left(P_y-N_z,M_z-P_x,N_x-M_y\right) . \end{align*} $$
We will often say "del dot F" for the divergence of $\vec F$, and "del cross F" for the curl of $\vec F$.
Use the definitions above to compute the divergence and curl of each vector field below. Then compute the derivative (which will be a 3 by 3 matrix). Finish by checking your work with Mathematica (code for doing so is provided below). If you see any relationships worth mentioning, articulate them in your work.
- $\vec F = (2x, 3y^2, e^z)$
- $\vec F = (-3y, 3x, 5z)$
- $\vec F = (z-3y, 3x, -x)$
In class, we'll talk about the physical meaning of each result above.
The code below computes the derivative, divergence, and curl of the vector field $\vec F = (x^2 y, x y z, 3 x + 4 z)$.
F = {x^2 y, x y z, 3 x + 4 z }
D[F, {{x, y, z}}] // MatrixForm
Div[F, {x, y, z}]
Curl[F, {x, y, z}]
Task 33.4
Pick some problems related to the topics we are discussing from the Text Book Practice page.
Day 34 - Prep
Task 34.1
It's time to focus on how area is changed when we perform a change-of-coordinates. We'll see that finding the area of a transformed parallelogram is the key.
- Consider the change-of-coordinates $x=2u$, $y=3v$.
- The lines $u=0,u=1,u=2$ and $v=0,v=1,v=2$ correspond to lines in the $xy$-plane. Draw these lines in the $xy$-plane (the line $v=1$ is done for you).
- The box in the $uv$-plane with $0\leq u\leq 1$ and $1\leq v\leq 2$ corresponds to a box in the $xy$-plane. Shade this box in the $xy$-plane and find its area.
- Compute the differentials $dx$ and $dy$. State them using the vector form (linear combination) $$\begin{pmatrix}dx\\dy\end{pmatrix} = \begin{pmatrix} ?\\ ?\end{pmatrix}du+\begin{pmatrix}?\\?\end{pmatrix}dv$$ What do the two vectors $(a,0)$ and $(0,b)$ have to do with your picture?
- Draw the box given by $-1\leq u\leq 1$ and $-1\leq v\leq 1$ in both the $uv$-plane and $xy$-plane. Then state the area $A_{uv}$ of this box in the $uv$-plane, and state the area $A_{xy}$ of the corresponding rectangle in the $xy$-plane.
- Consider the circle $u^2+v^2=1$, whose area inside is $A_{uv}=\pi$. Guess the area $A_{xy}$ inside the corresponding ellipse in the $xy$-plane. Explain.
- The lines $u=0,u=1,u=2$ and $v=0,v=1,v=2$ correspond to lines in the $xy$-plane. Draw these lines in the $xy$-plane (the line $v=1$ is done for you).
- Consider now the change-of-coordinates $x=2u+v$, $y=u-2v$.
- The lines $u=0,u=1,u=2$ and $v=0,v=1,v=2$ correspond to lines in the $xy$ plane. Draw these lines in the $xy$-plane (the line $v=1$ is drawn for you). One option is to find the $xy$ coordinates of the $(u,v)$ points $(0,0)$, $(0,1)$, $(0,2)$, $(1,0)$, $(1,1)$, etc., and then just connect the dots to make a rotated grid.
- The box in the $uv$-plane with $0\leq u\leq 1$ and $1\leq v\leq 2$ should correspond to a parallelogram in the $xy$ plane. Shade this parallelogram in your picture above.
- Compute the differentials $dx$ and $dy$. State them using the vector form (linear combination) $$\begin{pmatrix}dx\\dy\end{pmatrix} = \begin{pmatrix} ?\\ ?\end{pmatrix}du+\begin{pmatrix}?\\?\end{pmatrix}dv.$$ What do the two vectors above have to do with your picture?
- Show that the area of the parallelogram formed using these two vectors is 5. How would you describe the change in area between the graph in the $uv$-plane, and the graph in the $xy$-plane?
- The lines $u=0,u=1,u=2$ and $v=0,v=1,v=2$ correspond to lines in the $xy$ plane. Draw these lines in the $xy$-plane (the line $v=1$ is drawn for you). One option is to find the $xy$ coordinates of the $(u,v)$ points $(0,0)$, $(0,1)$, $(0,2)$, $(1,0)$, $(1,1)$, etc., and then just connect the dots to make a rotated grid.
The following code will help you check that your work on the second part is correct.
coordinates = {2 u + v, u - 2 v}
R = ParametricRegion[{coordinates, 0 <= u <= 1 && 1 <= v <= 2}, {u, v}];
Region[R, Axes -> True, AxesLabel -> {x, y}, AxesOrigin -> {0, 0}]
R = ParametricRegion[{coordinates, u == 0 || u == 1 || u == 2 || v == 0 || v == 1 || v == 2}, {{u, -1, 3}, {v, -1, 3}}];
Region[R, Axes -> True, AxesLabel -> {x, y}, AxesOrigin -> {0, 0}]
Task 34.2
Many vector fields are the derivative of a function. This function we call a potential for the vector field. Once we are comfortable finding potentials, we'll show that the work done by a vector field with a potential is the difference in the potential.
A potential for the vector field $\vec F$ is a function $f$ whose gradient equals $\vec F$, so $\vec \nabla f=\vec F$.
Let's practice finding gradients and potentials. You're welcome to watch this YouTube Video before starting, or just jump in and give it a try.
- Let $f(x,y) = x^2+3xy+2y^2$. Find $\vec \nabla f$. Then compute $D^2f(x,y)$ (you should get a square matrix). What are $f_{xy}$ and $f_{yx}$?
- Consider the vector field $\vec F(x,y)=(2x+y,x+4y)$. Find the derivative of $\vec F(x,y)$ (it should be a square matrix). Then find a function $f(x,y)$ whose gradient is $\vec F$ (i.e. $Df=\vec F$). What are $f_{xy}$ and $f_{yx}$?
- Consider the vector field $\vec F(x,y)=(2x+y,3x+4y)$. Find the derivative of $\vec F$. Why is there no function $f(x,y)$ so that $Df(x,y)=\vec F(x,y)$? [Hint: look at $f_{xy}$ and $f_{yx}$.]
Let $\vec F$ be a vector field that is everywhere continuously differentiable. Then $\vec F$ has a potential if and only if the derivative $D\vec F$ is a symmetric matrix. We say that a matrix is symmetric if interchanging the rows and columns results in the same matrix (so if you replace row 1 with column 1, and row 2 with column 2, etc., then you obtain the same matrix).
- For each of the following vector fields, start by computing the derivative. Then find a potential, or explain why none exists.
- $\vec F(x,y)=(2x-y, 3x+2y)$
- $\vec F(x,y)=(2x+4y, 4x+3y)$
- $\vec F(x,y)=(2x+4xy, 2x^2+y)$
- $\vec F(x,y,z)=(x+2y+3z,2x+3y+4z,2x+3y+4z)$
- $\vec F(x,y,z)=(x+2y+3z,2x+3y+4z,3x+4y+5z)$
- $\vec F(x,y,z)=(x+yz,xz+z,xy+y)$
The Mathematica code below starts by computing the derivative $D\vec F$, then uses DSolve to find a potential, and finishes by computing the gradient of the potential to see if it is the original vector field (verify you have the correct solution). If a potential exists, then the last line should match the first. You'll need to add a third variable (,z) in appropriate spots to use this code for a 3D vector field.
ClearAll[F, f, x, y]
F = {2 x + y, x + 4 y}
D[F, {{x, y}}] // MatrixForm
potential = DSolve[D[f[x, y], {{x, y}}] == F, f[x, y], {x, y}]
D[f[x, y] /. potential, {{x, y}}] // Flatten
Task 34.3
We already found the area of parallelogram in the $xy$-plane. To use new coordinate systems in 3D, we'll need to volume of a parallelepiped formed by the three vectors $\vec u$, $\vec v$, and $\vec w$, shown in the image below.

We get the volume by obtaining the area $A$ of one face, multiplied by the distance $h$ between the base and the plane containing the opposing face. This means we need to (1) compute the area of a parallelogram in 3D, and then (2) obtain a formula for the distance between the opposing faces. In this task, we'll see that the cross product and dot product provide us with precisely the tools we need to do both tasks.
- Let $\vec u = (a,b,c)$ and $\vec v = (d,e,f)$. Our goal is to find the area of a parallelogram whose edges are formed from these two vectors.
- Draw a picture that contains 2 vectors labeled $\vec u$ and $\vec v$. In that picture, include $\vec u_{\parallel \vec v}$ and $\vec u_{\perp\vec v}$. Explain why the area we seek is $A = |\vec u_{\perp\vec v}||\vec v|$. Then use the following Mathematica code to compute the area. The Assumptions command below is needed to help Mathematica do some simplifications .
$Assumptions = a \[Element] Reals && b \[Element] Reals && c \[Element] Reals && d \[Element] Reals && e \[Element] Reals && f \[Element] Reals; u = {a, b, c}; v = {d, e, f}; uPerpv = u - Projection[u, v]; Norm[uPerpv]*Norm[v] // Simplify - The magnitude of the cross product is $$|\vec u\times \vec v|= |(bf-ce, cd-af, ae-bd)| = \sqrt{(bf-ce)^2+ (cd-af)^2+ (ae-bd)^2}.$$ Show that the magnitude of the cross product and the area of the parallelogram (the value you obtained above) are the same. You can do this by hand, or with Mathematica. If you choose to use Mathematica, here is code for getting the magnitude of the cross product.
Norm[Cross[u, v]] // Simplify
- Use what you just learned to find the area of the parallelogram formed by the two vectors $(1,2,3)$ and $(-3,1,4)$.
- Draw a picture that contains 2 vectors labeled $\vec u$ and $\vec v$. In that picture, include $\vec u_{\parallel \vec v}$ and $\vec u_{\perp\vec v}$. Explain why the area we seek is $A = |\vec u_{\perp\vec v}||\vec v|$. Then use the following Mathematica code to compute the area. The Assumptions command below is needed to help Mathematica do some simplifications .
The cross product $\vec u\times\vec v$ of $\vec u$ and $\vec v$ is orthogonal to both $\vec u$ and $\vec v$. The magnitude of the cross product, so $|\vec u\times \vec v|$, is the area of the parallelogram formed by $\vec u$ and $\vec v$.
Now that we have a formula for the area of one face of a parallelepiped, we only need to find the distance between opposing faces to obtain the volume.

- Consider three vectors $\vec u$, $\vec v$, and $\vec w$ in $\mathbb{R}^3$. We will find the volume of the parallelepiped formed by these three vectors. Let the base of the parallelogram be the face formed by $\vec u$ and $\vec v$. The height $h$ is the distance between the plane that contains the base and the plane that contain the opposing side of the parallelepiped.
- Give a formula to compute the area of the base of the parallelogram. (What did the first part of this tasks help us learn)
- Give a vector $\vec n$ that is normal to the base.
- Use the projection formula, with the vectors $\vec w$ and $\vec n$ in an appropriate manner, to state the height $h$ of the parallelogram in terms of dot products.
- Use your work above to explain why the parallelepiped's volume is $$V=|(\vec u\times \vec v)\cdot \vec w|.$$
We call $(\vec u\times \vec v)\cdot \vec w$ the triple product of $\vec u$, $\vec v$, and $\vec w$. The volume of a parallelepiped formed by the three vectors is $V=|(\vec u\times \vec v)\cdot \vec w|.$
Task 34.4
Pick some problems related to the topics we are discussing from the Text Book Practice page.
Day 34 - In class
Brain Gains (Rapid Recall, Jivin' Generation)

- Consider the change-of-coordinates $x = u-3v$ and $y = 2u+4v$.
- Compute the differential $(dx,dy)$ and write it as a linear combination.
- Draw the region in the $xy$-plane given by $0\leq u\leq 1$ and $0\leq v\leq 1$.
- Compute the area of the parallelogram you just drew.
Solution
- Consider the vector field $\vec F(x,y) = (6x+y^2,2xy-4y^3)$.
- Compute the derivative $D\vec F(x,y)$.
- Find a function $f(x,y)$ so that $\vec \nabla f(x,y) = \vec F$ (recall that this means $f$ is a potential for $\vec F$).
Solution
ClearAll[F, f, x, y]
F = {6 x + y^2, 2 x y - 4 y^3}
D[F, {{x, y}}] // MatrixForm
potential = DSolve[D[f[x, y], {{x, y}}] == F, f[x, y], {x, y}]
D[f[x, y] /. potential, {{x, y}}] // Flatten
- Let $\vec u = (1, 2, 3)$, $\vec v = (3, 0, -1)$ and $\vec w = (2, -1, 2)$. Compute the triple product $(\vec u\times\vec v)\cdot \vec w$. The absolute value of this quantity gives the volume of the parellelepiped formed by these 3 vectors.
Solution
The solution is -26. The volume of the parallelepiped formed by these three vectors is 26. We'll use this fact to perform 3D change-of-coordinates.
u = {1, 2, 3};
v = {3, 0, -1};
w = {2, -1, 2};
Cross[u, v]
Dot[Cross[u, v], w]
Graphics3D[Parallelepiped[{0, 0, 0}, {u, v, w}], Axes -> True, AxesOrigin -> {0, 0, 0}, AxesLabel -> Automatic]
Group Problems
- Compute the volume of the parallelepiped whose edges are given by the vectors $\vec u = (1, 0, 1)$, $\vec v = (0, -1, 2)$ and $\vec w = (-2, 1, 0)$. [Check: 4]
- Consider the change-of-coordinates $x=r\cos\theta$ and $y=r\sin\theta$.
- Compute the differential $(dx,dy)$ and write it as a linear combination.
- Compute the area of the parallelogram whose edges are given by the vectors $(\cos\theta, \sin\theta)$ and $(-r\sin\theta, r\cos\theta)$.
- Compute the derivative of each vector field $\vec F$ below (obtaining a square matrix). Then find a potential for $\vec F$ or explain why the vector field has no potential.
- $\vec F = (2x,3y)$ [Check: $D\vec F = \begin{bmatrix}2&0\\0&3\end{bmatrix}$ and $f = x^2+\frac{3}{2}y^2$. We can quickly check that $\vec \nabla f = (2x,3y)$, as needed.]
- $\vec F = (2y,3x)$
- $\vec F = (3y,3x)$
- $\vec F = (4x,5y,6z)$
- $\vec F = (4x,5z,6y)$
- $\vec F = (4x,5z,5y)$
- $\vec F = (2x-y,-x+4y)$
- $\vec F = (y^2+2x,2xy)$
- $\vec F = (x+yz,xz+4yz,xy+2y^2)$
- $\vec F = (x+yz,4yz,xy+2y^2)$
- $\vec F = (x+yz,xz+4yz,xy)$
- $\vec F = (yz,xz+4yz,xy+2y^2)$
Day 35 - Prep
Task 35.1
Given a change-of-coordinates $x = x(u,v)$ and $y=y(u,v)$, the differential is $$\begin{pmatrix}dx\\dy\end{pmatrix} = \begin{pmatrix} \frac{\partial x}{\partial u}\\ \frac{\partial y}{\partial u}\end{pmatrix}du+\begin{pmatrix}\frac{\partial x}{\partial v}\\\frac{\partial y}{\partial v}\end{pmatrix}dv = \begin{bmatrix}\frac{\partial x}{\partial u}&\frac{\partial x}{\partial v}\\\frac{\partial y}{\partial u}&\frac{\partial y}{\partial v}\end{bmatrix}\begin{pmatrix}du\\dv\end{pmatrix}.$$ The Jacobian of the change-of-coordinates, written $\dfrac{\partial (x,y)}{\partial (u,v)}$, is the area of the parallelogram formed by the partial derivatives $\dfrac{\partial (x,y)}{\partial u}=\begin{pmatrix} \frac{\partial x}{\partial u}\\ \frac{\partial y}{\partial u}\end{pmatrix}$ and $\dfrac{\partial (x,y)}{\partial v}=\begin{pmatrix} \frac{\partial x}{\partial v}\\ \frac{\partial y}{\partial v}\end{pmatrix}$. The Jacobian, in 2D, is an area stretch factor that relates the area $A_{uv}$ of a small region in the $uv$-plane to the transformed region of area $A_{xy}$ in the $xy$-plane, which we often summarize with the notation $dA = \frac{\partial (x,y)}{\partial (u,v)}dudv.$ In terms of integrals, this gives $$\iint_R f dxdy =\iint_R f dA = \iint_R f \frac{\partial (x,y)}{\partial (u,v)}dudv.$$ The Jacobian can be computed in 3D similarly, and is defined as the volume of the parallelepiped formed by the three partial derivatives of a three dimensional change-of-coordinates. Similar definitions hold in all dimensions, with the same application.
- Use the area of a parallelogram formula we developed to explain why the Jacobian can be computed using the formula $$\frac{\partial (x,y)}{\partial (u,v)} = \left|\frac{\partial x}{\partial u}\frac{\partial y}{\partial v}-\frac{\partial x}{\partial v}\frac{\partial y}{\partial u}\right|.$$
- For the polar coordinate transformation given by the change-of-coordinates $x=r\cos\theta$ and $y=r\sin\theta$, compute the differential $(dx,dy)$, and then show that the Jacobian is $\ds\frac{\partial (x,y)}{\partial (r,\theta)} = |r|$. This is precisely the reason we use the notation $dA = |r|drd\theta$ when setting up double integrals using polar coordinates.
- For the change-of-coordinates $x=2u-v$ and $y=u+2v$, compute the differential $(dx,dy)$, and then obtain the Jacobian $\ds \frac{\partial (x,y)}{\partial (u,v)}$.
- For the change-of-coordinates $x=au$ and $y=bv$, show that the Jacobian is $\ds \frac{\partial (x,y)}{\partial (u,v)}=|ab|$.
- For the change-of-coordinates $u=x+y$ and $v=x-y$, show that $\ds \frac{\partial (u,v)}{\partial (x,y)} = 2$.
- For the change-of-coordinates $u=x+y$ and $v=x-y$, first solve for $x$ and $y$ in terms of $u$ and $v$ (so obtain $x = ....$ and $y= ...$). Then show that $\ds \frac{\partial (x,y)}{\partial (u,v)} = \frac{1}{2}$.
Did you notice that $\ds \frac{\partial (u,v)}{\partial (x,y)} = \left(\ds \frac{\partial (x,y)}{\partial (u,v)}\right)^{-1}$?
Task 35.2
In three dimensions, some common coordinate systems are cylindrical and spherical coordinates. In this task, for each of these coordinates systems, we'll (1) develop the change-of-coordinates formula, (2) compute the Jacobian using the triple product, and then (3) use the Jacobian to compute the volume of an object in this coordinate system.
Let's first tackle cylindrical coordinates. Let $P=(x,y,z)$ be a point in space. This point lies on a cylinder of radius $r$, where the cylinder has the $z$ axis as its axis of symmetry. The height of the point is $z$ units up from the $xy$ plane. The point casts a shadow in the $xy$ plane at $Q=(x,y,0)$. The angle between the ray $\vec{Q}$ and the $x$-axis is $\theta$. See the image below.

- Explain why the equations for cylindrical coordinates are $$x=r\cos\theta, \quad y=r\sin\theta,\quad z=z.$$ [Hint: Compute the sine and cosine of $\theta$ in terms of $x$, $y$, and $r$, and then solve for $x$ and $y$.]
- Compute the Jacobian $\dfrac{\partial(x,y,z)}{\partial(r,\theta,z)}$ for cylindrical coordinates. The steps below are a guide, if needed.
- For cylindrical coordinates we have $x=r\cos\theta$, $y=r\sin\theta$, and $z=z$. Write the differential $d(x,y,z)$ as the linear combination of partial derivatives $$\begin{pmatrix}dx\\dy\\dz\end{pmatrix} = \begin{pmatrix}\cos\theta\\\sin\theta\\0\end{pmatrix}dr+\begin{pmatrix}?\\?\\?\end{pmatrix}d\theta+\begin{pmatrix}?\\?\\?\end{pmatrix}dz.$$
- Compute the volume of the parallelepiped formed by the three vectors (partial derivatives) above, using the triple product. Software can make quick work of this. Simplify your result to show that $\dfrac{\partial(x,y,z)}{\partial(r,\theta,z)} = |r|$.
- Consider the solid domain $D$ in space that lies inside the right circular cylinder $x^2+y^2=a^2$ (or $r=a$) for $0\leq z\leq h$. Start by drawing the domain $D$. The volume in cylindrical coordinates is given by the iterated integral $$V = \iiint_D dV = \ds\int_{0}^{2\pi}\int_{0}^{a}\int_{0}^{h}rdzdrd\theta.$$ Compute this integral to obtain a familiar formula $V = \pi a^2 h$.
Now let's tackle spherical coordinates. Let $P=(x,y,z)$ be a point in space. This point lies on a sphere of radius $\rho$ ("rho"), where the sphere's center is at the origin $O=(0,0,0)$. The point casts a shadow in the $xy$ plane at $Q=(x,y,0)$. The angle between the ray $\vec{Q}$ and the $x$-axis is $\theta$, which some call the azimuth angle. The angle between the ray $\vec{P}$ and the $z$-axis is $\phi$ ("phi"), which some call the inclination angle, polar angle, or zenith angle. See the image below.

- Explain why the equations for spherical coordinates are $$x=\rho\sin\phi\cos\theta,\quad y=\rho\sin\phi\sin\theta,\quad z=\rho\cos\phi.$$ [Hint: Compute the sine and cosine of $\phi$ in terms of $\rho$, $r$, and $z$, and then solve for $r$ and $z$. Substitution into $x=r\cos\theta$ and $y=r\sin \theta$ will get the rest.]
- Compute the Jacobian $\dfrac{\partial(x,y,z)}{\partial(\rho,\phi,\theta)}$ for spherical coordinates. The steps below are a guide, if needed.
- For spherical coordinates we have $$x=\rho\sin\phi\cos\theta,\quad y=\rho\sin\phi\sin\theta,\quad z=\rho\cos\phi.$$ Write $d(x,y,z)$ as a linear combination of partial derivatives, so $$\begin{pmatrix}dx\\dy\\dz\end{pmatrix} = \begin{pmatrix}\sin\phi\cos\theta\\\sin\phi\sin\theta\\\cos\phi\end{pmatrix}d\rho+\begin{pmatrix}?\\?\\?\end{pmatrix}d\phi+\begin{pmatrix}?\\?\\?\end{pmatrix}d\theta.$$
- Compute the volume of the parallelepiped formed by the three vectors (partial derivatives) above. Software can make quick work of this. You can do it all by hand, but you'll have to use a Pythagorean identity several times to complete the simplification. Simplify your result to show that $\frac{\partial(x,y,z)}{\partial(\rho,\phi,\theta)} = |\rho^2\sin\phi|$.
- Consider the solid domain $D$ in space that lies inside the sphere $x^2+y^2+z^2=a^2$ (or $\rho=a$). Start by drawing the domain $D$. The volume in spherical coordinates is given by the iterated integral $$V = \iiint_D dV = \ds\int_{0}^{2\pi}\int_{0}^{\pi}\int_{0}^{a}\rho^2\sin\phi d\rho d\phi d\theta.$$ Compute this integral to obtain a familiar formula $V = \frac{4}{3}\pi a^3$.
There is some disagreement between different scientific fields about the notation for spherical coordinates. In some fields (like physics), $\phi$ represents the azimuth angle and $\theta$ represents the inclination angle, swapped from what we see here. In some fields, like geography, instead of the inclination angle, the elevation angle is given --- the angle from the $xy$-plane (lines of latitude are from the elevation angle). Additionally, sometimes the coordinates are written in a different order. You should always check the notation for spherical coordinates before communicating to others with them. As long as you have an agreed upon convention, it doesn't really matter how you denote them. See Wikipedia or MathWorld for a discussion of conventions in different disciplines.
Task 35.3
For a differentiable function $f(x)$, the second part of the fundamental theorem of calculus states that $\ds\int_a^b \frac{df}{dx} dx =f(b)-f(a)$. To find the total change in a function $f$ (so $f(b)-f(a)$), we just sum the little changes $\int_C df = \int_C \frac{df}{dx}dx$. We'll use this fact to greatly simplify work computations for vector fields that have a potential.
Let $\vec F$ be a vector field with $f$ being a potential for $\vec F$, meaning $\vec F = \vec \nabla f$. Let $\vec r(t)$ for $a\leq t\leq b$ be a differentiable parametrization of a curve $C$. Let $A = \vec r(a)$ and $B= \vec r (b)$ be the end points of the curve. The composite function $g(t) = f(\vec r(t)) = (f\circ \vec r)(t)$ gives the potential at points along the curve. In particular $f(A)$ and $f(B)$ give the potential at the end points of the curve. The difference in potential is $f(B)-f(A)$.
- Pause. Reread the above. Do you understand what each of $\vec F$, $f$, $\vec r$, $a$, $b$, $A$, $B$, and $g$ represent? If not, what parts do you have questions about? Then continue reading.
From the chain rule, the composite function $g(t) = f(\vec r(t)) = (f\circ \vec r)(t)$ has the derivative $\frac{dg}{dt}=\vec \nabla f(\vec r(t))\cdot\frac{d\vec r}{dt}$. We now compute $$\begin{align*} f(B)-f(A) &= f(\vec r(b))-f(\vec r(a))&\text{($A$ and $B$ are the end points of the curve)}\\ &= g(b)-g(a)&\text{(recall $g(t) = f(\vec r(t))$}\\ &= \int_a^b \frac{dg}{dt}dt&\text{(the fundamental theorem of calculus)}\\ &= \int_a^b \vec \nabla f(\vec r(t))\cdot \frac{d\vec r}{dt} dt&\text{(using the chain rule to compute $\frac{dg}{dt}$)}\\ &= \int_C \vec F\cdot d\vec r&\text{(recall that $\vec \nabla f=\vec F$)}. \end{align*}$$ This shows that the work done by $\vec F$ along $C$ is the difference in the potential $f$.
Suppose that $\vec F$ is a vector field that has a potential $f$ along a curve with differentiable parametrization $\vec r$ for $a\leq t\leq b$. Let $A = \vec r(a)$ and $B=\vec r(b)$ be the endpoints of the curve. Then we have $$\int_C \vec F\cdot d\vec r = \int_C \vec \nabla f \cdot d\vec r = f(B)-f(A).$$
Let's try using this theorem in a few situations.
- Let $\vec F(x,y) = (2x+y,x+4y)$ and $C$ be the parabolic path $\vec r(t) = (t,9-t^2)$ for $-3\leq t\leq 2$.
- Use the work formula we developed earlier in the semester, so $\int_C Mdx+Ndy$ or $\int_C \vec F\cdot d\vec r$, to set up and compute the work done by $\vec F$ along $\vec r$. This is a review of a previous learning target. Feel free to use software to complete the integral.
- Find a potential $f$ for $\vec F$, state $A$ and $B$, and then compute $f(B)-f(A)$.
- Identify the function $g(t) = f(\vec r(t))$, compute $\frac{dg}{dt}$, state $\vec F(\vec r(t))$ and $\frac{d\vec r}{dt}$, and then verify that $\frac{dg}{dt} = \vec F(\vec r(t))\cdot \frac{d\vec r}{dt}$ (these were the terms that appeared in the proof of the fundamental theorem of line integrals).
- Let $\vec F(x,y,z) = (2x+yz,2z+xz,2y+xy)$ and $C$ be the straight segment from $(2,-5,0)$ to $(1,2,3)$. Compute the work done by $\vec F$ along $C$ by first finding a potential for $\vec F$.
- Let $\vec F = (x,2yz,y^2)$. Let $C$ be the curve which starts at $(1,0,0)$ and follows a helical path $(\cos t, \sin t, t)$ to $(1,0,2\pi)$ and then follows a straight line path to $(2,4,3)$. Find the work done by $\vec F$ to get from $(1,0,0)$ to $(2,4,3)$ along this path.
- Suppose a vector field $\vec F$ has a potential. Compute $\int_C \vec F\cdot d\vec r$ where $C$ is the path parametrized by $\vec r(t) = (3\cos t, 3\sin t)$ for $0\leq t\leq 2\pi$.
Task 35.4
Pick some problems related to the topics we are discussing from the Text Book Practice page.
|
Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
