3D coordinate system
Unit 1 · Vectors and geometry in three dimensions
Key idea
Three mutually perpendicular axes meet at the origin. The axes are right-handed: curl the fingers of your right hand from the positive \(x\)-axis toward the positive \(y\)-axis and your thumb points along the positive \(z\)-axis. A point is an ordered triple \(P(x, y, z)\); the three coordinate planes split space into eight octants.
The coordinate planes are \(z = 0\) (the \(xy\)-plane), \(y = 0\) (the \(xz\)-plane) and \(x = 0\) (the \(yz\)-plane). The distance from \(P(x,y,z)\) to the \(xy\)-plane is \(|z|\), to the \(z\)-axis is \(\sqrt{x^2+y^2}\), and to the origin is \(\sqrt{x^2+y^2+z^2}\).
In \(\mathbb{R}^3\) a single equation describes a surface, not a curve: \(z = 3\) is a horizontal plane, \(x^2 + y^2 = 4\) is a circular cylinder (every \(z\) is allowed), and \(y = x\) is a vertical plane.
is the sphere with center \((h,k,l)\) and radius \(r\).
A sphere is the set of points at distance \(r\) from the center, so its equation is just the distance formula squared.
How to work it
- Group the \(x\), \(y\) and \(z\) terms and move the constant to the right.
- Complete the square in each variable: add \((\text{coefficient}/2)^2\) to both sides. The reason is that \((x-h)^2 = x^2 - 2hx + h^2\), so the number inside the parentheses is always half the coefficient of \(x\) with its sign flipped, and the number you add is its square.
- Read off the center \((h,k,l)\) from the signs inside the parentheses and \(r\) from the square root of the right side.
- If the right side is zero the "sphere" is a single point; if it is negative there are no points.
- What the answer should look like. "Sphere, center \((h,k,l)\), radius \(r\)", with \(r\) as a square root if it is not a perfect square, and, if a cross-section is asked for, its center and radius in the plane of the cut.
Identify \(x^2 + y^2 + z^2 - 2x + 4y - 6z = 2\).
\[(x^2 - 2x + 1) + (y^2 + 4y + 4) + (z^2 - 6z + 9)\] \[= 2 + 1 + 4 + 9\] \[(x-1)^2 + (y+2)^2 + (z-3)^2 = 16\]A sphere with center \((1,-2,3)\) and radius \(\sqrt{16} = 4\). The distance from its center to the \(xy\)-plane is \(|z| = 3\), less than the radius, so the sphere cuts that plane. To find the cut, set \(z = 0\) in the equation:
\[(x-1)^2 + (y+2)^2 + (0-3)^2 = 16 \ \Rightarrow\ (x-1)^2 + (y+2)^2 = 7\]a circle in the \(xy\)-plane with center \((1,-2,0)\) and radius \(\sqrt7\). The same idea with \(z = 7\) (distance \(4\), equal to the radius) gives a single point, and with \(z = 8\) gives no points at all.
Watch out. An equation missing a variable is still a surface in space. \(y = x^2\) is a parabola in the plane but a parabolic cylinder in \(\mathbb{R}^3\). Always ask which space you are working in.
Practice: problems 1, 2 in the practice set (last group in the contents).
Vectors and vector operations
Unit 1 · Vectors and geometry in three dimensions
Key idea
A vector has a magnitude and a direction but no position: two arrows with the same length and direction are the same vector. In components, \(\mathbf{v} = {\langle v_1, v_2, v_3\rangle} = v_1\,\mathbf{i} + v_2\,\mathbf{j} + v_3\,\mathbf{k}\), where \(\mathbf{i}, \mathbf{j}, \mathbf{k}\) are the unit vectors along the axes.
The vector from \(A(a_1,a_2,a_3)\) to \(B(b_1,b_2,b_3)\) is \(\overrightarrow{AB} = {\langle b_1 - a_1,\ b_2 - a_2,\ b_3 - a_3\rangle}\): terminal minus initial. The position vector of a point \(P\) is \(\overrightarrow{OP}\).
- Magnitude \(|\mathbf{v}| = \sqrt{v_1^2 + v_2^2 + v_3^2}\), the length of the arrow.
- Unit vector a vector of length 1; \(\mathbf{v}/|\mathbf{v}|\) is the unit vector in the direction of \(\mathbf{v}\).
- Zero vector \(\mathbf{0} = {\langle 0,0,0\rangle}\), the only vector with no direction.
- Parallel \(\mathbf{u} \parallel \mathbf{v}\) when \(\mathbf{u} = c\,\mathbf{v}\) for some scalar \(c \ne 0\).
Geometrically, \(\mathbf{a} + \mathbf{b}\) is the diagonal of the parallelogram with sides \(\mathbf{a}\) and \(\mathbf{b}\) (tip-to-tail), and \(c\,\mathbf{a}\) stretches \(\mathbf{a}\) by \(|c|\), reversing it when \(c \lt 0\).
Properties: \(\mathbf{a}+\mathbf{b} = \mathbf{b}+\mathbf{a}\), \((\mathbf{a}+\mathbf{b})+\mathbf{c} = \mathbf{a}+(\mathbf{b}+\mathbf{c})\), \(c(\mathbf{a}+\mathbf{b}) = c\mathbf{a} + c\mathbf{b}\), \((c+d)\mathbf{a} = c\mathbf{a} + d\mathbf{a}\).
How to work it
- Find any vector \(\mathbf{v}\) pointing the right way (for example \(\overrightarrow{AB}\)).
- Divide by its length to get the unit vector \(\mathbf{u} = \mathbf{v}/|\mathbf{v}|\).
- Multiply by the required length \(m\): the answer is \(m\,\mathbf{u}\).
- Check: \(|m\,\mathbf{u}| = m\) and \(m\,\mathbf{u}\) is a positive multiple of \(\mathbf{v}\).
- What the answer should look like. A vector in angle brackets (or \(\mathbf{i}, \mathbf{j}, \mathbf{k}\) form) with a scalar factor such as \(\tfrac{7}{\sqrt{14}}\) left in front rather than three decimals; a length is a single non-negative number.
Let \(\mathbf{a} = {\langle 2,-1,3\rangle}\) and \(\mathbf{b} = {\langle 1,4,-2\rangle}\).
\[\mathbf{a} + \mathbf{b} = {\langle 3, 3, 1\rangle}\] \[2\mathbf{a} - 3\mathbf{b} = {\langle 4-3,\ -2-12,\ 6+6\rangle} = {\langle 1,-14,12\rangle}\] \[|\mathbf{a}| = \sqrt{4+1+9} = \sqrt{14}\] \[\text{unit vector } \tfrac{1}{\sqrt{14}}{\langle 2,-1,3\rangle}\]A vector of length 7 in the direction of \(\mathbf{a}\) is \(7\,\mathbf{u} = \tfrac{7}{\sqrt{14}}{\langle 2,-1,3\rangle}\). Check: its length is \(\tfrac{7}{\sqrt{14}}\cdot\sqrt{14} = 7\), and it is a positive multiple of \(\mathbf{a}\). The opposite direction is \(-7\,\mathbf{u}\).
From points: for \(A(1,2,3)\) and \(B(4,0,5)\), \(\overrightarrow{AB} = B - A = {\langle 4-1,\ 0-2,\ 5-3\rangle} = {\langle 3,-2,2\rangle}\), with \(|\overrightarrow{AB}| = \sqrt{9 + 4 + 4} = \sqrt{17}\), the distance from \(A\) to \(B\). The unit vector from \(A\) toward \(B\) is \(\tfrac{1}{\sqrt{17}}{\langle 3,-2,2\rangle}\).
Watch out. \(|\mathbf{a} + \mathbf{b}|\) is not \(|\mathbf{a}| + |\mathbf{b}|\) unless the vectors point the same way (triangle inequality: \(|\mathbf{a}+\mathbf{b}| \le |\mathbf{a}| + |\mathbf{b}|\)). And \(\overrightarrow{AB}\) is \(B - A\), never \(A - B\).
Practice: problems 3, 4 in the practice set (last group in the contents).
Dot product and angles
Unit 1 · Vectors and geometry in three dimensions
Key idea
The dot product multiplies two vectors and returns a number. It measures how much the vectors point the same way, which is why it gives angles, projections, tests for perpendicularity and work done by a force.
Here \(\theta \in [0,\pi]\) is the angle between the vectors when they are drawn from the same point. The two formulas together let you compute the angle from components.
- Orthogonal \(\mathbf{a} \perp \mathbf{b}\) exactly when \({\mathbf{a}\cdot \mathbf{b}} = 0\).
- Acute / obtuse \({\mathbf{a}\cdot \mathbf{b}} \gt 0\) means \(\theta \lt 90^\circ\); \(\lt 0\) means \(\theta \gt 90^\circ\).
- Self dot \({\mathbf{a}\cdot \mathbf{a}} = |\mathbf{a}|^2\).
- Properties commutative, distributive, \((c\mathbf{a})\cdot\mathbf{b} = c({\mathbf{a}\cdot \mathbf{b}})\), \({\mathbf{0}\cdot \mathbf{a}} = 0\).
Direction cosines: \(\cos\alpha = a_1/|\mathbf{a}|\), \(\cos\beta = a_2/|\mathbf{a}|\), \(\cos\gamma = a_3/|\mathbf{a}|\), and \(\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1\).
How to work it
- Compute \({\mathbf{a}\cdot \mathbf{b}}\) from components.
- Compute \(|\mathbf{a}|\) and \(|\mathbf{b}|\).
- Divide: \(\cos\theta = {\mathbf{a}\cdot \mathbf{b}}/(|\mathbf{a}||\mathbf{b}|)\). The value must lie in \([-1,1]\); if it does not, recheck the arithmetic.
- \(\theta = \arccos(\cdot)\), which automatically lands in \([0,\pi]\).
- What the answer should look like. An angle given exactly as \(\arccos\) of a fraction, with a decimal in degrees or radians alongside; a scalar projection is a number (possibly negative), a vector projection is a multiple of the vector projected onto.
\(\mathbf{a} = {\langle 1,2,2\rangle}\), \(\mathbf{b} = {\langle 3,0,4\rangle}\).
\[{\mathbf{a}\cdot \mathbf{b}} = (1)(3) + (2)(0) + (2)(4) = 11\] \[|\mathbf{a}| = \sqrt{1 + 4 + 4} = 3\] \[|\mathbf{b}| = \sqrt{9 + 0 + 16} = 5\] \[\cos\theta = \tfrac{11}{15} \ \Rightarrow\ \theta = \arccos\tfrac{11}{15} \approx 42.8^\circ\]\(\tfrac{11}{15}\) lies in \([-1, 1]\) and is positive, so the angle is acute, consistent with the positive dot product.
\[\operatorname{comp}_{\mathbf{a}}\mathbf{b} = \frac{{\mathbf{a}\cdot \mathbf{b}}}{|\mathbf{a}|} = \tfrac{11}{3}\] \[\operatorname{proj}_{\mathbf{a}}\mathbf{b} = \frac{{\mathbf{a}\cdot \mathbf{b}}}{|\mathbf{a}|^2}\,\mathbf{a} = \tfrac{11}{9}{\langle 1,2,2\rangle}\]Check: the projection has length \(\tfrac{11}{9}\cdot 3 = \tfrac{11}{3}\), the scalar component. The leftover \(\mathbf{b} - \operatorname{proj}_{\mathbf{a}}\mathbf{b} = \tfrac19{\langle 16, -22, 14\rangle}\) is perpendicular to \(\mathbf{a}\): \(\tfrac19(16 - 44 + 28) = 0\).
Work: a force \(\mathbf{F} = {\langle 3,0,4\rangle}\) N moving an object along \(\mathbf{D} = {\langle 1,2,2\rangle}\) m does \(W = 11\) J.
Watch out. The projection of \(\mathbf{b}\) onto \(\mathbf{a}\) and of \(\mathbf{a}\) onto \(\mathbf{b}\) are different vectors. In \(\operatorname{proj}_{\mathbf{a}}\mathbf{b}\) the vector you multiply is \(\mathbf{a}\) (the one you project onto) and the denominator is \(|\mathbf{a}|^2\), not \(|\mathbf{a}|\).
Practice: problems 5, 6 in the practice set (last group in the contents).
Cross product
Unit 1 · Vectors and geometry in three dimensions
Key idea
The cross product of two vectors in \(\mathbb{R}^3\) is a vector perpendicular to both. Its length is the area of the parallelogram they span, and its direction follows the right-hand rule. It only exists in three dimensions.
\({\mathbf{a}\times \mathbf{b}}\) is orthogonal to both \(\mathbf{a}\) and \(\mathbf{b}\). Point the fingers of your right hand along \(\mathbf{a}\), curl them toward \(\mathbf{b}\); your thumb gives \({\mathbf{a}\times \mathbf{b}}\).
- Anticommutative \({\mathbf{b}\times \mathbf{a}} = -({\mathbf{a}\times \mathbf{b}})\).
- Parallel test \({\mathbf{a}\times \mathbf{b}} = \mathbf{0}\) exactly when \(\mathbf{a} \parallel \mathbf{b}\); in particular \({\mathbf{a}\times \mathbf{a}} = \mathbf{0}\).
- Basis \({\mathbf{i}\times \mathbf{j}} = \mathbf{k}\), \({\mathbf{j}\times \mathbf{k}} = \mathbf{i}\), \({\mathbf{k}\times \mathbf{i}} = \mathbf{j}\).
- Distributive \(\mathbf{a}\times(\mathbf{b}+\mathbf{c}) = {\mathbf{a}\times \mathbf{b}} + {\mathbf{a}\times \mathbf{c}}\); not associative.
Torque: \(\boldsymbol{\tau} = {\mathbf{r}\times \mathbf{F}}\), with \(|\boldsymbol{\tau}| = |\mathbf{r}||\mathbf{F}|\sin\theta\).
How to work it
- Write the \(3\times 3\) determinant with \(\mathbf{i}, \mathbf{j}, \mathbf{k}\) on top, \(\mathbf{a}\) in the middle row, \(\mathbf{b}\) on the bottom.
- Expand along the top row. The \(\mathbf{j}\) term carries a minus sign: \(-(a_1 b_3 - a_3 b_1)\,\mathbf{j}\).
- Check the answer: it must dot to zero with both \(\mathbf{a}\) and \(\mathbf{b}\).
- For an area, take the magnitude; for a triangle, halve it.
- What the answer should look like. A vector for the cross product (check it dots to zero with both inputs), a square root for the area, and for a normal vector any convenient nonzero multiple with common factors divided out.
\(\mathbf{a} = {\langle 2,1,-1\rangle}\), \(\mathbf{b} = {\langle 1,3,2\rangle}\).
Components: \(a_2 b_3 - a_3 b_2 = (1)(2) - (-1)(3)\), \(a_3 b_1 - a_1 b_3 = (-1)(1) - (2)(2)\), \(a_1 b_2 - a_2 b_1 = (2)(3) - (1)(1)\).
\[{\mathbf{a}\times \mathbf{b}} = {\langle 2 + 3,\ -1 - 4,\ 6 - 1\rangle} = {\langle 5,-5,5\rangle}\]Check: \(\mathbf{a}\cdot{\langle 5,-5,5\rangle} = 10 - 5 - 5 = 0\) and \(\mathbf{b}\cdot{\langle 5,-5,5\rangle} = 5 - 15 + 10 = 0\).
\[|{\mathbf{a}\times \mathbf{b}}| = \sqrt{75} = 5\sqrt{3}\]The parallelogram spanned by \(\mathbf{a}\) and \(\mathbf{b}\) has area \(5\sqrt{3}\); the triangle has area \(\tfrac{5\sqrt{3}}{2}\). A unit vector perpendicular to both is \(\tfrac{1}{\sqrt{3}}{\langle 1,-1,1\rangle}\).
Watch out. The order matters: \({\mathbf{b}\times \mathbf{a}}\) points the opposite way. The most common arithmetic slip is the sign of the middle component; writing it as \(a_3 b_1 - a_1 b_3\) (cyclic order) avoids it.
Practice: problems 7, 8 in the practice set (last group in the contents).
Equations of lines and planes
Unit 1 · Vectors and geometry in three dimensions
Key idea
A line in space is fixed by a point and a direction vector. A plane is fixed by a point and a normal vector. Both come straight from vectors: every point on the line is reached by sliding along the direction, and every vector lying in the plane is perpendicular to the normal.
Line through \(P_0(x_0,y_0,z_0)\) with direction \(\mathbf{v} = {\langle a,b,c\rangle}\):
\[\mathbf{r}(t) = \mathbf{r}_0 + t\,\mathbf{v} \quad\text{(vector form)}\] \[x = x_0 + at,\quad y = y_0 + bt,\quad z = z_0 + ct \quad\text{(parametric)}\] \[\frac{x-x_0}{a} = \frac{y-y_0}{b} = \frac{z-z_0}{c} \quad\text{(symmetric)}\]Segment from \(\mathbf{r}_0\) to \(\mathbf{r}_1\): \(\mathbf{r}(t) = (1-t)\mathbf{r}_0 + t\,\mathbf{r}_1\), \(0 \le t \le 1\). Two lines are parallel if their direction vectors are parallel, intersecting if the systems share a solution, and skew if neither.
Plane through \(P_0\) with normal \(\mathbf{n} = {\langle a,b,c\rangle}\):
\[\mathbf{n}\cdot(\mathbf{r} - \mathbf{r}_0) = 0\] \[\Longleftrightarrow\ a(x-x_0) + b(y-y_0) + c(z-z_0) = 0\] \[\Longleftrightarrow\ ax + by + cz = d\]Distance from a point \(P_1(x_1,y_1,z_1)\) to the plane \(ax + by + cz = d\):
\[D = \frac{|ax_1 + by_1 + cz_1 - d|}{\sqrt{a^2+b^2+c^2}}\]- Normal from points if \(P, Q, R\) lie in the plane, \(\mathbf{n} = \overrightarrow{PQ}\times\overrightarrow{PR}\).
- Angle between planes the angle between their normals.
- Line of intersection direction \({\mathbf{n}_1\times \mathbf{n}_2}\); find one common point by setting a variable to 0.
- Parallel planes normals are parallel; identical if they also share a point.
How to work it
- Form two vectors in the plane, \(\overrightarrow{PQ}\) and \(\overrightarrow{PR}\).
- Cross them to get a normal \(\mathbf{n}\). Any nonzero multiple of \(\mathbf{n}\) works, so divide out common factors.
- Plug \(\mathbf{n}\) and one of the points into \(a(x-x_0)+b(y-y_0)+c(z-z_0) = 0\) and simplify.
- Check that all three points satisfy the equation.
- What the answer should look like. A plane is one linear equation \(ax + by + cz = d\) with small integer coefficients; a line is three parametric equations in \(t\) or the symmetric form; "the point where the line meets the plane" is a single triple, found by substituting the line into the plane and solving for \(t\).
Plane through \(P(1,0,2)\), \(Q(2,1,3)\), \(R(0,1,1)\): \(\overrightarrow{PQ} = {\langle 1,1,1\rangle}\), \(\overrightarrow{PR} = {\langle -1,1,-1\rangle}\).
Cross product components (cyclic order): \((1)(-1) - (1)(1) = -2\), \((1)(-1) - (1)(-1) = 0\), \((1)(1) - (1)(-1) = 2\).
\[\mathbf{n} = \overrightarrow{PQ}\times\overrightarrow{PR} = {\langle -1-1,\ -1+1,\ 1+1\rangle} = {\langle -2,0,2\rangle} \ \sim\ {\langle 1,0,-1\rangle}\] \[1(x-1) + 0(y-0) - 1(z-2) = 0 \ \Rightarrow\ x - z + 1 = 0\]Check \(Q\): \(2 - 3 + 1 = 0\). Check \(R\): \(0 - 1 + 1 = 0\). Distance from the origin: \(|1|/\sqrt{2} = 1/\sqrt{2}\).
Line through \((1,2,3)\) parallel to \({\langle 2,-1,4\rangle}\): \(x = 1 + 2t,\ y = 2 - t,\ z = 3 + 4t\), or \(\frac{x-1}{2} = \frac{y-2}{-1} = \frac{z-3}{4}\).
Where the line meets the plane. Substitute the parametric line into \(x - z + 1 = 0\): \((1 + 2t) - (3 + 4t) + 1 = -1 - 2t = 0\), so \(t = -\tfrac12\) and the point is \(\left(0, \tfrac52, 1\right)\). Check: \(0 - 1 + 1 = 0\). (If the \(t\) had cancelled, the line would be parallel to the plane: no solution, or every \(t\) if the line lies in the plane. Quick test: \(\mathbf{v}\cdot\mathbf{n} = 2 - 4 = -2 \ne 0\), so they do meet.)
Watch out. One linear equation \(ax + by + cz = d\) is a plane, never a line. A line needs a parameter or two equations. And if a direction component is 0, the symmetric form has to be written as, say, \(\frac{x-x_0}{a} = \frac{y-y_0}{b},\ z = z_0\); you cannot divide by zero.
Practice: problems 9, 10, 11, 12 in the practice set (last group in the contents).
Cylinders and quadric surfaces
Unit 1 · Vectors and geometry in three dimensions
Key idea
A cylinder is made of all lines parallel to a fixed line that pass through a plane curve. In \(\mathbb{R}^3\), an equation with one variable missing is a cylinder running along the missing variable's axis. A quadric surface is the graph of a second-degree equation in \(x, y, z\); there are six standard shapes, told apart by their traces.
A trace is the curve where a surface meets a plane \(x = k\), \(y = k\) or \(z = k\). Setting one variable to a constant turns the surface equation into a familiar conic, and a few traces reveal the shape.
- Ellipsoid all traces are ellipses; if \(a = b = c\) it is a sphere.
- Paraboloids one variable appears to the first power; that is the axis.
- Hyperboloids \(= 1\) with one minus sign: one sheet (connected). Two minus signs: two sheets (two bowls).
- Cone same as a hyperboloid but \(= 0\): the traces \(z = k\) are ellipses that shrink to a point at the vertex.
- Cylinder a variable is missing, e.g. \(x^2 + y^2 = 4\) or \(z = y^2\).
Swap the roles of the variables to put the axis along \(x\) or \(y\). Translations \((x-h)\), \((y-k)\), \((z-l)\) move the center.
How to work it
- Move everything to one side and divide so the constant is 1 (or 0, or a lone linear variable). Complete squares if there are linear terms alongside squared ones.
- Count the signs of the squared terms and look for a first-power variable.
- Take traces: set \(z = k\), then \(x = k\), then \(y = k\), and name each conic.
- Match to the table and state the axis (the odd variable out).
- What the answer should look like. The name of the surface, its axis, its center or vertex if it has been shifted, and one sentence about the traces that justify the name ("ellipses in \(z = k\), hyperbolas in the other two").
\(4x^2 + y^2 - z^2 = 4\). Divide by 4:
\[x^2 + \frac{y^2}{4} - \frac{z^2}{4} = 1\]Three squared terms, one minus sign, equals 1: a hyperboloid of one sheet with axis along \(z\). Traces \(z = k\): \(x^2 + y^2/4 = 1 + k^2/4\), ellipses that grow with \(|k|\). Traces \(x = k\): \(y^2/4 - z^2/4 = 1 - k^2\), hyperbolas (degenerating to two lines when \(k = \pm 1\)).
\(z = x^2 - y^2\): a linear \(z\) with squared terms of opposite sign is a hyperbolic paraboloid. Traces \(z = k\) are hyperbolas, \(x = k\) are downward parabolas, \(y = k\) are upward parabolas: the saddle.
With linear terms. \(x^2 + y^2 - z^2 - 2x + 4y = 4\). Complete the squares in \(x\) and \(y\) (there is no linear \(z\) term): \((x-1)^2 - 1 + (y+2)^2 - 4 - z^2 = 4\), so
\[\frac{(x-1)^2}{9} + \frac{(y+2)^2}{9} - \frac{z^2}{9} = 1\]the same hyperboloid of one sheet as before (one minus sign, equals 1), now with its centre at \((1,-2,0)\) and its axis the vertical line \(x = 1\), \(y = -2\). The narrowest cross-section is the circle of radius 3 in the plane \(z = 0\).
Watch out. "Two sheets" means two minus signs on the left of \(= 1\), not two squared terms. And a cone differs from a hyperboloid only by the constant: \(x^2 + y^2 - z^2 = 0\) is a cone, \(= 1\) is one sheet, \(= -1\) is two sheets.
Practice: problem 13 in the practice set (last group in the contents).
Limits, derivatives, and integrals
Unit 2 · Vector-valued functions
Key idea
A vector-valued function \(\mathbf{r}(t) = {\langle f(t), g(t), h(t)\rangle} = f(t)\mathbf{i} + g(t)\mathbf{j} + h(t)\mathbf{k}\) feeds in a number and returns a vector. Every piece of calculus, limits, derivatives and integrals, is done one component at a time.
\(\mathbf{r}\) is continuous at \(a\) when \(\lim_{t\to a}\mathbf{r}(t) = \mathbf{r}(a)\), that is, when each component is continuous.
\[\mathbf{r}'(t) = \lim_{h\to 0}\frac{\mathbf{r}(t+h) - \mathbf{r}(t)}{h}\] \[= {\langle f'(t), g'(t), h'(t)\rangle}\]\(\mathbf{r}'(t)\) is the tangent vector to the curve at \(\mathbf{r}(t)\), pointing in the direction of increasing \(t\). The unit tangent is \(\mathbf{T}(t) = \mathbf{r}'(t)/|\mathbf{r}'(t)|\).
\[\int_a^b \mathbf{r}(t)\,dt = \left\langle \int_a^b f\,dt,\ \int_a^b g\,dt,\ \int_a^b h\,dt\right\rangle\] \[\int \mathbf{r}(t)\,dt = \mathbf{R}(t) + \mathbf{C}\]For differentiable \(\mathbf{u}, \mathbf{v}\), scalar function \(f\) and constant \(c\):
\[\frac{d}{dt}[\mathbf{u} + \mathbf{v}] = \mathbf{u}' + \mathbf{v}'\] \[\frac{d}{dt}[c\,\mathbf{u}] = c\,\mathbf{u}'\] \[\frac{d}{dt}[f(t)\,\mathbf{u}(t)] = f'(t)\,\mathbf{u}(t) + f(t)\,\mathbf{u}'(t)\] \[\frac{d}{dt}[{\mathbf{u}\cdot \mathbf{v}}] = \mathbf{u}'\cdot\mathbf{v} + {\mathbf{u}\cdot \mathbf{v}}'\] \[\frac{d}{dt}[{\mathbf{u}\times \mathbf{v}}] = \mathbf{u}'\times\mathbf{v} + {\mathbf{u}\times \mathbf{v}}'\] \[\frac{d}{dt}[\mathbf{u}(f(t))] = f'(t)\,\mathbf{u}'(f(t)) \quad\text{(chain rule)}\]Useful fact: if \(|\mathbf{r}(t)|\) is constant then \(\mathbf{r}(t)\cdot\mathbf{r}'(t) = 0\); the tangent is perpendicular to the position vector (differentiate \({\mathbf{r}\cdot \mathbf{r}} = c^2\)).
How to work it
- Differentiate or integrate each component separately with ordinary one-variable rules.
- For a tangent line at \(t_0\): point \(\mathbf{r}(t_0)\), direction \(\mathbf{r}'(t_0)\), so \(\mathbf{L}(s) = \mathbf{r}(t_0) + s\,\mathbf{r}'(t_0)\).
- For an indefinite integral, add a constant vector \(\mathbf{C}\), and fix it with an initial condition such as \(\mathbf{r}(0)\).
- Products: keep the order in cross products when applying the product rule.
- What the answer should look like. Derivatives and integrals of \(\mathbf{r}(t)\) are vectors; a tangent line is three parametric equations with its own parameter; an indefinite integral ends with a constant vector \(\mathbf{C}\), or with none once an initial condition has fixed it.
\(\mathbf{r}(t) = {\langle t^2,\ \sin t,\ e^{2t}\rangle}\).
\[\mathbf{r}'(t) = {\langle 2t,\ \cos t,\ 2e^{2t}\rangle}\] \[\mathbf{r}'(0) = {\langle 0,1,2\rangle}\] \[\mathbf{T}(0) = \tfrac{1}{\sqrt5}{\langle 0,1,2\rangle}\]Tangent line at \(t = 0\), where \(\mathbf{r}(0) = {\langle 0,0,1\rangle}\): \(x = 0,\ y = s,\ z = 1 + 2s\).
\[\int_0^1 \mathbf{r}(t)\,dt = \left\langle \int_0^1 t^2\,dt,\ \int_0^1\sin t\,dt,\ \int_0^1 e^{2t}\,dt\right\rangle = \left\langle \tfrac13,\ 1 - \cos 1,\ \tfrac{e^2 - 1}{2}\right\rangle\]Initial-value problem. If \(\mathbf{r}'(t) = {\langle 2t,\ 1,\ e^{t}\rangle}\) and \(\mathbf{r}(0) = {\langle 1, 0, 0\rangle}\), integrate componentwise: \(\mathbf{r}(t) = {\langle t^2, t, e^{t}\rangle} + \mathbf{C}\). Then \(\mathbf{r}(0) = {\langle 0, 0, 1\rangle} + \mathbf{C} = {\langle 1, 0, 0\rangle}\) forces \(\mathbf{C} = {\langle 1, 0, -1\rangle}\), so \(\mathbf{r}(t) = {\langle t^2 + 1,\ t,\ e^{t} - 1\rangle}\). The constant is a vector with three separate components, not a single number.
Product rule check with \(\mathbf{u} = {\langle t, 1, 0\rangle}\), \(\mathbf{v} = {\langle 0, t, t^2\rangle}\): \({\mathbf{u}\cdot \mathbf{v}} = t\), so \(\frac{d}{dt}[{\mathbf{u}\cdot \mathbf{v}}] = 1\); and \(\mathbf{u}'\cdot\mathbf{v} + {\mathbf{u}\cdot \mathbf{v}}' = 0 + 1 = 1\).
Watch out. \(|\mathbf{r}'(t)|\) is not the derivative of \(|\mathbf{r}(t)|\). The first is speed along the curve; the second is how fast the distance from the origin changes. They agree only for motion directly toward or away from the origin.
Practice: problems 14, 15 in the practice set (last group in the contents).
Space curves
Unit 2 · Vector-valued functions
Key idea
As \(t\) runs through an interval, the tip of \(\mathbf{r}(t)\) traces a space curve. The parametrization carries more than the shape: it also gives an orientation (the direction of increasing \(t\)) and a speed. Many curves arise as the intersection of two surfaces.
- Line \(\mathbf{r}(t) = \mathbf{r}_0 + t\,\mathbf{v}\).
- Circle \({\langle a\cos t,\ a\sin t,\ 0\rangle}\), radius \(a\) in the \(xy\)-plane, counterclockwise from above.
- Helix \({\langle a\cos t,\ a\sin t,\ bt\rangle}\), winds around the cylinder \(x^2 + y^2 = a^2\) rising \(2\pi b\) per turn.
- Twisted cubic \({\langle t,\ t^2,\ t^3\rangle}\).
- Graph of a function \(y = f(x)\) becomes \({\langle t, f(t), 0\rangle}\).
To sketch, project onto the coordinate planes: the helix projects to a circle in the \(xy\)-plane and to sine/cosine waves in the other two.
If the curve lies on a cylinder \(x^2 + y^2 = a^2\), set
\[x = a\cos t\] \[y = a\sin t\] \[0 \le t \le 2\pi\]and solve the second surface for \(z\). If it lies on the cylinder \(y = x^2\), take \(x = t\), \(y = t^2\). If one surface is a plane, solve the plane for one variable and substitute into the other surface to get a plane curve, then parametrize that.
Eliminating the parameter runs the other way: from \(x = \cos t, y = \sin t, z = t\) you get \(x^2 + y^2 = 1\), so the curve lies on that cylinder.
How to work it
- Decide which surface is easiest to parametrize (a cylinder or a plane usually).
- Write \(x\) and \(y\) (or two of the variables) in terms of \(t\) using that surface.
- Substitute into the other surface and solve for the remaining variable.
- State the \(t\)-interval that traces the whole curve once, and check the orientation.
- What the answer should look like. \(\mathbf{r}(t) = {\langle x(t), y(t), z(t)\rangle}\) together with a \(t\)-interval: \(0 \le t \le 2\pi\) for a closed curve, an infinite or problem-specified range otherwise, and a word on the direction of travel when it matters.
Parametrize the curve where the cylinder \(x^2 + y^2 = 4\) meets the plane \(y + z = 3\).
\[x = 2\cos t,\quad y = 2\sin t,\quad z = 3 - y = 3 - 2\sin t\] \[0 \le t \le 2\pi\] \[\mathbf{r}(t) = {\langle 2\cos t,\ 2\sin t,\ 3 - 2\sin t\rangle}\]Check that every point satisfies both equations: \((2\cos t)^2 + (2\sin t)^2 = 4\) and \(y + z = 2\sin t + (3 - 2\sin t) = 3\). It is an ellipse (a plane cutting a cylinder), traced counterclockwise when viewed from above because \(x, y\) follow the standard circle; \(t = 0\) starts at \((2, 0, 3)\).
Paraboloid \(z = x^2 + y^2\) meets the plane \(z = 4\) in the circle \(x^2 + y^2 = 4\) at height 4: \(\mathbf{r}(t) = {\langle 2\cos t, 2\sin t, 4\rangle}\).
Parabolic cylinder \(y = x^2\) meets the plane \(x + z = 2\): take \(x = t\), then \(y = t^2\) and \(z = 2 - t\), so \(\mathbf{r}(t) = {\langle t,\ t^2,\ 2 - t\rangle}\). This curve is not closed, so \(t\) runs over all real numbers (or over whatever \(x\)-range the problem specifies) rather than over \([0, 2\pi]\).
Watch out. The same curve has infinitely many parametrizations. \({\langle \cos 2t, \sin 2t\rangle}\) traces the unit circle twice as fast, and \({\langle \cos t, -\sin t\rangle}\) traces it clockwise. Arc length and line integrals of scalar functions do not care; orientation-sensitive quantities do.
Practice: problems 16, 17 in the practice set (last group in the contents).
Arc length and curvature
Unit 2 · Vector-valued functions
Key idea
Arc length adds up tiny pieces of the curve, each of length \(|\mathbf{r}'(t)|\,dt\). Curvature measures how sharply the curve bends: how fast the unit tangent direction changes per unit of arc length. A straight line has curvature 0; a circle of radius \(a\) has curvature \(1/a\) everywhere.
The arc length function measures distance along the curve from a starting point:
\[s(t) = \int_a^t |\mathbf{r}'(u)|\,du\] \[\frac{ds}{dt} = |\mathbf{r}'(t)|\]To reparametrize by arc length, compute \(s(t)\), solve for \(t = t(s)\) and substitute into \(\mathbf{r}\). Then \(|\mathbf{r}'(s)| = 1\): the curve is traversed at unit speed, and the parametrization depends only on the curve's shape.
- Radius of curvature \(\rho = 1/\kappa\), the radius of the circle that best fits the curve there (osculating circle).
- Circle of radius \(a\) \(\kappa = 1/a\).
- Line \(\kappa = 0\).
- Parabola \(y = x^2\) \(f' = 2x\), \(f'' = 2\), so \(\kappa(x) = \dfrac{2}{(1 + 4x^2)^{3/2}}\): at the vertex \(\kappa = 2\) (osculating circle of radius \(\tfrac12\)), at \(x = 1\) only \(\kappa = \tfrac{2}{5\sqrt5} \approx 0.18\). The bend is sharpest at the vertex and the parabola straightens out as \(|x|\) grows.
The cross-product formula is usually the fastest for space curves; the \(|\mathbf{T}'|/|\mathbf{r}'|\) form is best when \(|\mathbf{r}'|\) is constant. In the plane-curve formula the absolute value on \(f''\) matters: curvature is never negative.
How to work it
- Find \(\mathbf{r}'(t)\) and simplify \(|\mathbf{r}'(t)|\) as far as possible; look for a perfect square under the root.
- Arc length: integrate \(|\mathbf{r}'|\) over the interval. If there is no elementary antiderivative, set it up and evaluate numerically.
- Curvature: find \(\mathbf{r}''\), compute \(\mathbf{r}'\times\mathbf{r}''\) and its magnitude, then divide by \(|\mathbf{r}'|^3\).
- Sanity check: a tight bend should give a large \(\kappa\); straight stretches give \(\kappa\) near 0.
- What the answer should look like. An arc length is a single positive number (or a set-up integral if it has no elementary antiderivative); a curvature is a non-negative number at a point or a non-negative function of \(t\), never a vector.
\(\mathbf{r}(t) = {\langle a\cos t,\ a\sin t,\ bt\rangle}\) with \(a, b \gt 0\).
\[\mathbf{r}'(t) = {\langle -a\sin t,\ a\cos t,\ b\rangle}\] \[|\mathbf{r}'(t)| = \sqrt{a^2 + b^2}\]Length of one turn: \(L = \int_0^{2\pi}\sqrt{a^2+b^2}\,dt = 2\pi\sqrt{a^2+b^2}\). Arc length function \(s = t\sqrt{a^2+b^2}\), so the unit-speed version is \(\mathbf{r}(s) = {\langle a\cos\frac{s}{\sqrt{a^2+b^2}},\ a\sin\frac{s}{\sqrt{a^2+b^2}},\ \frac{bs}{\sqrt{a^2+b^2}}\rangle}\).
\[\mathbf{r}'' = {\langle -a\cos t,\ -a\sin t,\ 0\rangle}\] \[\mathbf{r}'\times\mathbf{r}'' = {\langle ab\sin t,\ -ab\cos t,\ a^2\rangle}\](components: \((a\cos t)(0) - (b)(-a\sin t) = ab\sin t\); \((b)(-a\cos t) - (-a\sin t)(0) = -ab\cos t\); \((-a\sin t)(-a\sin t) - (a\cos t)(-a\cos t) = a^2\).)
\[|\mathbf{r}'\times\mathbf{r}''| = \sqrt{a^2b^2\sin^2 t + a^2b^2\cos^2 t + a^4} = \sqrt{a^2b^2 + a^4} = a\sqrt{a^2+b^2}\] \[\kappa = \frac{a\sqrt{a^2+b^2}}{(a^2+b^2)^{3/2}} = \frac{a}{a^2+b^2}\]With \(b = 0\) this is the circle's \(1/a\); as \(b\) grows the helix straightens out and \(\kappa \to 0\). For the unit helix \(a = b = 1\): \(\kappa = \tfrac12\) at every point, which the TNB tab confirms by the other formula. Curvature is constant here because \(|\mathbf{r}'|\) and \(|\mathbf{r}'\times\mathbf{r}''|\) are both constant; for a general curve both depend on \(t\) and you must evaluate at the requested point.
Watch out. In the cross-product formula the denominator is \(|\mathbf{r}'|^3\), cubed, not squared. And \(\kappa\) is a geometric property: reparametrizing the same curve (faster, backwards) leaves \(\kappa\) at each point unchanged.
Practice: problems 18, 19, 20 in the practice set (last group in the contents).
Tangent and normal vectors
Unit 2 · Vector-valued functions
Key idea
At each point of a smooth curve, three unit vectors form a moving frame: the unit tangent \(\mathbf{T}\) points along the motion, the principal unit normal \(\mathbf{N}\) points toward the inside of the bend, and the binormal \(\mathbf{B} = {\mathbf{T}\times \mathbf{N}}\) is perpendicular to both. The TNB frame rides along the curve and describes it from the curve's own point of view.
Because \(|\mathbf{T}| = 1\), \({\mathbf{T}\cdot \mathbf{T}}' = 0\): the normal really is perpendicular to the tangent. All three are unit vectors and mutually orthogonal, so \(\mathbf{B}\) is automatically a unit vector.
- Normal plane at a point: spanned by \(\mathbf{N}\) and \(\mathbf{B}\); its normal vector is \(\mathbf{T}\) (or \(\mathbf{r}'\)).
- Osculating plane spanned by \(\mathbf{T}\) and \(\mathbf{N}\); its normal vector is \(\mathbf{B}\). It is the plane the curve most nearly lies in.
- Osculating circle lies in the osculating plane, radius \(1/\kappa\), center at \(\mathbf{r} + \frac{1}{\kappa}\mathbf{N}\).
The second formula avoids computing \(\mathbf{N}\) when only \(\mathbf{B}\) or the osculating plane is wanted. Then \(\mathbf{N} = {\mathbf{B}\times \mathbf{T}}\).
For a plane curve, \(\mathbf{B}\) is constant (\(\pm\mathbf{k}\)) and \(\mathbf{N}\) is \(\mathbf{T}\) rotated \(90^\circ\) toward the concave side. Torsion \(\tau = -\frac{d\mathbf{B}}{ds}\cdot\mathbf{N}\) measures how fast the curve leaves its osculating plane; it is zero for plane curves.
How to work it
- Compute \(\mathbf{r}'\) and \(|\mathbf{r}'|\); divide to get \(\mathbf{T}(t)\). Simplify before differentiating.
- Differentiate \(\mathbf{T}(t)\) (quotient or product rule if \(|\mathbf{r}'|\) is not constant), then normalise to get \(\mathbf{N}\).
- Cross \({\mathbf{T}\times \mathbf{N}}\) for \(\mathbf{B}\), or use \(\mathbf{r}'\times\mathbf{r}''\) normalised.
- Plug in the specific \(t\) last; keeping general \(t\) as long as possible catches algebra errors.
- What the answer should look like. Three unit vectors that are mutually perpendicular (check two dot products); an osculating or normal plane is a linear equation whose normal vector is \(\mathbf{B}\) or \(\mathbf{T}\) respectively and which passes through \(\mathbf{r}(t_0)\).
\(\mathbf{r}(t) = {\langle \cos t,\ \sin t,\ t\rangle}\).
\[\mathbf{r}' = {\langle -\sin t, \cos t, 1\rangle}\] \[|\mathbf{r}'| = \sqrt2\] \[\mathbf{T} = \tfrac{1}{\sqrt2}{\langle -\sin t, \cos t, 1\rangle}\] \[\mathbf{T}' = \tfrac{1}{\sqrt2}{\langle -\cos t, -\sin t, 0\rangle}\] \[|\mathbf{T}'| = \tfrac{1}{\sqrt2}\sqrt{\cos^2 t + \sin^2 t} = \tfrac{1}{\sqrt2}\] \[\mathbf{N} = \frac{\mathbf{T}'}{|\mathbf{T}'|} = {\langle -\cos t, -\sin t, 0\rangle}\]Check \(\mathbf{T}\cdot\mathbf{N} = \tfrac{1}{\sqrt2}(\sin t\cos t - \sin t\cos t + 0) = 0\), as it must be. For \(\mathbf{B}\), expand the cross product of \({\langle -\sin t, \cos t, 1\rangle}\) and \({\langle -\cos t, -\sin t, 0\rangle}\) and keep the factor \(\tfrac{1}{\sqrt2}\): components \((\cos t)(0) - (1)(-\sin t) = \sin t\), \((1)(-\cos t) - (-\sin t)(0) = -\cos t\), \((-\sin t)(-\sin t) - (\cos t)(-\cos t) = 1\).
\[\mathbf{B} = {\mathbf{T}\times \mathbf{N}} = \tfrac{1}{\sqrt2}{\langle \sin t,\ -\cos t,\ 1\rangle}\]\(\mathbf{B}\) is automatically a unit vector (\(\tfrac12(\sin^2 t + \cos^2 t + 1) = 1\)) because \(\mathbf{T}\) and \(\mathbf{N}\) are perpendicular unit vectors.
\[\kappa = \frac{|\mathbf{T}'|}{|\mathbf{r}'|} = \frac{1/\sqrt2}{\sqrt2} = \frac12\]\(\mathbf{N}\) always points horizontally toward the \(z\)-axis, the inside of the bend. At \(t = \pi/2\) the point is \(\mathbf{r}(\pi/2) = (0, 1, \pi/2)\) and \(\mathbf{B} = \tfrac{1}{\sqrt2}{\langle \sin\tfrac{\pi}{2}, -\cos\tfrac{\pi}{2}, 1\rangle} = \tfrac{1}{\sqrt2}{\langle 1,0,1\rangle}\). The osculating plane (spanned by \(\mathbf{T}\) and \(\mathbf{N}\), so with normal \(\mathbf{B}\)) is \(1(x - 0) + 0(y - 1) + 1(z - \tfrac{\pi}{2}) = 0\), i.e. \(x + z = \pi/2\). The normal plane there has normal \(\mathbf{T}(\pi/2) = \tfrac{1}{\sqrt2}{\langle -1, 0, 1\rangle}\): \(-x + z = \pi/2\).
Watch out. \(\mathbf{N}\) comes from \(\mathbf{T}'\), not from \(\mathbf{r}''\). The acceleration \(\mathbf{r}''\) generally has a tangential piece too, so normalising it does not give \(\mathbf{N}\). Also \(\mathbf{N}\) is undefined where \(\mathbf{T}' = \mathbf{0}\), for instance along a straight segment.
Practice: problems 21, 22 in the practice set (last group in the contents).
Motion: position, velocity, and acceleration
Unit 2 · Vector-valued functions
Key idea
If \(\mathbf{r}(t)\) is the position of a moving object, its velocity is \(\mathbf{v} = \mathbf{r}'\), its speed is \(|\mathbf{v}|\), and its acceleration is \(\mathbf{a} = \mathbf{v}' = \mathbf{r}''\). Integrating runs backwards: from acceleration and initial conditions you recover velocity and position. Newton's second law \(\mathbf{F} = m\mathbf{a}\) links this to forces.
Projectile motion (launch speed \(v_0\), angle \(\alpha\), height \(h\), gravity \(g\), no air resistance):
\[\mathbf{r}(t) = \left\langle (v_0\cos\alpha)\,t,\ \ h + (v_0\sin\alpha)\,t - \tfrac12 g t^2\right\rangle\]From ground level: range \(R = \frac{v_0^2\sin 2\alpha}{g}\) (max at \(\alpha = 45^\circ\)), max height \(\frac{(v_0\sin\alpha)^2}{2g}\), flight time \(\frac{2v_0\sin\alpha}{g}\).
\(a_T\) is the rate the speed changes (the gas pedal); \(a_N\) is what turns the velocity (the steering wheel). There is never a component along \(\mathbf{B}\).
Constant speed means \(a_T = 0\), so \(\mathbf{a}\) is entirely normal: uniform circular motion has \(\mathbf{a}\) pointing to the center with magnitude \(|\mathbf{v}|^2/a\).
How to work it
- Integrate \(\mathbf{a}(t)\) componentwise and add a constant vector \(\mathbf{C}_1\).
- Use \(\mathbf{v}(t_0)\) to find \(\mathbf{C}_1\).
- Integrate \(\mathbf{v}(t)\), add \(\mathbf{C}_2\), and use \(\mathbf{r}(t_0)\) to find it.
- For projectiles, set the vertical component to the landing height to find the flight time, then plug into the horizontal component for the range.
- What the answer should look like. Velocity and acceleration as vectors, speed as a number, \(a_T\) and \(a_N\) as numbers satisfying \(a_T^2 + a_N^2 = |\mathbf{a}|^2\) (with \(a_N \ge 0\)); projectile answers carry units and a decimal.
\(\mathbf{a}(t) = {\langle 0, 2, 6t\rangle}\), \(\mathbf{v}(0) = {\langle 1,0,0\rangle}\), \(\mathbf{r}(0) = {\langle 0,0,1\rangle}\).
\[\mathbf{v}(t) = {\langle 0, 2t, 3t^2\rangle} + \mathbf{C}_1,\qquad \mathbf{v}(0) = \mathbf{C}_1 = {\langle 1,0,0\rangle}\] \[\mathbf{v}(t) = {\langle 1,\ 2t,\ 3t^2\rangle}\] \[\mathbf{r}(t) = {\langle t,\ t^2,\ t^3\rangle} + \mathbf{C}_2,\qquad \mathbf{r}(0) = \mathbf{C}_2 = {\langle 0,0,1\rangle}\] \[\mathbf{r}(t) = {\langle t,\ t^2,\ t^3 + 1\rangle}\]Each integration adds its own constant vector, and each initial condition is used exactly once, right after the integration that produced that constant.
Speed at \(t = 1\): \(|{\langle 1,2,3\rangle}| = \sqrt{14}\). Components there: \(a_T = \frac{\mathbf{r}'\cdot\mathbf{r}''}{|\mathbf{r}'|} = \frac{{\langle 1,2,3\rangle}\cdot{\langle 0,2,6\rangle}}{\sqrt{14}} = \frac{22}{\sqrt{14}}\), and \(a_N = \sqrt{|\mathbf{a}|^2 - a_T^2} = \sqrt{40 - \tfrac{484}{14}} = \sqrt{\tfrac{76}{14}} = \sqrt{\tfrac{38}{7}}\), using \(|\mathbf{a}(1)|^2 = 0 + 4 + 36 = 40\). Cross-check with the other formula: \(\mathbf{r}'\times\mathbf{r}'' = {\langle 1,2,3\rangle}\times{\langle 0,2,6\rangle} = {\langle 12 - 6,\ 0 - 6,\ 2 - 0\rangle} = {\langle 6,-6,2\rangle}\), of length \(\sqrt{76}\), and \(a_N = \sqrt{76}/\sqrt{14} = \sqrt{38/7}\). Both components are positive here: the particle is speeding up and turning.
Projectile fired from the ground at \(v_0 = 20\) m/s, \(\alpha = 30^\circ\), \(g = 9.8\). Integrating \(\mathbf{a} = {\langle 0, -g\rangle}\) twice with \(\mathbf{v}(0) = {\langle v_0\cos\alpha, v_0\sin\alpha\rangle}\) and \(\mathbf{r}(0) = \mathbf{0}\) gives \(x = (v_0\cos\alpha)t = 10\sqrt3\,t\) and \(y = (v_0\sin\alpha)t - \tfrac12 g t^2 = 10t - 4.9t^2\). Landing when \(y = 0\): \(t = 10/4.9 \approx 2.04\) s. Range \(x(2.04) = 10\sqrt3(2.04) \approx 35.3\) m, which agrees with the formula \(\frac{v_0^2\sin 2\alpha}{g} = \frac{400\sin 60^\circ}{9.8}\). Maximum height at half the flight time, \(t = 10/9.8\): \(y = \frac{(v_0\sin\alpha)^2}{2g} = \frac{100}{19.6} \approx 5.1\) m.
Watch out. Speed is the scalar \(|\mathbf{v}|\), and an object can accelerate at constant speed (any curve does). \(a_T\) is the derivative of the speed, which is not \(|\mathbf{a}|\) unless the motion is along a straight line.
Practice: problems 23, 24 in the practice set (last group in the contents).
Domains, graphs, and level curves
Unit 3 · Functions of several variables
Key idea
A function of two variables \(z = f(x,y)\) takes a point of the plane and returns a number. Its graph is a surface in space. Its level curves \(f(x,y) = k\) are the curves in the plane where the surface has height \(k\): a contour map of the surface.
The domain is the set of \((x,y)\) for which the formula makes sense: radicands of even roots \(\ge 0\), denominators \(\ne 0\), arguments of logarithms \(\gt 0\), arguments of \(\arcsin\) and \(\arccos\) in \([-1,1]\). Sketch it as a region of the plane and say whether boundary curves are included.
The range is the set of output values; it is read off the graph or from the formula's structure.
The graph is \(\{(x,y,f(x,y))\}\), a surface in \(\mathbb{R}^3\). Planes, paraboloids, hemispheres and cones all appear as graphs: \(f = 6 - 3x - 2y\) is a plane, \(f = x^2 + y^2\) a paraboloid, \(f = \sqrt{9 - x^2 - y^2}\) the upper hemisphere.
Drawing several level curves for equally spaced \(k\) gives a contour map. Where the curves crowd together the surface is steep; where they spread out it is nearly flat. Lifting each curve to height \(k\) rebuilds the surface.
\[\text{Level surface of } w = F(x,y,z):\quad F(x,y,z) = k\]A function of three variables cannot be graphed (it would need four dimensions), so its level surfaces are the picture. For \(F = x^2 + y^2 + z^2\) they are concentric spheres.
How to work it
- Find the domain from the restrictions in the formula; sketch and shade it.
- Set \(f(x,y) = k\) and simplify to recognise the level curves (circles, lines, parabolas, hyperbolas). Note which \(k\) values are possible: that is the range.
- Identify the surface, using the quadric table where it applies.
- Sketch a few level curves with labels, then the surface if asked.
- What the answer should look like. The domain as an inequality and a shaded sketch (say whether the boundary is included), the range as an interval, and the level curves named as a family ("circles \(x^2 + y^2 = 9 - k^2\) for \(0 \le k \le 3\)") with the allowed \(k\) values stated.
\(f(x,y) = \sqrt{9 - x^2 - y^2}\): need \(9 - x^2 - y^2 \ge 0\), so the domain is the closed disk \(x^2 + y^2 \le 9\). Range: \([0, 3]\). Graph: \(z^2 = 9 - x^2 - y^2\) with \(z \ge 0\), the upper hemisphere of radius 3.
\[\text{Level curves: } \sqrt{9 - x^2 - y^2} = k \ \Rightarrow\ x^2 + y^2 = 9 - k^2\] \[0 \le k \le 3\]Concentric circles of radius \(\sqrt{9 - k^2}\); they bunch up near the edge \(k = 0\), where the hemisphere is vertical.
\(g(x,y) = \ln(y - x^2)\): need \(y - x^2 \gt 0\), the open region strictly above the parabola \(y = x^2\) (the parabola itself is excluded, so draw it dashed). Level curves: \(\ln(y - x^2) = k\) means \(y - x^2 = e^k\), so \(y = x^2 + e^k\), shifted parabolas; since \(e^k\) can be any positive number, every real \(k\) occurs and the range is all of \(\mathbb{R}\).
\(h(x,y) = \dfrac{y}{x^2}\): domain \(x \ne 0\) (the plane minus the \(y\)-axis). Level curves \(y = kx^2\) are parabolas through the origin for \(k \ne 0\) and the \(x\)-axis (minus the origin) for \(k = 0\); every \(k\) occurs, so the range is \(\mathbb{R}\). The level curves all squeeze toward the origin, a sign that \(h\) has no limit there.
Watch out. Level curves live in the \(xy\)-plane; the graph lives in \(\mathbb{R}^3\). Never draw a level curve on the surface and call it a trace, or vice versa: the trace \(z = k\) is the level curve lifted to height \(k\).
Practice: problems 25, 26 in the practice set (last group in the contents).
Limits and continuity
Unit 3 · Functions of several variables
Key idea
\(\lim_{(x,y)\to(a,b)} f(x,y) = L\) means \(f\) gets arbitrarily close to \(L\) as \((x,y)\) gets close to \((a,b)\) along any path. In one variable there were two directions to check; in two variables there are infinitely many, which is why limits can fail in new ways.
Two-path test. If \(f \to L_1\) along one path into \((a,b)\) and \(f \to L_2 \ne L_1\) along another, the limit does not exist.
Standard paths through the origin: the axes \(y = 0\) and \(x = 0\), the lines \(y = mx\), and the curves \(y = x^2\) or \(x = y^2\) when the degrees suggest them. Getting the same value along all lines is still not a proof that the limit exists (try \(y = x^2\)).
Continuity. \(f\) is continuous at \((a,b)\) when \(\lim_{(x,y)\to(a,b)} f = f(a,b)\). Polynomials are continuous everywhere; rational functions are continuous where the denominator is nonzero; compositions of continuous functions are continuous. For such functions the limit is found by plugging in.
Polar coordinates at the origin: substitute \(x = r\cos\theta\), \(y = r\sin\theta\); then \((x,y)\to(0,0)\) is \(r \to 0^+\). If the result is bounded by something that goes to 0 regardless of \(\theta\), the limit is 0.
\[|f(r\cos\theta, r\sin\theta) - L| \le g(r) \to 0 \ \Rightarrow\ \lim f = L\]Squeeze theorem. If \(g \le f \le h\) near the point and \(g, h \to L\), then \(f \to L\). Useful bounds: \(|\sin t| \le 1\), \(|x| \le \sqrt{x^2+y^2}\), \(\frac{x^2}{x^2+y^2} \le 1\), \(|xy| \le \tfrac12(x^2+y^2)\).
Limits also pass through sums, products, quotients (nonzero denominator) and continuous outer functions exactly as in one variable.
How to work it
- Plug in first. If the function is continuous there, you are done.
- If you get \(0/0\), compare degrees: numerator degree \(\le\) denominator degree suggests the limit fails; strictly larger suggests it exists.
- To show failure, find two paths with different values. Try the axes, then \(y = mx\), then a curve matched to the exponents.
- To show existence, switch to polar coordinates or squeeze the function between bounds that go to the same value.
- What the answer should look like. Either "does not exist" with two named paths and the two different values they give, or the value of the limit with a bound \(|f| \le (\text{something}) \to 0\) that does not depend on the direction of approach.
\(\displaystyle\lim_{(x,y)\to(0,0)}\frac{x^2 - y^2}{x^2 + y^2}\): along \(y = 0\) the function is \(\frac{x^2}{x^2} = 1\); along \(x = 0\) it is \(\frac{-y^2}{y^2} = -1\). Different values, so the limit does not exist.
\(\displaystyle\lim_{(x,y)\to(0,0)}\frac{x^2 y}{x^2 + y^2}\): numerator degree 3, denominator degree 2, so expect 0. In polar form,
\[\frac{r^2\cos^2\theta\cdot r\sin\theta}{r^2} = r\cos^2\theta\sin\theta\] \[|r\cos^2\theta\sin\theta| \le r \to 0\]The bound does not depend on \(\theta\), so the limit is 0: whatever direction or curve you approach along, the function is trapped between \(-r\) and \(r\), and \(r \to 0\). (Equivalently, since \(x^2 \le x^2 + y^2\), \(\left|\frac{x^2 y}{x^2+y^2}\right| \le |y| \to 0\).) By contrast, the first example in polar form is \(\cos^2\theta - \sin^2\theta = \cos 2\theta\), which depends on \(\theta\) and not on \(r\) at all: a sure sign the limit fails.
Watch out. Agreeing along two, ten or every straight-line path proves nothing: \(\frac{xy^2}{x^2 + y^4}\) is 0 along every line through the origin but \(\tfrac12\) along \(x = y^2\). L’Hôpital’s rule does not apply to multivariable limits. (On \(x = y^2\) that function is \(\frac{y^2\cdot y^2}{y^4 + y^4} = \frac12\); on \(y = mx\) it is \(\frac{m^2x^3}{x^2 + m^4x^4} = \frac{m^2 x}{1 + m^4x^2} \to 0\). The curve to try is the one that makes the two terms of the denominator the same degree.)
Practice: problems 27, 28, 29 in the practice set (last group in the contents).
Partial derivatives and higher-order derivatives
Unit 3 · Functions of several variables
Key idea
A partial derivative differentiates with respect to one variable while treating every other variable as a constant. \(f_x\) is the slope of the surface in the \(x\)-direction, the rate at which \(z\) changes when only \(x\) moves. Higher-order partials differentiate again, possibly with respect to a different variable.
Notation, all meaning the same thing: \(f_x = \dfrac{\partial f}{\partial x} = \dfrac{\partial z}{\partial x} = D_x f = f_1\).
Geometrically, \(f_x(a,b)\) is the slope of the tangent line to the trace of the surface in the plane \(y = b\) at the point \((a, b, f(a,b))\). Physically, it is a rate of change with everything else held fixed.
Functions of more variables work the same way: \(f_z(x,y,z)\) holds \(x\) and \(y\) fixed.
Clairaut's theorem. If \(f_{xy}\) and \(f_{yx}\) are continuous on a disk around \((a,b)\), then \(f_{xy}(a,b) = f_{yx}(a,b)\). For every function met in this course the mixed partials agree, which is a built-in check on your work.
Partial differential equations you will see: Laplace \(u_{xx} + u_{yy} = 0\) (harmonic functions, e.g. \(e^x\sin y\)), wave \(u_{tt} = a^2 u_{xx}\), heat \(u_t = k\,u_{xx}\). Verifying a solution means computing the partials and substituting.
How to work it
- Circle the variable you are differentiating with respect to; everything else is a constant, including inside products and compositions.
- Apply the usual rules. In \(\sin(xy)\), differentiating with respect to \(x\) gives \(y\cos(xy)\): the chain rule still fires, with inner derivative \(y\).
- For \(f_{xy}\), differentiate \(f_x\) with respect to \(y\). Compute \(f_{yx}\) separately and confirm they match.
- Evaluate at the point only after differentiating.
- What the answer should look like. Each partial as a function (then as a number if a point is given); the two mixed partials written out separately and seen to agree; a sentence of interpretation when asked (slope in the \(x\)-direction, rate of change of one quantity with respect to another holding the rest fixed).
\(f(x,y) = x^3y^2 + \sin(xy) + e^{y}\).
\[f_x = 3x^2y^2 + y\cos(xy)\] \[f_y = 2x^3y + x\cos(xy) + e^{y}\] \[f_{xx} = 6xy^2 - y^2\sin(xy)\] \[f_{yy} = 2x^3 - x^2\sin(xy) + e^{y}\] \[f_{xy} = 6x^2y + \cos(xy) - xy\sin(xy)\] \[f_{yx} = 6x^2y + \cos(xy) - xy\sin(xy)\]The mixed partials agree, as Clairaut promises. In \(f_{xy}\), the term \(y\cos(xy)\) from \(f_x\) needs the product rule when differentiated in \(y\): \(1\cdot\cos(xy) + y\cdot(-\sin(xy))\cdot x\). At \((1, 0)\): \(f_x = 3(1)(0) + 0\cdot\cos 0 = 0\), \(f_y = 2(1)(0) + 1\cdot\cos 0 + e^{0} = 2\), so the surface is level in the \(x\)-direction there and rises with slope 2 in the \(y\)-direction. Evaluating before differentiating (setting \(y = 0\) first, then differentiating in \(y\)) would wrongly give \(f_y = 0\).
Watch out. Subscript order reads left to right (\(f_{xy}\): \(x\) first), but \(\dfrac{\partial^2 f}{\partial y\,\partial x}\) reads right to left (also \(x\) first). They are the same derivative. And "treat \(y\) as a constant" includes the chain rule: \(\frac{\partial}{\partial x}e^{xy} = y\,e^{xy}\), not \(e^{xy}\).
Practice: problems 30, 31 in the practice set (last group in the contents).
Tangent planes and linear approximations
Unit 3 · Functions of several variables
Key idea
Zoom in on a smooth surface and it looks flat. The flat thing it looks like is the tangent plane, and using the plane in place of the surface is linear approximation. Both are built from the two partial derivatives at the point.
The plane passes through \((a, b, f(a,b))\) and contains the tangent lines to both traces, with slopes \(f_x(a,b)\) in the \(x\)-direction and \(f_y(a,b)\) in the \(y\)-direction. A normal vector is \({\langle f_x(a,b),\ f_y(a,b),\ -1\rangle}\).
Differentiability. The plane is a good approximation (the surface is differentiable at the point) whenever \(f_x\) and \(f_y\) exist and are continuous near \((a,b)\). Partial derivatives existing alone is not enough.
For a level surface \(F(x,y,z) = k\) the tangent plane at \(P_0\) is \(\nabla F(P_0)\cdot(\mathbf{r} - \mathbf{r}_0) = 0\), i.e. \(F_x(P_0)(x - x_0) + F_y(P_0)(y - y_0) + F_z(P_0)(z - z_0) = 0\), and the normal line has direction \(\nabla F(P_0)\).
\(L\) is just the tangent plane written as a function. It is the best linear approximation of \(f\) at \((a,b)\), and the error shrinks faster than the distance to \((a,b)\).
Three variables:
\[L = f(a,b,c) + f_x\,(x-a) + f_y\,(y-b) + f_z\,(z-c)\]Writing \(z = f(x,y)\) as \(F(x,y,z) = f(x,y) - z = 0\) gives \(\nabla F = {\langle f_x, f_y, -1\rangle}\), so the two tangent-plane formulas agree.
How to work it
- Compute \(f_x\) and \(f_y\), then evaluate \(f\), \(f_x\), \(f_y\) at \((a,b)\).
- Write \(z = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b)\) and simplify.
- To approximate \(f\) at a nearby point, plug that point into the plane equation.
- Choose \((a,b)\) so that \(f\) and its partials are easy to evaluate exactly and the target point is close.
- What the answer should look like. A tangent plane as a linear equation with numerical coefficients, a normal line as parametric equations, and an approximation as a decimal with a short comparison to the true value when a calculator is allowed.
\(f(x,y) = x\,e^{y} + y^2\) at \((2, 0)\). The partials as functions are \(f_x = e^{y}\) and \(f_y = x e^{y} + 2y\). Evaluate everything at the point: \(f(2,0) = 2e^0 + 0 = 2\); \(f_x(2,0) = e^0 = 1\); \(f_y(2,0) = 2e^0 + 0 = 2\).
\[z = 2 + 1\,(x - 2) + 2\,(y - 0) = x + 2y\]Check: the plane passes through \((2, 0, 2)\) since \(2 + 0 = 2\). Estimate \(f(2.1, -0.05)\) by plugging the point into the plane: \(L = 2.1 + 2(-0.05) = 2.00\). The true value is \(2.1\,e^{-0.05} + 0.0025 \approx 2.0001\), so the error is about \(10^{-4}\), tiny because the point is only \(0.1\) away.
The coefficients \(f_x(a,b)\) and \(f_y(a,b)\) are numbers. If your plane equation still contains \(e^{y}\) or \(x\) inside a coefficient, you forgot to evaluate at \((a,b)\).
Level surface \(x^2 + y^2 + z^2 = 14\) at \((1,2,3)\): \(\nabla F = {\langle 2x, 2y, 2z\rangle} = {\langle 2,4,6\rangle}\), so the tangent plane is \(2(x-1) + 4(y-2) + 6(z-3) = 0\), or \(x + 2y + 3z = 14\), and the normal line is \(x = 1 + t,\ y = 2 + 2t,\ z = 3 + 3t\).
Watch out. Use the right formula for the right description: \(z = f(x,y)\) gets the partials formula; \(F(x,y,z) = k\) gets the gradient formula. Mixing them (treating \(F\) as if it were \(f\)) produces a wrong plane.
Practice: problems 32, 33 in the practice set (last group in the contents).
Differentials
Unit 3 · Functions of several variables
Key idea
The differential \(dz\) is the change in height along the tangent plane when \(x\) changes by \(dx\) and \(y\) by \(dy\). It approximates the actual change \(\Delta z\) in the function and is the standard tool for estimating how errors in measurements propagate into a computed quantity.
when \(dx = \Delta x\) and \(dy = \Delta y\) are small.
\(\Delta z\) is the exact change on the surface; \(dz\) is the change on the tangent plane. For a differentiable function, \(\Delta z - dz \to 0\) faster than the step itself.
\[\text{Three variables: } dw = f_x\,dx + f_y\,dy + f_z\,dz\]If measured quantities \(x, y\) carry maximum errors \(|dx|, |dy|\), the maximum error in \(z = f(x,y)\) is approximately
\[|\Delta z| \lesssim |f_x|\,|dx| + |f_y|\,|dy|\]Relative error \(\dfrac{dz}{z}\); percentage error \(100\,\dfrac{dz}{z}\).
For products and powers, logarithmic differentiation gives relative errors directly: if \(z = x^m y^n\) then \(\frac{dz}{z} = m\frac{dx}{x} + n\frac{dy}{y}\).
How to work it
- Write the quantity as a function of the measured variables and compute its partials.
- Evaluate the partials at the measured values.
- Multiply each partial by that variable's error, take absolute values and add: that is the worst-case error.
- Divide by the computed value for the relative or percentage error.
- What the answer should look like. \(dz\) as a formula in \(dx\), \(dy\) first, then a number with units for the maximum error and a percentage for the relative error; an estimated value is the base value plus \(dz\).
A cylinder is measured as \(r = 5\) cm and \(h = 12\) cm, each with error at most \(0.05\) cm. \(V = \pi r^2 h\).
\[dV = \frac{\partial V}{\partial r}dr + \frac{\partial V}{\partial h}dh = 2\pi r h\,dr + \pi r^2\,dh\] \[|dV| \le 2\pi(5)(12)(0.05) + \pi(25)(0.05) = 6\pi + 1.25\pi\] \[= 7.25\pi \approx 22.8\text{ cm}^3\]Since \(V = 300\pi \approx 942.5\) cm\(^3\), the relative error is about \(7.25/300 \approx 2.4\%\). The radius error contributes more than the height error because \(r\) is squared.
Cross-check with the logarithmic form: \(\dfrac{dV}{V} = 2\dfrac{dr}{r} + \dfrac{dh}{h} = 2\cdot\dfrac{0.05}{5} + \dfrac{0.05}{12} = 0.02 + 0.0042 = 0.0242\), the same \(2.4\%\). The factor \(2\) on the radius term is the exponent of \(r\) in \(V = \pi r^2 h\).
Compare \(\Delta V\) exactly for \(r = 5.05\), \(h = 12.05\): \(\pi(5.05)^2(12.05) - 300\pi = (307.305 - 300)\pi \approx 7.31\pi\). The differential \(7.25\pi\) was off by less than one percent of itself.
Estimating a value. For \(z = x^2 y\), estimate \(f(2.03, 0.98)\) from \((2, 1)\), where \(f = 4\). Here \(dx = 0.03\), \(dy = -0.02\), \(f_x = 2xy = 4\), \(f_y = x^2 = 4\):
\[dz = 4(0.03) + 4(-0.02) = 0.12 - 0.08 = 0.04\]so \(f(2.03, 0.98) \approx 4 + 0.04 = 4.04\). The exact value is \((2.03)^2(0.98) = 4.0385\); the estimate is the value at the base point plus \(dz\), never \(dz\) alone.
Watch out. Use absolute values when combining errors: the partials may have different signs, but the worst case is when every error pushes the same way. And \(dz\) approximates the change in \(z\), not \(z\) itself.
Practice: problems 34, 35 in the practice set (last group in the contents).
Multivariable chain rule
Unit 3 · Functions of several variables
Key idea
When the inputs of \(f\) themselves depend on other variables, the chain rule says: differentiate \(f\) with respect to each intermediate variable, multiply by how that intermediate variable depends on the final variable, and add one term per route. A tree diagram keeps the routes straight.
Case 1. \(z = f(x,y)\), with \(x = x(t)\), \(y = y(t)\). Then \(z\) is a function of \(t\) alone:
\[\frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt}\]Case 2. \(z = f(x,y)\), with \(x = x(s,t)\), \(y = y(s,t)\). Then
\[\frac{\partial z}{\partial s} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial s} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial s}\] \[\frac{\partial z}{\partial t} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial t} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial t}\]Tree: write \(z\) at the top, branch to \(x\) and \(y\), then branch each to \(s\) and \(t\). Each root-to-leaf path is a product of derivatives; the derivative with respect to a leaf is the sum over all paths ending at that leaf.
Case 1 in vector form: \(\dfrac{dz}{dt} = {\nabla f\cdot \mathbf{r}}'(t)\), the gradient dotted with the velocity along the path \(\mathbf{r}(t) = {\langle x(t), y(t)\rangle}\).
Related rates in several variables are Case 1: the quantity depends on several measurements, each of which depends on time.
How to work it
- Draw the tree: dependent variable on top, intermediate variables below, independent variables at the leaves.
- Label each branch with the derivative of the upper variable with respect to the lower.
- For the derivative you want, multiply along each path to the chosen leaf and add the paths.
- Substitute the intermediate variables back in terms of the independent ones if a final expression is required.
- What the answer should look like. One term per path in the tree, each a product of derivatives; the final expression in the independent variables only, and for related-rates questions a number with units and a sign that says increasing or decreasing.
Case 1. \(z = x^2 y\), \(x = \cos t\), \(y = \sin t\):
\[\frac{dz}{dt} = (2xy)(-\sin t) + (x^2)(\cos t) = -2\cos t\sin^2 t + \cos^3 t\]Check by substituting first: \(z = \cos^2 t\sin t\), \(z' = -2\cos t\sin^2 t + \cos^3 t\). Same.
Case 2. \(z = e^{x}\sin y\), \(x = st^2\), \(y = s^2 t\):
\[\frac{\partial z}{\partial s} = e^{x}\sin y\cdot t^2 + e^{x}\cos y\cdot 2st\] \[\frac{\partial z}{\partial t} = e^{x}\sin y\cdot 2st + e^{x}\cos y\cdot s^2\]with \(x = st^2\) and \(y = s^2 t\) substituted if a function of \(s, t\) alone is wanted. At \((s,t) = (1, 0)\), for instance, \(x = 0\) and \(y = 0\), so \(\frac{\partial z}{\partial s} = 1\cdot 0\cdot 0 + 1\cdot 1\cdot 0 = 0\) and \(\frac{\partial z}{\partial t} = 1\cdot 0\cdot 0 + 1\cdot 1\cdot 1 = 1\). Evaluate the intermediate variables at the point first, then every factor. Related rates: if the radius of a cylinder grows at 2 cm/s and the height shrinks at 1 cm/s when \(r = 5\), \(h = 12\), then with \(V = \pi r^2 h\) (Case 1, both \(r\) and \(h\) depending on \(t\)): \(\frac{dV}{dt} = \frac{\partial V}{\partial r}\frac{dr}{dt} + \frac{\partial V}{\partial h}\frac{dh}{dt} = 2\pi rh\,r' + \pi r^2\,h' = 2\pi(5)(12)(2) + \pi(25)(-1) = 240\pi - 25\pi = 215\pi\) cm\(^3\)/s. The shrinking height is a negative rate; the volume is still growing because the radius term dominates.
Watch out. One term per branch, no more and no fewer. Students most often drop a term when an intermediate variable depends on only one of the independent variables, or forget that \(\frac{dz}{dt}\) (straight \(d\)) is for Case 1 and \(\frac{\partial z}{\partial s}\) (curly \(\partial\)) for Case 2.
Practice: problems 36, 37 in the practice set (last group in the contents).
Implicit differentiation
Unit 3 · Functions of several variables
Key idea
When \(y\) is defined implicitly by an equation \(F(x,y) = 0\), or \(z\) by \(F(x,y,z) = 0\), the chain rule produces a formula for the derivative without ever solving the equation. The whole process from Calculus I collapses to one ratio of partial derivatives.
If \(F(x, y) = 0\) defines \(y\) as a function of \(x\) and \(F_y \ne 0\), differentiate both sides with respect to \(x\) by the chain rule: \(F_x\cdot 1 + F_y\cdot\frac{dy}{dx} = 0\), so
\[\frac{dy}{dx} = -\frac{F_x}{F_y}\]Everything on the left of \(F(x,y) = 0\) is one expression; move all terms to one side first.
If \(F(x,y,z) = 0\) defines \(z\) as a function of \(x\) and \(y\) and \(F_z \ne 0\):
\[\frac{\partial z}{\partial x} = -\frac{F_x}{F_z}\] \[\frac{\partial z}{\partial y} = -\frac{F_y}{F_z}\]The implicit function theorem guarantees the function exists near a point where \(F\) is continuously differentiable and \(F_z \ne 0\). Where \(F_z = 0\) the surface is vertical and \(z\) is not a function of \((x,y)\) there.
How to work it
- Rewrite the equation as \(F(\ldots) = 0\).
- Compute the partials of \(F\) with respect to every variable, treating all variables as independent.
- Form the negative ratio: the numerator is the partial with respect to the variable you differentiate with respect to, the denominator is the partial with respect to the dependent variable.
- Evaluate at the point if one is given; check that the denominator is not zero there.
- What the answer should look like. \(dy/dx\) (or \(\partial z/\partial x\) and \(\partial z/\partial y\)) as a ratio in all the variables, simplified by cancelling common factors, then a number at the given point; mention if the formula fails there because the denominator vanishes.
\(x^3 + y^3 = 6xy\). Take \(F = x^3 + y^3 - 6xy\): \(F_x = 3x^2 - 6y\), \(F_y = 3y^2 - 6x\).
\[\frac{dy}{dx} = -\frac{3x^2 - 6y}{3y^2 - 6x} = \frac{2y - x^2}{y^2 - 2x}\]First confirm \((3,3)\) is on the curve: \(27 + 27 = 54 = 6\cdot 3\cdot 3\). Then the slope there is \(\frac{2(3) - 9}{9 - 2(3)} = \frac{-3}{3} = -1\), and \(F_y = 27 - 18 = 9 \ne 0\), so the formula is legitimate at that point.
\(x^3 + y^3 + z^3 + 6xyz = 1\). With \(F = x^3 + y^3 + z^3 + 6xyz - 1\):
\[\frac{\partial z}{\partial x} = -\frac{3x^2 + 6yz}{3z^2 + 6xy} = -\frac{x^2 + 2yz}{z^2 + 2xy}\] \[\frac{\partial z}{\partial y} = -\frac{y^2 + 2xz}{z^2 + 2xy}\]At \((0, 0, 1)\) (on the surface, since \(0 + 0 + 1 + 0 = 1\)) both partials are \(-\frac{0}{1} = 0\): the tangent plane is horizontal there. At \((1, 0, 0)\) (also on the surface) the denominator \(z^2 + 2xy = 0\), so the formula fails: the surface is vertical at that point and \(z\) is not a function of \((x, y)\) near it. Since \(F_x = 3 \ne 0\) there, you could instead solve for \(x\) as a function of \((y, z)\).
Watch out. Do not drop the minus sign, and do not invert the ratio. A quick check: for \(F = y - g(x)\) the formula must return \(g'(x)\), and indeed \(-F_x/F_y = -(-g')/1 = g'\).
Practice: problems 38, 39 in the practice set (last group in the contents).
Directional derivatives and gradients
Unit 3 · Functions of several variables
Key idea
Partial derivatives give the rate of change along the axes. The directional derivative gives it along any unit direction \(\mathbf{u}\), and the gradient \(\nabla f\) packages the partials into one vector that points in the direction of fastest increase and is perpendicular to the level curves.
For a unit vector \(\mathbf{u} = {\langle a, b\rangle}\):
\[D_{\mathbf{u}} f(x,y) = \lim_{h\to 0}\frac{f(x + ha,\ y + hb) - f(x,y)}{h}\] \[D_{\mathbf{u}} f = {\nabla f\cdot \mathbf{u}} = f_x\,a + f_y\,b\]\(D_{\mathbf{u}} f(a,b)\) is the slope of the surface at \((a,b)\) when you walk in direction \(\mathbf{u}\). With \(\mathbf{u} = \mathbf{i}\) it is \(f_x\); with \(\mathbf{u} = \mathbf{j}\) it is \(f_y\).
- Steepest ascent maximum of \(D_{\mathbf{u}} f\) is \(|\nabla f|\), in the direction \(\nabla f/|\nabla f|\).
- Steepest descent minimum is \(-|\nabla f|\), in the direction \(-\nabla f\).
- No change \(D_{\mathbf{u}} f = 0\) when \(\mathbf{u} \perp \nabla f\), i.e. along the level curve.
- Perpendicularity \(\nabla f(a,b)\) is normal to the level curve \(f = k\) through \((a,b)\); \(\nabla F(P)\) is normal to the level surface \(F = k\) through \(P\).
That last fact is where the tangent plane to a level surface comes from, and why contour lines are crossed at right angles by the path of steepest ascent.
Three variables. For \(T(x,y,z) = xy + z^2\) at \((1, 2, 1)\): \(\nabla T = {\langle y, x, 2z\rangle} = {\langle 2, 1, 2\rangle}\), \(|\nabla T| = 3\). Toward \(\mathbf{v} = {\langle 1, -2, 2\rangle}\) (length 3, so \(\mathbf{u} = \tfrac13\mathbf{v}\)): \(D_{\mathbf{u}}T = \tfrac13(2 - 2 + 4) = \tfrac43\), between \(-3\) and \(3\) as required. The temperature rises fastest in the direction \(\tfrac13{\langle 2,1,2\rangle}\) at \(3\) degrees per unit length.
How to work it
- Compute \(\nabla f\) and evaluate it at the point.
- Make the direction a unit vector: \(\mathbf{u} = \mathbf{v}/|\mathbf{v}|\). If a direction is given as an angle \(\theta\), use \(\mathbf{u} = {\langle\cos\theta, \sin\theta\rangle}\). If given as 'toward the point \(Q\)', use \(\overrightarrow{PQ}\) normalised.
- Dot the two vectors.
- For the maximum rate, report \(|\nabla f|\) and the unit vector \(\nabla f/|\nabla f|\).
- What the answer should look like. A directional derivative is a single number between \(-|\nabla f|\) and \(|\nabla f|\); a "direction of fastest increase" is a unit vector; the gradient at a point is a vector of numbers with as many components as the function has variables.
\(f(x,y) = x^2 + xy + y^2\) at \(P(1,2)\): \(\nabla f = {\langle 2x + y,\ x + 2y\rangle} = {\langle 4, 5\rangle}\).
\[\text{Toward } \mathbf{v} = {\langle 3,4\rangle}:\quad \mathbf{u} = {\langle \tfrac35, \tfrac45\rangle}\] \[D_{\mathbf{u}} f = \tfrac{12}{5} + \tfrac{20}{5} = \tfrac{32}{5}\] \[\text{Toward } \mathbf{v} = {\langle 1,-1\rangle}:\quad \mathbf{u} = \tfrac{1}{\sqrt2}{\langle 1,-1\rangle}\] \[D_{\mathbf{u}} f = \tfrac{4 - 5}{\sqrt2} = -\tfrac{1}{\sqrt2}\]The first dot product in detail: \({\langle 4, 5\rangle}\cdot{\langle \tfrac35, \tfrac45\rangle} = \tfrac{12}{5} + \tfrac{20}{5}\). Fastest increase: rate \(|\nabla f| = \sqrt{16 + 25} = \sqrt{41} \approx 6.40\) in the direction \(\tfrac{1}{\sqrt{41}}{\langle 4,5\rangle}\); fastest decrease is the opposite direction at rate \(-\sqrt{41}\). Every directional derivative must lie between these: \(\tfrac{32}{5} = 6.4\) just under \(6.40\) is fine, and \(-\tfrac{1}{\sqrt2}\) is small because \({\langle 1, -1\rangle}\) is nearly perpendicular to the gradient. No change along \(\pm\tfrac{1}{\sqrt{41}}{\langle 5,-4\rangle}\) (check \({\langle 5,-4\rangle}\cdot{\langle 4,5\rangle} = 0\)), the tangent direction of the level curve \(x^2 + xy + y^2 = 7\) through \(P\), where \(7 = f(1,2) = 1 + 2 + 4\).
Watch out. \(\mathbf{u}\) must be a unit vector; forgetting to normalise scales the answer by \(|\mathbf{v}|\). The directional derivative is a number; the gradient is a vector living in the domain (the \(xy\)-plane), not an arrow drawn on the surface.
Practice: problems 40, 41 in the practice set (last group in the contents).
Critical points
Unit 4 · Multivariable optimization
Key idea
In one variable, extrema can only happen where the derivative is zero or undefined. In two variables the same is true with both partial derivatives: at a local maximum or minimum the tangent plane is horizontal, so \(f_x = f_y = 0\). Points where this happens, or where a partial fails to exist, are the critical points.
\((a,b)\) is a critical point of \(f\) if \(f_x(a,b) = 0\) and \(f_y(a,b) = 0\), or if one of the partials does not exist there.
Fermat's theorem. If \(f\) has a local maximum or minimum at an interior point \((a,b)\) and the partials exist there, then \((a,b)\) is a critical point. Reason: along the trace \(y = b\), the one-variable function \(g(x) = f(x,b)\) has an extremum at \(a\), so \(g'(a) = f_x(a,b) = 0\); likewise for \(f_y\).
The converse fails: a critical point can be a maximum, a minimum or a saddle point, so finding critical points is the first step, not the answer.
Techniques that usually work:
- Factor one equation into cases (\(x = 0\) or \(\ldots\)), then substitute each case into the other equation.
- Solve and substitute isolate a variable in the simpler equation.
- Subtract or divide the equations to eliminate a common factor (but watch for division by zero).
- Exponentials \(e^{(\cdot)}\) is never zero; divide it out.
How to work it
- Compute \(f_x\) and \(f_y\) and set both equal to zero.
- Solve the system completely: every solution of one equation must be tested in the other, and every branch of a factored equation must be followed.
- List the critical points as ordered pairs and compute \(f\) at each.
- Check the domain: a candidate outside the domain, or on a boundary, is not an interior critical point.
- What the answer should look like. A complete list of ordered pairs \((a, b)\) with the value \(f(a, b)\) at each; if the system factors, say which branch produced which point so that none is lost.
\(f(x,y) = x^3 - 3x + y^2 - 2y\): \(f_x = 3x^2 - 3 = 0 \Rightarrow x = \pm 1\); \(f_y = 2y - 2 = 0 \Rightarrow y = 1\). Here the two equations are independent, so every \(x\)-solution pairs with every \(y\)-solution: critical points \((1,1)\) and \((-1,1)\), with \(f(1,1) = 1 - 3 + 1 - 2 = -3\), \(f(-1,1) = -1 + 3 + 1 - 2 = 1\).
\(g(x,y) = x^2 + y^2 - xy + x\): \(g_x = 2x - y + 1 = 0\), \(g_y = 2y - x = 0 \Rightarrow x = 2y\). Here the equations are coupled, so solve one and substitute into the other: \(4y - y + 1 = 0\), so \(y = -\tfrac13\), \(x = -\tfrac23\). One critical point, \((-\tfrac23, -\tfrac13)\), with \(g = \tfrac49 + \tfrac19 - \tfrac29 - \tfrac23 = -\tfrac13\).
\(h(x,y) = xy\,e^{-x^2 - y^2}\): \(h_x = e^{-x^2-y^2}\,y(1 - 2x^2)\) and \(h_y = e^{-x^2-y^2}\,x(1 - 2y^2)\). The exponential is never zero, so \(y(1 - 2x^2) = 0\) and \(x(1 - 2y^2) = 0\). Follow every branch: from the first, \(y = 0\) or \(x^2 = \tfrac12\). If \(y = 0\), the second equation becomes \(x = 0\): the point \((0,0)\). If \(x^2 = \tfrac12\), then \(x \ne 0\), so the second equation forces \(y^2 = \tfrac12\): four more points \((\pm\tfrac{1}{\sqrt2}, \pm\tfrac{1}{\sqrt2})\). Five critical points in total; dropping the \(y = 0\) branch would lose the origin.
Watch out. A point where \(f_x = 0\) alone is not critical; both partials must vanish at the same point. And finding critical points says nothing yet about max, min or saddle; that is the second derivative test's job.
Practice: problems 42, 43 in the practice set (last group in the contents).
Local maxima, minima, and saddle points
Unit 4 · Multivariable optimization
Key idea
\(f\) has a local maximum at \((a,b)\) if \(f(a,b) \ge f(x,y)\) for all \((x,y)\) near \((a,b)\), a local minimum if \(\le\). A saddle point is a critical point that is neither: the surface rises in some directions and falls in others, like the middle of a horse's saddle or a mountain pass.
- Local minimum bowl opening upward, e.g. \(z = x^2 + y^2\) at the origin. Every trace through the point curves up.
- Local maximum dome, e.g. \(z = 4 - x^2 - y^2\) at the origin. Every trace curves down.
- Saddle \(z = x^2 - y^2\) at the origin: the trace \(y = 0\) is the upward parabola \(z = x^2\), the trace \(x = 0\) is the downward parabola \(z = -y^2\). Level curves near a saddle look like hyperbolas; near a max or min they look like ellipses.
On a contour map a saddle is where two level curves of the same height cross.
At a critical point \((a,b)\), look at \(f(x,y) - f(a,b)\) for \((x,y)\) nearby:
\[\text{always } \ge 0 \Rightarrow \text{local min}\] \[\text{always } \le 0 \Rightarrow \text{local max}\] \[\text{both signs} \Rightarrow \text{saddle}\]Completing the square or checking a couple of traces (\(y = b\), \(x = a\), \(y - b = x - a\)) often settles it, and is the fallback when the second derivative test is inconclusive.
\(f = x^4 + y^4\) has a minimum at the origin and \(f = x^4 - y^4\) a saddle, yet both have all second partials zero there. Direct inspection decides.
How to work it
- Compute \(D = f_{xx}f_{yy} - f_{xy}^2\) at the point and apply the second derivative test (next tab).
- If \(D = 0\), examine \(f(x,y) - f(a,b)\) directly: try traces along the axes and along the diagonals, or complete the square.
- Describe each point in words: local maximum (value), local minimum (value) or saddle point.
- Sketch or imagine the level curves as a check: ellipses around extrema, crossing curves at saddles.
- What the answer should look like. For each critical point, one of "local maximum (value)", "local minimum (value)" or "saddle point", with the evidence: the sign of \(f - f(a,b)\) along two traces, or a completed square.
\(f(x,y) = x^2 - y^2\) at \((0,0)\): \(f(x, 0) = x^2 \gt 0\) and \(f(0, y) = -y^2 \lt 0\). Both signs appear arbitrarily close to the origin, so it is a saddle point.
\(f(x,y) = x^2 + y^2 - 2x + 4y + 7 = (x-1)^2 + (y+2)^2 + 2\): the critical point is \((1,-2)\), and \(f - 2 = (x-1)^2 + (y+2)^2 \ge 0\), so \((1,-2)\) is a local (indeed absolute) minimum with value 2.
\(f(x,y) = x^4 + y^4\): the only critical point is the origin, and \(f \ge 0 = f(0,0)\), so it is a local minimum even though \(D = 0\) and the second derivative test says nothing.
\(f(x,y) = xy\) at \((0,0)\): both axis traces are identically \(0\), which decides nothing. Along the diagonal \(y = x\), \(f(t,t) = t^2 \gt 0\); along \(y = -x\), \(f(t,-t) = -t^2 \lt 0\). Both signs, so a saddle point. (Here the test would also work: \(D = 0\cdot 0 - 1^2 = -1 \lt 0\).) The level curves \(xy = k\) are hyperbolas, and the two lines \(xy = 0\) crossing at the origin are the level curve of height \(0\), the picture of a saddle on a contour map.
Watch out. A saddle need not be "a max in \(x\) and a min in \(y\)". For \(f = xy\) at the origin both axis traces are flat (\(f = 0\)); the up-and-down appears along the diagonals \(y = x\) and \(y = -x\). Always test more than the axes when \(D = 0\).
Practice: problem 44 in the practice set (last group in the contents).
Second derivative test
Unit 4 · Multivariable optimization
Key idea
The second partials at a critical point determine the shape of the surface there, through a single number \(D\). It plays the role of \(f''\) in the one-variable test but must also account for the mixed partial \(f_{xy}\), which measures how the surface twists.
Suppose the second partials of \(f\) are continuous near \((a,b)\) and \(f_x(a,b) = f_y(a,b) = 0\). Let
\[D = D(a,b) = f_{xx}(a,b)\,f_{yy}(a,b) - \left[f_{xy}(a,b)\right]^2 = \begin{vmatrix} f_{xx} & f_{xy} \\ f_{xy} & f_{yy}\end{vmatrix}\]- \(D \gt 0\) and \(f_{xx}(a,b) \gt 0\) local minimum.
- \(D \gt 0\) and \(f_{xx}(a,b) \lt 0\) local maximum.
- \(D \lt 0\) saddle point.
- \(D = 0\) inconclusive: could be any of the three.
When \(D \gt 0\), \(f_{xx}\) and \(f_{yy}\) have the same sign (because \(f_{xx}f_{yy} = D + f_{xy}^2 \gt 0\)), so either one may be used to tell max from min. Read the table in order: first the sign of \(D\) decides saddle or not; only then does the sign of \(f_{xx}\) decide max or min.
Near the critical point, \(f(x,y) - f(a,b) \approx \tfrac12\left[f_{xx}h^2 + 2f_{xy}hk + f_{yy}k^2\right]\) with \(h = x - a\), \(k = y - b\). This quadratic form is
\[\frac{1}{2f_{xx}}\left[(f_{xx}h + f_{xy}k)^2 + D\,k^2\right]\]If \(D \gt 0\) the bracket is a sum of squares, so the sign of the change is the sign of \(f_{xx}\): a definite bowl or dome. If \(D \lt 0\) the bracket takes both signs: a saddle. The matrix of second partials is the Hessian; \(D\) is its determinant.
How to work it
- Find all critical points.
- Compute \(f_{xx}\), \(f_{yy}\), \(f_{xy}\) as functions, then \(D(x,y) = f_{xx}f_{yy} - f_{xy}^2\).
- Evaluate \(D\) and \(f_{xx}\) at each critical point and read off the conclusion from the table.
- Report the function value at each max and min. For \(D = 0\), fall back on direct inspection.
- What the answer should look like. A short table: point, \(D\), \(f_{xx}\), conclusion, value. Every critical point found earlier must appear in it, and "inconclusive" is an acceptable entry only if followed by a direct argument.
\(f(x,y) = x^3 - 3x + y^2 - 2y\), critical points \((1,1)\) and \((-1,1)\).
\[f_{xx} = 6x\] \[f_{yy} = 2\] \[f_{xy} = 0\] \[D(x,y) = 12x\]At \((1,1)\): \(D = 12 \gt 0\), \(f_{xx} = 6 \gt 0\), so a local minimum, \(f(1,1) = 1 - 3 + 1 - 2 = -3\).
At \((-1,1)\): \(D = -12 \lt 0\), so a saddle point, where \(f = -1 + 3 + 1 - 2 = 1\).
\(g(x,y) = x^4 + y^4 - 4xy + 1\): \(g_x = 4x^3 - 4y\), \(g_y = 4y^3 - 4x\), so \(y = x^3\) and \(x = y^3 = x^9\). Then \(x^9 - x = x(x^8 - 1) = 0\), whose real solutions are \(x = 0, \pm 1\), each with \(y = x^3 = x\): critical points \((0,0), (1,1), (-1,-1)\). Second partials: \(g_{xx} = 12x^2\), \(g_{yy} = 12y^2\), \(g_{xy} = -4\), so \(D = (12x^2)(12y^2) - 16\). At the origin \(D = -16 \lt 0\): saddle. At \((\pm 1, \pm 1)\): \(D = 144 - 16 = 128 \gt 0\), \(g_{xx} = 12 \gt 0\): local minima with value \(g(1,1) = 1 + 1 - 4 + 1 = -1\).
Watch out. \(D \lt 0\) is a saddle, never a maximum. And the test only applies at critical points; computing \(D\) somewhere \(f_x \ne 0\) means nothing. When \(D = 0\), do not guess.
Practice: problems 43, 45, 46 in the practice set (last group in the contents).
Absolute maxima and minima
Unit 4 · Multivariable optimization
Key idea
On a closed, bounded region \(D\) (it includes its boundary and fits inside some disk), a continuous function must attain an absolute maximum and an absolute minimum. They occur either at a critical point inside \(D\) or somewhere on the boundary, so the search has exactly two parts.
If \(f\) is continuous on a closed bounded set \(D \subset \mathbb{R}^2\), then \(f\) attains an absolute maximum value \(f(x_1,y_1)\) and an absolute minimum value \(f(x_2,y_2)\) at some points of \(D\).
The hypotheses matter: \(f = x + y\) on the open disk \(x^2 + y^2 \lt 1\) has no maximum (it approaches \(\sqrt2\) but never reaches it), and \(f = 1/(x^2+y^2)\) on the punctured disk is unbounded.
The boundary of a region in the plane is a curve (or several), so the boundary problem is a one-variable problem once the curve is parametrized.
- Polygon treat each edge separately: substitute the edge's equation into \(f\) to get a one-variable function on an interval; find its critical points and include the corners.
- Circle \(x^2 + y^2 = r^2\) parametrize \(x = r\cos t\), \(y = r\sin t\), \(0 \le t \le 2\pi\), or substitute \(y^2 = r^2 - x^2\) if \(f\) contains only \(y^2\).
- Any curve \(g(x,y) = k\) Lagrange multipliers (next tab).
The final answer is a comparison of numbers: the largest value found is the absolute max, the smallest the absolute min. Report both the values and where they occur.
How to work it
- Find the critical points of \(f\) that lie strictly inside \(D\) and compute \(f\) there.
- Describe the boundary piece by piece and find the extreme values of \(f\) on each piece (one-variable calculus, including endpoints).
- Collect every candidate value from steps 1 and 2.
- The largest is the absolute maximum, the smallest the absolute minimum. State the points where they occur.
- What the answer should look like. Two values and the point(s) where each occurs, preceded by the full list of candidates (interior critical values, boundary extremes, corners) so that the comparison is visible.
\(f(x,y) = x^2 + y^2 - 2x\) on the disk \(D: x^2 + y^2 \le 4\).
Inside: \(f_x = 2x - 2 = 0\), \(f_y = 2y = 0\) gives \((1,0)\), which is inside \(D\); \(f(1,0) = -1\).
Boundary: \(x = 2\cos t\), \(y = 2\sin t\), \(0 \le t \le 2\pi\): since \(x^2 + y^2 = 4\) there, \(f = 4 - 4\cos t\), a one-variable function whose derivative \(4\sin t\) vanishes at \(t = 0, \pi\). It runs from \(0\) (at \(t = 0\), point \((2,0)\)) to \(8\) (at \(t = \pi\), point \((-2,0)\)). Alternative without trigonometry: on the circle \(y^2 = 4 - x^2\), so \(f = 4 - 2x\) with \(-2 \le x \le 2\), again between \(0\) and \(8\).
Candidates: \(-1\) (inside), \(0\) and \(8\) (boundary).
Absolute maximum \(8\) at \((-2,0)\); absolute minimum \(-1\) at \((1,0)\).
On the rectangle \(0 \le x \le 3\), \(0 \le y \le 2\) for \(g = x^2 - 2xy + 2y\) (a classic): \(g_x = 2x - 2y = 0\) and \(g_y = -2x + 2 = 0\) give the interior critical point \((1,1)\) with \(g = 1 - 2 + 2 = 1\); the four edges, each a one-variable function over its own interval (endpoints included, so corners are automatically covered), give \(g(x,0) = x^2 \in [0,9]\), \(g(3,y) = 9 - 4y \in [1, 9]\), \(g(x,2) = x^2 - 4x + 4 = (x-2)^2 \in [0,4]\), \(g(0,y) = 2y \in [0,4]\). Max \(9\) at \((3,0)\), min \(0\) at \((0,0)\) and \((2,2)\).
Watch out. Corners of a polygon are candidates even when no derivative vanishes there, and a critical point that falls outside \(D\) must be discarded. Do not use the second derivative test here: absolute extrema are found by comparing values, not by classifying shapes.
Practice: problems 47, 48 in the practice set (last group in the contents).
Lagrange multipliers
Unit 4 · Multivariable optimization
Key idea
To maximize or minimize \(f(x,y,z)\) subject to a constraint \(g(x,y,z) = k\), look for points where the level surface of \(f\) just touches the constraint surface. There the two gradients are parallel: \(\nabla f = \lambda\nabla g\). The number \(\lambda\) is the Lagrange multiplier.
Assuming \(\nabla g \ne \mathbf{0}\) on the constraint, the extreme values of \(f\) on \(g = k\) occur at solutions of
\[\nabla f(x,y,z) = \lambda\,\nabla g(x,y,z)\] \[g(x,y,z) = k\]In components that is four equations in the four unknowns \(x, y, z, \lambda\): \(f_x = \lambda g_x\), \(f_y = \lambda g_y\), \(f_z = \lambda g_z\), \(g = k\). In two variables, drop \(z\).
Why: at an extremum on the constraint, moving along the constraint cannot change \(f\) to first order, so \(\nabla f\) has no component tangent to the constraint surface, i.e. it is parallel to the normal \(\nabla g\).
Five equations in \(x, y, z, \lambda, \mu\). Geometrically the constraint is now a curve (the intersection of two surfaces) and \(\nabla f\) must lie in the plane spanned by the two normals.
Example. Extremize \(f = x + y + z\) on the curve where the cylinder \(x^2 + y^2 = 2\) meets the plane \(x + z = 1\). With \(g = x^2 + y^2\) and \(h = x + z\): \({\langle 1,1,1\rangle} = \lambda{\langle 2x, 2y, 0\rangle} + \mu{\langle 1, 0, 1\rangle}\). The third component gives \(\mu = 1\); the first then gives \(2\lambda x = 0\); the second gives \(2\lambda y = 1\), so \(\lambda \ne 0\) and therefore \(x = 0\). The constraints give \(y = \pm\sqrt2\), \(z = 1\). Candidates \((0, \sqrt2, 1)\) with \(f = 1 + \sqrt2\) (maximum) and \((0, -\sqrt2, 1)\) with \(f = 1 - \sqrt2\) (minimum).
Interpretation: \(\lambda = \dfrac{d f_{\max}}{dk}\), the rate at which the optimal value changes as the constraint level is relaxed. In economics it is the shadow price.
How to work it
- Write out \(f_x = \lambda g_x\), \(f_y = \lambda g_y\) (and \(f_z = \lambda g_z\)), plus the constraint.
- Eliminate \(\lambda\): solve each equation for \(\lambda\) and equate, or divide equations. Before dividing by a variable, treat the case where it is zero separately.
- Use the resulting relations between the variables in the constraint equation to find the candidate points.
- Evaluate \(f\) at every candidate. The largest is the maximum, the smallest the minimum (when the constraint set is closed and bounded).
- What the answer should look like. The candidate points as triples (or pairs) that actually satisfy the constraint, the value of \(f\) at each, and the maximum and minimum identified; \(\lambda\) need not appear in the final answer.
Extremize \(f(x,y) = xy\) on the circle \(x^2 + y^2 = 8\). \(\nabla f = {\langle y, x\rangle}\), \(\nabla g = {\langle 2x, 2y\rangle}\):
\[y = 2\lambda x\] \[x = 2\lambda y\] \[x^2 + y^2 = 8\]Substituting the second into the first, \(y = 4\lambda^2 y\), so \(y = 0\) or \(\lambda = \pm\tfrac12\). If \(y = 0\) then \(x = 0\), which is not on the circle. \(\lambda = \tfrac12\) gives \(x = y\), \(2x^2 = 8\), points \((2,2), (-2,-2)\) with \(f = 4\). \(\lambda = -\tfrac12\) gives \(x = -y\), points \((2,-2), (-2,2)\) with \(f = -4\).
Maximum \(4\) at \((2,2)\) and \((-2,-2)\); minimum \(-4\) at \((2,-2)\) and \((-2,2)\).
Open-top box of maximum volume with \(12\) m\(^2\) of material: maximize \(V = xyz\) with \(g = xy + 2xz + 2yz = 12\) (base \(xy\) plus four sides, no top). The equations are \(yz = \lambda(y + 2z)\), \(xz = \lambda(x + 2z)\), \(xy = \lambda(2x + 2y)\). A clean way to eliminate \(\lambda\): multiply the first by \(x\), the second by \(y\), the third by \(z\); each left side becomes \(xyz\), so the right sides are equal: \(xy + 2xz = xy + 2yz = 2xz + 2yz\). The first equality gives \(x = y\) (as \(z \ne 0\) for a box), the second gives \(xy = 2yz\), so \(x = 2z\). The constraint then reads \(4z^2 + 4z^2 + 4z^2 = 12z^2 = 12\), so \(z = 1\), \(x = y = 2\), \(V = 4\) m\(^3\). It is a maximum because \(V \to 0\) as any edge shrinks to zero.
Watch out. Never divide by a variable that could be zero without checking that case; the lost solution is often the minimum. Lagrange only produces candidates: you still compare values. And \(\lambda\) itself is rarely asked for; do not waste time solving for it unless the question does.
Practice: problems 49, 50, 51, 52 in the practice set (last group in the contents).
Double integrals over rectangles
Unit 5 · Multiple integrals
Key idea
A double integral adds up \(f(x,y)\) times tiny areas over a region. Over a rectangle \(R = [a,b]\times[c,d]\) it is the signed volume between the surface \(z = f(x,y)\) and the \(xy\)-plane, and Fubini's theorem turns it into two ordinary integrals done one after the other.
Chop \(R\) into \(mn\) subrectangles of area \(\Delta A = \Delta x\,\Delta y\), pick a sample point in each, multiply height by area, add, and let the grid get fine. If \(f \ge 0\) the sum approximates the volume under the surface; in general it is volume above the plane minus volume below.
- Midpoint rule sample at the centre of each subrectangle for a numerical estimate.
- Area \(\iint_R 1\,dA = \text{area}(R)\).
- Average value \(f_{\text{ave}} = \dfrac{1}{\text{area}(R)}\iint_R f\,dA\).
valid whenever \(f\) is continuous on \(R\) (or merely bounded with finitely many discontinuities along curves). The inner integral is done first, treating the outer variable as a constant.
\[\iint_R [f + g]\,dA = \iint_R f\,dA + \iint_R g\,dA\] \[\iint_R c f\,dA = c\iint_R f\,dA\] \[f \ge g \text{ on } R \Rightarrow \iint_R f\,dA \ge \iint_R g\,dA\] \[\text{If } f(x,y) = g(x)\,h(y):\quad \iint_R f\,dA\] \[= \left(\int_a^b g(x)\,dx\right)\left(\int_c^d h(y)\,dy\right)\]How to work it
- Write the limits: the inner integral's limits belong to the inner variable (the first \(d\)-symbol); the outer limits to the outer variable.
- Integrate the inside with respect to the inner variable, treating the other as a constant, and plug in the inner limits.
- The result is a function of the outer variable only; integrate it over the outer limits.
- If one order looks hard, try the other: over a rectangle both orders give the same answer.
- What the answer should look like. A single number (exact fraction or multiple of \(\pi\)), with the iterated integral written out with its limits and the inner result shown as a function of the outer variable before the last integration.
\(\displaystyle\iint_R (x^2 y + 1)\,dA\) over \(R = [0,2]\times[1,3]\).
\[\int_0^2\!\!\int_1^3 (x^2 y + 1)\,dy\,dx = \int_0^2\left[\frac{x^2 y^2}{2} + y\right]_{y=1}^{y=3}dx\]Plug \(y = 3\) and \(y = 1\) into the bracket, leaving \(x\) alone: \(\left(\frac{9x^2}{2} + 3\right) - \left(\frac{x^2}{2} + 1\right) = 4x^2 + 2\). No \(y\) remains, as it should be.
\[= \int_0^2 (4x^2 + 2)\,dx = \left[\frac{4x^3}{3} + 2x\right]_0^2 = \frac{32}{3} + 4 = \frac{44}{3}\] \[\int_1^3\!\!\int_0^2 (x^2 y + 1)\,dx\,dy = \int_1^3\left[\frac{x^3 y}{3} + x\right]_{x=0}^{x=2}dy\] \[= \int_1^3\left(\frac{8y}{3} + 2\right)dy = \left[\frac{4y^2}{3} + 2y\right]_1^3 = \left(12 + 6\right) - \left(\frac43 + 2\right) = \frac{44}{3}\]Both orders give \(\frac{44}{3}\), as Fubini promises. Each inner integration removed one variable: after the first bracket only \(x\) was left, after the second only \(y\).
Product shortcut: \(\displaystyle\iint_R \sin x\cos y\,dA\) over \([0,\pi/2]\times[0,\pi/2]\) equals \(\left(\int_0^{\pi/2}\sin x\,dx\right)\left(\int_0^{\pi/2}\cos y\,dy\right) = 1\cdot 1 = 1\). This works only when the integrand is a product of a function of \(x\) alone and a function of \(y\) alone and the limits are constants; \(x^2 y + 1\) above is a sum, not a product, so it does not qualify.
Average value and midpoint rule for the first integral: \(R\) has area \(2\cdot 2 = 4\), so \(f_{\text{ave}} = \tfrac{44/3}{4} = \tfrac{11}{3} \approx 3.67\). With \(m = n = 2\) the four subrectangles have area \(1\) and midpoints \((\tfrac12, \tfrac32), (\tfrac12, \tfrac52), (\tfrac32, \tfrac32), (\tfrac32, \tfrac52)\), where \(f = x^2y + 1\) is \(\tfrac{11}{8}, \tfrac{13}{8}, \tfrac{35}{8}, \tfrac{53}{8}\); the estimate is \(\tfrac{112}{8} = 14\), close to the exact \(14.67\).
Watch out. \(dy\,dx\) means \(y\) is the inner variable and gets the inner limits. Plugging the limits into the wrong variable is the single most common error. After the inner integration no trace of the inner variable may remain.
Practice: problems 53, 54 in the practice set (last group in the contents).
Double integrals over general regions
Unit 5 · Multiple integrals
Key idea
Most regions are not rectangles. The fix is to let the inner limits be functions of the outer variable, so the inner integral sweeps a vertical (or horizontal) line segment across the region. Everything starts with a sketch of the region.
Type I (vertically simple): \(D = \{(x,y) : a \le x \le b,\ g_1(x) \le y \le g_2(x)\}\), bounded below and above by curves.
\[\iint_D f\,dA = \int_a^b\!\!\int_{g_1(x)}^{g_2(x)} f(x,y)\,dy\,dx\]Type II (horizontally simple): \(D = \{(x,y) : c \le y \le d,\ h_1(y) \le x \le h_2(y)\}\), bounded left and right by curves.
\[\iint_D f\,dA = \int_c^d\!\!\int_{h_1(y)}^{h_2(y)} f(x,y)\,dx\,dy\]A region that is neither can be cut into pieces that are, and the integrals added.
If \(m \le f \le M\) on \(D\):
\[m\,\text{Area}(D) \le \iint_D f\,dA \le M\,\text{Area}(D)\]How to work it
- Sketch the region and find where its boundary curves intersect.
- Decide: vertical slices (Type I, \(dy\,dx\)) if every vertical line enters through one curve and leaves through one curve; otherwise horizontal slices (Type II).
- Outer limits are the constant extremes of the outer variable; inner limits are the entering and leaving curves solved for the inner variable.
- Integrate inside out. The inner result must contain only the outer variable.
- What the answer should look like. The region described by inequalities (constants for the outer variable, curves for the inner), the iterated integral with those limits, and a number; a volume must come out positive.
\(\displaystyle\iint_D (x + 2y)\,dA\), where \(D\) is bounded by \(y = x^2\) and \(y = 2x\). The curves meet where \(x^2 = 2x\): \(x = 0\) and \(x = 2\). For \(0 \le x \le 2\), the line is on top: \(x^2 \le y \le 2x\).
\[\int_0^2\!\!\int_{x^2}^{2x} (x + 2y)\,dy\,dx = \int_0^2 \left[xy + y^2\right]_{y=x^2}^{y=2x}dx\]Substitute the top curve then the bottom curve for \(y\): \(\left(2x^2 + 4x^2\right) - \left(x^3 + x^4\right) = 6x^2 - x^3 - x^4\).
\[= \int_0^2 \left(6x^2 - x^3 - x^4\right)dx\] \[= \left[2x^3 - \frac{x^4}{4} - \frac{x^5}{5}\right]_0^2 = 16 - 4 - \frac{32}{5} = \frac{28}{5}\]The same region as Type II: solve both curves for \(x\), giving \(x = y/2\) (the line, on the left) and \(x = \sqrt y\) (the parabola, on the right) for \(0 \le y \le 4\). So the integral is also \(\int_0^4\!\int_{y/2}^{\sqrt y}(x + 2y)\,dx\,dy\), and it must give the same \(\frac{28}{5}\).
Volume of the tetrahedron under \(z = 6 - 2x - 3y\) in the first octant. The plane meets \(z = 0\) along \(2x + 3y = 6\), so \(D\) is the triangle \(0 \le x \le 3\), \(0 \le y \le 2 - \tfrac23 x\).
\[V = \int_0^3\!\!\int_0^{2 - 2x/3}(6 - 2x - 3y)\,dy\,dx = \int_0^3\left[(6 - 2x)y - \frac{3y^2}{2}\right]_{0}^{2 - 2x/3}dx\]With \(u = 2 - \tfrac23 x\) the top limit, \(6 - 2x = 3u\), so the bracket is \(3u^2 - \tfrac32 u^2 = \tfrac32 u^2 = \tfrac32\left(2 - \tfrac23 x\right)^2\).
\[V = \frac32\int_0^3\left(2 - \tfrac23 x\right)^2 dx = \frac32\left[-\frac{\left(2 - \tfrac23 x\right)^3}{2}\right]_0^3 = \frac32\cdot\frac{8}{2} = 6\]Check: a tetrahedron with legs \(3, 2, 6\) along the axes has volume \(\tfrac16(3)(2)(6) = 6\).
Watch out. Outer limits are always numbers; inner limits may involve only the outer variable. A limit like \(\int_0^{2x}\!\int_0^2 \ldots\,dx\,dy\) is meaningless. If the top or bottom curve changes partway across, split the region.
Practice: problems 55, 56 in the practice set (last group in the contents).
Changing the order of integration
Unit 5 · Multiple integrals
Key idea
Sometimes the inner integral cannot be done in the given order (\(e^{y^2}\), \(\sin(x^2)\), \(\frac{\sin x}{x}\) have no elementary antiderivatives), or the region is simply easier to describe the other way. Reversing the order means redescribing the same region with the other variable on the outside.
The limits of an iterated integral are a description of the region. \(\int_0^1\!\int_x^1 f\,dy\,dx\) says: \(x\) runs from 0 to 1, and for each \(x\), \(y\) runs from the line \(y = x\) up to \(y = 1\). Sketch those curves and shade the region (a triangle with vertices \((0,0), (0,1), (1,1)\)).
Then look at the same triangle with horizontal slices: \(y\) runs from 0 to 1, and for each \(y\), \(x\) runs from 0 to the line \(x = y\). So the integral is also \(\int_0^1\!\int_0^y f\,dx\,dy\).
The integrand is untouched; only the limits change.
- Impossible inner integral \(\int e^{y^2}dy\), \(\int \sin(x^2)\,dx\), \(\int \cos(y^3)\,dy\), \(\int \frac{\sin x}{x}dx\), \(\int \sqrt{x^3 + 1}\,dx\). Reversing usually produces exactly the factor needed for a substitution.
- Region description one order needs two integrals, the other needs one.
- Easier algebra the entering/leaving curves are simpler to solve for one variable than the other.
Over a rectangle reversing is trivial (swap the pairs of constant limits). Over anything else, never swap limits mechanically.
How to work it
- From the given limits, write the inequalities describing the region and sketch it, labelling every boundary curve and intersection point.
- Redescribe the region with the other variable on the outside: find its constant range, then the entering and leaving curves solved for the new inner variable.
- Rewrite the integral with the new limits and the same integrand. Split into two integrals if the new description needs it.
- Evaluate. Check the two orders agree on a simple integrand such as \(f = 1\) (both must give the area).
- What the answer should look like. A sketch of the region, the new inequalities, the rewritten integral with the same integrand, and a value; typical answers involve \(e\), \(\cos 1\) or \(\sin 1\) rather than clean fractions.
The inner integral has no elementary antiderivative. The region is \(0 \le x \le 1\), \(x \le y \le 1\), the triangle above \(y = x\). Horizontally: \(0 \le y \le 1\), \(0 \le x \le y\).
\[= \int_0^1\!\!\int_0^y e^{y^2}\,dx\,dy = \int_0^1 y\,e^{y^2}\,dy = \left[\frac{e^{y^2}}{2}\right]_0^1\] \[= \frac{e - 1}{2}\]Area check: with \(f = 1\) the original order gives \(\int_0^1 (1 - x)\,dx = \tfrac12\) and the reversed order gives \(\int_0^1 y\,dy = \tfrac12\). The limits describe the same triangle.
\(\displaystyle\int_0^4\!\int_{\sqrt{x}}^{2}\frac{1}{y^3 + 1}\,dy\,dx\): region \(0 \le x \le 4\), \(\sqrt{x} \le y \le 2\). Sketch: the curve \(y = \sqrt x\) is \(x = y^2\), and the region is above it and below \(y = 2\). Horizontal slices run from \(x = 0\) to \(x = y^2\), so the region is \(0 \le y \le 2\), \(0 \le x \le y^2\). Reversed, the inner integral is trivial and leaves the factor \(y^2\):
\[\int_0^2\!\!\int_0^{y^2}\frac{1}{y^3 + 1}\,dx\,dy = \int_0^2\frac{y^2}{y^3+1}\,dy = \left[\tfrac13\ln(y^3 + 1)\right]_0^2 = \tfrac13\ln 9 = \tfrac23\ln 3\]using \(u = y^3 + 1\), \(du = 3y^2\,dy\).
Watch out. The region does not change, so its area does not change: if \(f = 1\) gives different answers in the two orders, the new limits are wrong. The most common slip is keeping a function of the inner variable in the outer limits.
Practice: problems 57, 58 in the practice set (last group in the contents).
Double integrals in polar coordinates
Unit 5 · Multiple integrals
Key idea
Circles, disks, annuli and anything containing \(x^2 + y^2\) are awkward in rectangular coordinates and easy in polar coordinates. The price is a factor of \(r\) in the area element: a polar "rectangle" far from the origin is bigger than one near it.
for the polar rectangle \(a \le r \le b\), \(\alpha \le \theta \le \beta\) (with \(0 \le \beta - \alpha \le 2\pi\)). The extra \(r\) comes from the area of a polar rectangle: \(\Delta A = \frac12(r_2^2 - r_1^2)\Delta\theta = \bar r\,\Delta r\,\Delta\theta\).
General polar region \(\alpha \le \theta \le \beta\), \(h_1(\theta) \le r \le h_2(\theta)\):
\[\iint_D f\,dA = \int_\alpha^\beta\!\!\int_{h_1(\theta)}^{h_2(\theta)} f(r\cos\theta, r\sin\theta)\,r\,dr\,d\theta\]- Circle centred at origin, radius \(a\) \(r = a\).
- Circle \((x - a)^2 + y^2 = a^2\) \(r = 2a\cos\theta\), \(-\tfrac{\pi}{2} \le \theta \le \tfrac{\pi}{2}\).
- Circle \(x^2 + (y - a)^2 = a^2\) \(r = 2a\sin\theta\), \(0 \le \theta \le \pi\).
- Line \(y = x\) \(\theta = \pi/4\). Line \(x = 1\): \(r = \sec\theta\).
- Cardioid \(r = 1 + \cos\theta\). Rose \(r = \cos 2\theta\).
Where \(r = 2a\cos\theta\) comes from: expand \((x - a)^2 + y^2 = a^2\) to \(x^2 + y^2 = 2ax\), then substitute \(x^2 + y^2 = r^2\) and \(x = r\cos\theta\) to get \(r^2 = 2ar\cos\theta\), and divide by \(r\). The same two substitutions convert any curve.
How to work it
- Sketch the region; confirm it is bounded by circles, rays or curves with simple polar equations.
- Describe it: the \(\theta\) range first, then \(r\) between two functions of \(\theta\).
- Replace \(x\), \(y\) in the integrand, simplify with \(x^2 + y^2 = r^2\), and write \(dA = r\,dr\,d\theta\).
- Integrate \(r\) first (inner), then \(\theta\). Products \(g(r)h(\theta)\) with constant limits split into two single integrals.
- What the answer should look like. The polar description of the region (\(\theta\) range, then \(r\) between two functions of \(\theta\)), an integral containing the factor \(r\), and an answer that is usually a multiple of \(\pi\).
\(\displaystyle\iint_D e^{-(x^2 + y^2)}\,dA\) over the disk \(x^2 + y^2 \le 4\):
The disk is \(0 \le \theta \le 2\pi\), \(0 \le r \le 2\); the integrand becomes \(e^{-r^2}\) and \(dA = r\,dr\,d\theta\). The extra \(r\) is exactly what the substitution \(u = r^2\), \(du = 2r\,dr\) needs:
\[\int_0^{2\pi}\!\!\int_0^2 e^{-r^2}\,r\,dr\,d\theta = 2\pi\left[-\frac{e^{-r^2}}{2}\right]_0^2 = 2\pi\cdot\frac{1 - e^{-4}}{2} = \pi\left(1 - e^{-4}\right)\](In rectangular coordinates \(\int e^{-x^2}dx\) has no elementary antiderivative, so this integral is impossible without polar coordinates.)
Volume under \(z = 9 - x^2 - y^2\) above the \(xy\)-plane (the paraboloid meets \(z = 0\) on the circle \(r = 3\)):
\[V = \int_0^{2\pi}\!\!\int_0^3 (9 - r^2)\,r\,dr\,d\theta = 2\pi\left[\frac{9r^2}{2} - \frac{r^4}{4}\right]_0^3\] \[= 2\pi\left(\frac{81}{2} - \frac{81}{4}\right) = 2\pi\cdot\frac{81}{4} = \frac{81\pi}{2}\]Sanity check: the volume must lie between that of the inscribed cone \(\tfrac13\pi(9)(9) = 27\pi\) and the enclosing cylinder \(\pi(9)(9) = 81\pi\); \(40.5\pi\) does.
Area inside \(r = 2\cos\theta\): \(\int_{-\pi/2}^{\pi/2}\tfrac12(2\cos\theta)^2\,d\theta = \int_{-\pi/2}^{\pi/2} 2\cos^2\theta\,d\theta = \int_{-\pi/2}^{\pi/2}(1 + \cos 2\theta)\,d\theta = \pi + 0 = \pi\), the area of a circle of radius 1, as it should be. Using \(0 \le \theta \le 2\pi\) here would give \(2\pi\), double counting the circle.
Watch out. Forgetting the \(r\) in \(dA = r\,dr\,d\theta\) is the classic mistake. Also, a circle not centred at the origin does not have constant \(r\); use \(r = 2a\cos\theta\) with the half-range of \(\theta\), not \(0\) to \(2\pi\) (which traces it twice).
Practice: problems 59, 60, 61 in the practice set (last group in the contents).
Triple integrals
Unit 5 · Multiple integrals
Key idea
A triple integral \(\iiint_E f\,dV\) sums \(f\) times tiny volumes over a solid \(E\). With \(f = 1\) it is the volume of \(E\); with \(f\) a density it is the mass. The mechanics are the same as for double integrals with one more layer: the innermost limits are surfaces, the next are curves, the outermost are numbers.
Over a box \(B = [a,b]\times[c,d]\times[r,s]\), in any of the six orders:
\[\iiint_B f\,dV = \int_r^s\!\!\int_c^d\!\!\int_a^b f(x,y,z)\,dx\,dy\,dz\]Type 1 solid (between two surfaces over a plane region): \(E = \{(x,y,z) : (x,y)\in D,\ u_1(x,y) \le z \le u_2(x,y)\}\).
\[\iiint_E f\,dV = \iint_D\left[\int_{u_1(x,y)}^{u_2(x,y)} f(x,y,z)\,dz\right]dA\]\(D\) is the projection (shadow) of \(E\) on the \(xy\)-plane, itself described as Type I or II. Projecting onto the \(xz\)- or \(yz\)-plane instead gives the other orders, with \(y\) or \(x\) as the inner variable. Choose the inner variable to be the one for which the solid has a single "floor" and a single "roof"; for the solid between \(y = x^2 + z^2\) and \(y = 4\), that is \(y\) (floor the paraboloid, roof the plane), with shadow the disk \(x^2 + z^2 \le 4\) in the \(xz\)-plane.
\(I_z\) is the moment of inertia about the \(z\)-axis; \(I_x\) and \(I_y\) use the squared distance to the other axes.
Fubini holds in three variables too: for a continuous integrand all six orders of integration agree.
How to work it
- Sketch the solid, or at least identify its top and bottom surfaces, and sketch its projection \(D\) onto a coordinate plane.
- Innermost limits: solve the bottom and top surfaces for the inner variable as functions of the other two.
- Describe \(D\) with the remaining two variables as for a double integral.
- Integrate from the inside out. Consider cylindrical or spherical coordinates if the solid has circular symmetry.
- What the answer should look like. Three nested integrals whose limits go from surfaces (inner) to curves (middle) to numbers (outer), then one number; for a volume or a mass it must be positive, and a centroid must lie inside the solid.
\(\displaystyle\iiint_E z\,dV\), where \(E\) is the tetrahedron bounded by the coordinate planes and \(x + y + z = 1\). Top surface \(z = 1 - x - y\), bottom \(z = 0\); projection \(D\): the triangle \(0 \le x \le 1\), \(0 \le y \le 1 - x\).
\[\int_0^1\!\!\int_0^{1-x}\!\!\int_0^{1-x-y} z\,dz\,dy\,dx = \int_0^1\!\!\int_0^{1-x}\frac{(1-x-y)^2}{2}\,dy\,dx\] \[= \int_0^1\left[-\frac{(1-x-y)^3}{6}\right]_{y=0}^{y=1-x}dx\] \[= \int_0^1\frac{(1-x)^3}{6}\,dx = \left[-\frac{(1-x)^4}{24}\right]_0^1 = \frac{1}{24}\]Reading the limits from inside out: \(z\) runs from the floor \(0\) to the roof \(1 - x - y\) (a surface); then \(y\) runs from \(0\) to the edge \(1 - x\) of the shadow (a curve); then \(x\) runs from \(0\) to \(1\) (numbers). The same solid in the order \(dx\,dy\,dz\) projects onto the \(yz\)-plane: \(0 \le z \le 1\), \(0 \le y \le 1 - z\), \(0 \le x \le 1 - y - z\), and the answer is again \(\frac1{24}\).
Volume check with \(f = 1\): \(\int_0^1\!\int_0^{1-x}(1 - x - y)\,dy\,dx = \int_0^1\frac{(1-x)^2}{2}dx = \frac16\), the volume of this tetrahedron. So \(\bar z = \frac{1/24}{1/6} = \frac14\), and by symmetry the centroid is \((\tfrac14, \tfrac14, \tfrac14)\).
Watch out. The inner limits are surfaces (functions of two variables), the middle limits are curves (functions of one variable), the outer limits are constants. If your middle limits still contain the inner variable, the order of the differentials does not match the limits.
Practice: problems 62, 63, 64 in the practice set (last group in the contents).
Cylindrical and spherical coordinates
Unit 5 · Multiple integrals
Key idea
Cylindrical coordinates are polar coordinates with \(z\) attached: ideal for cylinders, cones and paraboloids around the \(z\)-axis. Spherical coordinates locate a point by its distance from the origin and two angles: ideal for spheres and cones through the origin. Each has its own volume element.
where the \(z\)-limits \(u_1, u_2\) are the bottom and top surfaces written in terms of \(r\) and \(\theta\).
- Cylinder \(x^2 + y^2 = a^2\) \(r = a\).
- Cone \(z = \sqrt{x^2 + y^2}\) \(z = r\).
- Paraboloid \(z = x^2 + y^2\) \(z = r^2\).
- Sphere \(x^2 + y^2 + z^2 = a^2\) \(z = \pm\sqrt{a^2 - r^2}\).
\(\varphi\) is measured down from the positive \(z\)-axis; \(\theta\) is the same angle as in cylindrical coordinates.
\[dV = \rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta\]- Sphere radius \(a\) \(\rho = a\). Upper hemisphere: \(0 \le \varphi \le \pi/2\).
- Cone \(z = \sqrt{x^2+y^2}\) \(\varphi = \pi/4\). Cone \(z = \sqrt{3}\sqrt{x^2+y^2}\): \(\varphi = \pi/6\).
- Plane \(z = 0\) \(\varphi = \pi/2\). Sphere \(x^2 + y^2 + z^2 = 2z\): \(\rho = 2\cos\varphi\).
- Convert \(r = \rho\sin\varphi\), \(z = \rho\cos\varphi\), \(x^2 + y^2 = \rho^2\sin^2\varphi\).
How to work it
- Cylindrical when the solid is bounded by surfaces of the form \(r = \ldots\) or \(z = g(r)\); spherical when it is bounded by spheres centred at the origin and cones with vertex at the origin.
- Convert every boundary surface and the integrand; \(x^2 + y^2\) becomes \(r^2\) or \(\rho^2\sin^2\varphi\).
- Find the ranges: \(\theta\) from the sweep around the axis, then \(r\) (or \(\varphi\)), then the inner variable between two surfaces.
- Insert the correct volume element (\(r\) or \(\rho^2\sin\varphi\)) and integrate; separable integrands split into products of single integrals.
- What the answer should look like. The solid described in the new coordinates with every limit stated, the integrand and volume element both converted, and a number that is typically a multiple of \(\pi\); compare it with a simple enclosing or inscribed shape.
Cylindrical. Volume inside the cylinder \(x^2 + y^2 = 4\), above \(z = 0\) and below the paraboloid \(z = x^2 + y^2\):
The cylinder becomes \(r = 2\), the paraboloid \(z = r^2\), so \(z\) runs from \(0\) up to \(r^2\), then \(r\) from \(0\) to \(2\), then \(\theta\) around once. The inner integral is the height \(r^2\), and the volume element supplies the extra \(r\):
\[V = \int_0^{2\pi}\!\!\int_0^2\!\!\int_0^{r^2} r\,dz\,dr\,d\theta = 2\pi\int_0^2 r^2\cdot r\,dr = 2\pi\left[\frac{r^4}{4}\right]_0^2 = 2\pi\cdot 4 = 8\pi\]Check: this is half the enclosing cylinder's volume \(\pi(4)(4) = 16\pi\), the standard ratio for a paraboloid.
Spherical. Volume of the "ice-cream cone" inside the sphere \(\rho = 1\) and above the cone \(\varphi = \pi/3\):
"Above the cone \(\varphi = \pi/3\)" means the points whose angle from the positive \(z\)-axis is at most \(\pi/3\): \(0 \le \varphi \le \pi/3\). Inside the unit sphere: \(0 \le \rho \le 1\). The limits are all constants and the integrand is a product, so the triple integral splits into three single integrals:
\[V = \int_0^{2\pi}\!\!\int_0^{\pi/3}\!\!\int_0^1 \rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta = 2\pi\cdot\frac13\cdot\left[-\cos\varphi\right]_0^{\pi/3}\] \[= \frac{2\pi}{3}\left(-\tfrac12 + 1\right) = \frac{\pi}{3}\]Check: the full ball has volume \(\frac{4\pi}{3}\) and the cone cuts out the fraction \(\frac{1 - \cos(\pi/3)}{2} = \frac14\) of it, and indeed \(\frac14\cdot\frac{4\pi}{3} = \frac{\pi}{3}\).
\(\displaystyle\iiint_E z\,dV\) over the upper half-ball \(\rho \le a\), \(z \ge 0\): \(\int_0^{2\pi}\!\int_0^{\pi/2}\!\int_0^a (\rho\cos\varphi)\,\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta = 2\pi\cdot\frac{a^4}{4}\cdot\frac12 = \frac{\pi a^4}{4}\), so the centroid of a half-ball is at height \(\bar z = \frac{\pi a^4/4}{2\pi a^3/3} = \frac{3a}{8}\).
Watch out. \(\varphi\) runs from \(0\) to \(\pi\) only, measured from the positive \(z\)-axis; \(\theta\) does the full circle. Physics texts swap the letters \(\theta\) and \(\varphi\), so check conventions. And never drop the \(\rho^2\sin\varphi\): the volume element is not \(d\rho\,d\varphi\,d\theta\).
Practice: problems 65, 66, 67 in the practice set (last group in the contents).
Change of variables and Jacobians
Unit 5 · Multiple integrals
Key idea
Polar, cylindrical and spherical coordinates are special cases of a general idea: substitute \(x = x(u,v)\), \(y = y(u,v)\) to straighten out an awkward region or integrand. The Jacobian is the factor that measures how the substitution stretches area, generalising the \(r\) in \(r\,dr\,d\theta\).
For a transformation \(T:(u,v)\mapsto(x,y)\),
\[\frac{\partial(x,y)}{\partial(u,v)} = \begin{vmatrix}\dfrac{\partial x}{\partial u} & \dfrac{\partial x}{\partial v}\\[10pt] \dfrac{\partial y}{\partial u} & \dfrac{\partial y}{\partial v}\end{vmatrix} = \frac{\partial x}{\partial u}\frac{\partial y}{\partial v} - \frac{\partial x}{\partial v}\frac{\partial y}{\partial u}\]A small \(du\times dv\) rectangle in the \(uv\)-plane maps to a small parallelogram in the \(xy\)-plane of area \(\left|\frac{\partial(x,y)}{\partial(u,v)}\right|du\,dv\).
\[\text{Polar: } \frac{\partial(x,y)}{\partial(r,\theta)} = \begin{vmatrix}\cos\theta & -r\sin\theta\\ \sin\theta & r\cos\theta\end{vmatrix} = r\]Three variables: \(\dfrac{\partial(x,y,z)}{\partial(u,v,w)}\) is the \(3\times 3\) determinant of partials; for spherical coordinates it equals \(\rho^2\sin\varphi\).
where \(T\) maps the region \(S\) in the \(uv\)-plane one-to-one onto \(R\) (except possibly on boundaries) and has continuous partials.
\[\iiint_R f\,dV = \iiint_S f\big(x(u,v,w),\ y(u,v,w),\ z(u,v,w)\big)\,|J|\,du\,dv\,dw\] \[J\] \[= \frac{\partial(x,y,z)}{\partial(u,v,w)} \quad\text{(the } 3\times 3 \text{ determinant of partials)}\] \[\text{Inverse relation: } \frac{\partial(x,y)}{\partial(u,v)} = \left(\frac{\partial(u,v)}{\partial(x,y)}\right)^{-1}\]The inverse relation lets you compute the Jacobian from \(u = u(x,y)\), \(v = v(x,y)\) when solving for \(x, y\) is awkward. For \(u = x + y\), \(v = x - y\): \(\dfrac{\partial(u,v)}{\partial(x,y)} = \begin{vmatrix}1 & 1\\ 1 & -1\end{vmatrix} = -2\), so \(\dfrac{\partial(x,y)}{\partial(u,v)} = -\tfrac12\) and \(dA = \tfrac12\,du\,dv\), matching the direct computation in the example below.
How to work it
- Choose \(u, v\) from the region's boundary (e.g. \(u = x + y\), \(v = x - y\) for a region bounded by such lines) or from the integrand.
- Solve for \(x, y\) in terms of \(u, v\) and compute the Jacobian; take its absolute value.
- Map each boundary curve of \(R\) to find \(S\). Lines usually go to lines; the region \(S\) should be a rectangle or something simpler.
- Rewrite the integrand and integrate over \(S\).
- What the answer should look like. The substitution written both ways (\(x, y\) in terms of \(u, v\) and the boundary curves in terms of \(u, v\)), the Jacobian with its absolute value, a sketch or description of \(S\), and a number.
\(\displaystyle\iint_R e^{(x+y)/(x-y)}\,dA\), where \(R\) is the trapezoid with vertices \((1,0), (2,0), (0,-2), (0,-1)\).
Let \(u = x + y\), \(v = x - y\), so \(x = \tfrac12(u + v)\), \(y = \tfrac12(u - v)\) and
\[\frac{\partial(x,y)}{\partial(u,v)} = \begin{vmatrix}\tfrac12 & \tfrac12\\ \tfrac12 & -\tfrac12\end{vmatrix} = -\frac12\] \[\left|\frac{\partial(x,y)}{\partial(u,v)}\right| = \frac12\]Boundaries: \(y = 0 \Rightarrow u = v\); \(x = 0 \Rightarrow u = -v\); \(x - y = 1 \Rightarrow v = 1\); \(x - y = 2 \Rightarrow v = 2\). The vertices map to \((1,0)\to(u,v) = (1,1)\), \((2,0)\to(2,2)\), \((0,-2)\to(-2,2)\), \((0,-1)\to(-1,1)\). So \(S\): \(1 \le v \le 2\), \(-v \le u \le v\), a region with straight horizontal top and bottom, which is why \(v\) goes outside.
The integrand \(e^{(x+y)/(x-y)}\) becomes \(e^{u/v}\), and \(dA = \left|\frac{\partial(x,y)}{\partial(u,v)}\right|du\,dv = \frac12\,du\,dv\). In the inner integral \(v\) is a constant, so \(\int e^{u/v}\,du = v\,e^{u/v}\):
\[\int_1^2\!\!\int_{-v}^{v} e^{u/v}\cdot\frac12\,du\,dv = \int_1^2 \frac{v}{2}\left[e^{u/v}\right]_{-v}^{v}dv = \int_1^2 \frac{v}{2}\left(e - e^{-1}\right)dv\] \[= \frac{e - e^{-1}}{2}\int_1^2 v\,dv = \frac{e - e^{-1}}{2}\cdot\frac32 = \frac34\left(e - \frac1e\right) \approx 1.76\]Without the substitution the integrand cannot be integrated in closed form in either order.
Watch out. Use the absolute value of the Jacobian, and make sure it is \(\partial(x,y)/\partial(u,v)\), the derivatives of the old variables with respect to the new ones. If you computed \(\partial(u,v)/\partial(x,y)\) instead, take its reciprocal.
Practice: problem 68 in the practice set (last group in the contents).
Applications: volume, mass, and center of mass
Unit 5 · Multiple integrals
Key idea
Every quantity that accumulates over a region is a multiple integral: the volume between two surfaces, the mass of a plate or solid with variable density, the balance point (centre of mass), and the resistance to rotation (moment of inertia). Set up the integrand as "density of the quantity times \(dA\) or \(dV\)".
Total charge, population or probability all follow the same pattern with the appropriate density. For a joint probability density \(f(x,y)\), \(P((X,Y)\in D) = \iint_D f\,dA\) and \(\iint_{\mathbb{R}^2} f\,dA = 1\).
\(M_x\) is the moment about the \(x\)-axis, so it weights by the distance \(y\) from that axis. For a solid, \(\bar x = \frac{1}{m}\iiint x\rho\,dV\) and similarly for \(\bar y, \bar z\).
\[I_x = \iint_D y^2\rho\,dA\] \[I_y = \iint_D x^2\rho\,dA\] \[I_0 = \iint_D (x^2 + y^2)\rho\,dA = I_x + I_y\]With constant density the centre of mass is the centroid, a purely geometric point: \(\bar x = \frac{1}{A}\iint_D x\,dA\). Use symmetry: a region symmetric about the \(y\)-axis has \(\bar x = 0\).
How to work it
- Sketch \(D\) and describe it as Type I or II (or in polar coordinates).
- Compute the mass \(m = \iint_D \rho\,dA\).
- Compute \(M_y = \iint_D x\rho\,dA\) and \(M_x = \iint_D y\rho\,dA\), using symmetry to skip any that must be zero.
- Divide: \(\bar x = M_y/m\), \(\bar y = M_x/m\). Check that the point lies inside the convex hull of \(D\) and on any axis of symmetry.
- What the answer should look like. The mass as a number (with the density constant \(K\) carried along if it is unspecified), and the centre of mass as an ordered pair of fractions, independent of \(K\); a volume or a moment of inertia is a single positive number.
Lamina on the triangle with vertices \((0,0), (1,0), (0,2)\), density \(\rho(x,y) = 1 + 3x + y\). \(D\): \(0 \le x \le 1\), \(0 \le y \le 2 - 2x\).
\[m = \int_0^1\!\!\int_0^{2-2x}(1 + 3x + y)\,dy\,dx = \int_0^1\left[(1 + 3x)y + \frac{y^2}{2}\right]_0^{2-2x}dx\]The bracket is \((1 + 3x)(2 - 2x) + \tfrac12(2 - 2x)^2 = (2 - 2x)\big[(1 + 3x) + (1 - x)\big] = (2 - 2x)(2 + 2x) = 4 - 4x^2\).
\[m = \int_0^1\left(4 - 4x^2\right)dx = 4 - \frac43 = \frac83\] \[M_y = \int_0^1\!\!\int_0^{2-2x} x(1 + 3x + y)\,dy\,dx = \int_0^1 x(4 - 4x^2)\,dx\] \[= \left[2x^2 - x^4\right]_0^1 = 2 - 1 = 1\](The factor \(x\) is constant during the inner \(dy\) integration, so the inner result is just \(x\) times the one found for \(m\).)
\[\bar x = \frac{1}{8/3} = \frac38\] \[M_x = \int_0^1\!\!\int_0^{2-2x} y(1 + 3x + y)\,dy\,dx = \int_0^1\left[(1 + 3x)\frac{y^2}{2} + \frac{y^3}{3}\right]_0^{2-2x}dx\] \[= \int_0^1\left[2(1 + 3x)(1 - x)^2 + \tfrac83(1 - x)^3\right]dx = \frac{11}{6}\](expand, or integrate the two pieces separately: the first gives \(\tfrac76\), the second \(\tfrac23\)).
\[\bar y = \frac{11/6}{8/3} = \frac{11}{16}\]Centre of mass \((\tfrac38, \tfrac{11}{16})\). The uniform triangle's centroid is \((\tfrac13, \tfrac23)\); the extra density toward larger \(x\) pulls \(\bar x\) right and the density in \(y\) pulls \(\bar y\) up slightly.
Volume between \(z = x^2 + y^2\) (bottom) and \(z = 8 - x^2 - y^2\) (top): they meet where \(r^2 = 8 - r^2\), i.e. on \(r = 2\), and the top is above the bottom inside that circle. Top minus bottom is \(8 - 2r^2\), so \(V = \int_0^{2\pi}\!\int_0^2 (8 - 2r^2)\,r\,dr\,d\theta = 2\pi\left[4r^2 - \tfrac{r^4}{2}\right]_0^2 = 2\pi(16 - 8) = 16\pi\).
Watch out. \(M_x\) uses \(y\) and feeds \(\bar y\); \(M_y\) uses \(x\) and feeds \(\bar x\). For a volume between surfaces, confirm which surface is on top over the whole region \(D\); if they cross, split \(D\) or you will subtract volume.
Practice: problem 69 in the practice set (last group in the contents).
Vector fields
Unit 6 · Vector fields and line integrals
Key idea
A vector field attaches a vector to every point of a region: wind velocity at each point of a weather map, the force of gravity at each point of space, the gradient of a temperature function. Line integrals, flux, curl and divergence all describe how such a field behaves.
To sketch, pick a grid of points, compute \(\mathbf{F}\) at each, and draw the arrow starting at the point (shrink all arrows by the same factor if they are too long).
- Radial \(\mathbf{F} = {\langle x, y\rangle}\): arrows point away from the origin, longer farther out.
- Rotational \(\mathbf{F} = {\langle -y, x\rangle}\): tangent to circles, counterclockwise, length \(r\).
- Constant \(\mathbf{F} = {\langle 1, 2\rangle}\): parallel arrows everywhere.
- Inverse square \(\mathbf{F} = -\dfrac{mMG}{|\mathbf{r}|^3}\mathbf{r}\): gravity, pointing toward the origin.
A field of the form \(\mathbf{F} = \nabla f\) is a gradient field or conservative field, and \(f\) is a potential function for it. Gradient vectors are perpendicular to the level curves of \(f\) and point toward increasing \(f\), so a gradient field drawn over a contour map crosses every contour at right angles.
Not every field is a gradient field; \({\langle -y, x\rangle}\) is not. The tests are in the Conservative fields tab.
How to work it
- Compute \(\mathbf{F}\) at a handful of points, especially on the axes and at symmetric locations.
- Notice patterns: does the field point toward or away from the origin, circulate, or stay parallel?
- Draw representative arrows with lengths in proportion (scaled down uniformly).
- For a gradient field, sketch a few level curves of \(f\) first and draw the arrows perpendicular to them, toward larger \(f\).
- What the answer should look like. A description in words ("radial outward, growing with distance", "counterclockwise rotation"), a sketch with a handful of correctly placed arrows, and, for flow lines, a family of curves \(F(x,y) = C\) obtained by solving \(dy/dx = Q/P\).
\(f(x,y) = x^2 y - y^3\): \(\nabla f = {\langle 2xy,\ x^2 - 3y^2\rangle}\). At \((1,1)\) the arrow is \({\langle 2, -2\rangle}\); at \((0,1)\) it is \({\langle 0, -3\rangle}\); on the \(x\)-axis it is \({\langle 0, x^2\rangle}\), straight up. Each arrow is perpendicular to the level curve \(x^2y - y^3 = k\) through its base point.
\(\mathbf{F}(x,y) = {\langle -y, x\rangle}\): at \((1,0)\) the arrow is \({\langle 0,1\rangle}\), at \((0,1)\) it is \({\langle -1, 0\rangle}\), at \((-1,0)\) it is \({\langle 0,-1\rangle}\). Every arrow is perpendicular to the position vector (\({\langle -y,x\rangle}\cdot{\langle x,y\rangle} = 0\)) with length \(\sqrt{x^2+y^2}\): rigid counterclockwise rotation.
Flow lines of \(\mathbf{F}\) (curves whose tangent at each point is \(\mathbf{F}\)) satisfy \(\frac{dy}{dx} = \frac{Q}{P} = \frac{x}{-y}\). Separate: \(y\,dy = -x\,dx\), so \(\tfrac12 y^2 = -\tfrac12 x^2 + C\), giving circles \(x^2 + y^2 = C\), consistent with the picture of rotation. For the gradient field above, flow lines run perpendicular to the level curves of \(f\), uphill.
Watch out. A vector field is not a curve or a surface: it is an assignment of arrows. Drawing \(\mathbf{F}\) at a point means starting the arrow at that point. \(\mathbf{F}(x,y)\) and the position vector \({\langle x, y\rangle}\) are different objects unless \(\mathbf{F}\) happens to be the radial field.
Practice: problems 70, 71 in the practice set (last group in the contents).
Scalar line integrals
Unit 6 · Vector fields and line integrals
Key idea
A line integral of a scalar function integrates \(f\) along a curve, weighting by arc length. If \(f\) is the linear density of a wire shaped like \(C\), \(\int_C f\,ds\) is the mass of the wire. If \(f = 1\) it is the length of \(C\).
For a smooth curve \(C\) parametrized by \(\mathbf{r}(t)\), \(a \le t \le b\):
\[\int_C f\,ds = \lim_{n\to\infty}\sum_{i=1}^{n} f(x_i^*, y_i^*)\,\Delta s_i\] \[= \int_a^b f\big(\mathbf{r}(t)\big)\,|\mathbf{r}'(t)|\,dt\] \[ds = |\mathbf{r}'(t)|\,dt = \sqrt{\left(\frac{dx}{dt}\right)^2 + \left(\frac{dy}{dt}\right)^2}\,dt\]In space add \((dz/dt)^2\) under the root.
The value does not depend on the parametrization or on the direction of travel: arc length is the same either way.
For a piecewise-smooth curve \(C = C_1 \cup C_2 \cup \cdots\), integrate over each piece and add.
These do change sign when the curve is reversed. They usually appear combined, \(\int_C P\,dx + Q\,dy\), which is a vector line integral in disguise (next tab).
\[\text{Mass } m = \int_C \rho\,ds\] \[\bar x = \frac{1}{m}\int_C x\rho\,ds\] \[\bar y = \frac{1}{m}\int_C y\rho\,ds\]Parametrizations to keep handy: segment from \(\mathbf{r}_0\) to \(\mathbf{r}_1\): \((1-t)\mathbf{r}_0 + t\mathbf{r}_1\), \(0 \le t \le 1\); circle: \({\langle a\cos t, a\sin t\rangle}\); graph \(y = g(x)\): \({\langle t, g(t)\rangle}\) with \(ds = \sqrt{1 + g'(t)^2}\,dt\).
How to work it
- Parametrize \(C\) (each piece separately if needed) and state the \(t\)-interval.
- Compute \(\mathbf{r}'(t)\) and \(|\mathbf{r}'(t)|\); simplify.
- Substitute \(x(t), y(t), z(t)\) into \(f\) and multiply by \(|\mathbf{r}'(t)|\).
- Integrate over \([a, b]\) and add the pieces.
- What the answer should look like. A single number, non-negative when \(f \ge 0\), with the parametrization, \(|\mathbf{r}'(t)|\) and the one-variable integral all displayed; a mass carries units if the density does.
\(\displaystyle\int_C (2 + x^2 y)\,ds\), \(C\) the upper half of the unit circle. \(\mathbf{r}(t) = {\langle\cos t, \sin t\rangle}\), \(0 \le t \le \pi\), \(|\mathbf{r}'(t)| = 1\).
Here \(\mathbf{r}'(t) = {\langle -\sin t, \cos t\rangle}\), so \(|\mathbf{r}'(t)| = \sqrt{\sin^2 t + \cos^2 t} = 1\) and \(ds = dt\). Substituting \(x = \cos t\), \(y = \sin t\):
\[\int_0^\pi\left(2 + \cos^2 t\,\sin t\right)dt = 2\pi + \left[-\frac{\cos^3 t}{3}\right]_0^\pi = 2\pi + \left(\frac13 + \frac13\right) = 2\pi + \frac23\](the second antiderivative comes from \(u = \cos t\), \(du = -\sin t\,dt\); at \(t = \pi\), \(-\cos^3\pi/3 = \tfrac13\), and at \(t = 0\) it is \(-\tfrac13\)).
Mass of a wire along the helix \(\mathbf{r}(t) = {\langle\cos t, \sin t, t\rangle}\), \(0 \le t \le 2\pi\), with density \(\rho = z\): \(\mathbf{r}' = {\langle -\sin t, \cos t, 1\rangle}\), \(|\mathbf{r}'| = \sqrt{\sin^2 t + \cos^2 t + 1} = \sqrt2\), and on the curve \(z = t\), so \(m = \int_0^{2\pi} t\sqrt2\,dt = \sqrt2\cdot\frac{(2\pi)^2}{2} = 2\sqrt2\,\pi^2\).
Along the segment from \((0,0)\) to \((1,2)\), \(\int_C xy\,ds\): \(\mathbf{r} = {\langle t, 2t\rangle}\), \(0 \le t \le 1\), \(|\mathbf{r}'| = |{\langle 1, 2\rangle}| = \sqrt5\), and \(xy = t\cdot 2t = 2t^2\), so \(\int_0^1 2t^2\sqrt5\,dt = \tfrac{2\sqrt5}{3}\). Traversing the segment the other way, \(\mathbf{r} = {\langle 1 - t, 2 - 2t\rangle}\), gives the same value.
Watch out. \(ds\) always carries the factor \(|\mathbf{r}'(t)|\); writing \(\int f(\mathbf{r}(t))\,dt\) alone is wrong unless the curve happens to be traced at unit speed. And \(\int_C f\,ds\) is never negative for \(f \ge 0\), whichever way you go.
Practice: problems 72, 73, 74 in the practice set (last group in the contents).
Vector line integrals and work
Unit 6 · Vector fields and line integrals
Key idea
The line integral of a vector field along a curve adds up the component of the field along the direction of travel. Physically it is the work done by the force field \(\mathbf{F}\) on an object moving along \(C\). Unlike the scalar line integral, it depends on the direction the curve is traversed.
The last form shows the meaning: \({\mathbf{F}\cdot \mathbf{T}}\) is the tangential component of the field, integrated with respect to arc length. Where the field pushes along the curve the contribution is positive; against it, negative; perpendicular, zero.
\[\text{Reversing the curve: } \int_{-C}{\mathbf{F}\cdot d\mathbf{r}} = -\int_C {\mathbf{F}\cdot d\mathbf{r}}\]The value does not depend on the particular parametrization, only on the curve and its orientation.
for \(\mathbf{F} = {\langle P, Q, R\rangle}\) and \(d\mathbf{r} = {\langle dx, dy, dz\rangle}\).
\[W = \int_C {\mathbf{F}\cdot d\mathbf{r}}\]Writing \({\mathbf{F}\cdot \mathbf{r}}'(t)\,dt = P\,x'(t)\,dt + Q\,y'(t)\,dt + R\,z'(t)\,dt\) shows the two notations are identical.
Circulation: for a closed curve, \(\oint_C {\mathbf{F}\cdot d\mathbf{r}}\) measures the net tendency of the field to push around the loop. It is zero for every closed loop exactly when \(\mathbf{F}\) is conservative.
How to work it
- Parametrize \(C\) in the stated direction; check that \(\mathbf{r}(a)\) is the starting point.
- Compute \(\mathbf{r}'(t)\) and substitute the parametrization into \(\mathbf{F}\).
- Take the dot product \(\mathbf{F}(\mathbf{r}(t))\cdot\mathbf{r}'(t)\), a scalar function of \(t\).
- Integrate from \(a\) to \(b\). Before doing any of this, check whether \(\mathbf{F}\) is conservative: if so the fundamental theorem is faster.
- What the answer should look like. A single signed number (work can be negative), with the dot product \(\mathbf{F}(\mathbf{r}(t))\cdot\mathbf{r}'(t)\) written out as a scalar function of \(t\) before integrating; the orientation used should be stated.
\(\mathbf{F}(x,y) = {\langle x^2, -xy\rangle}\) along the quarter circle \(\mathbf{r}(t) = {\langle\cos t, \sin t\rangle}\), \(0 \le t \le \pi/2\), from \((1,0)\) to \((0,1)\).
\[\mathbf{F}(\mathbf{r}(t)) = {\langle\cos^2 t,\ -\cos t\sin t\rangle}\] \[\mathbf{r}'(t) = {\langle -\sin t,\ \cos t\rangle}\] \[{\mathbf{F}\cdot \mathbf{r}}' = -\cos^2 t\sin t - \cos^2 t\sin t = -2\cos^2 t\sin t\](Check the direction first: \(\mathbf{r}(0) = (1, 0)\) is the stated start and \(\mathbf{r}(\pi/2) = (0, 1)\) the end.) With \(u = \cos t\), \(du = -\sin t\,dt\), the antiderivative of \(-2\cos^2 t\sin t\) is \(\tfrac23\cos^3 t\):
\[W = \int_0^{\pi/2} -2\cos^2 t\sin t\,dt = \left[\frac{2\cos^3 t}{3}\right]_0^{\pi/2} = 0 - \frac23 = -\frac23\]Negative: on balance the field pushes against the motion. Traversed the other way (from \((0,1)\) to \((1,0)\)) the work is \(+\tfrac23\).
\(\int_C y\,dx + z\,dy + x\,dz\) along \(\mathbf{r} = {\langle t, t^2, t^3\rangle}\), \(0 \le t \le 1\). Here \(P = y\), \(Q = z\), \(R = x\), and \(dx = dt\), \(dy = 2t\,dt\), \(dz = 3t^2\,dt\). Substitute everything in terms of \(t\): \(\int_0^1 (t^2\cdot 1 + t^3\cdot 2t + t\cdot 3t^2)\,dt = \int_0^1 (t^2 + 2t^4 + 3t^3)\,dt = \tfrac13 + \tfrac25 + \tfrac34 = \tfrac{89}{60}\).
Watch out. Orientation matters: the same curve traversed backwards gives the negative. Also, \({\mathbf{F}\cdot d\mathbf{r}}\) is a dot product, a scalar; students sometimes integrate the components separately and report a vector, which is meaningless here.
Practice: problems 75, 76, 77 in the practice set (last group in the contents).
Conservative fields and potential functions
Unit 6 · Vector fields and line integrals
Key idea
A field is conservative when it is the gradient of some scalar function \(f\), its potential. Conservative fields are the ones where line integrals depend only on endpoints, so recognising them and finding \(f\) saves enormous amounts of work.
In the plane. If \(\mathbf{F} = {\langle P, Q\rangle}\) is conservative with \(P, Q\) having continuous partials, then
\[\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}\]Conversely, if \(P_y = Q_x\) on an open simply connected region (no holes), then \(\mathbf{F}\) is conservative there.
In space. \(\mathbf{F} = {\langle P, Q, R\rangle}\) with continuous partials on all of \(\mathbb{R}^3\) (or any simply connected region) is conservative exactly when
\[\operatorname{curl}\mathbf{F} = \nabla\times\mathbf{F} = \mathbf{0}\]that is, \(R_y = Q_z\), \(P_z = R_x\) and \(Q_x = P_y\).
Reason: \(P = f_x\), \(Q = f_y\) gives \(P_y = f_{xy} = f_{yx} = Q_x\) by Clairaut.
Want \(f\) with \(f_x = P\), \(f_y = Q\) (and \(f_z = R\)).
\[f(x,y) = \int P\,dx + g(y)\] \[\Rightarrow\ f_y = \frac{\partial}{\partial y}\!\int P\,dx + g'(y) = Q\] \[\Rightarrow\ g'(y) \text{, then } g(y)\]The "constant" of the first integration is a function of the remaining variables. In three variables repeat once more: after matching \(f_y = Q\) the leftover is \(h(z)\), fixed by \(f_z = R\).
If at the matching step \(g'(y)\) comes out depending on \(x\), the field is not conservative (or there is an arithmetic error). Potentials are unique up to an additive constant.
How to work it
- Check \(P_y = Q_x\) (plane) or \(\operatorname{curl}\mathbf{F} = \mathbf{0}\) (space). If it fails, stop: no potential exists.
- Integrate \(P\) with respect to \(x\); add \(g(y)\) (or \(g(y,z)\)).
- Differentiate the result with respect to \(y\), set equal to \(Q\), solve for \(g'\) and integrate.
- In space, differentiate with respect to \(z\), match \(R\), and finish. Verify by computing \(\nabla f\).
- What the answer should look like. Either "not conservative" with the failed equality shown (\(P_y = \ldots \ne Q_x = \ldots\)), or a potential \(f\) written explicitly, optionally "\(+ K\)", with the verification \(\nabla f = \mathbf{F}\) stated.
\(\mathbf{F} = {\langle 3 + 2xy,\ x^2 - 3y^2\rangle}\): \(P_y = 2x = Q_x\), so conservative on \(\mathbb{R}^2\).
\[f = \int (3 + 2xy)\,dx = 3x + x^2 y + g(y)\] \[f_y = x^2 + g'(y) = x^2 - 3y^2 \Rightarrow g'(y) = -3y^2,\ g = -y^3\] \[f(x,y) = 3x + x^2 y - y^3 \ (+K)\]Verify: \(f_x = 3 + 2xy = P\) and \(f_y = x^2 - 3y^2 = Q\). The constant \(K\) is arbitrary because only \(\nabla f\) is specified; take \(K = 0\). Note that \(g'(y)\) came out free of \(x\): if an \(x\) had survived, the test in step 1 would have failed.
\(\mathbf{F} = {\langle y^2 z^3,\ 2xyz^3,\ 3xy^2 z^2\rangle}\): \(\operatorname{curl}\mathbf{F} = {\langle 6xyz^2 - 6xyz^2,\ 3y^2z^2 - 3y^2z^2,\ 2yz^3 - 2yz^3\rangle} = \mathbf{0}\). (components: \(R_y - Q_z = 6xyz^2 - 6xyz^2\), \(P_z - R_x = 3y^2z^2 - 3y^2z^2\), \(Q_x - P_y = 2yz^3 - 2yz^3\).) Then \(f = \int y^2 z^3\,dx = xy^2z^3 + g(y,z)\), where the "constant" of integration may depend on both other variables; \(f_y = 2xyz^3 + g_y = 2xyz^3\) gives \(g_y = 0\), so \(g = h(z)\); \(f_z = 3xy^2z^2 + h'(z) = 3xy^2z^2\) gives \(h' = 0\). Potential \(f = xy^2 z^3\). Verify: \(\nabla f = {\langle y^2z^3, 2xyz^3, 3xy^2z^2\rangle} = \mathbf{F}\).
\(\mathbf{F} = {\langle x - y,\ x - 2\rangle}\): \(P_y = -1 \ne 1 = Q_x\). Not conservative.
Watch out. \(P_y = Q_x\) alone is not enough on a region with a hole. \(\mathbf{F} = \dfrac{{\langle -y, x\rangle}}{x^2 + y^2}\) passes the test everywhere except the origin, yet \(\oint {\mathbf{F}\cdot d\mathbf{r}} = 2\pi\) around the unit circle, so it has no potential on the punctured plane.
Practice: problems 77, 78, 79 in the practice set (last group in the contents).
Fundamental theorem for line integrals
Unit 6 · Vector fields and line integrals
Key idea
For a conservative field the line integral is just the change in the potential between the endpoints, exactly as \(\int_a^b F'(x)\,dx = F(b) - F(a)\) in one variable. No parametrization, no dot product: find \(f\), evaluate at the ends, subtract.
Let \(C\) be a smooth (or piecewise smooth) curve given by \(\mathbf{r}(t)\), \(a \le t \le b\), and let \(f\) be differentiable with \(\nabla f\) continuous on \(C\). Then
\[\int_C {\nabla f\cdot d\mathbf{r}} = f\big(\mathbf{r}(b)\big) - f\big(\mathbf{r}(a)\big)\]Proof in one line: \(\int_a^b \nabla f(\mathbf{r}(t))\cdot\mathbf{r}'(t)\,dt = \int_a^b \frac{d}{dt}f(\mathbf{r}(t))\,dt = f(\mathbf{r}(b)) - f(\mathbf{r}(a))\) by the chain rule.
Consequences: the integral of a conservative field is independent of path, and around any closed curve it is \(0\).
If \(\mathbf{F} = -\nabla V\) (force as minus the gradient of potential energy), the work done moving from \(A\) to \(B\) is \(W = V(A) - V(B)\), the loss of potential energy. Combined with \(W = \tfrac12 m|\mathbf{v}_B|^2 - \tfrac12 m|\mathbf{v}_A|^2\) this gives conservation of energy:
\[\tfrac12 m|\mathbf{v}_A|^2 + V(A) = \tfrac12 m|\mathbf{v}_B|^2 + V(B)\]That is where the word "conservative" comes from. Gravity and electrostatic forces are conservative; friction is not.
How to work it
- Verify that \(\mathbf{F}\) is conservative (\(P_y = Q_x\), or \(\operatorname{curl}\mathbf{F} = \mathbf{0}\)) on a region containing \(C\).
- Find a potential \(f\) with \(\nabla f = \mathbf{F}\).
- Find the endpoints \(\mathbf{r}(a)\) and \(\mathbf{r}(b)\) of \(C\). The path between them is irrelevant.
- Compute \(f(\text{end}) - f(\text{start})\).
- What the answer should look like. The potential \(f\), the two endpoints as coordinates, the two values of \(f\), and their difference, end minus start; the parametrization of the path should not appear beyond finding the endpoints.
\(\mathbf{F} = {\langle 3 + 2xy,\ x^2 - 3y^2\rangle}\) along \(\mathbf{r}(t) = {\langle e^t\sin t,\ e^t\cos t\rangle}\), \(0 \le t \le \pi\).
Direct computation would be miserable. First test: \(P_y = 2x\) and \(Q_x = 2x\) agree everywhere, so \(\mathbf{F}\) is conservative. Find \(f\): integrating \(f_x = 3 + 2xy\) in \(x\) gives \(f = 3x + x^2 y + g(y)\); then \(f_y = x^2 + g'(y)\) must equal \(x^2 - 3y^2\), so \(g'(y) = -3y^2\) and \(g = -y^3\). Thus \(f = 3x + x^2 y - y^3\).
Endpoints: \(\mathbf{r}(0) = (e^0\sin 0, e^0\cos 0) = (0, 1)\) and \(\mathbf{r}(\pi) = (e^{\pi}\sin\pi, e^{\pi}\cos\pi) = (0, -e^{\pi})\). Evaluate \(f\) at each: \(f(0, -e^{\pi}) = 0 + 0 - (-e^{\pi})^3 = e^{3\pi}\) and \(f(0, 1) = 0 + 0 - 1 = -1\).
\[\int_C {\mathbf{F}\cdot d\mathbf{r}} = f(0, -e^{\pi}) - f(0, 1) = e^{3\pi} - (-1)\] \[= e^{3\pi} + 1\]The order is end minus start; swapping them flips the sign, which corresponds to traversing \(C\) backwards.
Gravitational work: \(\mathbf{F} = -\dfrac{mMG}{|\mathbf{r}|^3}\mathbf{r} = \nabla\!\left(\dfrac{mMG}{|\mathbf{r}|}\right)\). Moving a mass from distance \(d_1\) to distance \(d_2\) from the centre does work \(mMG\left(\dfrac{1}{d_2} - \dfrac{1}{d_1}\right)\), whatever the route.
Watch out. The theorem applies only to conservative fields. Using it on \({\langle -y, x\rangle}\) because "the curve is closed, so the answer is 0" is wrong: that field is not a gradient, and the circulation around the unit circle is \(2\pi\). Test first.
Practice: problems 80, 81 in the practice set (last group in the contents).
Path independence
Unit 6 · Vector fields and line integrals
Key idea
Three statements about a continuous vector field on an open connected region turn out to be equivalent: line integrals depend only on endpoints, line integrals around closed curves vanish, and the field has a potential. Each gives a different way to recognise or disprove the others.
\(\int_C {\mathbf{F}\cdot d\mathbf{r}}\) is independent of path in \(D\) if it has the same value for every curve in \(D\) with the same initial and terminal points. On an open connected region \(D\):
\[\mathbf{F} \text{ conservative on } D\] \[\iff\ \int_C {\mathbf{F}\cdot d\mathbf{r}} \text{ is path independent in } D\] \[\iff\ \oint_C {\mathbf{F}\cdot d\mathbf{r}} = 0 \text{ for every closed } C \text{ in } D\]Path independent to closed-curve zero: a closed curve is two paths with the same endpoints traversed oppositely. Closed-curve zero to conservative: define \(f(x,y) = \int_{(a,b)}^{(x,y)}{\mathbf{F}\cdot d\mathbf{r}}\) along any path; path independence makes it well defined, and one checks \(\nabla f = \mathbf{F}\).
- Open contains no boundary points (every point has a disk around it inside \(D\)).
- Connected any two points can be joined by a path inside \(D\).
- Simply connected connected and every closed curve in \(D\) encloses only points of \(D\): no holes. The plane, a disk and a half-plane are; an annulus and the punctured plane are not.
\(P_y = Q_x\) implies conservative only on simply connected regions. On a region with a hole, the equivalences above still hold, but the partials test can give a false positive.
How to work it
- Test \(P_y = Q_x\) (or \(\operatorname{curl}\mathbf{F} = \mathbf{0}\)). If it fails anywhere in \(D\), the integral is path dependent.
- If it passes and \(D\) is simply connected, the integral is path independent; find \(f\) and use the fundamental theorem.
- If \(D\) has holes, compute \(\oint\) around one loop encircling each hole; a nonzero value proves path dependence.
- To disprove path independence concretely, exhibit two paths with the same endpoints and different integrals, or one closed curve with nonzero circulation.
- What the answer should look like. A yes or no with the reason: "yes, \(P_y = Q_x\) on the simply connected region ..., potential \(f = \ldots\)" or "no, around the unit circle the integral is \(2\pi\)", followed by the value of the integral if one was requested.
\(\mathbf{F} = {\langle 2xy, x^2\rangle}\): \(P_y = 2x = Q_x\) on all of \(\mathbb{R}^2\), so path independent, with potential \(f = x^2 y\). From \((0,0)\) to \((1,2)\) along any path the integral is \(f(1,2) - f(0,0) = 2\). Check along the segment \(\mathbf{r} = {\langle t, 2t\rangle}\), \(0 \le t \le 1\): there \(\mathbf{F} = {\langle 2t\cdot 2t, t^2\rangle} = {\langle 4t^2, t^2\rangle}\) and \(\mathbf{r}' = {\langle 1, 2\rangle}\), so \(\int_0^1 (4t^2\cdot 1 + t^2\cdot 2)\,dt = \int_0^1 6t^2\,dt = 2\). Along the parabola \(\mathbf{r} = {\langle t, 2t^2\rangle}\): \(\mathbf{F} = {\langle 4t^3, t^2\rangle}\), \(\mathbf{r}' = {\langle 1, 4t\rangle}\), and \(\int_0^1 (4t^3 + t^2\cdot 4t)\,dt = \int_0^1 8t^3\,dt = 2\). Same endpoints, same answer, as the theory predicts.
\(\mathbf{F} = {\langle -y, x\rangle}\): \(P_y = -1\), \(Q_x = 1\). Around the unit circle, \(\oint {\mathbf{F}\cdot d\mathbf{r}} = \int_0^{2\pi}(\sin^2 t + \cos^2 t)\,dt = 2\pi \ne 0\). Path dependent: from \((1,0)\) to \((-1,0)\) the upper semicircle \({\langle \cos t, \sin t\rangle}\), \(0 \le t \le \pi\), gives \(\int_0^\pi 1\,dt = \pi\), while the lower semicircle \({\langle \cos t, -\sin t\rangle}\), \(0 \le t \le \pi\), has \(\mathbf{F}\cdot\mathbf{r}' = (\sin t)(-\sin t) + (\cos t)(-\cos t) = -1\) and gives \(-\pi\). Their difference, \(2\pi\), is exactly the circulation around the full circle.
Watch out. One closed curve with zero circulation proves nothing (the field might still be non-conservative elsewhere); one closed curve with nonzero circulation proves path dependence. The logic is one-directional for a single test curve.
Practice: problems 82, 83 in the practice set (last group in the contents).
Green's theorem
Unit 6 · Vector fields and line integrals
Key idea
Green's theorem converts a line integral around a closed curve in the plane into a double integral over the region it encloses, and vice versa. It is the two-dimensional fundamental theorem of calculus: the boundary behaviour of \(\mathbf{F}\) is controlled by \(Q_x - P_y\) inside.
Let \(C\) be a positively oriented (counterclockwise), piecewise-smooth, simple closed curve in the plane and \(D\) the region it bounds. If \(P\) and \(Q\) have continuous partials on an open region containing \(D\), then
\[\oint_C P\,dx + Q\,dy = \iint_D\left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right)dA\]Positive orientation: as you walk along \(C\), the region \(D\) is on your left. For a region with holes, the outer boundary goes counterclockwise and each inner boundary clockwise; the theorem then holds for the total boundary.
If \(C\) is traversed clockwise, the line integral is the negative of the double integral.
(take \(P = 0, Q = x\); or \(P = -y, Q = 0\); or half of each). This is how a planimeter measures area and how to find the area inside a parametric curve.
\[\oint_C {\mathbf{F}\cdot d\mathbf{r}} = \iint_D (\operatorname{curl}\mathbf{F})\cdot\mathbf{k}\,dA\] \[\text{(tangential form)}\] \[\oint_C {\mathbf{F}\cdot \mathbf{n}}\,ds = \iint_D \operatorname{div}\mathbf{F}\,dA\] \[\text{(normal, or flux, form)}\]The tangential form generalises to Stokes' theorem; the normal form generalises to the divergence theorem.
How to work it
- Confirm \(C\) is closed and simple, note its orientation, and sketch \(D\).
- Identify \(P\) (the coefficient of \(dx\)) and \(Q\) (the coefficient of \(dy\)); compute \(Q_x - P_y\).
- Set up \(\iint_D (Q_x - P_y)\,dA\) in whichever coordinates suit \(D\) (polar for disks).
- Evaluate; if \(C\) was clockwise, negate the result. Use the theorem in reverse to compute a hard double integral as an easy line integral when that is simpler.
- What the answer should look like. \(P\), \(Q\) and \(Q_x - P_y\) identified explicitly, the double integral over \(D\) with its limits, and a signed number; when \(Q_x - P_y\) is a constant the answer is that constant times the area of \(D\).
\(\displaystyle\oint_C x^4\,dx + xy\,dy\), \(C\) the triangle \((0,0)\to(1,0)\to(0,1)\to(0,0)\) (counterclockwise). \(P = x^4\), \(Q = xy\), \(Q_x - P_y = y - 0 = y\).
\[\iint_D y\,dA = \int_0^1\!\!\int_0^{1-x} y\,dy\,dx = \int_0^1\frac{(1-x)^2}{2}dx = \left[-\frac{(1-x)^3}{6}\right]_0^1 = \frac16\]Direct check along the three edges: on \((0,0)\to(1,0)\), \(y = 0\) and \(dy = 0\), giving \(\int_0^1 x^4\,dx = \tfrac15\); on \((1,0)\to(0,1)\), \(x = 1 - t\), \(y = t\), \(dx = -dt\), \(dy = dt\), giving \(\int_0^1\big[-(1-t)^4 + (1-t)t\big]dt = -\tfrac15 + \tfrac16\); on \((0,1)\to(0,0)\), \(x = 0\) so \(P\,dx = 0\) and \(Q = 0\). Total \(\tfrac15 - \tfrac15 + \tfrac16 = \tfrac16\). Green's theorem replaced three parametrizations with one easy double integral.
\(\displaystyle\oint_C (3y - e^{\sin x})\,dx + (7x + \sqrt{y^4 + 1})\,dy\), \(C\) the circle \(x^2 + y^2 = 9\) counterclockwise. \(Q_x - P_y = 7 - 3 = 4\), so the integral is \(4\cdot\text{Area}(D) = 4\cdot 9\pi = 36\pi\). The unpleasant terms never had to be integrated.
Area of the ellipse \(x = a\cos t\), \(y = b\sin t\), \(0 \le t \le 2\pi\): here \(dx = -a\sin t\,dt\) and \(dy = b\cos t\,dt\), so \(x\,dy - y\,dx = ab\cos^2 t\,dt + ab\sin^2 t\,dt = ab\,dt\), and \(A = \tfrac12\int_0^{2\pi} ab\,dt = \pi ab\). With \(a = b = r\) this is \(\pi r^2\).
Watch out. Orientation first: clockwise flips the sign. The integrand is \(Q_x - P_y\), not \(P_x - Q_y\) and not \(P_y - Q_x\). And \(P, Q\) must be smooth throughout \(D\): the theorem does not apply directly to \({\langle -y, x\rangle}/(x^2+y^2)\) on a region containing the origin.
Practice: problems 84, 85 in the practice set (last group in the contents).
Curl and divergence
Unit 6 · Vector fields and line integrals
Key idea
Curl and divergence are the two derivatives of a vector field in space. The curl is a vector measuring the field's tendency to rotate about each axis; the divergence is a scalar measuring its tendency to spread out from a point. Both are written with the operator \(\nabla = {\langle \partial_x, \partial_y, \partial_z\rangle}\).
For \(\mathbf{F} = {\langle P, Q, R\rangle}\) with the needed partials:
\[\operatorname{curl}\mathbf{F} = \nabla\times\mathbf{F} = \begin{vmatrix}\mathbf{i} & \mathbf{j} & \mathbf{k}\\ \partial_x & \partial_y & \partial_z\\ P & Q & R\end{vmatrix} = \left\langle R_y - Q_z,\ \ P_z - R_x,\ \ Q_x - P_y\right\rangle\] \[\operatorname{div}\mathbf{F} = \nabla\cdot\mathbf{F} = P_x + Q_y + R_z\]For a plane field \({\langle P, Q\rangle}\), treat \(R = 0\) with no \(z\)-dependence: \(\operatorname{curl}\mathbf{F} = (Q_x - P_y)\,\mathbf{k}\) and \(\operatorname{div}\mathbf{F} = P_x + Q_y\), exactly the quantities in the two forms of Green's theorem.
- Irrotational \(\operatorname{curl}\mathbf{F} = \mathbf{0}\): a tiny paddle wheel placed in the flow does not spin. The curl vector is the axis of rotation (right-hand rule), with magnitude twice the angular speed.
- Incompressible \(\operatorname{div}\mathbf{F} = 0\): no net outflow from any small box. Positive divergence marks a source, negative a sink.
- Test for a curl if \(\operatorname{div}\mathbf{G} \ne 0\) then \(\mathbf{G}\) is not the curl of anything.
How to work it
- Write \(P, Q, R\) clearly, including any zero component.
- Divergence: differentiate each component with respect to its own variable and add.
- Curl: expand the symbolic determinant; the middle component is \(P_z - R_x\) (note the order).
- Simplify, then interpret: zero curl suggests a potential exists; zero divergence means volume-preserving flow.
- What the answer should look like. \(\operatorname{curl}\mathbf{F}\) as a vector of three functions (possibly \(\mathbf{0}\)) and \(\operatorname{div}\mathbf{F}\) as one scalar function; if asked, the conclusion "conservative" or "not conservative" and "incompressible" or not.
\(\mathbf{F}(x,y,z) = {\langle xz,\ xyz,\ -y^2\rangle}\).
\[\operatorname{curl}\mathbf{F}\] \[= \left\langle \partial_y(-y^2) - \partial_z(xyz),\ \ \partial_z(xz) - \partial_x(-y^2),\ \ \partial_x(xyz) - \partial_y(xz)\right\rangle\] \[= {\langle -2y - xy,\ \ x,\ \ yz\rangle}\] \[\operatorname{div}\mathbf{F} = \partial_x(xz) + \partial_y(xyz) + \partial_z(-y^2) = z + xz + 0\] \[= z(1 + x)\]Reading the curl formula: the first component pairs the other two variables and components (\(R_y - Q_z\)), and so on cyclically; the middle one is \(P_z - R_x\). Here \(\partial_y(-y^2) = -2y\), \(\partial_z(xyz) = xy\), \(\partial_z(xz) = x\), \(\partial_x(-y^2) = 0\), \(\partial_x(xyz) = yz\), \(\partial_y(xz) = 0\).
The curl is not zero, so \(\mathbf{F}\) is not conservative. Since \(\operatorname{div}\mathbf{F} \ne 0\), \(\mathbf{F}\) is not the curl of any field either, because \(\operatorname{div}(\operatorname{curl}\mathbf{G}) = 0\) for every \(\mathbf{G}\). Check with the field below: \(\operatorname{curl}\mathbf{G} = {\langle 0,0,2\rangle}\) has divergence \(0\).
\(\mathbf{G} = {\langle -y, x, 0\rangle}\) (rigid rotation about the \(z\)-axis): \(\operatorname{curl}\mathbf{G} = {\langle 0, 0, 1 - (-1)\rangle} = {\langle 0,0,2\rangle}\), twice the angular velocity, and \(\operatorname{div}\mathbf{G} = 0\): it spins without compressing.
Radial field \(\mathbf{H} = {\langle x, y, z\rangle}\): \(\operatorname{curl}\mathbf{H} = \mathbf{0}\), \(\operatorname{div}\mathbf{H} = 3\). Pure expansion, no rotation; its potential is \(\tfrac12(x^2 + y^2 + z^2)\).
Watch out. Curl is a vector; divergence is a scalar. Writing "\(\operatorname{div}\mathbf{F} = {\langle P_x, Q_y, R_z\rangle}\)" is a common error. And the middle component of the curl is \(P_z - R_x\), the one that most often gets its sign flipped.
Practice: problem 86 in the practice set (last group in the contents).
Parametric surfaces
Unit 7 · Surface integrals and major theorems
Key idea
Just as a curve is the image of an interval under \(\mathbf{r}(t)\), a surface is the image of a plane region under \(\mathbf{r}(u,v)\). Two parameters give two degrees of freedom. The partial derivatives \(\mathbf{r}_u\) and \(\mathbf{r}_v\) are tangent to the surface, and their cross product is normal to it.
Holding \(v\) fixed and varying \(u\) traces a grid curve on the surface, and likewise for \(u\) fixed. The surface is the mesh of all grid curves.
- Graph \(z = f(x,y)\) \(\mathbf{r}(x,y) = {\langle x,\ y,\ f(x,y)\rangle}\).
- Plane through \(\mathbf{r}_0\) containing \(\mathbf{a}, \mathbf{b}\): \(\mathbf{r}(u,v) = \mathbf{r}_0 + u\mathbf{a} + v\mathbf{b}\).
- Sphere radius \(a\) \({\langle a\sin\varphi\cos\theta,\ a\sin\varphi\sin\theta,\ a\cos\varphi\rangle}\), \(0\le\varphi\le\pi\), \(0\le\theta\le 2\pi\).
- Cylinder radius \(a\) \({\langle a\cos\theta,\ a\sin\theta,\ z\rangle}\).
- Surface of revolution \(y = f(x)\) about the \(x\)-axis: \({\langle x,\ f(x)\cos\theta,\ f(x)\sin\theta\rangle}\).
- Cone \(z = \sqrt{x^2+y^2}\) \({\langle r\cos\theta,\ r\sin\theta,\ r\rangle}\).
The surface is smooth where \({\mathbf{r}_u\times \mathbf{r}_v} \ne \mathbf{0}\); there the tangent plane is \(\mathbf{n}\cdot({\langle x,y,z\rangle} - \mathbf{r}(u_0,v_0)) = 0\).
\[\text{Graph } z = f(x,y):\quad {\mathbf{r}_x\times \mathbf{r}_y} = {\langle -f_x,\ -f_y,\ 1\rangle}\]Sphere of radius \(a\):
\[{\mathbf{r}_\varphi\times \mathbf{r}_\theta} = a^2\sin\varphi\,{\langle \sin\varphi\cos\theta,\ \sin\varphi\sin\theta,\ \cos\varphi\rangle}\] \[|{\mathbf{r}_\varphi\times \mathbf{r}_\theta}| = a^2\sin\varphi\]How to work it
- Find the parameter values \((u_0, v_0)\) that give the point (solve \(\mathbf{r}(u,v) = P\)).
- Compute \(\mathbf{r}_u\) and \(\mathbf{r}_v\) and evaluate them at \((u_0, v_0)\).
- Cross them for a normal vector; divide out common factors.
- Write the plane through \(P\) with that normal.
- What the answer should look like. A parametrization is a vector function of two parameters plus their domain; a tangent plane is one linear equation; a normal vector is any nonzero multiple of \({\mathbf{r}_u\times \mathbf{r}_v}\) at the point.
\(\mathbf{r}(u,v) = {\langle u^2,\ v^2,\ u + 2v\rangle}\) at the point \((1,1,3)\), which is \(u = v = 1\).
\[\mathbf{r}_u = {\langle 2u, 0, 1\rangle} = {\langle 2,0,1\rangle}\] \[\mathbf{r}_v = {\langle 0, 2v, 2\rangle} = {\langle 0,2,2\rangle}\] \[{\mathbf{r}_u\times \mathbf{r}_v} = {\langle 0\cdot 2 - 1\cdot 2,\ \ 1\cdot 0 - 2\cdot 2,\ \ 2\cdot 2 - 0\cdot 0\rangle}\] \[= {\langle -2,-4,4\rangle} \sim {\langle 1, 2, -2\rangle}\] \[1(x-1) + 2(y-1) - 2(z-3) = 0\] \[\Longrightarrow\ x + 2y - 2z + 3 = 0\]Checks: the point satisfies it (\(1 + 2 - 6 + 3 = 0\)), and both tangent vectors are perpendicular to the normal: \({\langle 2,0,1\rangle}\cdot{\langle 1,2,-2\rangle} = 2 - 2 = 0\), \({\langle 0,2,2\rangle}\cdot{\langle 1,2,-2\rangle} = 4 - 4 = 0\). Finding \((u_0, v_0)\) first matters: \(u^2 = 1\) allows \(u = \pm 1\), and only \(u = 1\), \(v = 1\) also gives \(u + 2v = 3\).
Parametrizing the part of the plane \(x + y + z = 1\) in the first octant: \(\mathbf{r}(x,y) = {\langle x, y, 1 - x - y\rangle}\) over the triangle \(0\le x\le 1\), \(0\le y\le 1-x\), with \({\mathbf{r}_x\times \mathbf{r}_y} = {\langle 1,1,1\rangle}\).
Watch out. The normal is \({\mathbf{r}_u\times \mathbf{r}_v}\), not \(\mathbf{r}_u\) or \(\mathbf{r}_v\) (those are tangent). The parameter domain \(D\) is part of the description: the same formula over a different \(D\) is a different piece of surface.
Practice: problems 87, 88 in the practice set (last group in the contents).
Surface area
Unit 7 · Surface integrals and major theorems
Key idea
A tiny \(du\times dv\) rectangle in the parameter plane maps to a tiny parallelogram on the surface with sides \(\mathbf{r}_u\,du\) and \(\mathbf{r}_v\,dv\), whose area is \(|{\mathbf{r}_u\times \mathbf{r}_v}|\,du\,dv\). Adding them up gives the surface area, the two-dimensional analogue of arc length.
for a surface covered exactly once by \(\mathbf{r}(u,v)\), \((u,v)\in D\). The factor \(|{\mathbf{r}_u\times \mathbf{r}_v}|\) plays the role that \(|\mathbf{r}'(t)|\) played for curves.
\[dS = |{\mathbf{r}_u\times \mathbf{r}_v}|\,du\,dv \quad\text{(the surface area element)}\]Sphere of radius \(a\): \(|{\mathbf{r}_\varphi\times \mathbf{r}_\theta}| = a^2\sin\varphi\), so \(A = \int_0^{2\pi}\!\int_0^\pi a^2\sin\varphi\,d\varphi\,d\theta = 4\pi a^2\).
For \(z = f(x,y)\) over \(D\), \(|{\mathbf{r}_x\times \mathbf{r}_y}| = |{\langle -f_x, -f_y, 1\rangle}|\), so
\[A(S) = \iint_D \sqrt{1 + \left(\frac{\partial z}{\partial x}\right)^2 + \left(\frac{\partial z}{\partial y}\right)^2}\,dA\]Compare arc length \(\int\sqrt{1 + (dy/dx)^2}\,dx\). For a surface \(y = g(x,z)\) or \(x = h(y,z)\), the same formula with the roles of the variables swapped.
When \(f_x^2 + f_y^2\) involves \(x^2 + y^2\), switch to polar coordinates in the double integral.
How to work it
- Parametrize the surface (for a graph use \(x, y\) as parameters) and identify the parameter region \(D\).
- Compute \({\mathbf{r}_u\times \mathbf{r}_v}\) and its magnitude, or \(\sqrt{1 + f_x^2 + f_y^2}\).
- Set up \(\iint_D\) in rectangular or polar coordinates as \(D\) dictates.
- Integrate. Sanity-check against a known area (the area must exceed that of the projection \(D\)).
- What the answer should look like. A positive number, often of the form \(\frac{\pi}{6}(a\sqrt a - 1)\) or \(c\sqrt{d}\), with the surface area element \(dS\) written out before the double integral; for a graph it must be at least the area of its shadow.
Area of the part of the paraboloid \(z = x^2 + y^2\) below the plane \(z = 9\). \(D\): the disk \(x^2 + y^2 \le 9\); \(z_x = 2x\), \(z_y = 2y\).
\[A = \iint_D\sqrt{1 + 4x^2 + 4y^2}\,dA = \int_0^{2\pi}\!\!\int_0^3\sqrt{1 + 4r^2}\,r\,dr\,d\theta\]The integrand depends on \(x^2 + y^2 = r^2\) only, so polar coordinates are the natural choice, and the polar \(r\) is exactly what the substitution \(u = 1 + 4r^2\), \(du = 8r\,dr\) needs: \(\int\sqrt{u}\,\frac{du}{8} = \frac{u^{3/2}}{12}\).
\[= 2\pi\left[\frac{(1+4r^2)^{3/2}}{12}\right]_0^3 = \frac{2\pi}{12}\left(37^{3/2} - 1\right) = \frac{\pi}{6}\left(37\sqrt{37} - 1\right) \approx 117.3\]Sanity check: the shadow \(D\) has area \(9\pi \approx 28.3\), and the paraboloid is steep near the rim, so a surface area about four times the shadow is reasonable; anything smaller than \(28.3\) would be an error.
Area of the part of the plane \(z = 2 + 3x + 4y\) above the rectangle \([0,5]\times[1,4]\): \(\sqrt{1 + 9 + 16} = \sqrt{26}\), constant, so \(A = \sqrt{26}\cdot 15 = 15\sqrt{26}\).
Lateral area of the cylinder \(\mathbf{r}(\theta, z) = {\langle a\cos\theta, a\sin\theta, z\rangle}\), \(0 \le \theta \le 2\pi\), \(0\le z\le h\): \(\mathbf{r}_\theta = {\langle -a\sin\theta, a\cos\theta, 0\rangle}\), \(\mathbf{r}_z = {\langle 0, 0, 1\rangle}\), \({\mathbf{r}_\theta\times \mathbf{r}_z} = {\langle a\cos\theta, a\sin\theta, 0\rangle}\), of length \(a\). So \(A = \int_0^{2\pi}\!\int_0^h a\,dz\,d\theta = 2\pi a h\), the familiar circumference times height.
Watch out. Do not forget the \(1\) under the square root for a graph, and do not forget the \(r\) when switching to polar coordinates. The projection region \(D\) is in the parameter plane, which for a graph is the shadow of the surface on the \(xy\)-plane.
Practice: problems 89, 90, 91 in the practice set (last group in the contents).
Scalar surface integrals
Unit 7 · Surface integrals and major theorems
Key idea
A surface integral of a scalar function integrates \(f\) over a surface with respect to surface area. If \(f\) is the density of a thin sheet shaped like \(S\), \(\iint_S f\,dS\) is its mass; with \(f = 1\) it is the area. The recipe mirrors the scalar line integral with \(|{\mathbf{r}_u\times \mathbf{r}_v}|\) in place of \(|\mathbf{r}'(t)|\).
for \(S\) given by \(\mathbf{r}(u,v)\), \((u,v)\in D\), covered once. The value is independent of the parametrization chosen.
\[\text{Graph } z = g(x,y):\quad \iint_S f\,dS\] \[= \iint_D f\big(x, y, g(x,y)\big)\sqrt{1 + g_x^2 + g_y^2}\,dA\]For a piecewise-smooth surface (a box, a closed cylinder with its lids) integrate over each smooth piece and add.
On the sphere \(\rho = a\): \(dS = a^2\sin\varphi\,d\varphi\,d\theta\). On the cylinder \(r = a\): \(dS = a\,d\theta\,dz\). On a plane \(z = c\): \(dS = dA\).
Symmetry: on a sphere of radius \(a\), \(\iint_S x^2\,dS = \iint_S y^2\,dS = \iint_S z^2\,dS = \tfrac13\iint_S a^2\,dS = \tfrac{4\pi a^4}{3}\). Odd functions like \(x\) or \(xy\) integrate to zero over symmetric surfaces.
How to work it
- Parametrize \(S\) (or write it as a graph) and find the parameter region \(D\).
- Compute \(dS\): \(|{\mathbf{r}_u\times \mathbf{r}_v}|\,du\,dv\) or \(\sqrt{1 + g_x^2 + g_y^2}\,dA\).
- Express \(f\) in the parameters.
- Evaluate the double integral over \(D\); for several pieces, add.
- What the answer should look like. A number (non-negative when \(f \ge 0\)), with \(dS\) displayed for each piece of the surface and \(f\) rewritten in the surface's parameters; symmetric pieces that give the same value may be computed once and multiplied.
\(\displaystyle\iint_S x^2\,dS\), \(S\) the unit sphere. With \(x = \sin\varphi\cos\theta\) and \(dS = \sin\varphi\,d\varphi\,d\theta\):
\[\int_0^{2\pi}\!\!\int_0^{\pi}\sin^2\varphi\cos^2\theta\,\sin\varphi\,d\varphi\,d\theta = \left(\int_0^{2\pi}\cos^2\theta\,d\theta\right)\left(\int_0^\pi\sin^3\varphi\,d\varphi\right) = \pi\cdot\frac43\] \[= \frac{4\pi}{3}\]The two single integrals: \(\int_0^{2\pi}\cos^2\theta\,d\theta = \int_0^{2\pi}\tfrac12(1 + \cos 2\theta)\,d\theta = \pi\), and \(\int_0^\pi\sin^3\varphi\,d\varphi = \int_0^\pi(1 - \cos^2\varphi)\sin\varphi\,d\varphi = \left[-\cos\varphi + \tfrac13\cos^3\varphi\right]_0^\pi = \tfrac23 + \tfrac23 = \tfrac43\). The splitting into a product is allowed because the limits are constants and the integrand factors. Check against the symmetry note: \(\tfrac13\cdot 4\pi\cdot 1^4 = \tfrac{4\pi}{3}\).
\(\displaystyle\iint_S y\,dS\), \(S\) the graph \(z = x + y^2\) over \(0\le x\le 1\), \(0\le y\le 2\): \(dS = \sqrt{1 + 1 + 4y^2}\,dA\).
Here \(g_x = 1\) and \(g_y = 2y\), so \(1 + g_x^2 + g_y^2 = 2 + 4y^2\). Nothing depends on \(x\), so the \(x\)-integral just contributes the length \(1\). For the \(y\)-integral use \(u = 2 + 4y^2\), \(du = 8y\,dy\):
\[\int_0^1\!\!\int_0^2 y\sqrt{2 + 4y^2}\,dy\,dx = \left[\frac{(2 + 4y^2)^{3/2}}{12}\right]_0^2\] \[= \frac{18^{3/2} - 2^{3/2}}{12} = \frac{54\sqrt2 - 2\sqrt2}{12} = \frac{13\sqrt2}{3}\]using \(18^{3/2} = 18\sqrt{18} = 18\cdot 3\sqrt2 = 54\sqrt2\) and \(2^{3/2} = 2\sqrt2\).
Watch out. \(dS\) is not \(dA\): the surface is tilted and stretched relative to its shadow. The only exception is a horizontal plane. For closed surfaces made of several pieces (a cylinder with top and bottom), each piece needs its own parametrization and its own \(dS\).
Practice: problems 92, 93, 94 in the practice set (last group in the contents).
Flux integrals and orientation
Unit 7 · Surface integrals and major theorems
Key idea
The surface integral of a vector field measures flux: how much of the field passes through the surface per unit time if \(\mathbf{F}\) is a fluid velocity. It requires choosing a side of the surface, an orientation, because flow through one way counts positive and the other way negative.
An oriented surface is a two-sided surface with a chosen continuous unit normal \(\mathbf{n}\). A closed surface is positively oriented by the outward normal. A graph \(z = g(x,y)\) is usually given the upward normal (positive \(\mathbf{k}\)-component). The Möbius strip is one-sided and cannot be oriented.
\[\iint_S {\mathbf{F}\cdot d\mathbf{S}} = \iint_S {\mathbf{F}\cdot \mathbf{n}}\,dS\] \[\text{Parametric: } \iint_S {\mathbf{F}\cdot d\mathbf{S}} = \iint_D \mathbf{F}\big(\mathbf{r}(u,v)\big)\cdot({\mathbf{r}_u\times \mathbf{r}_v})\,dA\]where \({\mathbf{r}_u\times \mathbf{r}_v}\) must point in the chosen direction; if it points the other way, negate the result. The magnitude \(|{\mathbf{r}_u\times \mathbf{r}_v}|\) cancels between \(\mathbf{n}\) and \(dS\), which is why it does not appear.
For \(z = g(x,y)\) with upward orientation and \(\mathbf{F} = {\langle P, Q, R\rangle}\):
\[\iint_S {\mathbf{F}\cdot d\mathbf{S}} = \iint_D \left(-P\,g_x - Q\,g_y + R\right)dA\](downward orientation: negate). This comes from \({\mathbf{r}_x\times \mathbf{r}_y} = {\langle -g_x, -g_y, 1\rangle}\).
- Fluid velocity \(\mathbf{v}\), density \(\rho\): mass flow rate through \(S\) is \(\iint_S \rho{\mathbf{v}\cdot d\mathbf{S}}\).
- Electric flux \(\iint_S {\mathbf{E}\cdot d\mathbf{S}} = Q_{\text{enc}}/\varepsilon_0\) (Gauss's law).
- Heat flow \(\mathbf{F} = -K\nabla T\); the rate of heat flow across \(S\) is \(\iint_S {\mathbf{F}\cdot d\mathbf{S}}\).
How to work it
- Parametrize \(S\) and determine the required orientation (outward, upward, toward the axis, and so on).
- Compute \({\mathbf{r}_u\times \mathbf{r}_v}\) and check its direction against the orientation at one convenient point; flip the sign if needed.
- Substitute the parametrization into \(\mathbf{F}\) and dot with the normal vector.
- Integrate over \(D\). For a closed surface built from pieces, do each piece with its own outward normal and add.
- What the answer should look like. A signed number with the orientation named ("upward", "outward"), the normal vector used, and the scalar integrand \(\mathbf{F}\cdot({\mathbf{r}_u\times \mathbf{r}_v})\) or \(-Pg_x - Qg_y + R\) written out before integrating.
Flux of \(\mathbf{F} = {\langle z, y, x\rangle}\) outward through the unit sphere. With the spherical parametrization, \({\mathbf{r}_\varphi\times \mathbf{r}_\theta} = \sin\varphi\,{\langle\sin\varphi\cos\theta,\ \sin\varphi\sin\theta,\ \cos\varphi\rangle}\), which points outward.
\[\mathbf{F}\cdot({\mathbf{r}_\varphi\times \mathbf{r}_\theta}) = \cos\varphi\sin^2\varphi\cos\theta + \sin^3\varphi\sin^2\theta + \sin^2\varphi\cos\varphi\cos\theta\] \[= 2\sin^2\varphi\cos\varphi\cos\theta + \sin^3\varphi\sin^2\theta\] \[\iint_S {\mathbf{F}\cdot d\mathbf{S}} = 0 + \int_0^{2\pi}\sin^2\theta\,d\theta\int_0^\pi\sin^3\varphi\,d\varphi = \pi\cdot\frac43 = \frac{4\pi}{3}\](the \(\cos\theta\) term integrates to zero over a full period.)
Flux of \(\mathbf{F} = {\langle y, x, z\rangle}\) upward through the paraboloid \(z = 1 - x^2 - y^2\), \(z \ge 0\). For a graph \(z = g(x,y)\) the upward normal vector is \({\langle -g_x, -g_y, 1\rangle}\) (positive \(z\)-component), so \(\mathbf{F}\cdot d\mathbf{S} = (-P g_x - Q g_y + R)\,dA\). Here \(g_x = -2x\), \(g_y = -2y\), and on the surface \(R = z = 1 - x^2 - y^2\): \(-y(-2x) - x(-2y) + (1 - x^2 - y^2) = 4xy + 1 - x^2 - y^2\). The shadow \(D\) is the unit disk. Over it the \(4xy\) integrates to zero by symmetry (odd in \(x\)), leaving \(\int_0^{2\pi}\!\int_0^1 (1 - r^2)\,r\,dr\,d\theta = 2\pi\left(\tfrac12 - \tfrac14\right) = \frac{\pi}{2}\).
Watch out. Flux changes sign with orientation, so always state which normal you used and check it at a point: for the sphere, \({\mathbf{r}_\varphi\times \mathbf{r}_\theta}\) at \(\varphi = \pi/2, \theta = 0\) is \({\langle 1,0,0\rangle}\), outward. Swapping the order to \({\mathbf{r}_\theta\times \mathbf{r}_\varphi}\) gives the inward normal.
Practice: problems 95, 96, 97 in the practice set (last group in the contents).
Stokes' theorem
Unit 7 · Surface integrals and major theorems
Key idea
Stokes' theorem is Green's theorem lifted into space: the circulation of \(\mathbf{F}\) around the boundary curve of a surface equals the flux of \(\operatorname{curl}\mathbf{F}\) through the surface. Any surface with the same boundary gives the same answer, so you may trade a curved surface for a flat one.
Let \(S\) be an oriented piecewise-smooth surface bounded by a simple, closed, piecewise-smooth curve \(C\) with positive orientation, and let \(\mathbf{F}\) have continuous partials on an open region containing \(S\). Then
\[\oint_C {\mathbf{F}\cdot d\mathbf{r}} = \iint_S \operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}}\]Positive orientation of \(C\): walk along \(C\) with your head pointing in the direction of \(\mathbf{n}\); the surface must be on your left. Equivalently, curl the fingers of your right hand along \(C\) and your thumb points along \(\mathbf{n}\). For an upward-oriented surface, \(C\) runs counterclockwise when viewed from above.
When \(S\) is a flat region in the \(xy\)-plane with \(\mathbf{n} = \mathbf{k}\), \(\operatorname{curl}{\mathbf{F}\cdot \mathbf{k}} = Q_x - P_y\) and this is Green's theorem.
Two surfaces \(S_1, S_2\) with the same oriented boundary \(C\):
\[\iint_{S_1}\operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}} = \iint_{S_2}\operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}}\]So the flux of a curl through a surface depends only on the boundary curve; through a closed surface (no boundary) it is zero, consistent with \(\operatorname{div}\operatorname{curl}\mathbf{F} = 0\).
Meaning of curl: \(\operatorname{curl}\mathbf{F}(P)\cdot\mathbf{n} = \lim_{a\to 0}\frac{1}{\pi a^2}\oint_{C_a}{\mathbf{F}\cdot d\mathbf{r}}\), the circulation per unit area around a tiny circle at \(P\) perpendicular to \(\mathbf{n}\).
Direction of use: a hard line integral around a curve that bounds a simple surface (plane piece, disk) becomes a flux integral; a hard flux of a curl becomes a line integral.
How to work it
- Identify the curve \(C\) and its orientation, or the surface \(S\) and its normal, whichever is given.
- Choose the simplest surface with boundary \(C\) (often a flat piece of a plane) and orient it to match \(C\) by the right-hand rule.
- Compute \(\operatorname{curl}\mathbf{F}\).
- Evaluate \(\iint_S \operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}}\) with the graph formula or a parametrization. Alternatively, for a flux of a curl, parametrize the boundary and compute \(\oint_C {\mathbf{F}\cdot d\mathbf{r}}\) instead.
- What the answer should look like. \(\operatorname{curl}\mathbf{F}\) written out, the surface (or boundary curve) chosen and its orientation justified in one sentence, and a signed number, often a multiple of \(\pi\) or zero.
\(\displaystyle\oint_C {\mathbf{F}\cdot d\mathbf{r}}\), where \(\mathbf{F} = {\langle -y^2, x, z^2\rangle}\) and \(C\) is the intersection of the plane \(y + z = 2\) with the cylinder \(x^2 + y^2 = 1\), counterclockwise viewed from above.
\[\operatorname{curl}\mathbf{F} = {\langle 0 - 0,\ 0 - 0,\ 1 - (-2y)\rangle} = {\langle 0, 0, 1 + 2y\rangle}\]Take \(S\) to be the flat elliptical region of the plane \(z = 2 - y\) inside the cylinder, oriented upward (which matches the counterclockwise \(C\)). With \(g = 2 - y\), \(g_x = 0\), \(g_y = -1\):
\[\iint_S \operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}} = \iint_D (0 + 0 + 1 + 2y)\,dA\] \[= \int_0^{2\pi}\!\!\int_0^1 (1 + 2r\sin\theta)\,r\,dr\,d\theta = \pi + 0 = \pi\]Here \(D\) is the shadow of \(S\), the unit disk (the cylinder's cross-section), and the graph formula gives \(\operatorname{curl}\mathbf{F}\cdot{\langle -g_x, -g_y, 1\rangle} = 0\cdot 0 + 0\cdot 1 + (1 + 2y)\). The \(1\) integrates to the area \(\pi\); the \(2y = 2r\sin\theta\) integrates to zero because \(\int_0^{2\pi}\sin\theta\,d\theta = 0\). The tilt of the plane never entered: only the \(z\)-component of the curl survives when the other two components of the curl are zero.
Flux of \(\operatorname{curl}\mathbf{F}\), \(\mathbf{F} = {\langle xz, yz, xy\rangle}\), through the part of the sphere \(x^2 + y^2 + z^2 = 4\) above the plane \(z = 1\): the boundary is the circle \(x^2 + y^2 = 3\), \(z = 1\) (from \(x^2 + y^2 + 1 = 4\)), parametrized counterclockwise by \(\mathbf{r}(t) = {\langle \sqrt3\cos t, \sqrt3\sin t, 1\rangle}\). On it \(\mathbf{F} = {\langle \sqrt3\cos t, \sqrt3\sin t, 3\cos t\sin t\rangle}\) and \(\mathbf{r}' = {\langle -\sqrt3\sin t, \sqrt3\cos t, 0\rangle}\), so \(\oint_C {\mathbf{F}\cdot d\mathbf{r}} = \int_0^{2\pi}\left(-3\sin t\cos t + 3\sin t\cos t + 0\right)dt = 0\). Any surface with this boundary (the spherical cap, or the flat disk \(z = 1\)) gives the same flux of the curl; in fact \(\operatorname{curl}\mathbf{F} = {\langle x - y, x - y, 0\rangle}\) here, and the flat disk makes the zero obvious since its normal is \(\mathbf{k}\).
Watch out. Match orientations: an upward normal pairs with a counterclockwise boundary (seen from above). And the surface integral is of \(\operatorname{curl}\mathbf{F}\), never of \(\mathbf{F}\) itself. If \(\operatorname{curl}\mathbf{F} = \mathbf{0}\) the circulation around every closed curve is zero and the field is conservative.
Practice: problems 98, 99 in the practice set (last group in the contents).
Divergence theorem
Unit 7 · Surface integrals and major theorems
Key idea
The divergence theorem (Gauss's theorem) says that the outward flux of \(\mathbf{F}\) through a closed surface equals the integral of \(\operatorname{div}\mathbf{F}\) over the solid inside. What leaves through the boundary is what was created inside. It is the three-dimensional version of the flux form of Green's theorem.
Let \(E\) be a simple solid region whose boundary surface \(S\) has positive (outward) orientation, and let \(\mathbf{F}\) have continuous partials on an open region containing \(E\). Then
\[\iint_S {\mathbf{F}\cdot d\mathbf{S}} = \iiint_E \operatorname{div}\mathbf{F}\,dV\]\(S\) must be closed: a sphere, the surface of a box, a cylinder together with its two lids, a paraboloid capped by a disk. It also holds for regions between two closed surfaces (a shell), with the inner surface oriented toward the hole, provided \(\mathbf{F}\) is smooth throughout the shell.
- Volume any \(\mathbf{F}\) with \(\operatorname{div}\mathbf{F} = 1\) (e.g. \({\langle x, 0, 0\rangle}\) or \(\tfrac13{\langle x, y, z\rangle}\)) gives \(V(E) = \iint_S {\mathbf{F}\cdot d\mathbf{S}}\).
- Incompressible fields \(\operatorname{div}\mathbf{F} = 0\) implies zero net flux through every closed surface.
- Open surfaces to find the flux through a non-closed \(S\), close it with a simple lid \(S'\): \(\iint_S = \iiint_E \operatorname{div}\mathbf{F}\,dV - \iint_{S'}\).
- Meaning of divergence \(\operatorname{div}\mathbf{F}(P) = \lim_{a\to 0}\frac{1}{V(B_a)}\iint_{S_a}{\mathbf{F}\cdot d\mathbf{S}}\), the outward flux per unit volume at \(P\).
Inverse-square fields \(\mathbf{F} = \mathbf{r}/|\mathbf{r}|^3\) have \(\operatorname{div}\mathbf{F} = 0\) away from the origin, yet flux \(4\pi\) through any sphere around it: the theorem does not apply when the singularity is inside \(E\).
How to work it
- Check that \(S\) is closed and \(\mathbf{F}\) is smooth throughout the enclosed solid \(E\). If \(S\) is not closed, add a lid and subtract its flux at the end.
- Compute \(\operatorname{div}\mathbf{F} = P_x + Q_y + R_z\); simplify.
- Describe \(E\) in the most convenient coordinates (spherical for balls, cylindrical for cylinders and cones).
- Evaluate \(\iiint_E \operatorname{div}\mathbf{F}\,dV\). If the question asks for inward flux, negate.
- What the answer should look like. \(\operatorname{div}\mathbf{F}\) simplified, the solid \(E\) described in the chosen coordinates, and a signed number; when \(\operatorname{div}\mathbf{F}\) is constant the flux is that constant times the volume of \(E\).
Flux of \(\mathbf{F} = {\langle z, y, x\rangle}\) out of the unit sphere: \(\operatorname{div}\mathbf{F} = 0 + 1 + 0 = 1\), so the flux is the volume of the unit ball, \(\frac{4\pi}{3}\). This matches the direct computation on the Flux tab, with far less effort.
Flux of \(\mathbf{F} = {\langle x^3, y^3, z^3\rangle}\) out of the sphere of radius \(a\): \(\operatorname{div}\mathbf{F} = 3(x^2 + y^2 + z^2) = 3\rho^2\).
\[\iiint_E 3\rho^2\,dV = \int_0^{2\pi}\!\!\int_0^\pi\!\!\int_0^a 3\rho^2\cdot\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta = 2\pi\cdot 2\cdot\frac{3a^5}{5}\] \[= \frac{12\pi a^5}{5}\]Flux of \(\mathbf{F} = {\langle xy, y^2, z\rangle}\) out of the closed cylinder \(x^2 + y^2 \le 1\), \(0 \le z \le 2\): \(\operatorname{div}\mathbf{F} = y + 2y + 1 = 3y + 1\). The \(3y\) integrates to zero by symmetry (the solid is symmetric in \(y\) and \(y\) is odd), so the flux is \(\iiint_E 1\,dV = \pi\cdot 1^2\cdot 2 = 2\pi\). Doing this directly would need three pieces (the curved wall and two lids), each with its own outward normal.
A surface that is not closed. Upward flux of \(\mathbf{F} = {\langle 0, 0, z\rangle}\) through the paraboloid \(z = 1 - x^2 - y^2\), \(z \ge 0\). Close it with the lid \(z = 0\) (the unit disk), on which \(\mathbf{F} = \mathbf{0}\), so the lid contributes nothing. With \(\operatorname{div}\mathbf{F} = 1\), the total outward flux is the volume \(\int_0^{2\pi}\!\int_0^1 (1 - r^2)\,r\,dr\,d\theta = \frac{\pi}{2}\), and that is the flux through the paraboloid (upward is outward on the top). Direct check with the graph formula: \(\iint_D (1 - x^2 - y^2)\,dA = \frac{\pi}{2}\).
Watch out. The theorem needs a closed surface and a field with no singularities inside. Applying it to a hemisphere alone, or to \(\mathbf{r}/|\mathbf{r}|^3\) on a ball containing the origin, gives wrong answers. And the orientation is outward; an inward flux is the negative.
Practice: problems 95, 97, 100 in the practice set (last group in the contents).
Unit 1 problems
Practice set · Problems 1 to 13 · Vectors and geometry in three dimensions
Problems 1 to 13
Every problem opens to a full, step-by-step solution with the final answer highlighted. Try it on paper first. The Review link at the end of each solution jumps back to the tab that teaches the idea.
1Find the distance between \(P(1,-2,3)\) and \(Q(4,2,-9)\), and the midpoint of the segment \(PQ\).
Solution
The distance formula in space adds the squares of the three coordinate differences:
\[|PQ| = \sqrt{(4-1)^2 + (2-(-2))^2 + (-9-3)^2} = \sqrt{9 + 16 + 144} = \sqrt{169} = 13.\]The midpoint averages each coordinate:
\[M = \left(\frac{1+4}{2},\ \frac{-2+2}{2},\ \frac{3+(-9)}{2}\right) = \left(\tfrac52,\ 0,\ -3\right).\]Check: \(|PM| = \sqrt{(3/2)^2 + 2^2 + 6^2} = \sqrt{9/4 + 4 + 36} = \sqrt{169/4} = 13/2\), half the full distance.
\(|PQ| = 13\); midpoint \(\left(\tfrac52, 0, -3\right)\).
Review:
2Identify the surface \(x^2 + y^2 + z^2 + 4x - 6y + 2z + 5 = 0\). Does it meet the \(xy\)-plane? If so, describe the intersection.
Solution
Complete the square in each variable. Move the constant across and add \((4/2)^2 = 4\), \((6/2)^2 = 9\) and \((2/2)^2 = 1\) to both sides:
\[(x^2 + 4x + 4) + (y^2 - 6y + 9) + (z^2 + 2z + 1) = -5 + 4 + 9 + 1\] \[(x+2)^2 + (y-3)^2 + (z+1)^2 = 9.\]This is a sphere with center \((-2, 3, -1)\) and radius \(3\).
The center sits \(1\) unit below the \(xy\)-plane (its \(z\)-coordinate is \(-1\)), and \(1 \lt 3\), so the plane cuts through the sphere. Setting \(z = 0\):
\[(x+2)^2 + (y-3)^2 + 1 = 9\] \[\Longrightarrow\ (x+2)^2 + (y-3)^2 = 8\]a circle in the \(xy\)-plane with center \((-2,3,0)\) and radius \(2\sqrt2\).
Sphere, center \((-2,3,-1)\), radius 3; it meets the \(xy\)-plane in the circle \((x+2)^2 + (y-3)^2 = 8\), \(z = 0\).
Review:
3Let \(\mathbf{a} = {\langle 3,-1,2\rangle}\) and \(\mathbf{b} = {\langle -2,4,1\rangle}\). Find \(2\mathbf{a} - \mathbf{b}\), \(|\mathbf{a}|\), the unit vector in the direction of \(\mathbf{a}\), and a vector of length 5 pointing opposite to \(\mathbf{b}\).
Solution
Operations are componentwise:
\[2\mathbf{a} - \mathbf{b} = {\langle 6,-2,4\rangle} - {\langle -2,4,1\rangle} = {\langle 8,\ -6,\ 3\rangle}.\] \[|\mathbf{a}| = \sqrt{9 + 1 + 4} = \sqrt{14}\] \[\mathbf{u} = \frac{\mathbf{a}}{|\mathbf{a}|} = \frac{1}{\sqrt{14}}{\langle 3,-1,2\rangle}.\]For the last part, \(|\mathbf{b}| = \sqrt{4 + 16 + 1} = \sqrt{21}\). The unit vector opposite to \(\mathbf{b}\) is \(-\mathbf{b}/\sqrt{21}\); scale it to length 5:
\[-\frac{5}{\sqrt{21}}{\langle -2,4,1\rangle} = \frac{1}{\sqrt{21}}{\langle 10,\ -20,\ -5\rangle}.\]Check its length: \(\sqrt{100 + 400 + 25}/\sqrt{21} = \sqrt{525/21} = \sqrt{25} = 5\). Check its direction: \({\langle 10, -20, -5\rangle} = -5\,\mathbf{b}\), a negative multiple of \(\mathbf{b}\), so it points opposite to \(\mathbf{b}\) as required.
\(2\mathbf{a} - \mathbf{b} = {\langle 8,-6,3\rangle}\); \(|\mathbf{a}| = \sqrt{14}\); \(\mathbf{u} = \tfrac{1}{\sqrt{14}}{\langle 3,-1,2\rangle}\); \(\tfrac{1}{\sqrt{21}}{\langle 10,-20,-5\rangle}\).
Review:
4Find the vector \(\overrightarrow{AB}\) from \(A(2,-1,5)\) to \(B(-1,3,7)\) and its length. Then find the point \(C\) such that \(B\) is the midpoint of \(AC\).
Solution
Terminal minus initial:
\[\overrightarrow{AB} = {\langle -1-2,\ 3-(-1),\ 7-5\rangle} = {\langle -3,4,2\rangle}\] \[|\overrightarrow{AB}| = \sqrt{9 + 16 + 4} = \sqrt{29}.\]If \(B\) is the midpoint of \(AC\), then going from \(A\) to \(B\) and the same distance again reaches \(C\): \(\overrightarrow{BC} = \overrightarrow{AB}\), so
\[C = B + \overrightarrow{AB} = (-1,3,7) + {\langle -3,4,2\rangle} = (-4,\ 7,\ 9).\]Check: the midpoint of \(A(2,-1,5)\) and \(C(-4,7,9)\) is \(\left(\tfrac{2-4}{2}, \tfrac{-1+7}{2}, \tfrac{5+9}{2}\right) = (-1,3,7) = B\).
\(\overrightarrow{AB} = {\langle -3,4,2\rangle}\), length \(\sqrt{29}\); \(C = (-4,7,9)\).
Review:
5For \(\mathbf{a} = {\langle 2,-1,2\rangle}\) and \(\mathbf{b} = {\langle 1,2,-2\rangle}\), find \({\mathbf{a}\cdot \mathbf{b}}\), the angle between the vectors, the scalar projection of \(\mathbf{b}\) onto \(\mathbf{a}\) and the vector projection \(\operatorname{proj}_{\mathbf{a}}\mathbf{b}\).
Solution
\[{\mathbf{a}\cdot \mathbf{b}} = (2)(1) + (-1)(2) + (2)(-2) = 2 - 2 - 4 = -4.\] \[|\mathbf{a}| = \sqrt{4 + 1 + 4} = 3\] \[|\mathbf{b}| = \sqrt{1 + 4 + 4} = 3.\] \[\cos\theta = \frac{{\mathbf{a}\cdot \mathbf{b}}}{|\mathbf{a}||\mathbf{b}|} = \frac{-4}{9}\] \[\theta = \arccos\left(-\tfrac49\right) \approx 116.4^\circ.\]The negative dot product already told us the angle is obtuse.
\[\operatorname{comp}_{\mathbf{a}}\mathbf{b} = \frac{{\mathbf{a}\cdot \mathbf{b}}}{|\mathbf{a}|} = -\frac43\] \[\operatorname{proj}_{\mathbf{a}}\mathbf{b} = \frac{{\mathbf{a}\cdot \mathbf{b}}}{|\mathbf{a}|^2}\,\mathbf{a} = -\frac49{\langle 2,-1,2\rangle} = \left\langle -\tfrac89,\ \tfrac49,\ -\tfrac89\right\rangle.\]The projection points opposite to \(\mathbf{a}\), as it must when the angle exceeds \(90^\circ\), and its length is \(|{-4/3}| = 4/3\).
\({\mathbf{a}\cdot \mathbf{b}} = -4\); \(\theta \approx 116.4^\circ\); \(\operatorname{comp}_{\mathbf{a}}\mathbf{b} = -\tfrac43\); \(\operatorname{proj}_{\mathbf{a}}\mathbf{b} = -\tfrac49{\langle 2,-1,2\rangle}\).
Review:
6(a) For what value of \(c\) are \({\langle c, 2, -1\rangle}\) and \({\langle 3, c, 4\rangle}\) orthogonal? (b) A constant force \(\mathbf{F} = {\langle 4,-2,3\rangle}\) newtons moves an object along a straight line from \((1,0,2)\) to \((4,3,-1)\) (metres). Find the work done.
Solution
(a) Orthogonal means the dot product is zero:
\[3c + 2c - 4 = 0\] \[\Longrightarrow\ 5c = 4\] \[\Longrightarrow\ c = \tfrac45.\](b) The displacement is \(\mathbf{D} = {\langle 4-1,\ 3-0,\ -1-2\rangle} = {\langle 3,3,-3\rangle}\), and work is \({\mathbf{F}\cdot \mathbf{D}}\):
\[W = (4)(3) + (-2)(3) + (3)(-3) = 12 - 6 - 9 = -3 \text{ J}.\]The work is negative: the force has a component opposing the motion (the angle between \(\mathbf{F}\) and \(\mathbf{D}\) is obtuse), so the force removes energy along this displacement.
(a) \(c = \tfrac45\). (b) \(W = -3\) J.
Review:
7Let \(\mathbf{a} = {\langle 1,2,-1\rangle}\) and \(\mathbf{b} = {\langle 3,0,2\rangle}\). Compute \({\mathbf{a}\times \mathbf{b}}\), verify it is perpendicular to both vectors, find the area of the parallelogram they span, and give both unit vectors perpendicular to \(\mathbf{a}\) and \(\mathbf{b}\).
Solution
\[{\mathbf{a}\times \mathbf{b}} = \begin{vmatrix}\mathbf{i} & \mathbf{j} & \mathbf{k}\\ 1 & 2 & -1\\ 3 & 0 & 2\end{vmatrix} = {\langle (2)(2) - (-1)(0),\ \ (-1)(3) - (1)(2),\ \ (1)(0) - (2)(3)\rangle} = {\langle 4,\ -5,\ -6\rangle}.\]Perpendicularity check: \(\mathbf{a}\cdot{\langle 4,-5,-6\rangle} = 4 - 10 + 6 = 0\) and \(\mathbf{b}\cdot{\langle 4,-5,-6\rangle} = 12 + 0 - 12 = 0\).
\[\text{Area} = |{\mathbf{a}\times \mathbf{b}}| = \sqrt{16 + 25 + 36} = \sqrt{77}.\]The two unit normals are
\[\pm\frac{1}{\sqrt{77}}{\langle 4,-5,-6\rangle}.\]\({\mathbf{a}\times \mathbf{b}} = {\langle 4,-5,-6\rangle}\); area \(\sqrt{77}\); unit normals \(\pm\tfrac{1}{\sqrt{77}}{\langle 4,-5,-6\rangle}\).
Review:
8(a) Find the area of the triangle with vertices \(P(1,0,0)\), \(Q(0,2,0)\), \(R(0,0,3)\). (b) Find the volume of the parallelepiped with adjacent edges \(\mathbf{a} = {\langle 1,1,0\rangle}\), \(\mathbf{b} = {\langle 0,1,1\rangle}\), \(\mathbf{c} = {\langle 1,0,1\rangle}\).
Solution
(a) Two sides from \(P\): \(\overrightarrow{PQ} = {\langle -1,2,0\rangle}\), \(\overrightarrow{PR} = {\langle -1,0,3\rangle}\).
\[\overrightarrow{PQ}\times\overrightarrow{PR} = {\langle (2)(3) - (0)(0),\ \ (0)(-1) - (-1)(3),\ \ (-1)(0) - (2)(-1)\rangle} = {\langle 6,3,2\rangle}\] \[|{\langle 6,3,2\rangle}| = \sqrt{36+9+4} = 7.\]The triangle is half the parallelogram: area \(= \tfrac72\).
(b) Volume is the absolute value of the scalar triple product. First
\[{\mathbf{b}\times \mathbf{c}} = {\langle (1)(1) - (1)(0),\ \ (1)(1) - (0)(1),\ \ (0)(0) - (1)(1)\rangle} = {\langle 1,1,-1\rangle}\]then \(\mathbf{a}\cdot({\mathbf{b}\times \mathbf{c}}) = 1 + 1 + 0 = 2\). The volume is \(2\). (The same number comes from the \(3\times 3\) determinant with rows \(\mathbf{a}, \mathbf{b}, \mathbf{c}\): \(1(1-0) - 1(0-1) + 0 = 2\).)
(a) Area \(\tfrac72\). (b) Volume \(2\).
Review:
9Find parametric and symmetric equations of the line through \((2,-1,3)\) and \((4,3,1)\). Where does the line cross the \(xy\)-plane?
Solution
A direction vector is the difference of the points: \({\langle 4-2,\ 3-(-1),\ 1-3\rangle} = {\langle 2,4,-2\rangle}\). Any nonzero multiple works, so use \(\mathbf{v} = {\langle 1,2,-1\rangle}\) with the point \((2,-1,3)\):
\[x = 2 + t\] \[y = -1 + 2t\] \[z = 3 - t.\] \[\frac{x-2}{1} = \frac{y+1}{2} = \frac{z-3}{-1}.\]The \(xy\)-plane is \(z = 0\): \(3 - t = 0\) gives \(t = 3\), so \(x = 5\), \(y = 5\). The crossing point is \((5,5,0)\). Check with the symmetric form: \(\frac{5-2}{1} = 3\), \(\frac{5+1}{2} = 3\), \(\frac{0-3}{-1} = 3\).
\(x = 2 + t,\ y = -1 + 2t,\ z = 3 - t\); \(\frac{x-2}{1} = \frac{y+1}{2} = \frac{z-3}{-1}\); crosses the \(xy\)-plane at \((5,5,0)\).
Review:
10Find an equation of the plane that contains the point \((3,-1,2)\) and the line \(x = 1 + t,\ y = 2 - t,\ z = 3 + 2t\).
Solution
Two vectors lying in the plane: the line's direction \(\mathbf{v} = {\langle 1,-1,2\rangle}\), and the vector from the line's point \((1,2,3)\) (at \(t = 0\)) to the given point, \(\mathbf{w} = {\langle 3-1,\ -1-2,\ 2-3\rangle} = {\langle 2,-3,-1\rangle}\).
\[\mathbf{n} = {\mathbf{v}\times \mathbf{w}} = {\langle (-1)(-1) - (2)(-3),\ \ (2)(2) - (1)(-1),\ \ (1)(-3) - (-1)(2)\rangle} = {\langle 7,\ 5,\ -1\rangle}.\]Plane through \((3,-1,2)\) with this normal:
\[7(x-3) + 5(y+1) - (z-2) = 0\] \[\Longrightarrow\ 7x + 5y - z = 14.\]Checks: the line's point \((1,2,3)\) gives \(7 + 10 - 3 = 14\); its point at \(t = 1\), \((2,1,5)\), gives \(14 + 5 - 5 = 14\). The whole line lies in the plane, as required.
\(7x + 5y - z = 14\).
Review:
11(a) Find the distance from the point \((1,-2,4)\) to the plane \(3x + 2y + 6z = 5\). (b) Find the angle between the planes \(x + y + z = 1\) and \(x - 2y + 3z = 1\).
Solution
(a) With \(ax + by + cz = d\) and the point \((x_1,y_1,z_1)\):
\[D = \frac{|3(1) + 2(-2) + 6(4) - 5|}{\sqrt{9 + 4 + 36}} = \frac{|3 - 4 + 24 - 5|}{7} = \frac{18}{7}.\](b) The angle between planes is the angle between their normals \(\mathbf{n}_1 = {\langle 1,1,1\rangle}\) and \(\mathbf{n}_2 = {\langle 1,-2,3\rangle}\):
\[\cos\theta = \frac{{\mathbf{n}_1\cdot \mathbf{n}_2}}{|\mathbf{n}_1||\mathbf{n}_2|} = \frac{1 - 2 + 3}{\sqrt3\,\sqrt{14}} = \frac{2}{\sqrt{42}}\] \[\theta = \arccos\frac{2}{\sqrt{42}} \approx 72.0^\circ.\](a) \(D = \tfrac{18}{7}\). (b) \(\theta = \arccos\left(2/\sqrt{42}\right) \approx 72.0^\circ\).
Review:
12(a) Determine whether the lines \(L_1: x = 1 + 2t,\ y = 3t,\ z = 2 - t\) and \(L_2: x = -1 + s,\ y = 4 + s,\ z = 1 + 3s\) are parallel, intersecting or skew. (b) Find parametric equations for the line of intersection of the planes \(x + y + z = 1\) and \(2x - y + z = 0\).
Solution
(a) Directions \({\langle 2,3,-1\rangle}\) and \({\langle 1,1,3\rangle}\) are not multiples of each other, so the lines are not parallel. Try to intersect them by equating coordinates:
\[1 + 2t = -1 + s\] \[3t = 4 + s\] \[2 - t = 1 + 3s.\]From the first, \(s = 2 + 2t\). The second becomes \(3t = 6 + 2t\), so \(t = 6\) and \(s = 14\). The third then reads \(2 - 6 = -4\) on the left and \(1 + 42 = 43\) on the right. No common solution: the lines are skew.
(b) The line lies in both planes, so its direction is perpendicular to both normals:
\[\mathbf{v} = {\langle 1,1,1\rangle}\times{\langle 2,-1,1\rangle} = {\langle (1)(1) - (1)(-1),\ \ (1)(2) - (1)(1),\ \ (1)(-1) - (1)(2)\rangle} = {\langle 2,1,-3\rangle}.\]For a point, set \(z = 0\): \(x + y = 1\) and \(2x - y = 0\) give \(3x = 1\), so \(x = \tfrac13\), \(y = \tfrac23\).
\[x = \tfrac13 + 2t\] \[y = \tfrac23 + t\] \[z = -3t.\]Check at \(t = 1\): \((\tfrac73, \tfrac53, -3)\) satisfies \(\tfrac73 + \tfrac53 - 3 = 1\) and \(\tfrac{14}{3} - \tfrac53 - 3 = 0\).
(a) Skew. (b) \(x = \tfrac13 + 2t,\ y = \tfrac23 + t,\ z = -3t\).
Review:
13Identify each surface and describe its traces: (a) \(z = 4x^2 + y^2\); (b) \(\dfrac{x^2}{9} - \dfrac{y^2}{4} + z^2 = 1\); (c) \(4x^2 - y^2 + 4z^2 = 0\); (d) \(y^2 + z^2 = 9\).
Solution
(a) One variable to the first power, two squared terms with the same sign: an elliptic paraboloid opening upward along the \(z\)-axis. Traces \(z = k \gt 0\) are ellipses \(4x^2 + y^2 = k\) (twice as long in \(y\) as in \(x\)); traces \(x = k\) and \(y = k\) are upward parabolas.
(b) Three squared terms, one minus sign, equal to 1: a hyperboloid of one sheet. The minus sign is on \(y\), so the axis is the \(y\)-axis. Traces \(y = k\): ellipses \(\frac{x^2}{9} + z^2 = 1 + \frac{k^2}{4}\), smallest (the waist) at \(k = 0\). Traces \(x = k\) or \(z = k\): hyperbolas.
(c) Rewrite as \(y^2 = 4x^2 + 4z^2\): squared terms equal to 0 with one opposite sign, a cone with axis the \(y\)-axis and vertex at the origin. Traces \(y = k\) are circles \(x^2 + z^2 = k^2/4\); traces \(x = 0\) or \(z = 0\) are pairs of lines (\(y = \pm 2z\), \(y = \pm 2x\)).
(d) \(x\) is missing: a circular cylinder of radius 3 whose rulings are parallel to the \(x\)-axis. Every trace \(x = k\) is the same circle \(y^2 + z^2 = 9\).
(a) elliptic paraboloid (axis \(z\)); (b) hyperboloid of one sheet (axis \(y\)); (c) cone (axis \(y\)); (d) cylinder of radius 3 along the \(x\)-axis.
Review:
Unit 2 problems
Practice set · Problems 14 to 24 · Vector-valued functions
Problems 14 to 24
Every problem opens to a full, step-by-step solution with the final answer highlighted. Try it on paper first. The Review link at the end of each solution jumps back to the tab that teaches the idea.
14(a) Find \(\displaystyle\lim_{t\to 0}\left\langle \frac{\sin t}{t},\ \frac{1 - \cos t}{t^2},\ e^{2t}\right\rangle\). (b) For \(\mathbf{r}(t) = {\langle \cos 2t,\ \sin 2t,\ t^3\rangle}\), find \(\mathbf{r}'(t)\), the unit tangent \(\mathbf{T}(0)\), and parametric equations of the tangent line at \(t = 0\).
Solution
(a) Take the limit of each component. \(\frac{\sin t}{t} \to 1\). For the second, \(1 - \cos t = 2\sin^2(t/2)\), so \(\frac{1-\cos t}{t^2} = \frac{2\sin^2(t/2)}{t^2} = \frac12\left(\frac{\sin(t/2)}{t/2}\right)^2 \to \frac12\) (or use L’Hôpital twice). \(e^{2t} \to 1\).
\[\lim_{t\to 0}\mathbf{r}(t) = \left\langle 1,\ \tfrac12,\ 1\right\rangle.\](b) Differentiate componentwise:
\[\mathbf{r}'(t) = {\langle -2\sin 2t,\ 2\cos 2t,\ 3t^2\rangle}\] \[\mathbf{r}'(0) = {\langle 0,2,0\rangle}\] \[\mathbf{T}(0) = \frac{\mathbf{r}'(0)}{|\mathbf{r}'(0)|} = {\langle 0,1,0\rangle}.\](\(|\mathbf{r}'(0)| = \sqrt{0 + 4 + 0} = 2\).) The tangent line passes through \(\mathbf{r}(0) = (\cos 0, \sin 0, 0) = (1,0,0)\) with direction \({\langle 0,2,0\rangle}\) (any nonzero multiple, such as \({\langle 0,1,0\rangle}\), gives the same line):
\[x = 1\] \[y = 2s\] \[z = 0.\](a) \({\langle 1, \tfrac12, 1\rangle}\). (b) \(\mathbf{r}'(t) = {\langle -2\sin 2t, 2\cos 2t, 3t^2\rangle}\), \(\mathbf{T}(0) = {\langle 0,1,0\rangle}\), tangent line \(x = 1,\ y = 2s,\ z = 0\).
Review:
15(a) Evaluate \(\displaystyle\int_0^1 \left\langle t e^{t^2},\ \frac{1}{1+t^2},\ \sqrt t\right\rangle dt\). (b) With \(\mathbf{r}(t) = {\langle t, t^2, t^3\rangle}\) and \(\mathbf{u}(t) = {\langle e^t, 1, -t\rangle}\), compute \(\frac{d}{dt}[{\mathbf{r}\cdot \mathbf{u}}]\) two ways: by the product rule and by differentiating the dot product directly.
Solution
(a) Integrate each component:
\[\int_0^1 t e^{t^2}\,dt = \left[\tfrac12 e^{t^2}\right]_0^1 = \frac{e-1}{2}\] \[\int_0^1\frac{dt}{1+t^2} = \arctan 1 = \frac{\pi}{4}\] \[\int_0^1 \sqrt t\,dt = \frac23.\] \[\int_0^1 \mathbf{r}(t)\,dt = \left\langle \frac{e-1}{2},\ \frac{\pi}{4},\ \frac23\right\rangle.\](b) Product rule: \(\mathbf{r}' = {\langle 1, 2t, 3t^2\rangle}\), \(\mathbf{u}' = {\langle e^t, 0, -1\rangle}\).
\[\mathbf{r}'\cdot\mathbf{u} + {\mathbf{r}\cdot \mathbf{u}}' = (e^t + 2t - 3t^3) + (te^t + 0 - t^3) = e^t + te^t + 2t - 4t^3.\]Directly: \({\mathbf{r}\cdot \mathbf{u}} = te^t + t^2 - t^4\), whose derivative is \(e^t + te^t + 2t - 4t^3\). The two agree.
(a) \(\left\langle \tfrac{e-1}{2}, \tfrac{\pi}{4}, \tfrac23\right\rangle\). (b) \(e^t + te^t + 2t - 4t^3\).
Review:
16Parametrize (a) the curve where the cylinder \(x^2 + y^2 = 9\) meets the plane \(x + z = 5\); (b) the curve where the paraboloid \(z = x^2 + y^2\) meets the plane \(z = 2y\).
Solution
(a) The cylinder gives \(x = 3\cos t\), \(y = 3\sin t\), and the plane gives \(z = 5 - x\):
\[\mathbf{r}(t) = {\langle 3\cos t,\ 3\sin t,\ 5 - 3\cos t\rangle}\] \[0 \le t \le 2\pi.\]It is an ellipse (a plane slicing a circular cylinder at an angle).
(b) Eliminate \(z\): \(x^2 + y^2 = 2y\), i.e. \(x^2 + (y-1)^2 = 1\). The curve projects to a circle of radius 1 centred at \((0,1)\), so take \(x = \cos t\), \(y = 1 + \sin t\), and then \(z = 2y = 2 + 2\sin t\):
\[\mathbf{r}(t) = {\langle \cos t,\ 1 + \sin t,\ 2 + 2\sin t\rangle}\] \[0 \le t \le 2\pi.\]Check on the paraboloid: \(x^2 + y^2 = \cos^2 t + 1 + 2\sin t + \sin^2 t = 2 + 2\sin t = z\).
(a) \({\langle 3\cos t, 3\sin t, 5 - 3\cos t\rangle}\); (b) \({\langle \cos t, 1 + \sin t, 2 + 2\sin t\rangle}\), \(0 \le t \le 2\pi\).
Review:
17(a) Show that the curve \(\mathbf{r}(t) = {\langle t\cos t,\ t\sin t,\ t\rangle}\) lies on the cone \(z^2 = x^2 + y^2\) and describe it. (b) Find every point where the twisted cubic \(\mathbf{r}(t) = {\langle t, t^2, t^3\rangle}\) meets the plane \(x + 2y + z = 4\).
Solution
(a) \(x^2 + y^2 = t^2\cos^2 t + t^2\sin^2 t = t^2 = z^2\), so every point satisfies the cone's equation. As \(t\) increases the point circles the \(z\)-axis (angle \(t\)) while its distance from the axis, \(|t|\), and its height, \(t\), grow together: a conical spiral winding up the cone, starting at the vertex when \(t = 0\).
(b) Substitute the parametrization into the plane:
\[t + 2t^2 + t^3 = 4\] \[\Longrightarrow\ t^3 + 2t^2 + t - 4 = 0.\]\(t = 1\) is a root (\(1 + 2 + 1 - 4 = 0\)). Dividing out, \(t^3 + 2t^2 + t - 4 = (t-1)(t^2 + 3t + 4)\), and \(t^2 + 3t + 4\) has discriminant \(9 - 16 \lt 0\), so there are no other real roots. The only intersection is at \(t = 1\): the point \((1,1,1)\).
(a) \(x^2 + y^2 = t^2 = z^2\): a spiral on the cone. (b) Only at \((1,1,1)\).
Review:
18Find the length of the curve \(\mathbf{r}(t) = \left\langle 2t,\ t^2,\ \tfrac13 t^3\right\rangle\) for \(0 \le t \le 3\).
Solution
\[\mathbf{r}'(t) = {\langle 2,\ 2t,\ t^2\rangle}\] \[|\mathbf{r}'(t)| = \sqrt{4 + 4t^2 + t^4} = \sqrt{(t^2 + 2)^2} = t^2 + 2.\]The expression under the root is a perfect square, which is what makes this length computable exactly.
\[L = \int_0^3 (t^2 + 2)\,dt = \left[\frac{t^3}{3} + 2t\right]_0^3 = 9 + 6 = 15.\]\(L = 15\).
Review:
19(a) Find the curvature of \(y = x^2\) at the point \((1,1)\). (b) Find the curvature of \(\mathbf{r}(t) = {\langle t, t^2, t^3\rangle}\) at \(t = 0\).
Solution
(a) For a graph \(y = f(x)\), \(\kappa = \dfrac{|f''|}{(1 + f'^2)^{3/2}}\). Here \(f' = 2x = 2\) and \(f'' = 2\) at \(x = 1\):
\[\kappa = \frac{2}{(1 + 4)^{3/2}} = \frac{2}{5\sqrt5} \approx 0.179.\](b) Use \(\kappa = \dfrac{|\mathbf{r}'\times\mathbf{r}''|}{|\mathbf{r}'|^3}\). \(\mathbf{r}' = {\langle 1, 2t, 3t^2\rangle}\) and \(\mathbf{r}'' = {\langle 0, 2, 6t\rangle}\); at \(t = 0\) these are \({\langle 1,0,0\rangle}\) and \({\langle 0,2,0\rangle}\).
\[\mathbf{r}'\times\mathbf{r}'' = {\langle 0,0,2\rangle}\] \[\kappa(0) = \frac{2}{1^3} = 2.\]Near the origin the twisted cubic looks like the parabola \(y = x^2\) in the \(xy\)-plane (the \(z = t^3\) term is negligible), and indeed \(y = x^2\) has curvature \(2\) at the origin.
(a) \(\kappa = \tfrac{2}{5\sqrt5}\). (b) \(\kappa(0) = 2\).
Review:
20Reparametrize \(\mathbf{r}(t) = {\langle 3\sin t,\ 4t,\ 3\cos t\rangle}\) with respect to arc length measured from \(t = 0\), and find its curvature.
Solution
\[\mathbf{r}'(t) = {\langle 3\cos t,\ 4,\ -3\sin t\rangle}\] \[|\mathbf{r}'(t)| = \sqrt{9\cos^2 t + 16 + 9\sin^2 t} = \sqrt{25} = 5.\]Constant speed 5, so \(s(t) = \int_0^t 5\,du = 5t\) and \(t = s/5\):
\[\mathbf{r}(s) = \left\langle 3\sin\frac{s}{5},\ \frac{4s}{5},\ 3\cos\frac{s}{5}\right\rangle.\]Curvature: \(\mathbf{T} = \mathbf{r}'/5 = \tfrac15{\langle 3\cos t, 4, -3\sin t\rangle}\), \(\mathbf{T}' = \tfrac15{\langle -3\sin t, 0, -3\cos t\rangle}\), \(|\mathbf{T}'| = \tfrac35\).
\[\kappa = \frac{|\mathbf{T}'|}{|\mathbf{r}'|} = \frac{3/5}{5} = \frac{3}{25}.\]This is a helix around the \(y\)-axis with radius \(a = 3\) and pitch constant \(b = 4\); the helix formula \(\kappa = a/(a^2 + b^2) = 3/25\) agrees.
\(\mathbf{r}(s) = {\langle 3\sin(s/5), 4s/5, 3\cos(s/5)\rangle}\); \(\kappa = \tfrac{3}{25}\).
Review:
21For the helix \(\mathbf{r}(t) = {\langle 2\cos t,\ 2\sin t,\ t\rangle}\), find \(\mathbf{T}\), \(\mathbf{N}\), \(\mathbf{B}\) and \(\kappa\) at \(t = \pi/2\), and the equations of the osculating plane and the normal plane there.
Solution
\[\mathbf{r}' = {\langle -2\sin t,\ 2\cos t,\ 1\rangle},\quad |\mathbf{r}'| = \sqrt5,\quad \mathbf{T} = \tfrac{1}{\sqrt5}{\langle -2\sin t,\ 2\cos t,\ 1\rangle}.\] \[\mathbf{T}' = \tfrac{1}{\sqrt5}{\langle -2\cos t,\ -2\sin t,\ 0\rangle},\quad |\mathbf{T}'| = \tfrac{2}{\sqrt5},\quad \mathbf{N} = {\langle -\cos t,\ -\sin t,\ 0\rangle}.\] \[\mathbf{B} = {\mathbf{T}\times \mathbf{N}} = \tfrac{1}{\sqrt5}{\langle (2\cos t)(0) - (1)(-\sin t),\ \ (1)(-\cos t) - (-2\sin t)(0),\ \ 2\sin^2 t + 2\cos^2 t\rangle} = \tfrac{1}{\sqrt5}{\langle \sin t,\ -\cos t,\ 2\rangle}.\]At \(t = \pi/2\): \(\mathbf{r} = (0, 2, \pi/2)\), \(\mathbf{T} = \tfrac{1}{\sqrt5}{\langle -2, 0, 1\rangle}\), \(\mathbf{N} = {\langle 0,-1,0\rangle}\), \(\mathbf{B} = \tfrac{1}{\sqrt5}{\langle 1, 0, 2\rangle}\), and
\[\kappa = \frac{|\mathbf{T}'|}{|\mathbf{r}'|} = \frac{2/\sqrt5}{\sqrt5} = \frac25.\]The osculating plane has normal \(\mathbf{B}\): \(1(x - 0) + 0(y - 2) + 2(z - \pi/2) = 0\), i.e. \(x + 2z = \pi\). The normal plane has normal \(\mathbf{T}\): \(-2x + (z - \pi/2) = 0\), i.e. \(z - 2x = \pi/2\).
\(\mathbf{T} = \tfrac{1}{\sqrt5}{\langle -2,0,1\rangle}\), \(\mathbf{N} = {\langle 0,-1,0\rangle}\), \(\mathbf{B} = \tfrac{1}{\sqrt5}{\langle 1,0,2\rangle}\), \(\kappa = \tfrac25\); osculating plane \(x + 2z = \pi\); normal plane \(z - 2x = \pi/2\).
Review:
22For the parabola \(\mathbf{r}(t) = {\langle t, t^2\rangle}\) at \(t = 1\), find \(\mathbf{T}\), \(\mathbf{N}\), the curvature, and the centre and radius of the osculating circle.
Solution
\[\mathbf{r}' = {\langle 1, 2t\rangle} = {\langle 1,2\rangle}\] \[\mathbf{T}(1) = \tfrac{1}{\sqrt5}{\langle 1,2\rangle}.\]For a plane curve, \(\mathbf{N}\) is \(\mathbf{T}\) rotated \(90^\circ\) toward the concave side. The parabola opens upward, so \(\mathbf{N}(1) = \tfrac{1}{\sqrt5}{\langle -2, 1\rangle}\) (it has positive \(y\)-component and is perpendicular to \(\mathbf{T}\)).
\[\kappa = \frac{|f''|}{(1 + f'^2)^{3/2}} = \frac{2}{5^{3/2}} = \frac{2}{5\sqrt5}\] \[\rho = \frac1\kappa = \frac{5\sqrt5}{2}.\]The osculating circle has radius \(\rho\) and centre \(\mathbf{r}(1) + \rho\,\mathbf{N}\):
\[(1,1) + \frac{5\sqrt5}{2}\cdot\frac{1}{\sqrt5}{\langle -2,1\rangle} = (1,1) + \left\langle -5,\ \tfrac52\right\rangle = \left(-4,\ \tfrac72\right).\]\(\mathbf{T} = \tfrac{1}{\sqrt5}{\langle 1,2\rangle}\), \(\mathbf{N} = \tfrac{1}{\sqrt5}{\langle -2,1\rangle}\), \(\kappa = \tfrac{2}{5\sqrt5}\); osculating circle centre \((-4, \tfrac72)\), radius \(\tfrac{5\sqrt5}{2}\).
Review:
23A particle has acceleration \(\mathbf{a}(t) = {\langle 2, 0, -6t\rangle}\), initial velocity \(\mathbf{v}(0) = {\langle 0,3,0\rangle}\) and initial position \(\mathbf{r}(0) = {\langle 1,0,2\rangle}\). Find \(\mathbf{v}(t)\), \(\mathbf{r}(t)\), the speed at \(t = 1\), and the tangential and normal components of acceleration at \(t = 1\).
Solution
Integrate once and fit the constant:
\[\mathbf{v}(t) = {\langle 2t,\ 0,\ -3t^2\rangle} + \mathbf{C}_1,\quad \mathbf{v}(0) = \mathbf{C}_1 = {\langle 0,3,0\rangle} \ \Rightarrow\ \mathbf{v}(t) = {\langle 2t,\ 3,\ -3t^2\rangle}.\] \[\mathbf{r}(t) = {\langle t^2,\ 3t,\ -t^3\rangle} + \mathbf{C}_2,\quad \mathbf{r}(0) = \mathbf{C}_2 = {\langle 1,0,2\rangle} \ \Rightarrow\ \mathbf{r}(t) = {\langle t^2 + 1,\ 3t,\ 2 - t^3\rangle}.\]At \(t = 1\): \(\mathbf{v} = {\langle 2,3,-3\rangle}\), speed \(|\mathbf{v}| = \sqrt{4 + 9 + 9} = \sqrt{22}\); \(\mathbf{a} = {\langle 2,0,-6\rangle}\), \(|\mathbf{a}| = \sqrt{40}\).
\[a_T = \frac{{\mathbf{v}\cdot \mathbf{a}}}{|\mathbf{v}|} = \frac{4 + 0 + 18}{\sqrt{22}} = \frac{22}{\sqrt{22}} = \sqrt{22}\] \[a_N = \sqrt{|\mathbf{a}|^2 - a_T^2} = \sqrt{40 - 22} = \sqrt{18} = 3\sqrt2.\]Check with the cross product: \({\mathbf{v}\times \mathbf{a}} = {\langle -18, 6, -6\rangle}\), \(|{\mathbf{v}\times \mathbf{a}}| = \sqrt{324 + 36 + 36} = \sqrt{396}\), and \(a_N = \sqrt{396}/\sqrt{22} = \sqrt{18}\).
\(\mathbf{v} = {\langle 2t, 3, -3t^2\rangle}\), \(\mathbf{r} = {\langle t^2 + 1, 3t, 2 - t^3\rangle}\); speed \(\sqrt{22}\); \(a_T = \sqrt{22}\), \(a_N = 3\sqrt2\).
Review:
24A projectile is fired from a platform \(10\) m above the ground with speed \(30\) m/s at \(60^\circ\) above the horizontal. Take \(g = 9.8\) m/s\(^2\). Find its maximum height, the time it hits the ground, its horizontal range, and its speed at impact.
Solution
Components of the initial velocity: \(v_0\cos 60^\circ = 15\), \(v_0\sin 60^\circ = 15\sqrt3 \approx 25.98\).
\[\mathbf{r}(t) = \left\langle 15t,\ \ 10 + 15\sqrt3\,t - 4.9t^2\right\rangle\] \[\mathbf{v}(t) = {\langle 15,\ 15\sqrt3 - 9.8t\rangle}.\]Maximum height when the vertical velocity is zero: \(t = 15\sqrt3/9.8 \approx 2.65\) s, and
\[y_{\max} = 10 + \frac{(15\sqrt3)^2}{2(9.8)} = 10 + \frac{675}{19.6} \approx 44.4 \text{ m}.\]Impact when \(y = 0\): \(4.9t^2 - 15\sqrt3\,t - 10 = 0\), so
\[t = \frac{15\sqrt3 + \sqrt{675 + 196}}{9.8} = \frac{25.98 + 29.51}{9.8} \approx 5.66 \text{ s}.\]Range: \(x = 15(5.66) \approx 84.9\) m.
Impact speed: \(v_y = 15\sqrt3 - 9.8(5.66) \approx -29.5\) m/s, so \(|\mathbf{v}| = \sqrt{15^2 + 29.5^2} \approx 33.1\) m/s. Energy check: \(|\mathbf{v}|^2 = v_0^2 + 2gh = 900 + 196 = 1096\), and \(\sqrt{1096} \approx 33.1\).
Max height \(\approx 44.4\) m; lands at \(t \approx 5.66\) s; range \(\approx 84.9\) m; impact speed \(\approx 33.1\) m/s.
Review:
Unit 3 problems
Practice set · Problems 25 to 41 · Functions of several variables
Problems 25 to 41
Every problem opens to a full, step-by-step solution with the final answer highlighted. Try it on paper first. The Review link at the end of each solution jumps back to the tab that teaches the idea.
25Find the domain and range of \(f(x,y) = \ln(4 - x^2 - y^2)\), and describe its level curves.
Solution
The logarithm needs a positive argument: \(4 - x^2 - y^2 \gt 0\), i.e. \(x^2 + y^2 \lt 4\). The domain is the open disk of radius 2 (boundary circle excluded).
On the domain, \(4 - x^2 - y^2\) takes every value in \((0, 4]\), so \(f\) takes every value in \((-\infty, \ln 4]\). The maximum \(\ln 4\) occurs at the origin.
Level curves: \(\ln(4 - x^2 - y^2) = k\) gives \(x^2 + y^2 = 4 - e^k\), a circle of radius \(\sqrt{4 - e^k}\), defined for \(k \lt \ln 4\). As \(k \to -\infty\) the circles approach the boundary \(x^2 + y^2 = 4\), where the surface plunges to \(-\infty\); as \(k \to \ln 4\) they shrink to the origin.
Domain \(x^2 + y^2 \lt 4\); range \((-\infty, \ln 4]\); level curves are circles \(x^2 + y^2 = 4 - e^k\).
Review:
26(a) Sketch (describe) the domain of \(g(x,y) = \sqrt{y - x} + \sqrt{1 - y}\). (b) Describe the level surfaces of \(F(x,y,z) = x^2 + y^2 - z\).
Solution
(a) Both radicands must be nonnegative: \(y \ge x\) and \(y \le 1\). The domain is the region on or above the line \(y = x\) and on or below the horizontal line \(y = 1\): an infinite wedge opening to the left with vertex at \((1,1)\), boundary lines included. Note it forces \(x \le y \le 1\), so \(x \le 1\) as well.
(b) \(x^2 + y^2 - z = k\) is \(z = x^2 + y^2 - k\): a circular paraboloid opening upward with vertex at \((0,0,-k)\). The level surfaces are vertical translates of one paraboloid, moving down as \(k\) increases.
(a) \(\{(x,y): x \le y \le 1\}\). (b) Paraboloids \(z = x^2 + y^2 - k\).
Review:
27Show that \(\displaystyle\lim_{(x,y)\to(0,0)}\frac{xy}{x^2 + y^2}\) does not exist.
Solution
Approach along the \(x\)-axis (\(y = 0\)): \(f(x, 0) = \dfrac{0}{x^2} = 0\), so the limit along this path is \(0\).
Approach along the line \(y = x\): \(f(x,x) = \dfrac{x^2}{2x^2} = \dfrac12\), so the limit along this path is \(\dfrac12\).
Two paths give different values, so the limit does not exist. (Along \(y = mx\) the value is \(\frac{m}{1+m^2}\), which depends on \(m\): every line gives a different answer.)
Along \(y = 0\) the limit is 0; along \(y = x\) it is \(\tfrac12\). The limit does not exist.
Review:
28Evaluate, if they exist: (a) \(\displaystyle\lim_{(x,y)\to(1,2)}\frac{x^2 y - 3}{x + y}\); (b) \(\displaystyle\lim_{(x,y)\to(0,0)}\frac{3x^2 y}{x^2 + y^2}\).
Solution
(a) The function is a rational function whose denominator is \(3 \ne 0\) at \((1,2)\), so it is continuous there and the limit is the value:
\[\frac{(1)^2(2) - 3}{1 + 2} = \frac{-1}{3}.\](b) Direct substitution gives \(0/0\). The numerator has degree 3 and the denominator degree 2, so expect the limit to be 0. In polar coordinates \(x = r\cos\theta\), \(y = r\sin\theta\):
\[\frac{3r^2\cos^2\theta\cdot r\sin\theta}{r^2} = 3r\cos^2\theta\sin\theta\] \[\left|3r\cos^2\theta\sin\theta\right| \le 3r \to 0 \text{ as } r \to 0^+.\]The bound does not depend on \(\theta\), so the limit is 0 along every path.
(a) \(-\tfrac13\). (b) \(0\).
Review:
29Show that \(f(x,y) = \dfrac{xy^2}{x^2 + y^4}\) approaches 0 along every straight line through the origin, yet \(\displaystyle\lim_{(x,y)\to(0,0)} f(x,y)\) does not exist.
Solution
Along \(y = mx\): \(f(x, mx) = \dfrac{m^2 x^3}{x^2 + m^4 x^4} = \dfrac{m^2 x}{1 + m^4 x^2} \to 0\) as \(x \to 0\), for every \(m\). Along the \(y\)-axis (\(x = 0\)): \(f = 0\). So every line gives 0.
Now approach along the parabola \(x = y^2\):
\[f(y^2, y) = \frac{y^2\cdot y^2}{y^4 + y^4} = \frac12 \quad\text{for every } y \ne 0.\]The limit along this curve is \(\tfrac12 \ne 0\), so the two-dimensional limit does not exist. Agreement along all lines is not enough; the denominator's \(y^4\) hints that the path \(x = y^2\) (which balances the degrees) is the one to try.
Along every line \(f \to 0\), but along \(x = y^2\), \(f = \tfrac12\): no limit.
Review:
30Find \(f_x\) and \(f_y\) for \(f(x,y) = x^2 y^3 + e^{xy} - y\ln x\), evaluate them at \((1,1)\), and verify that \(f_{xy} = f_{yx}\).
Solution
Differentiate with respect to \(x\), treating \(y\) as a constant (note the chain rule on \(e^{xy}\)):
\[f_x = 2xy^3 + y\,e^{xy} - \frac{y}{x}\] \[f_y = 3x^2 y^2 + x\,e^{xy} - \ln x.\]At \((1,1)\): \(f_x = 2 + e - 1 = 1 + e\) and \(f_y = 3 + e - 0 = 3 + e\).
Mixed partials: differentiate \(f_x\) with respect to \(y\), and \(f_y\) with respect to \(x\).
\[f_{xy} = 6xy^2 + e^{xy} + xy\,e^{xy} - \frac1x\] \[f_{yx} = 6xy^2 + e^{xy} + xy\,e^{xy} - \frac1x.\]They agree, as Clairaut's theorem guarantees for this smooth function (on \(x \gt 0\)).
\(f_x = 2xy^3 + ye^{xy} - y/x\), \(f_y = 3x^2y^2 + xe^{xy} - \ln x\); \(f_x(1,1) = 1 + e\), \(f_y(1,1) = 3 + e\); \(f_{xy} = f_{yx} = 6xy^2 + (1 + xy)e^{xy} - 1/x\).
Review:
31(a) Show that \(u(x,t) = e^{-t}\sin x\) satisfies the heat equation \(u_t = u_{xx}\). (b) Show that \(u(x,y) = \ln(x^2 + y^2)\) satisfies Laplace's equation \(u_{xx} + u_{yy} = 0\).
Solution
(a) \(u_t = -e^{-t}\sin x\). \(u_x = e^{-t}\cos x\), \(u_{xx} = -e^{-t}\sin x\). So \(u_t = u_{xx}\).
(b) \(u_x = \dfrac{2x}{x^2 + y^2}\). By the quotient rule,
\[u_{xx} = \frac{2(x^2 + y^2) - 2x\cdot 2x}{(x^2+y^2)^2} = \frac{2y^2 - 2x^2}{(x^2+y^2)^2}.\]By symmetry (swap the roles of \(x\) and \(y\)),
\[u_{yy} = \frac{2x^2 - 2y^2}{(x^2+y^2)^2}\] \[u_{xx} + u_{yy} = 0.\]So \(\ln(x^2 + y^2)\) is harmonic everywhere except at the origin, where it is undefined.
(a) \(u_t = u_{xx} = -e^{-t}\sin x\). (b) \(u_{xx} = -u_{yy} = \dfrac{2y^2 - 2x^2}{(x^2+y^2)^2}\), so the sum is 0.
Review:
32Find the tangent plane to \(z = x^2 y + 3y^2\) at the point where \((x,y) = (1,-1)\), and use it to approximate \(f(1.1, -0.9)\).
Solution
\(f(1,-1) = (1)(-1) + 3(1) = 2\). Partials: \(f_x = 2xy\), \(f_y = x^2 + 6y\), so \(f_x(1,-1) = -2\) and \(f_y(1,-1) = 1 - 6 = -5\).
\[z = 2 - 2(x - 1) - 5(y + 1)\] \[\Longrightarrow\ z = -2x - 5y - 1.\]Check: at \((1,-1)\), \(-2 + 5 - 1 = 2\). Approximation:
\[f(1.1, -0.9) \approx -2(1.1) - 5(-0.9) - 1 = -2.2 + 4.5 - 1 = 1.3.\]The exact value is \((1.21)(-0.9) + 3(0.81) = -1.089 + 2.43 = 1.341\). The error of about \(0.04\) comes from the curvature of the surface over a step of size \(0.1\).
Tangent plane \(z = -2x - 5y - 1\); \(f(1.1,-0.9) \approx 1.3\) (exact \(1.341\)).
Review:
33Find equations of the tangent plane and the normal line to the surface \(xyz = 6\) at the point \((1,2,3)\).
Solution
The surface is a level surface of \(F(x,y,z) = xyz\), so a normal vector is the gradient:
\[\nabla F = {\langle yz,\ xz,\ xy\rangle}\] \[\nabla F(1,2,3) = {\langle 6,\ 3,\ 2\rangle}.\] \[\text{Tangent plane: } 6(x-1) + 3(y-2) + 2(z-3) = 0\] \[\Longrightarrow\ 6x + 3y + 2z = 18.\] \[\text{Normal line: } x = 1 + 6t\] \[y = 2 + 3t\] \[z = 3 + 2t.\]Check the plane contains the point: \(6 + 6 + 6 = 18\).
Plane \(6x + 3y + 2z = 18\); normal line \(x = 1 + 6t,\ y = 2 + 3t,\ z = 3 + 2t\).
Review:
34Use differentials to estimate \(\sqrt{(9.02)^2 + (11.97)^2}\).
Solution
Let \(f(x,y) = \sqrt{x^2 + y^2}\) and start from \((9, 12)\), where \(f = 15\) exactly. Here \(dx = 0.02\), \(dy = -0.03\).
\[f_x = \frac{x}{\sqrt{x^2 + y^2}} = \frac{9}{15} = 0.6\] \[f_y = \frac{y}{\sqrt{x^2+y^2}} = \frac{12}{15} = 0.8.\] \[dz = f_x\,dx + f_y\,dy = 0.6(0.02) + 0.8(-0.03) = 0.012 - 0.024 = -0.012.\] \[\sqrt{(9.02)^2 + (11.97)^2} \approx 15 - 0.012 = 14.988.\]A calculator gives \(14.98804\ldots\); the differential is accurate to five significant figures.
\(\approx 14.988\).
Review:
35The edges of a box are measured as \(20\), \(30\) and \(40\) cm, each with a possible error of \(0.1\) cm. Estimate the maximum error in the computed volume and the relative error.
Solution
\(V = xyz\), so \(dV = yz\,dx + xz\,dy + xy\,dz\). At \((20,30,40)\) with every error equal to \(0.1\):
\[|dV| \le (30)(40)(0.1) + (20)(40)(0.1) + (20)(30)(0.1) = 120 + 80 + 60 = 260 \text{ cm}^3.\]The computed volume is \(V = 24{,}000\) cm\(^3\), so the relative error is about
\[\frac{260}{24000} \approx 0.0108 \approx 1.1\%.\]Equivalently, \(\dfrac{dV}{V} = \dfrac{dx}{x} + \dfrac{dy}{y} + \dfrac{dz}{z} = \dfrac{0.1}{20} + \dfrac{0.1}{30} + \dfrac{0.1}{40}\): relative errors in a product add.
Maximum error \(\approx 260\) cm\(^3\), about \(1.1\%\) of the volume.
Review:
36Let \(z = x\ln y + y^2\) with \(x = t^2\) and \(y = e^t\). Find \(dz/dt\) using the chain rule, then check by substituting first.
Solution
\[\frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt} = (\ln y)(2t) + \left(\frac{x}{y} + 2y\right)e^t.\]Substitute \(x = t^2\), \(y = e^t\) (so \(\ln y = t\)):
\[\frac{dz}{dt} = 2t\cdot t + \left(\frac{t^2}{e^t} + 2e^t\right)e^t = 2t^2 + t^2 + 2e^{2t} = 3t^2 + 2e^{2t}.\]Check: substituting first, \(z = t^2\cdot t + e^{2t} = t^3 + e^{2t}\), and \(\frac{dz}{dt} = 3t^2 + 2e^{2t}\). Same.
\(\dfrac{dz}{dt} = 3t^2 + 2e^{2t}\).
Review:
37Let \(w = xy + yz + zx\) with \(x = s\cos t\), \(y = s\sin t\), \(z = t\). Find \(\partial w/\partial s\) and \(\partial w/\partial t\) when \(s = 1\), \(t = 0\).
Solution
Partials of \(w\): \(w_x = y + z\), \(w_y = x + z\), \(w_z = x + y\). Partials of the intermediate variables: \(x_s = \cos t\), \(y_s = \sin t\), \(z_s = 0\); \(x_t = -s\sin t\), \(y_t = s\cos t\), \(z_t = 1\).
\[\frac{\partial w}{\partial s} = (y+z)\cos t + (x+z)\sin t + (x+y)\cdot 0\] \[\frac{\partial w}{\partial t} = (y+z)(-s\sin t) + (x+z)(s\cos t) + (x+y)(1).\]At \(s = 1\), \(t = 0\): \(x = 1\), \(y = 0\), \(z = 0\), \(\cos t = 1\), \(\sin t = 0\).
\[\frac{\partial w}{\partial s} = (0)(1) + (1)(0) + 0 = 0\] \[\frac{\partial w}{\partial t} = 0 + (1)(1) + (1)(1) = 2.\]\(\partial w/\partial s = 0\), \(\partial w/\partial t = 2\) at \((s,t) = (1,0)\).
Review:
38Find \(dy/dx\) if \(x^3 + y^3 = 3xy\), and evaluate it at the point \(\left(\tfrac32, \tfrac32\right)\).
Solution
Let \(F(x,y) = x^3 + y^3 - 3xy\). Then \(F_x = 3x^2 - 3y\) and \(F_y = 3y^2 - 3x\), so
\[\frac{dy}{dx} = -\frac{F_x}{F_y} = -\frac{3x^2 - 3y}{3y^2 - 3x} = \frac{y - x^2}{y^2 - x}.\]At \(\left(\tfrac32, \tfrac32\right)\) (which is on the curve: \(\tfrac{27}{8} + \tfrac{27}{8} = \tfrac{27}{4} = 3\cdot\tfrac94\)):
\[\frac{dy}{dx} = \frac{\tfrac32 - \tfrac94}{\tfrac94 - \tfrac32} = \frac{-\tfrac34}{\tfrac34} = -1.\]This is the folium of Descartes; the tangent at its "nose" point \((3/2, 3/2)\) is perpendicular to the line \(y = x\), as symmetry demands.
\(\dfrac{dy}{dx} = \dfrac{y - x^2}{y^2 - x}\); at \((\tfrac32,\tfrac32)\) the slope is \(-1\).
Review:
39Find \(\partial z/\partial x\) and \(\partial z/\partial y\) if \(x^2 + y^2 + z^2 = 3xyz\), and evaluate them at \((1,1,1)\).
Solution
Let \(F = x^2 + y^2 + z^2 - 3xyz\): \(F_x = 2x - 3yz\), \(F_y = 2y - 3xz\), \(F_z = 2z - 3xy\).
\[\frac{\partial z}{\partial x} = -\frac{F_x}{F_z} = \frac{3yz - 2x}{2z - 3xy}\] \[\frac{\partial z}{\partial y} = -\frac{F_y}{F_z} = \frac{3xz - 2y}{2z - 3xy}.\]At \((1,1,1)\) (on the surface: \(3 = 3\)): both equal \(\dfrac{3 - 2}{2 - 3} = -1\).
Interpretation: near \((1,1,1)\), increasing either \(x\) or \(y\) by a small amount lowers \(z\) by about the same amount.
\(\dfrac{\partial z}{\partial x} = \dfrac{3yz - 2x}{2z - 3xy}\), \(\dfrac{\partial z}{\partial y} = \dfrac{3xz - 2y}{2z - 3xy}\); both equal \(-1\) at \((1,1,1)\).
Review:
40Let \(f(x,y) = x e^{y} + y^2\). Find \(\nabla f(2,0)\), the directional derivative at \((2,0)\) in the direction of \(\mathbf{v} = {\langle 3,-4\rangle}\), and the maximum rate of change at \((2,0)\) with the direction in which it occurs.
Solution
\[\nabla f = {\langle e^{y},\ xe^{y} + 2y\rangle}\] \[\nabla f(2,0) = {\langle 1,\ 2\rangle}.\]Make \(\mathbf{v}\) a unit vector: \(|\mathbf{v}| = 5\), \(\mathbf{u} = {\langle \tfrac35, -\tfrac45\rangle}\).
\[D_{\mathbf{u}} f(2,0) = {\nabla f\cdot \mathbf{u}} = \frac35 - \frac85 = -1.\]Moving in that direction, \(f\) decreases at rate 1 per unit distance. The maximum rate of change is
\[|\nabla f(2,0)| = \sqrt5 \quad\text{in the direction } \frac{1}{\sqrt5}{\langle 1,2\rangle}.\]\(\nabla f(2,0) = {\langle 1,2\rangle}\); \(D_{\mathbf{u}} f = -1\); maximum rate \(\sqrt5\) in direction \(\tfrac{1}{\sqrt5}{\langle 1,2\rangle}\).
Review:
41(a) Use the gradient to find the tangent line to the curve \(x^2 - xy + y^2 = 7\) at \((-1,2)\). (b) The temperature at \((x,y,z)\) is \(T = \dfrac{200}{1 + x^2 + 2y^2 + 3z^2}\). In which direction from \((2,-1,2)\) does \(T\) increase fastest, and at what rate?
Solution
(a) With \(f = x^2 - xy + y^2\), \(\nabla f = {\langle 2x - y,\ -x + 2y\rangle} = {\langle -4, 5\rangle}\) at \((-1,2)\). The gradient is normal to the level curve, so the tangent line is
\[-4(x + 1) + 5(y - 2) = 0\] \[\Longrightarrow\ -4x + 5y = 14.\]Check: \(-4(-1) + 5(2) = 14\).
(b) Write \(T = 200\,u^{-1}\) with \(u = 1 + x^2 + 2y^2 + 3z^2\). Then \(\nabla T = -\dfrac{200}{u^2}{\langle 2x,\ 4y,\ 6z\rangle}\). At \((2,-1,2)\), \(u = 1 + 4 + 2 + 12 = 19\):
\[\nabla T = -\frac{200}{361}{\langle 4,\ -4,\ 12\rangle} = \frac{800}{361}{\langle -1,\ 1,\ -3\rangle}.\]Fastest increase is in the direction \({\langle -1, 1, -3\rangle}\) (toward the origin, where \(T\) is largest), with rate
\[|\nabla T| = \frac{800}{361}\sqrt{1 + 1 + 9} = \frac{800\sqrt{11}}{361} \approx 7.35 \text{ degrees per unit length}.\](a) \(-4x + 5y = 14\). (b) Direction \({\langle -1,1,-3\rangle}\) (unit vector \(\tfrac{1}{\sqrt{11}}{\langle -1,1,-3\rangle}\)), rate \(\tfrac{800\sqrt{11}}{361} \approx 7.35\).
Review:
Unit 4 problems
Practice set · Problems 42 to 52 · Multivariable optimization
Problems 42 to 52
Every problem opens to a full, step-by-step solution with the final answer highlighted. Try it on paper first. The Review link at the end of each solution jumps back to the tab that teaches the idea.
42Find all critical points of \(f(x,y) = x^2 + y^2 + x^2 y + 4\).
Solution
\[f_x = 2x + 2xy = 2x(1 + y)\] \[f_y = 2y + x^2.\]\(f_x = 0\) gives \(x = 0\) or \(y = -1\). Follow each case into \(f_y = 0\):
If \(x = 0\): \(2y = 0\), so \(y = 0\). Critical point \((0,0)\).
If \(y = -1\): \(-2 + x^2 = 0\), so \(x = \pm\sqrt2\). Critical points \((\sqrt2, -1)\) and \((-\sqrt2, -1)\).
Three critical points, with \(f(0,0) = 4\) and \(f(\pm\sqrt2, -1) = 2 + 1 - 2 + 4 = 5\). (The second derivative test, \(f_{xx} = 2 + 2y\), \(f_{yy} = 2\), \(f_{xy} = 2x\), \(D = 4(1+y) - 4x^2\), gives \(D(0,0) = 4 \gt 0\) with \(f_{xx} = 2 \gt 0\): a local minimum; and \(D(\pm\sqrt2,-1) = 0 - 8 \lt 0\): saddle points.)
\((0,0)\), \((\sqrt2,-1)\), \((-\sqrt2,-1)\).
Review:
43Find the critical point of \(f(x,y) = xy - 2x - 2y - x^2 - y^2\) and classify it.
Solution
\[f_x = y - 2 - 2x = 0\] \[f_y = x - 2 - 2y = 0.\]From the first equation \(y = 2x + 2\). Substituting into the second: \(x - 2 - 2(2x + 2) = 0\), so \(-3x - 6 = 0\), \(x = -2\), and \(y = -2\). The only critical point is \((-2,-2)\).
\[f_{xx} = -2\] \[f_{yy} = -2\] \[f_{xy} = 1\] \[D = (-2)(-2) - 1^2 = 3 \gt 0.\]\(D \gt 0\) and \(f_{xx} \lt 0\): a local maximum, with value
\[f(-2,-2) = 4 + 4 + 4 - 4 - 4 = 4.\]Since \(f\) is a downward-opening quadratic (its quadratic part \(xy - x^2 - y^2\) is negative definite), this is in fact the absolute maximum.
Critical point \((-2,-2)\): local (and absolute) maximum, \(f = 4\).
Review: ·
44Without using the second derivative test, decide whether the origin is a local maximum, a local minimum or a saddle point for each function: (a) \(f = 3x^2 + 2y^2\); (b) \(g = x^2 - 4y^2\); (c) \(h = -x^4 - y^2\); (d) \(k = x^3 + y^2\).
Solution
In every case the origin is a critical point (both partials vanish there) and the value at the origin is 0, so look at the sign of the function nearby.
(a) \(3x^2 + 2y^2 \ge 0\) with equality only at the origin: a local minimum.
(b) Along the \(x\)-axis \(g = x^2 \gt 0\); along the \(y\)-axis \(g = -4y^2 \lt 0\). Both signs appear arbitrarily close to the origin: a saddle point.
(c) \(-x^4 - y^2 \le 0\) with equality only at the origin: a local maximum. (Here \(D = 0\), so the second derivative test would have been silent.)
(d) Along the \(x\)-axis \(k = x^3\), which is positive for \(x \gt 0\) and negative for \(x \lt 0\). The function takes both signs near the origin, so it is neither a maximum nor a minimum; the critical point is a saddle-type point (\(D = 0\) again, since \(k_{xx} = 6x = 0\) there).
(a) local minimum; (b) saddle; (c) local maximum; (d) neither (saddle type).
Review:
45Find and classify all critical points of \(f(x,y) = x^3 + y^3 - 3x - 3y\).
Solution
\[f_x = 3x^2 - 3 = 0 \Rightarrow x = \pm 1\] \[f_y = 3y^2 - 3 = 0 \Rightarrow y = \pm 1.\]Four critical points: \((1,1)\), \((1,-1)\), \((-1,1)\), \((-1,-1)\).
\[f_{xx} = 6x\] \[f_{yy} = 6y\] \[f_{xy} = 0\] \[D = 36xy.\]- \((1,1)\) \(D = 36 \gt 0\), \(f_{xx} = 6 \gt 0\): local minimum, \(f = 1 + 1 - 3 - 3 = -4\).
- \((-1,-1)\) \(D = 36 \gt 0\), \(f_{xx} = -6 \lt 0\): local maximum, \(f = -1 - 1 + 3 + 3 = 4\).
- \((1,-1)\) and \((-1,1)\) \(D = -36 \lt 0\): saddle points, \(f = 0\) at both.
The surface is a sum of two "cubic bumps", one in each variable; the extrema occur where both one-variable pieces have the same kind of extremum.
Local min \(-4\) at \((1,1)\); local max \(4\) at \((-1,-1)\); saddles at \((1,-1)\) and \((-1,1)\).
Review:
46Find and classify the critical points of \(f(x,y) = x^2 y - 2xy + y^2\).
Solution
\[f_x = 2xy - 2y = 2y(x - 1)\] \[f_y = x^2 - 2x + 2y.\]\(f_x = 0\) gives \(y = 0\) or \(x = 1\).
If \(y = 0\): \(x^2 - 2x = 0\), so \(x = 0\) or \(x = 2\): points \((0,0)\) and \((2,0)\).
If \(x = 1\): \(1 - 2 + 2y = 0\), so \(y = \tfrac12\): point \(\left(1, \tfrac12\right)\).
\[f_{xx} = 2y\] \[f_{yy} = 2\] \[f_{xy} = 2x - 2\] \[D = 4y - (2x - 2)^2.\]At \((0,0)\): \(f_{xy} = -2\), so \(D = 0 - 4 = -4 \lt 0\), saddle. At \((2,0)\): \(f_{xy} = 2\), so \(D = 0 - 4 = -4 \lt 0\), saddle. At \(\left(1,\tfrac12\right)\): \(f_{xy} = 0\) and \(f_{xx} = 2\cdot\tfrac12 = 1\), so \(D = 4\cdot\tfrac12 - 0 = 2 \gt 0\) and \(f_{xx} = 1 \gt 0\): local minimum, with
\[f\left(1,\tfrac12\right) = \tfrac12 - 1 + \tfrac14 = -\tfrac14.\]Saddles at \((0,0)\) and \((2,0)\); local minimum \(-\tfrac14\) at \((1,\tfrac12)\).
Review:
47Find the absolute maximum and minimum of \(f(x,y) = x^2 + 2y^2 - x\) on the closed disk \(x^2 + y^2 \le 1\).
Solution
Interior. \(f_x = 2x - 1 = 0\) and \(f_y = 4y = 0\) give \(\left(\tfrac12, 0\right)\), which is inside the disk; \(f = \tfrac14 - \tfrac12 = -\tfrac14\).
Boundary. On \(x^2 + y^2 = 1\), substitute \(y^2 = 1 - x^2\) with \(-1 \le x \le 1\):
\[g(x) = x^2 + 2(1 - x^2) - x = 2 - x - x^2\] \[g'(x) = -1 - 2x = 0 \Rightarrow x = -\tfrac12.\]\(g(-\tfrac12) = 2 + \tfrac12 - \tfrac14 = \tfrac94\), attained at the two boundary points with \(x = -\tfrac12\), namely \(y = \pm\sqrt{1 - \tfrac14} = \pm\tfrac{\sqrt3}{2}\); endpoints \(g(1) = 0\) at \((1,0)\) and \(g(-1) = 2\) at \((-1,0)\). (The substitution \(y^2 = 1 - x^2\) covers the whole circle because \(f\) depends on \(y\) only through \(y^2\); otherwise parametrize with \(\cos t, \sin t\).)
Compare \(-\tfrac14,\ \tfrac94,\ 0,\ 2\).
Absolute maximum \(\tfrac94\) at \(\left(-\tfrac12, \pm\tfrac{\sqrt3}{2}\right)\); absolute minimum \(-\tfrac14\) at \(\left(\tfrac12, 0\right)\).
Review:
48Find the absolute maximum and minimum of \(f(x,y) = x + y - xy\) on the closed triangle with vertices \((0,0)\), \((0,2)\) and \((4,0)\).
Solution
Interior. \(f_x = 1 - y = 0\), \(f_y = 1 - x = 0\): the point \((1,1)\), which lies inside the triangle (\(\tfrac14 + \tfrac12 \lt 1\) for the hypotenuse \(\tfrac x4 + \tfrac y2 = 1\)). \(f(1,1) = 1\).
Edge \(y = 0\), \(0 \le x \le 4\): \(f = x\), from \(0\) to \(4\).
Edge \(x = 0\), \(0 \le y \le 2\): \(f = y\), from \(0\) to \(2\).
Hypotenuse \(y = 2 - \tfrac x2\), \(0 \le x \le 4\):
\[f = x + 2 - \tfrac x2 - x\left(2 - \tfrac x2\right) = \tfrac{x^2}{2} - \tfrac{3x}{2} + 2\] \[\frac{d}{dx} = x - \tfrac32 = 0 \Rightarrow x = \tfrac32\]giving \(f = \tfrac98 - \tfrac94 + 2 = \tfrac78\) at \(\left(\tfrac32, \tfrac54\right)\); the endpoints are the corners already counted (\(f(0,2) = 2\), \(f(4,0) = 4\)).
Compare \(1,\ 0,\ 4,\ 2,\ \tfrac78\).
Absolute maximum \(4\) at \((4,0)\); absolute minimum \(0\) at \((0,0)\).
Review:
49Use Lagrange multipliers to find the maximum and minimum of \(f(x,y) = 3x + 4y\) on the circle \(x^2 + y^2 = 1\).
Solution
With \(g = x^2 + y^2\), the equations \(\nabla f = \lambda\nabla g\), \(g = 1\) read
\[3 = 2\lambda x\] \[4 = 2\lambda y\] \[x^2 + y^2 = 1.\]\(\lambda \ne 0\) (otherwise \(3 = 0\)), so \(x = \dfrac{3}{2\lambda}\), \(y = \dfrac{2}{\lambda}\). The constraint gives
\[\frac{9}{4\lambda^2} + \frac{4}{\lambda^2} = \frac{25}{4\lambda^2} = 1\] \[\Longrightarrow\ \lambda = \pm\frac52.\]\(\lambda = \tfrac52\): \((x,y) = \left(\tfrac35, \tfrac45\right)\), \(f = \tfrac95 + \tfrac{16}{5} = 5\). \(\lambda = -\tfrac52\): \(\left(-\tfrac35, -\tfrac45\right)\), \(f = -5\).
Geometrically, \(f = {\langle 3,4\rangle}\cdot{\langle x,y\rangle}\) is largest when \((x,y)\) is the unit vector in the direction of \({\langle 3,4\rangle}\), and the maximum equals \(|{\langle 3,4\rangle}| = 5\).
Maximum \(5\) at \(\left(\tfrac35,\tfrac45\right)\); minimum \(-5\) at \(\left(-\tfrac35,-\tfrac45\right)\).
Review:
50Find the point on the plane \(x + 2y + 3z = 14\) that is closest to the origin, and the distance.
Solution
Minimize the squared distance \(f = x^2 + y^2 + z^2\) subject to \(g = x + 2y + 3z = 14\) (minimizing the square avoids the root and has the same minimizer).
\[{\langle 2x, 2y, 2z\rangle} = \lambda{\langle 1, 2, 3\rangle}\] \[\Longrightarrow\ x = \frac{\lambda}{2},\quad y = \lambda,\quad z = \frac{3\lambda}{2}.\]Substitute into the constraint: \(\dfrac{\lambda}{2} + 2\lambda + \dfrac{9\lambda}{2} = 7\lambda = 14\), so \(\lambda = 2\) and the point is \((1, 2, 3)\).
\[\text{Distance} = \sqrt{1 + 4 + 9} = \sqrt{14}.\]Check with the point-to-plane formula: \(\dfrac{|0 + 0 + 0 - 14|}{\sqrt{1 + 4 + 9}} = \dfrac{14}{\sqrt{14}} = \sqrt{14}\). The closest point is a multiple of the normal vector, as it must be.
Closest point \((1,2,3)\); distance \(\sqrt{14}\).
Review:
51Find three positive numbers whose sum is 12 and whose product is as large as possible.
Solution
Maximize \(f = xyz\) subject to \(g = x + y + z = 12\), with \(x, y, z \gt 0\).
\[\nabla f = \lambda\nabla g:\quad yz = \lambda\] \[xz = \lambda\] \[xy = \lambda.\]So \(yz = xz = xy\). Since the variables are positive we may divide: \(yz = xz\) gives \(y = x\), and \(xz = xy\) gives \(z = y\). Hence \(x = y = z\), and the constraint gives \(3x = 12\), \(x = 4\).
\[\text{Maximum product } = 4\cdot 4\cdot 4 = 64.\]This is the only candidate, and the product tends to 0 as any variable tends to 0 (the boundary of the constraint region), so it is the maximum. It is the AM-GM inequality in disguise: \(\sqrt[3]{xyz} \le \dfrac{x + y + z}{3} = 4\).
\(x = y = z = 4\), maximum product \(64\).
Review:
52Find the maximum and minimum values of \(f(x,y,z) = x + 2y + 3z\) on the curve where the plane \(x - y + z = 1\) meets the cylinder \(x^2 + y^2 = 1\).
Solution
Two constraints, \(g = x - y + z = 1\) and \(h = x^2 + y^2 = 1\), so \(\nabla f = \lambda\nabla g + \mu\nabla h\):
\[1 = \lambda + 2\mu x\] \[2 = -\lambda + 2\mu y\] \[3 = \lambda.\]The third equation gives \(\lambda = 3\). Then \(2\mu x = -2\), so \(x = -1/\mu\), and \(2\mu y = 5\), so \(y = \dfrac{5}{2\mu}\). The cylinder gives
\[\frac{1}{\mu^2} + \frac{25}{4\mu^2} = \frac{29}{4\mu^2} = 1\] \[\Longrightarrow\ \mu = \pm\frac{\sqrt{29}}{2}.\]For \(\mu = \tfrac{\sqrt{29}}{2}\): \(x = -\tfrac{2}{\sqrt{29}}\), \(y = \tfrac{5}{\sqrt{29}}\), and from the plane \(z = 1 - x + y = 1 + \tfrac{7}{\sqrt{29}}\). Then
\[f = -\frac{2}{\sqrt{29}} + \frac{10}{\sqrt{29}} + 3 + \frac{21}{\sqrt{29}} = 3 + \frac{29}{\sqrt{29}} = 3 + \sqrt{29}.\]For \(\mu = -\tfrac{\sqrt{29}}{2}\) every sign flips in the fractions: \(x = \tfrac{2}{\sqrt{29}}\), \(y = -\tfrac{5}{\sqrt{29}}\), \(z = 1 - \tfrac{7}{\sqrt{29}}\), and \(f = \tfrac{2}{\sqrt{29}} - \tfrac{10}{\sqrt{29}} + 3 - \tfrac{21}{\sqrt{29}} = 3 - \sqrt{29}\). The constraint curve is an ellipse (closed and bounded), so these two candidates are the maximum and minimum. Note that \(\lambda\) was found from the \(z\)-equation alone because \(h\) has no \(z\); always look for the equation with the fewest unknowns first.
Maximum \(3 + \sqrt{29}\), minimum \(3 - \sqrt{29}\).
Review:
Unit 5 problems
Practice set · Problems 53 to 69 · Multiple integrals
Problems 53 to 69
Every problem opens to a full, step-by-step solution with the final answer highlighted. Try it on paper first. The Review link at the end of each solution jumps back to the tab that teaches the idea.
53Evaluate \(\displaystyle\iint_R (6x^2 y - 2x)\,dA\), where \(R = [1,4]\times[0,2]\).
Solution
By Fubini's theorem, integrate in \(y\) first (either order works over a rectangle):
\[\int_1^4\!\!\int_0^2 (6x^2 y - 2x)\,dy\,dx = \int_1^4 \Big[3x^2 y^2 - 2xy\Big]_{y=0}^{y=2}dx = \int_1^4 (12x^2 - 4x)\,dx\] \[= \Big[4x^3 - 2x^2\Big]_1^4 = (256 - 32) - (4 - 2) = 222.\]Check in the other order: \(\int_0^2\!\int_1^4 (6x^2y - 2x)\,dx\,dy = \int_0^2 \big[2x^3 y - x^2\big]_1^4 dy = \int_0^2 (126y - 15)\,dy = 252 - 30 = 222\).
\(222\).
Review:
54(a) Evaluate \(\displaystyle\iint_R x\sin(xy)\,dA\) over \(R = [0,\pi]\times[0,1]\), choosing the order of integration wisely. (b) Find the volume of the solid under the plane \(z = 4 - x - y\) and above the rectangle \([0,1]\times[0,2]\).
Solution
(a) Integrating in \(x\) first would need integration by parts. Integrating in \(y\) first is immediate, because \(x\) is then a constant and \(\int x\sin(xy)\,dy = -\cos(xy)\):
\[\int_0^\pi\!\!\int_0^1 x\sin(xy)\,dy\,dx = \int_0^\pi \Big[-\cos(xy)\Big]_{y=0}^{y=1}dx = \int_0^\pi (1 - \cos x)\,dx = \pi - 0 = \pi.\](b) The plane is above the rectangle (\(z \ge 1 \gt 0\) there), so the volume is the double integral:
\[V = \int_0^1\!\!\int_0^2 (4 - x - y)\,dy\,dx = \int_0^1 \Big[4y - xy - \tfrac{y^2}{2}\Big]_0^2 dx = \int_0^1 (6 - 2x)\,dx = 6 - 1 = 5.\](a) \(\pi\). (b) \(V = 5\).
Review:
55Evaluate \(\displaystyle\iint_D xy\,dA\), where \(D\) is the region bounded by the line \(y = x - 1\) and the parabola \(y^2 = 2x + 6\).
Solution
The curves meet where \(y + 1 = \dfrac{y^2 - 6}{2}\), i.e. \(y^2 - 2y - 8 = 0\), so \(y = 4\) or \(y = -2\): the points \((5,4)\) and \((-1,-2)\).
Describing \(D\) with vertical slices would need two integrals (the lower boundary changes from the parabola to the line). With horizontal slices it is one Type II region: for \(-2 \le y \le 4\), \(x\) runs from the parabola \(x = \tfrac12 y^2 - 3\) to the line \(x = y + 1\).
\[\iint_D xy\,dA = \int_{-2}^{4}\!\!\int_{y^2/2 - 3}^{y + 1} xy\,dx\,dy = \int_{-2}^{4} \frac{y}{2}\Big[(y+1)^2 - \left(\tfrac12 y^2 - 3\right)^2\Big]dy\] \[= \frac12\int_{-2}^{4}\left(-\frac{y^5}{4} + 4y^3 + 2y^2 - 8y\right)dy = \frac12\left[-\frac{y^6}{24} + y^4 + \frac{2y^3}{3} - 4y^2\right]_{-2}^{4} = \frac12\big(64 - (-8)\big) = 36.\]\(36\).
Review:
56Find the volume of the tetrahedron bounded by the planes \(x + 2y + z = 2\), \(x = 2y\), \(x = 0\) and \(z = 0\).
Solution
The top is \(z = 2 - x - 2y\). The base \(D\) in the \(xy\)-plane is the triangle bounded by \(x = 0\), \(x = 2y\) (that is, \(y = x/2\)) and the trace \(x + 2y = 2\) (that is, \(y = 1 - x/2\)). The lines \(y = x/2\) and \(y = 1 - x/2\) meet at \(x = 1\), so \(D\): \(0 \le x \le 1\), \(x/2 \le y \le 1 - x/2\).
\[V = \int_0^1\!\!\int_{x/2}^{1 - x/2} (2 - x - 2y)\,dy\,dx = \int_0^1 \Big[2y - xy - y^2\Big]_{y = x/2}^{y = 1 - x/2}dx.\]At the upper limit the bracket is \(1 - x + \tfrac{x^2}{4}\); at the lower limit it is \(x - \tfrac{3x^2}{4}\). The difference is \(1 - 2x + x^2 = (1 - x)^2\).
\[V = \int_0^1 (1 - x)^2\,dx = \frac13.\]\(V = \tfrac13\).
Review:
57Evaluate \(\displaystyle\int_0^1\!\!\int_y^1 \sin(x^2)\,dx\,dy\) by reversing the order of integration.
Solution
\(\sin(x^2)\) has no elementary antiderivative, so the inner integral cannot be done as written. The region is \(0 \le y \le 1\), \(y \le x \le 1\): the triangle below the line \(y = x\) in the unit square. With vertical slices it is \(0 \le x \le 1\), \(0 \le y \le x\).
\[\int_0^1\!\!\int_0^x \sin(x^2)\,dy\,dx = \int_0^1 x\sin(x^2)\,dx = \left[-\frac{\cos(x^2)}{2}\right]_0^1 = \frac{1 - \cos 1}{2} \approx 0.230.\]The reversed order produced exactly the factor \(x\) needed for the substitution \(u = x^2\).
\(\dfrac{1 - \cos 1}{2}\).
Review:
58Evaluate \(\displaystyle\int_0^3\!\!\int_{y^2}^{9} y\cos(x^2)\,dx\,dy\).
Solution
Again \(\cos(x^2)\) blocks the inner integral. The region: \(0 \le y \le 3\), \(y^2 \le x \le 9\), i.e. the part of \([0,9]\times[0,3]\) to the right of the parabola \(x = y^2\). Reversed: \(0 \le x \le 9\), \(0 \le y \le \sqrt x\).
\[\int_0^9\!\!\int_0^{\sqrt x} y\cos(x^2)\,dy\,dx = \int_0^9 \cos(x^2)\Big[\tfrac{y^2}{2}\Big]_0^{\sqrt x}dx = \int_0^9 \frac{x}{2}\cos(x^2)\,dx = \left[\frac{\sin(x^2)}{4}\right]_0^9 = \frac{\sin 81}{4}.\](81 radians; numerically about \(-0.157\).)
\(\dfrac{\sin 81}{4}\).
Review:
59Evaluate \(\displaystyle\iint_D (3x + 4y^2)\,dA\), where \(D\) is the region in the upper half-plane between the circles \(x^2 + y^2 = 1\) and \(x^2 + y^2 = 4\).
Solution
In polar coordinates \(D\) is the rectangle \(1 \le r \le 2\), \(0 \le \theta \le \pi\), and \(3x + 4y^2 = 3r\cos\theta + 4r^2\sin^2\theta\). Remember \(dA = r\,dr\,d\theta\):
\[\int_0^\pi\!\!\int_1^2 \left(3r\cos\theta + 4r^2\sin^2\theta\right) r\,dr\,d\theta = \int_0^\pi \Big[r^3\cos\theta + r^4\sin^2\theta\Big]_1^2 d\theta = \int_0^\pi \left(7\cos\theta + 15\sin^2\theta\right)d\theta.\]The bracket: at \(r = 2\), \(8\cos\theta + 16\sin^2\theta\); at \(r = 1\), \(\cos\theta + \sin^2\theta\); the difference is \(7\cos\theta + 15\sin^2\theta\). Then \(\int_0^\pi\sin^2\theta\,d\theta = \int_0^\pi\tfrac12(1 - \cos 2\theta)\,d\theta = \tfrac{\pi}{2}\):
\[= 7\Big[\sin\theta\Big]_0^\pi + 15\cdot\frac{\pi}{2} = 0 + \frac{15\pi}{2}.\]The \(3x\) term integrates to zero by symmetry (the region is symmetric about the \(y\)-axis and \(x\) is odd), which the computation confirms.
\(\dfrac{15\pi}{2}\).
Review:
60Find the volume of the solid under the paraboloid \(z = x^2 + y^2\), above the \(xy\)-plane, and inside the cylinder \(x^2 + y^2 = 2x\).
Solution
Complete the square: \(x^2 + y^2 = 2x\) is \((x-1)^2 + y^2 = 1\), a circle of radius 1 centred at \((1,0)\). In polar form, \(r^2 = 2r\cos\theta\), so \(r = 2\cos\theta\) with \(-\pi/2 \le \theta \le \pi/2\).
\[V = \iint_D (x^2 + y^2)\,dA = \int_{-\pi/2}^{\pi/2}\!\!\int_0^{2\cos\theta} r^2\cdot r\,dr\,d\theta = \int_{-\pi/2}^{\pi/2}\frac{(2\cos\theta)^4}{4}\,d\theta = 4\int_{-\pi/2}^{\pi/2}\cos^4\theta\,d\theta.\]Using \(\cos^4\theta = \tfrac38 + \tfrac12\cos 2\theta + \tfrac18\cos 4\theta\), the integral over \([-\pi/2, \pi/2]\) is \(\tfrac38\cdot\pi = \tfrac{3\pi}{8}\).
\[V = 4\cdot\frac{3\pi}{8} = \frac{3\pi}{2}.\]\(V = \dfrac{3\pi}{2}\).
Review:
61(a) Convert to polar coordinates and evaluate \(\displaystyle\int_0^2\!\!\int_0^{\sqrt{4 - x^2}} (x^2 + y^2)^{3/2}\,dy\,dx\). (b) Find the area enclosed by one petal of the rose \(r = \cos 2\theta\).
Solution
(a) The limits describe \(0 \le x \le 2\), \(0 \le y \le \sqrt{4 - x^2}\): the quarter of the disk of radius 2 in the first quadrant, i.e. \(0 \le r \le 2\), \(0 \le \theta \le \pi/2\). The integrand is \(r^3\).
\[\int_0^{\pi/2}\!\!\int_0^2 r^3\cdot r\,dr\,d\theta = \frac{\pi}{2}\left[\frac{r^5}{5}\right]_0^2 = \frac{\pi}{2}\cdot\frac{32}{5} = \frac{16\pi}{5}.\](b) One petal is traced for \(-\pi/4 \le \theta \le \pi/4\), where \(\cos 2\theta \ge 0\).
\[A = \int_{-\pi/4}^{\pi/4}\frac12\cos^2 2\theta\,d\theta = \frac12\int_{-\pi/4}^{\pi/4}\frac{1 + \cos 4\theta}{2}\,d\theta = \frac14\left[\theta + \frac{\sin 4\theta}{4}\right]_{-\pi/4}^{\pi/4} = \frac14\cdot\frac{\pi}{2} = \frac{\pi}{8}.\]The four petals together enclose \(\pi/2\), half the area of the unit disk that contains them.
(a) \(\dfrac{16\pi}{5}\). (b) \(\dfrac{\pi}{8}\).
Review:
62Evaluate \(\displaystyle\iiint_B xyz^2\,dV\), where \(B\) is the box \(0 \le x \le 1\), \(-1 \le y \le 2\), \(0 \le z \le 3\).
Solution
Over a box any order works. Integrate \(x\) first, then \(y\), then \(z\):
\[\int_0^3\!\!\int_{-1}^{2}\!\!\int_0^1 xyz^2\,dx\,dy\,dz = \int_0^3\!\!\int_{-1}^{2}\frac{yz^2}{2}\,dy\,dz = \int_0^3 \frac{z^2}{2}\Big[\frac{y^2}{2}\Big]_{-1}^{2}dz = \int_0^3 \frac{3z^2}{4}\,dz = \frac{27}{4}.\]Because the integrand is a product \(x\cdot y\cdot z^2\) and the limits are constants, this is also \(\left(\int_0^1 x\,dx\right)\left(\int_{-1}^2 y\,dy\right)\left(\int_0^3 z^2\,dz\right) = \tfrac12\cdot\tfrac32\cdot 9 = \tfrac{27}{4}\).
\(\dfrac{27}{4}\).
Review:
63Evaluate \(\displaystyle\iiint_E \sqrt{x^2 + z^2}\,dV\), where \(E\) is the solid bounded by the paraboloid \(y = x^2 + z^2\) and the plane \(y = 4\).
Solution
The paraboloid opens along the \(y\)-axis, so project onto the \(xz\)-plane: the shadow is the disk \(D: x^2 + z^2 \le 4\) (where \(y = x^2 + z^2\) meets \(y = 4\)), and for each \((x,z)\) the variable \(y\) runs from the paraboloid up to the plane.
\[\iiint_E \sqrt{x^2 + z^2}\,dV = \iint_D \left[\int_{x^2 + z^2}^{4}\sqrt{x^2 + z^2}\,dy\right]dA = \iint_D (4 - x^2 - z^2)\sqrt{x^2 + z^2}\,dA.\]Use polar coordinates in the \(xz\)-plane (\(x = r\cos\theta\), \(z = r\sin\theta\)):
\[\int_0^{2\pi}\!\!\int_0^2 (4 - r^2)\,r\cdot r\,dr\,d\theta = 2\pi\left[\frac{4r^3}{3} - \frac{r^5}{5}\right]_0^2 = 2\pi\left(\frac{32}{3} - \frac{32}{5}\right) = 2\pi\cdot\frac{64}{15} = \frac{128\pi}{15}.\]\(\dfrac{128\pi}{15}\).
Review:
64Let \(E\) be the solid bounded by the parabolic cylinder \(y = x^2\) and the planes \(z = 0\), \(z = 4\) and \(y = 9\). (a) Find its volume. (b) Write the volume as an iterated integral in the order \(dx\,dz\,dy\).
Solution
(a) The shadow on the \(xy\)-plane is the region between \(y = x^2\) and \(y = 9\), i.e. \(-3 \le x \le 3\), \(x^2 \le y \le 9\); \(z\) runs from 0 to 4.
\[V = \int_{-3}^{3}\!\!\int_{x^2}^{9}\!\!\int_0^4 dz\,dy\,dx = 4\int_{-3}^{3}(9 - x^2)\,dx = 4\Big[9x - \tfrac{x^3}{3}\Big]_{-3}^{3} = 4\big(18 - (-18)\big) = 144.\](b) For the order \(dx\,dz\,dy\) the outer variable is \(y\) (from 0 to 9), then \(z\) (from 0 to 4), and innermost \(x\) between the two branches of the parabola, \(-\sqrt y \le x \le \sqrt y\):
\[V = \int_0^9\!\!\int_0^4\!\!\int_{-\sqrt y}^{\sqrt y} dx\,dz\,dy = \int_0^9 4\cdot 2\sqrt y\,dy = 8\cdot\frac23\cdot 27 = 144.\](a) \(V = 144\). (b) \(\displaystyle\int_0^9\!\!\int_0^4\!\!\int_{-\sqrt y}^{\sqrt y} dx\,dz\,dy\).
Review:
65Evaluate \(\displaystyle\iiint_E \sqrt{x^2 + y^2}\,dV\), where \(E\) is the solid inside the cylinder \(x^2 + y^2 = 16\) between the planes \(z = -5\) and \(z = 4\).
Solution
Cylindrical coordinates: \(0 \le r \le 4\), \(0 \le \theta \le 2\pi\), \(-5 \le z \le 4\), integrand \(r\), volume element \(r\,dz\,dr\,d\theta\).
The integrand \(\sqrt{x^2 + y^2}\) becomes \(r\), and the volume element contributes another \(r\), hence \(r\cdot r = r^2\). The inner \(z\)-integral is just the height of the cylinder, \(4 - (-5) = 9\):
\[\int_0^{2\pi}\!\!\int_0^4\!\!\int_{-5}^{4} r\cdot r\,dz\,dr\,d\theta = \int_0^{2\pi}d\theta\int_0^4 9r^2\,dr = 2\pi\cdot 9\cdot\left[\frac{r^3}{3}\right]_0^4 = 2\pi\cdot 9\cdot\frac{64}{3} = 384\pi.\]Sanity check: the volume of the cylinder is \(\pi(16)(9) = 144\pi\) and the integrand averages less than its maximum \(4\), so the answer must be below \(576\pi\); it is.
\(384\pi\).
Review:
66Evaluate \(\displaystyle\iiint_B e^{(x^2 + y^2 + z^2)^{3/2}}\,dV\), where \(B\) is the unit ball \(x^2 + y^2 + z^2 \le 1\).
Solution
In spherical coordinates the integrand is \(e^{\rho^3}\) and \(B\) is \(0 \le \rho \le 1\), \(0 \le \varphi \le \pi\), \(0 \le \theta \le 2\pi\). The factor \(\rho^2\) in \(dV = \rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta\) is exactly what the substitution \(u = \rho^3\) needs.
\[\int_0^{2\pi}\!\!\int_0^\pi\!\!\int_0^1 e^{\rho^3}\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta = \left(\int_0^{2\pi}d\theta\right)\left(\int_0^\pi\sin\varphi\,d\varphi\right)\left(\int_0^1 \rho^2 e^{\rho^3}\,d\rho\right) = 2\pi\cdot 2\cdot\left[\frac{e^{\rho^3}}{3}\right]_0^1 = \frac{4\pi}{3}(e - 1).\]In rectangular coordinates this integral would be hopeless.
\(\dfrac{4\pi}{3}(e - 1)\).
Review:
67Find the volume of the solid that lies above the cone \(z = \sqrt{x^2 + y^2}\) and below the sphere \(x^2 + y^2 + z^2 = z\).
Solution
Convert both surfaces to spherical coordinates. The sphere: \(\rho^2 = \rho\cos\varphi\), so \(\rho = \cos\varphi\) (a sphere of radius \(\tfrac12\) centred at \((0,0,\tfrac12)\)). The cone \(z = \sqrt{x^2 + y^2}\) is \(\varphi = \pi/4\), because on it \(z = r\), i.e. \(\rho\cos\varphi = \rho\sin\varphi\). "Above the cone" means \(0 \le \varphi \le \pi/4\) (closer to the \(z\)-axis than the cone), and "below the sphere" means \(\rho\) runs from the origin out to the sphere: \(0 \le \rho \le \cos\varphi\). With \(0 \le \theta \le 2\pi\), the inner \(\rho\)-integral gives \(\left[\rho^3/3\right]_0^{\cos\varphi} = \cos^3\varphi/3\), and the remaining integral is a substitution \(u = \cos\varphi\).
\[V = \int_0^{2\pi}\!\!\int_0^{\pi/4}\!\!\int_0^{\cos\varphi}\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta = 2\pi\int_0^{\pi/4}\frac{\cos^3\varphi}{3}\sin\varphi\,d\varphi = \frac{2\pi}{3}\left[-\frac{\cos^4\varphi}{4}\right]_0^{\pi/4}\] \[= \frac{2\pi}{3}\cdot\frac14\left(1 - \frac14\right) = \frac{2\pi}{3}\cdot\frac{3}{16} = \frac{\pi}{8}.\]Sanity check: the whole sphere has volume \(\tfrac43\pi\left(\tfrac12\right)^3 = \tfrac{\pi}{6}\), and \(\tfrac{\pi}{8}\) is three quarters of it, plausible since the cone only trims off a ring near the bottom of the small sphere.
\(V = \dfrac{\pi}{8}\).
Review:
68Use the transformation \(x = 2u + v\), \(y = u + 2v\) to evaluate \(\displaystyle\iint_R (x - 3y)\,dA\), where \(R\) is the triangle with vertices \((0,0)\), \((2,1)\) and \((1,2)\).
Solution
\[\frac{\partial(x,y)}{\partial(u,v)} = \begin{vmatrix} 2 & 1\\ 1 & 2\end{vmatrix} = 4 - 1 = 3.\]Map the three edges of \(R\). The edge from \((0,0)\) to \((2,1)\) is \(y = x/2\): \(u + 2v = u + v/2\) gives \(v = 0\). The edge from \((0,0)\) to \((1,2)\) is \(y = 2x\): \(u + 2v = 4u + 2v\) gives \(u = 0\). The edge from \((2,1)\) to \((1,2)\) is \(x + y = 3\): \(3u + 3v = 3\) gives \(u + v = 1\). So \(S\) is the triangle \(u \ge 0\), \(v \ge 0\), \(u + v \le 1\).
The integrand becomes \(x - 3y = (2u + v) - 3(u + 2v) = -u - 5v\).
Check the vertices: \((u,v) = (0,0), (1,0), (0,1)\) map to \((0,0), (2,1), (1,2)\), the vertices of \(R\). The inner integral in \(u\) (with \(v\) constant) is \(\left[-\tfrac{u^2}{2} - 5vu\right]_0^{1-v} = -\tfrac{(1-v)^2}{2} - 5v(1 - v)\):
\[\iint_R (x - 3y)\,dA = \int_0^1\!\!\int_0^{1-v}(-u - 5v)\cdot 3\,du\,dv = 3\int_0^1\left[-\frac{(1-v)^2}{2} - 5v(1 - v)\right]dv = 3\left[-\frac16 - 5\left(\frac12 - \frac13\right)\right]\] \[= 3\left(-\frac16 - \frac56\right) = -3.\]The answer is negative because \(x - 3y \lt 0\) on most of \(R\) (the triangle lies above the line \(y = x/3\)). Sanity check on size: \(R\) has area \(\tfrac12|2\cdot 2 - 1\cdot 1| = \tfrac32\), so the average value of \(x - 3y\) over \(R\) is \(-2\), which is the value at the centroid \((1, 1)\), as it must be for a linear integrand.
\(-3\).
Review:
69A lamina occupies the half-disk \(x^2 + y^2 \le a^2\), \(y \ge 0\), and its density at a point is proportional to the distance from the origin. Find its mass and centre of mass.
Solution
Density \(\rho = K\sqrt{x^2 + y^2} = Kr\). In polar coordinates the half-disk is \(0 \le r \le a\), \(0 \le \theta \le \pi\).
\[m = \iint_D Kr\,dA = \int_0^\pi\!\!\int_0^a Kr\cdot r\,dr\,d\theta = K\pi\frac{a^3}{3}.\]By symmetry about the \(y\)-axis, \(\bar x = 0\). For \(\bar y\) we need the moment about the \(x\)-axis:
\[M_x = \iint_D y\rho\,dA = \int_0^\pi\!\!\int_0^a (r\sin\theta)(Kr)\,r\,dr\,d\theta = K\frac{a^4}{4}\int_0^\pi\sin\theta\,d\theta = \frac{Ka^4}{2}.\] \[\bar y = \frac{M_x}{m} = \frac{Ka^4/2}{K\pi a^3/3} = \frac{3a}{2\pi} \approx 0.477a.\]Compare with a uniform half-disk, whose centroid is at \(\bar y = \frac{4a}{3\pi} \approx 0.424a\): the extra mass near the rim pulls the centre of mass outward.
\(m = \dfrac{K\pi a^3}{3}\); centre of mass \(\left(0, \dfrac{3a}{2\pi}\right)\).
Review:
Unit 6 problems
Practice set · Problems 70 to 86 · Vector fields and line integrals
Problems 70 to 86
Every problem opens to a full, step-by-step solution with the final answer highlighted. Try it on paper first. The Review link at the end of each solution jumps back to the tab that teaches the idea.
70(a) Describe the vector field \(\mathbf{F}(x,y) = {\langle x, -y\rangle}\) and find its flow lines. (b) Find the gradient vector field of \(f(x,y,z) = x^2 y + z e^{y}\).
Solution
(a) On the \(x\)-axis the arrows are \({\langle x, 0\rangle}\), pointing away from the origin; on the \(y\)-axis they are \({\langle 0, -y\rangle}\), pointing toward the origin. Elsewhere they push outward in \(x\) and inward in \(y\): fluid flowing in along the \(y\)-axis and out along the \(x\)-axis, a "hyperbolic" or saddle flow. The flow lines satisfy \(\dfrac{dy}{dx} = \dfrac{Q}{P} = -\dfrac{y}{x}\), so \(\dfrac{dy}{y} = -\dfrac{dx}{x}\), \(\ln|y| = -\ln|x| + C\): the hyperbolas \(xy = C\) (and the axes).
(b)
\[\nabla f = {\langle f_x, f_y, f_z\rangle} = \left\langle 2xy,\ x^2 + z e^{y},\ e^{y}\right\rangle.\](a) Saddle-type flow, flow lines \(xy = C\). (b) \(\nabla f = {\langle 2xy,\ x^2 + ze^y,\ e^y\rangle}\).
Review:
71Find the flow lines of (a) \(\mathbf{F} = {\langle y, x\rangle}\) and (b) \(\mathbf{G} = {\langle 1, x\rangle}\). Which of the two fields is a gradient field?
Solution
(a) \(\dfrac{dy}{dx} = \dfrac{x}{y}\), so \(y\,dy = x\,dx\) and \(y^2 - x^2 = C\): hyperbolas with asymptotes \(y = \pm x\) (and the asymptotes themselves). The field is tangent to each of them.
(b) \(\dfrac{dy}{dx} = \dfrac{x}{1} = x\), so \(y = \dfrac{x^2}{2} + C\): a family of congruent parabolas, each a vertical shift of the others.
Gradient test. For \(\mathbf{F} = {\langle y, x\rangle}\): \(P_y = 1 = Q_x\), and indeed \(\mathbf{F} = \nabla(xy)\). For \(\mathbf{G} = {\langle 1, x\rangle}\): \(P_y = 0 \ne 1 = Q_x\), so \(\mathbf{G}\) is not a gradient field (no potential exists).
(a) \(y^2 - x^2 = C\); (b) \(y = \tfrac{x^2}{2} + C\). Only \(\mathbf{F} = \nabla(xy)\) is a gradient field.
Review:
72Evaluate \(\displaystyle\int_C xy^4\,ds\), where \(C\) is the right half of the circle \(x^2 + y^2 = 16\).
Solution
Parametrize the right half: \(x = 4\cos t\), \(y = 4\sin t\), \(-\pi/2 \le t \le \pi/2\). Then \(|\mathbf{r}'(t)| = 4\), so \(ds = 4\,dt\).
The constant is \(4\cdot 4^4\cdot 4 = 4\cdot 256\cdot 4 = 4096\). The remaining integral is a substitution \(u = \sin t\), \(du = \cos t\,dt\):
\[\int_C xy^4\,ds = \int_{-\pi/2}^{\pi/2}(4\cos t)(4\sin t)^4\cdot 4\,dt = 4096\int_{-\pi/2}^{\pi/2}\cos t\,\sin^4 t\,dt = 4096\left[\frac{\sin^5 t}{5}\right]_{-\pi/2}^{\pi/2} = 4096\left(\frac15 - \frac{-1}{5}\right) = 4096\cdot\frac25 = \frac{8192}{5}.\]The answer is positive, as it must be: on the right half of the circle \(x \ge 0\), so the integrand \(xy^4 \ge 0\).
\(\dfrac{8192}{5} = 1638.4\).
Review:
73Evaluate \(\displaystyle\int_C 2x\,ds\), where \(C\) consists of the arc \(C_1\) of the parabola \(y = x^2\) from \((0,0)\) to \((1,1)\) followed by the vertical segment \(C_2\) from \((1,1)\) to \((1,2)\).
Solution
On \(C_1\): \(x = x\), \(y = x^2\), \(0 \le x \le 1\), \(ds = \sqrt{1 + (2x)^2}\,dx\).
Here the parameter is \(x\) itself, and \(ds = \sqrt{(dx/dx)^2 + (dy/dx)^2}\,dx = \sqrt{1 + (2x)^2}\,dx\). With \(u = 1 + 4x^2\), \(du = 8x\,dx\), the integrand \(2x\sqrt{1 + 4x^2}\,dx\) becomes \(\tfrac14\sqrt{u}\,du\), whose antiderivative is \(\tfrac14\cdot\tfrac23 u^{3/2} = \tfrac16 u^{3/2}\):
\[\int_{C_1} 2x\,ds = \int_0^1 2x\sqrt{1 + 4x^2}\,dx = \left[\frac{(1 + 4x^2)^{3/2}}{6}\right]_0^1 = \frac{5^{3/2} - 1}{6} = \frac{5\sqrt5 - 1}{6}.\]On \(C_2\): \(x = 1\), \(y = 1 + t\), \(0 \le t \le 1\), \(ds = dt\).
\[\int_{C_2} 2x\,ds = \int_0^1 2\,dt = 2.\] \[\int_C 2x\,ds = \frac{5\sqrt5 - 1}{6} + 2 \approx 3.70.\]\(\dfrac{5\sqrt5 - 1}{6} + 2\).
Review:
74A thin wire is bent into the semicircle \(x^2 + y^2 = 1\), \(y \ge 0\). Its linear density is \(\rho(x,y) = k(1 - y)\). Find the mass and the centre of mass of the wire.
Solution
Parametrize by \(x = \cos t\), \(y = \sin t\), \(0 \le t \le \pi\), with \(ds = dt\).
\[m = \int_C \rho\,ds = \int_0^\pi k(1 - \sin t)\,dt = k\big[t + \cos t\big]_0^\pi = k(\pi - 2).\]By symmetry about the \(y\)-axis, \(\bar x = 0\) (the density depends only on \(y\)). For \(\bar y\):
\[\int_C y\rho\,ds = \int_0^\pi \sin t\cdot k(1 - \sin t)\,dt = k\int_0^\pi (\sin t - \sin^2 t)\,dt = k\left(2 - \frac{\pi}{2}\right).\] \[\bar y = \frac{k(2 - \pi/2)}{k(\pi - 2)} = \frac{4 - \pi}{2(\pi - 2)} \approx 0.38.\]The wire is denser near the ends (\(y = 0\)), so the centre of mass sits well below the midpoint height \(2/\pi \approx 0.64\) of a uniform semicircular wire.
\(m = k(\pi - 2)\); centre of mass \(\left(0, \dfrac{4 - \pi}{2(\pi - 2)}\right) \approx (0, 0.38)\).
Review:
75Evaluate \(\displaystyle\int_C {\mathbf{F}\cdot d\mathbf{r}}\) for \(\mathbf{F}(x,y) = {\langle xy,\ 3y^2\rangle}\) along \(\mathbf{r}(t) = {\langle 11t^4,\ t^3\rangle}\), \(0 \le t \le 1\).
Solution
\[\mathbf{F}(\mathbf{r}(t)) = {\langle 11t^4\cdot t^3,\ 3t^6\rangle} = {\langle 11t^7,\ 3t^6\rangle}\] \[\mathbf{r}'(t) = {\langle 44t^3,\ 3t^2\rangle}.\] \[{\mathbf{F}\cdot \mathbf{r}}' = 484t^{10} + 9t^8.\] \[\int_C {\mathbf{F}\cdot d\mathbf{r}} = \int_0^1 (484t^{10} + 9t^8)\,dt = \frac{484}{11} + \frac{9}{9} = 44 + 1 = 45.\]\(45\).
Review:
76Evaluate \(\displaystyle\int_C y\,dx + z\,dy + x\,dz\), where \(C\) consists of the line segment \(C_1\) from \((2,0,0)\) to \((3,4,5)\) followed by the vertical segment \(C_2\) from \((3,4,5)\) to \((3,4,0)\).
Solution
\(C_1\): \(\mathbf{r}(t) = (1-t){\langle 2,0,0\rangle} + t{\langle 3,4,5\rangle} = {\langle 2 + t,\ 4t,\ 5t\rangle}\), \(0 \le t \le 1\), so \(dx = dt\), \(dy = 4\,dt\), \(dz = 5\,dt\).
Substitute \(y = 4t\) into \(y\,dx\), \(z = 5t\) into \(z\,dy\), and \(x = 2 + t\) into \(x\,dz\); the integrand is \(4t + 20t + 10 + 5t = 29t + 10\):
\[\int_{C_1} = \int_0^1 \big[(4t)(1) + (5t)(4) + (2 + t)(5)\big]dt = \int_0^1 (29t + 10)\,dt = \frac{29}{2} + 10 = \frac{49}{2}.\]\(C_2\): \(x = 3\), \(y = 4\), \(z = 5 - 5t\), \(0 \le t \le 1\), so \(dx = dy = 0\) and \(dz = -5\,dt\).
\[\int_{C_2} = \int_0^1 x\,dz = \int_0^1 3(-5)\,dt = -15.\] \[\int_C y\,dx + z\,dy + x\,dz = \frac{49}{2} - 15 = \frac{19}{2}.\]The field \({\langle y, z, x\rangle}\) has \(\operatorname{curl} = {\langle -1, -1, -1\rangle} \ne \mathbf{0}\), so it is not conservative and the answer genuinely depends on this path; the straight segment from \((2,0,0)\) to \((3,4,0)\) would give a different value (\(\int_0^1 4t\,dt = 2\)).
\(\dfrac{19}{2}\).
Review:
77Find the work done by \(\mathbf{F}(x,y) = {\langle x + y,\ x - y\rangle}\) on a particle that moves along the parabola \(y = x^2\) from \((0,0)\) to \((1,1)\). Then explain why the answer would be the same along any other path between those points.
Solution
Parametrize \(\mathbf{r}(t) = {\langle t, t^2\rangle}\), \(0 \le t \le 1\): \(\mathbf{F}(\mathbf{r}(t)) = {\langle t + t^2,\ t - t^2\rangle}\), \(\mathbf{r}'(t) = {\langle 1, 2t\rangle}\).
\[W = \int_0^1\big[(t + t^2) + (t - t^2)(2t)\big]dt = \int_0^1 (t + 3t^2 - 2t^3)\,dt = \frac12 + 1 - \frac12 = 1.\]Path independence. \(P = x + y\), \(Q = x - y\) give \(P_y = 1 = Q_x\) on all of \(\mathbb{R}^2\), so \(\mathbf{F}\) is conservative. A potential: \(f = \int (x + y)\,dx = \tfrac12 x^2 + xy + g(y)\); \(f_y = x + g'(y) = x - y\) gives \(g = -\tfrac12 y^2\). So \(f = \tfrac12 x^2 + xy - \tfrac12 y^2\) and, by the fundamental theorem for line integrals,
\[W = f(1,1) - f(0,0) = \tfrac12 + 1 - \tfrac12 = 1\]for every path from \((0,0)\) to \((1,1)\).
\(W = 1\); \(\mathbf{F} = \nabla\!\left(\tfrac12 x^2 + xy - \tfrac12 y^2\right)\), so the work is the same on every path.
Review: ·
78Determine whether each field is conservative and, if so, find a potential function: (a) \(\mathbf{F} = {\langle e^x\sin y,\ e^x\cos y\rangle}\); (b) \(\mathbf{F} = {\langle 2x - 3y,\ -3x + 4y - 8\rangle}\).
Solution
(a) \(P_y = e^x\cos y\), \(Q_x = e^x\cos y\). Equal everywhere, and the plane is simply connected, so \(\mathbf{F}\) is conservative.
\[f = \int e^x\sin y\,dx = e^x\sin y + g(y)\] \[f_y = e^x\cos y + g'(y) = e^x\cos y \Rightarrow g'(y) = 0.\]So \(f(x,y) = e^x\sin y\) (plus any constant).
(b) \(P_y = -3\), \(Q_x = -3\). Conservative.
\[f = \int (2x - 3y)\,dx = x^2 - 3xy + g(y)\] \[f_y = -3x + g'(y) = -3x + 4y - 8 \Rightarrow g'(y) = 4y - 8,\ g = 2y^2 - 8y.\]So \(f(x,y) = x^2 - 3xy + 2y^2 - 8y\). Check: \(\nabla f = {\langle 2x - 3y,\ -3x + 4y - 8\rangle}\).
(a) Yes, \(f = e^x\sin y\). (b) Yes, \(f = x^2 - 3xy + 2y^2 - 8y\).
Review:
79Show that \(\mathbf{F}(x,y,z) = {\langle y^2 z + 2xz^2,\ 2xyz,\ xy^2 + 2x^2 z\rangle}\) is conservative and find a potential function.
Solution
Compute the curl with \(P = y^2 z + 2xz^2\), \(Q = 2xyz\), \(R = xy^2 + 2x^2 z\):
\[\operatorname{curl}\mathbf{F} = {\langle R_y - Q_z,\ P_z - R_x,\ Q_x - P_y\rangle} = {\langle 2xy - 2xy,\ \ (y^2 + 4xz) - (y^2 + 4xz),\ \ 2yz - 2yz\rangle} = \mathbf{0}.\]The components have continuous partials on all of \(\mathbb{R}^3\), so \(\mathbf{F}\) is conservative. Build \(f\) one variable at a time:
\[f = \int P\,dx = xy^2 z + x^2 z^2 + g(y,z).\] \[f_y = 2xyz + g_y = Q = 2xyz \Rightarrow g_y = 0 \Rightarrow g = h(z).\] \[f_z = xy^2 + 2x^2 z + h'(z) = R = xy^2 + 2x^2 z \Rightarrow h'(z) = 0.\] \[f(x,y,z) = xy^2 z + x^2 z^2 \ (+ K).\]\(\operatorname{curl}\mathbf{F} = \mathbf{0}\); potential \(f = xy^2 z + x^2 z^2\).
Review:
80Using the potential found in the previous problem, evaluate \(\displaystyle\int_C {\mathbf{F}\cdot d\mathbf{r}}\) for \(\mathbf{F} = {\langle y^2 z + 2xz^2,\ 2xyz,\ xy^2 + 2x^2 z\rangle}\), where \(C\) is any piecewise-smooth curve from \((1,0,2)\) to \((2,1,1)\).
Solution
Since \(\mathbf{F} = \nabla f\) with \(f = xy^2 z + x^2 z^2\), the fundamental theorem for line integrals gives
\[\int_C {\mathbf{F}\cdot d\mathbf{r}} = f(2,1,1) - f(1,0,2).\] \[f(2,1,1) = (2)(1)(1) + (4)(1) = 6\] \[f(1,0,2) = 0 + (1)(4) = 4.\] \[\int_C {\mathbf{F}\cdot d\mathbf{r}} = 6 - 4 = 2.\]No parametrization is needed; the shape of \(C\) is irrelevant.
\(2\).
Review:
81Let \(f(x,y) = x^2 y + y^2\) and let \(C\) be the curve \(\mathbf{r}(t) = {\langle t^2 + 1,\ t^3 + t\rangle}\), \(0 \le t \le 1\). Evaluate \(\displaystyle\int_C {\nabla f\cdot d\mathbf{r}}\).
Solution
The endpoints are \(\mathbf{r}(0) = (1, 0)\) and \(\mathbf{r}(1) = (2, 2)\). By the fundamental theorem for line integrals,
\[\int_C {\nabla f\cdot d\mathbf{r}} = f(2,2) - f(1,0) = (4\cdot 2 + 4) - (0 + 0) = 12.\]For comparison, the direct route would require integrating \(\nabla f(\mathbf{r}(t))\cdot\mathbf{r}'(t) = 2(t^2+1)(t^3+t)(2t) + \big[(t^2+1)^2 + 2(t^3+t)\big](3t^2+1)\) from 0 to 1, a degree-7 polynomial. It also gives 12, with far more work.
\(12\).
Review:
82(a) Show that \(\displaystyle\int_C 2xe^{y}\,dx + x^2 e^{y}\,dy\) is independent of path, and evaluate it for any path from \((0,0)\) to \((1,1)\). (b) Show that \(\displaystyle\int_C y\,dx - x\,dy\) is not independent of path.
Solution
(a) \(P = 2xe^y\), \(Q = x^2 e^y\): \(P_y = 2xe^y = Q_x\) on all of \(\mathbb{R}^2\), so the field is conservative and the integral is path independent. A potential is \(f = x^2 e^y\) (check: \(f_x = 2xe^y\), \(f_y = x^2 e^y\)).
\[\int_C 2xe^y\,dx + x^2 e^y\,dy = f(1,1) - f(0,0) = e - 0 = e.\](b) Here \(P = y\), \(Q = -x\), and \(P_y = 1 \ne -1 = Q_x\), so the field is not conservative. Concretely, around the unit circle \(\mathbf{r}(t) = {\langle\cos t, \sin t\rangle}\), \(0 \le t \le 2\pi\):
\[\oint_C y\,dx - x\,dy = \int_0^{2\pi}\big[\sin t(-\sin t) - \cos t(\cos t)\big]dt = -\int_0^{2\pi}dt = -2\pi \ne 0.\]A nonzero integral around a closed curve is exactly what path independence forbids.
(a) Path independent; value \(e\). (b) Not path independent: \(\oint = -2\pi\) around the unit circle.
Review:
83Evaluate \(\displaystyle\int_C {\mathbf{F}\cdot d\mathbf{r}}\) from \((0,0)\) to \((1,1)\) along the line \(y = x\) and along the parabola \(y = x^2\), for (a) \(\mathbf{F} = {\langle y^2,\ 2xy\rangle}\) and (b) \(\mathbf{G} = {\langle y,\ 0\rangle}\). Interpret the results.
Solution
(a) Along \(y = x\), \(\mathbf{r} = {\langle t, t\rangle}\): \(\int_0^1 (t^2 + 2t^2)\,dt = 1\). Along \(y = x^2\), \(\mathbf{r} = {\langle t, t^2\rangle}\): \(\mathbf{F} = {\langle t^4, 2t^3\rangle}\), \(\mathbf{r}' = {\langle 1, 2t\rangle}\), so \(\int_0^1 (t^4 + 4t^4)\,dt = 1\). The same value, as expected: \(P_y = 2y = Q_x\), and \(\mathbf{F} = \nabla(xy^2)\), with \(f(1,1) - f(0,0) = 1\).
(b) Along \(y = x\): \(\int_0^1 t\,dt = \tfrac12\). Along \(y = x^2\): \(\int_0^1 t^2\,dt = \tfrac13\). Different values, so \(\mathbf{G}\) is not conservative, which the test confirms: \(P_y = 1 \ne 0 = Q_x\). For \(\mathbf{G}\) the line integral measures something path-dependent (here, the area under the path).
(a) \(1\) along both paths (conservative, \(f = xy^2\)). (b) \(\tfrac12\) and \(\tfrac13\): path dependent.
Review:
84Evaluate \(\displaystyle\oint_C (x - y)\,dx + (x + y)\,dy\), where \(C\) is the circle \(x^2 + y^2 = 4\) traversed counterclockwise, (a) by Green's theorem and (b) directly.
Solution
(a) \(P = x - y\), \(Q = x + y\), so \(Q_x - P_y = 1 - (-1) = 2\). \(C\) is positively oriented and bounds the disk \(D\) of radius 2:
\[\oint_C P\,dx + Q\,dy = \iint_D 2\,dA = 2\cdot\pi(2)^2 = 8\pi.\](b) \(\mathbf{r}(t) = {\langle 2\cos t, 2\sin t\rangle}\), \(0 \le t \le 2\pi\), \(dx = -2\sin t\,dt\), \(dy = 2\cos t\,dt\):
\[\int_0^{2\pi}\big[(2\cos t - 2\sin t)(-2\sin t) + (2\cos t + 2\sin t)(2\cos t)\big]dt\] \[= \int_0^{2\pi}\big[-4\cos t\sin t + 4\sin^2 t + 4\cos^2 t + 4\sin t\cos t\big]dt = \int_0^{2\pi}4\,dt = 8\pi.\]\(8\pi\) both ways.
Review:
85(a) Evaluate \(\displaystyle\oint_C y^2\,dx + 3xy\,dy\), where \(C\) is the positively oriented boundary of the half-annulus \(1 \le x^2 + y^2 \le 4\), \(y \ge 0\). (b) Use Green's theorem to find the area enclosed by the astroid \(x = \cos^3 t\), \(y = \sin^3 t\), \(0 \le t \le 2\pi\).
Solution
(a) \(Q_x - P_y = 3y - 2y = y\). The region is the polar rectangle \(1 \le r \le 2\), \(0 \le \theta \le \pi\):
\[\oint_C y^2\,dx + 3xy\,dy = \iint_D y\,dA = \int_0^\pi\!\!\int_1^2 (r\sin\theta)\,r\,dr\,d\theta = \left[\frac{r^3}{3}\right]_1^2\Big[-\cos\theta\Big]_0^\pi = \frac73\cdot 2 = \frac{14}{3}.\]Doing this directly would require four separate line integrals (two arcs and two segments).
(b) \(A = \tfrac12\oint_C x\,dy - y\,dx\). With \(dx = -3\cos^2 t\sin t\,dt\) and \(dy = 3\sin^2 t\cos t\,dt\):
\[x\,dy - y\,dx = 3\cos^4 t\sin^2 t + 3\sin^4 t\cos^2 t = 3\cos^2 t\sin^2 t(\cos^2 t + \sin^2 t) = 3\cos^2 t\sin^2 t = \frac34\sin^2 2t.\] \[A = \frac12\int_0^{2\pi}\frac34\sin^2 2t\,dt = \frac38\cdot\pi = \frac{3\pi}{8}.\](a) \(\dfrac{14}{3}\). (b) \(A = \dfrac{3\pi}{8}\).
Review:
86(a) Find the curl and divergence of \(\mathbf{F} = {\langle x^2 y,\ yz^2,\ zx^2\rangle}\). Is \(\mathbf{F}\) conservative? (b) Show that \(\mathbf{G} = {\langle yz,\ xz,\ xy\rangle}\) is both irrotational and incompressible, and find a potential for it.
Solution
(a) With \(P = x^2 y\), \(Q = yz^2\), \(R = zx^2\):
\[\operatorname{curl}\mathbf{F} = {\langle R_y - Q_z,\ P_z - R_x,\ Q_x - P_y\rangle} = {\langle 0 - 2yz,\ \ 0 - 2xz,\ \ 0 - x^2\rangle} = {\langle -2yz,\ -2xz,\ -x^2\rangle}.\] \[\operatorname{div}\mathbf{F} = P_x + Q_y + R_z = 2xy + z^2 + x^2.\]The curl is not identically zero, so \(\mathbf{F}\) is not conservative.
(b) \(\operatorname{curl}\mathbf{G} = {\langle x - x,\ y - y,\ z - z\rangle} = \mathbf{0}\) (irrotational) and \(\operatorname{div}\mathbf{G} = 0 + 0 + 0 = 0\) (incompressible). A potential: \(f = \int yz\,dx = xyz + g(y,z)\); \(f_y = xz + g_y = xz\) gives \(g = h(z)\); \(f_z = xy + h' = xy\) gives \(h' = 0\). So \(\mathbf{G} = \nabla(xyz)\).
(a) \(\operatorname{curl}\mathbf{F} = {\langle -2yz, -2xz, -x^2\rangle}\), \(\operatorname{div}\mathbf{F} = x^2 + 2xy + z^2\); not conservative. (b) \(\operatorname{curl}\mathbf{G} = \mathbf{0}\), \(\operatorname{div}\mathbf{G} = 0\), \(\mathbf{G} = \nabla(xyz)\).
Review:
Unit 7 problems
Practice set · Problems 87 to 100 · Surface integrals and major theorems
Problems 87 to 100
Every problem opens to a full, step-by-step solution with the final answer highlighted. Try it on paper first. The Review link at the end of each solution jumps back to the tab that teaches the idea.
87(a) Identify the surface \(\mathbf{r}(u,v) = {\langle 2\cos u,\ v,\ 2\sin u\rangle}\). (b) Parametrize the part of the plane \(z = x + 3\) that lies inside the cylinder \(x^2 + y^2 = 1\). (c) Parametrize the paraboloid \(x = y^2 + 2z^2\).
Solution
(a) \(x^2 + z^2 = 4\cos^2 u + 4\sin^2 u = 4\) for every \((u,v)\), and \(y = v\) is free: the circular cylinder of radius 2 whose axis is the \(y\)-axis. The grid curves \(v = \) const are horizontal circles and \(u = \) const are lines parallel to the \(y\)-axis.
(b) Use polar coordinates for the shadow disk and let the plane supply \(z\):
\[\mathbf{r}(r,\theta) = {\langle r\cos\theta,\ r\sin\theta,\ r\cos\theta + 3\rangle}\] \[0 \le r \le 1,\ 0 \le \theta \le 2\pi.\](c) The surface is a graph over the \(yz\)-plane, so take \(y\) and \(z\) themselves as parameters:
\[\mathbf{r}(y,z) = {\langle y^2 + 2z^2,\ y,\ z\rangle}\] \[(y,z)\in\mathbb{R}^2.\](a) Cylinder \(x^2 + z^2 = 4\) along the \(y\)-axis. (b) \({\langle r\cos\theta, r\sin\theta, r\cos\theta + 3\rangle}\), \(0 \le r \le 1\). (c) \({\langle y^2 + 2z^2, y, z\rangle}\).
Review:
88Find an equation of the tangent plane to the surface \(\mathbf{r}(u,v) = {\langle u + v,\ 3u^2,\ u - v\rangle}\) at the point \((2,3,0)\).
Solution
First find the parameter values: \(3u^2 = 3\) gives \(u = \pm 1\); \(u + v = 2\) and \(u - v = 0\) give \(u = v = 1\). So the point is \(\mathbf{r}(1,1)\).
\[\mathbf{r}_u = {\langle 1,\ 6u,\ 1\rangle} = {\langle 1,6,1\rangle}\] \[\mathbf{r}_v = {\langle 1,\ 0,\ -1\rangle}.\] \[{\mathbf{r}_u\times \mathbf{r}_v} = {\langle (6)(-1) - (1)(0),\ \ (1)(1) - (1)(-1),\ \ (1)(0) - (6)(1)\rangle} = {\langle -6,\ 2,\ -6\rangle} \ \sim\ {\langle 3,\ -1,\ 3\rangle}.\] \[3(x - 2) - (y - 3) + 3(z - 0) = 0\] \[\Longrightarrow\ 3x - y + 3z = 3.\]\(3x - y + 3z = 3\).
Review:
89Find the area of the part of the plane \(2x + 5y + z = 10\) that lies inside the cylinder \(x^2 + y^2 = 9\).
Solution
Write the plane as \(z = 10 - 2x - 5y\), so \(z_x = -2\) and \(z_y = -5\), and
\[\sqrt{1 + z_x^2 + z_y^2} = \sqrt{1 + 4 + 25} = \sqrt{30}\]a constant. The shadow \(D\) is the disk \(x^2 + y^2 \le 9\), of area \(9\pi\).
\[A = \iint_D \sqrt{30}\,dA = \sqrt{30}\cdot 9\pi = 9\sqrt{30}\,\pi \approx 154.8.\]A tilted plane region is always \(\sqrt{1 + z_x^2 + z_y^2}\) times the area of its shadow; here the plane is steep enough that the factor is about 5.5.
\(A = 9\sqrt{30}\,\pi\).
Review:
90Find the area of the part of the surface \(z = 1 + 3x + 2y^2\) that lies above the triangle with vertices \((0,0)\), \((0,1)\) and \((2,1)\).
Solution
\(z_x = 3\), \(z_y = 4y\), so the area element is \(\sqrt{1 + 9 + 16y^2}\,dA = \sqrt{10 + 16y^2}\,dA\). Since the root depends only on \(y\), integrate in \(x\) first. The triangle is \(0 \le y \le 1\), \(0 \le x \le 2y\) (its slanted side is the line from \((0,0)\) to \((2,1)\), \(x = 2y\)).
\[A = \int_0^1\!\!\int_0^{2y}\sqrt{10 + 16y^2}\,dx\,dy = \int_0^1 2y\sqrt{10 + 16y^2}\,dy.\]With \(u = 10 + 16y^2\), \(du = 32y\,dy\):
\[A = \frac{1}{16}\int_{10}^{26}\sqrt u\,du = \frac{1}{16}\cdot\frac23\Big[u^{3/2}\Big]_{10}^{26} = \frac{26\sqrt{26} - 10\sqrt{10}}{24} = \frac{13\sqrt{26} - 5\sqrt{10}}{12} \approx 4.21.\](Here \(2y\,dy = \tfrac{1}{16}\,du\), and the \(y\)-limits \(0, 1\) become \(u = 10, 26\).) Sanity check: the triangle has area \(1\) and the stretching factor lies between \(\sqrt{10} \approx 3.2\) and \(\sqrt{26} \approx 5.1\), so an answer between \(3.2\) and \(5.1\) is expected.
\(A = \dfrac{13\sqrt{26} - 5\sqrt{10}}{12}\).
Review:
91Find the area of the part of the sphere \(x^2 + y^2 + z^2 = 4z\) that lies inside the paraboloid \(z = x^2 + y^2\).
Solution
The sphere is \(x^2 + y^2 + (z - 2)^2 = 4\), centre \((0,0,2)\), radius 2. Where the surfaces meet, \(z = x^2 + y^2\) gives \(z + z^2 = 4z\), so \(z = 3\) (or \(z = 0\), the single point at the bottom). The part of the sphere inside the paraboloid is the cap above \(z = 3\), whose shadow is the disk \(x^2 + y^2 \le 3\).
On the cap, \(z = 2 + \sqrt{4 - x^2 - y^2}\), so \(z_x = \dfrac{-x}{\sqrt{4 - x^2 - y^2}}\), \(z_y = \dfrac{-y}{\sqrt{4 - x^2 - y^2}}\) and
\[\sqrt{1 + z_x^2 + z_y^2} = \sqrt{1 + \frac{x^2 + y^2}{4 - x^2 - y^2}} = \frac{2}{\sqrt{4 - x^2 - y^2}}.\] \[A = \int_0^{2\pi}\!\!\int_0^{\sqrt3}\frac{2r}{\sqrt{4 - r^2}}\,dr\,d\theta = 2\pi\Big[-2\sqrt{4 - r^2}\Big]_0^{\sqrt3} = 2\pi\big(-2 + 4\big) = 4\pi.\]Check with Archimedes: a spherical cap of height \(h\) on a sphere of radius \(R\) has area \(2\pi Rh\); here \(R = 2\), \(h = 4 - 3 = 1\), so \(4\pi\).
\(A = 4\pi\).
Review:
92Evaluate \(\displaystyle\iint_S y\,dS\), where \(S\) is the part of the plane \(x + y + z = 1\) in the first octant.
Solution
Write \(S\) as \(z = 1 - x - y\) over the triangle \(D\): \(0 \le x \le 1\), \(0 \le y \le 1 - x\). Then \(z_x = z_y = -1\) and \(dS = \sqrt{1 + 1 + 1}\,dA = \sqrt3\,dA\).
\[\iint_S y\,dS = \sqrt3\int_0^1\!\!\int_0^{1-x} y\,dy\,dx = \sqrt3\int_0^1\frac{(1-x)^2}{2}\,dx = \sqrt3\cdot\frac16 = \frac{\sqrt3}{6}.\]By symmetry \(\iint_S x\,dS = \iint_S z\,dS = \tfrac{\sqrt3}{6}\) as well, and since the triangle has area \(\tfrac{\sqrt3}{2}\), the centroid of the triangular plate is \((\tfrac13, \tfrac13, \tfrac13)\), its geometric centre.
\(\dfrac{\sqrt3}{6}\).
Review:
93Evaluate \(\displaystyle\iint_S z\,dS\), where \(S\) is the hemisphere \(x^2 + y^2 + z^2 = a^2\), \(z \ge 0\). Use the result to find the centroid of the hemispherical surface.
Solution
Spherical parametrization: \(\mathbf{r}(\varphi,\theta) = {\langle a\sin\varphi\cos\theta,\ a\sin\varphi\sin\theta,\ a\cos\varphi\rangle}\), \(0 \le \varphi \le \pi/2\), \(0 \le \theta \le 2\pi\), with \(dS = a^2\sin\varphi\,d\varphi\,d\theta\) and \(z = a\cos\varphi\).
\[\iint_S z\,dS = \int_0^{2\pi}\!\!\int_0^{\pi/2} a\cos\varphi\cdot a^2\sin\varphi\,d\varphi\,d\theta = 2\pi a^3\left[\frac{\sin^2\varphi}{2}\right]_0^{\pi/2} = \pi a^3.\]The hemisphere has area \(2\pi a^2\), so the centroid height is
\[\bar z = \frac{\iint_S z\,dS}{\text{Area}(S)} = \frac{\pi a^3}{2\pi a^2} = \frac a2\]and \(\bar x = \bar y = 0\) by symmetry. The centroid of the hemispherical surface is \((0,0,a/2)\); the solid half-ball's centroid is lower, at \(3a/8\).
\(\iint_S z\,dS = \pi a^3\); centroid \((0, 0, a/2)\).
Review:
94A thin funnel has the shape of the cone \(z = \sqrt{x^2 + y^2}\), \(1 \le z \le 4\), with density \(\rho(x,y,z) = 10 - z\). Find its mass.
Solution
For the cone \(z = \sqrt{x^2 + y^2}\), \(z_x = \dfrac{x}{\sqrt{x^2+y^2}}\) and \(z_y = \dfrac{y}{\sqrt{x^2+y^2}}\), so \(\sqrt{1 + z_x^2 + z_y^2} = \sqrt2\) and \(dS = \sqrt2\,dA\). The shadow is the annulus \(1 \le r \le 4\), and on the cone \(z = r\).
\[m = \iint_S (10 - z)\,dS = \sqrt2\int_0^{2\pi}\!\!\int_1^4 (10 - r)\,r\,dr\,d\theta = 2\sqrt2\,\pi\left[5r^2 - \frac{r^3}{3}\right]_1^4\] \[= 2\sqrt2\,\pi\left[\left(80 - \frac{64}{3}\right) - \left(5 - \frac13\right)\right] = 2\sqrt2\,\pi\left[\frac{176}{3} - \frac{14}{3}\right] = 2\sqrt2\,\pi\cdot 54 = 108\sqrt2\,\pi \approx 480.\]Why \(\sqrt2\): \(z_x^2 + z_y^2 = \dfrac{x^2 + y^2}{x^2 + y^2} = 1\) everywhere on the cone, so every patch of the cone is \(\sqrt2\) times its shadow (the cone makes a \(45^\circ\) angle with the \(xy\)-plane). Sanity check: the density lies between \(6\) and \(9\) on the funnel and the funnel's area is \(\sqrt2\cdot\pi(16 - 1) = 15\sqrt2\,\pi\), so the mass must lie between \(90\sqrt2\,\pi\) and \(135\sqrt2\,\pi\); it does.
\(m = 108\sqrt2\,\pi\).
Review:
95Find the flux of \(\mathbf{F} = {\langle x, y, z\rangle}\) outward through the sphere \(x^2 + y^2 + z^2 = a^2\), (a) directly and (b) using the divergence theorem.
Solution
(a) On the sphere the outward unit normal is \(\mathbf{n} = \dfrac{{\langle x,y,z\rangle}}{a}\), so \({\mathbf{F}\cdot \mathbf{n}} = \dfrac{x^2 + y^2 + z^2}{a} = a\), a constant.
\[\iint_S {\mathbf{F}\cdot d\mathbf{S}} = \iint_S a\,dS = a\cdot 4\pi a^2 = 4\pi a^3.\](With the spherical parametrization, \(\mathbf{F}\cdot({\mathbf{r}_\varphi\times \mathbf{r}_\theta}) = a^3\sin\varphi\), and \(\int_0^{2\pi}\!\int_0^\pi a^3\sin\varphi\,d\varphi\,d\theta = 4\pi a^3\), the same.)
(b) \(\operatorname{div}\mathbf{F} = 1 + 1 + 1 = 3\), so
\[\iint_S {\mathbf{F}\cdot d\mathbf{S}} = \iiint_E 3\,dV = 3\cdot\frac43\pi a^3 = 4\pi a^3.\]The radial field has constant divergence 3, and its flux through any closed surface is three times the enclosed volume.
\(4\pi a^3\).
Review: ·
96Find the flux of \(\mathbf{F} = {\langle xy,\ yz,\ zx\rangle}\) upward through the part of the paraboloid \(z = 4 - x^2 - y^2\) that lies above the square \(0 \le x \le 1\), \(0 \le y \le 1\).
Solution
For an upward-oriented graph \(z = g(x,y)\), \(\iint_S {\mathbf{F}\cdot d\mathbf{S}} = \iint_D (-P g_x - Q g_y + R)\,dA\). Here \(g_x = -2x\), \(g_y = -2y\), \(P = xy\), \(Q = yz\), \(R = zx\), with \(z = 4 - x^2 - y^2\):
\[-P g_x - Q g_y + R = 2x^2 y + 2y^2 z + xz = 2x^2 y + 2y^2(4 - x^2 - y^2) + x(4 - x^2 - y^2)\] \[= 2x^2 y + 8y^2 - 2x^2 y^2 - 2y^4 + 4x - x^3 - xy^2.\]Integrate each term over the unit square (each is a product, so the double integral is a product of single integrals):
\[\frac13 + \frac83 - \frac29 - \frac25 + 2 - \frac14 - \frac16 = \frac{713}{180}.\](Term by term, using \(\int_0^1 x^n\,dx = \tfrac{1}{n+1}\) and \(\int_0^1 dy = 1\) for any missing variable: \(2\cdot\tfrac13\cdot\tfrac12 = \tfrac13\); \(8\cdot\tfrac13 = \tfrac83\); \(-2\cdot\tfrac13\cdot\tfrac13 = -\tfrac29\); \(-2\cdot\tfrac15 = -\tfrac25\); \(4\cdot\tfrac12 = 2\); \(-\tfrac14\); \(-\tfrac12\cdot\tfrac13 = -\tfrac16\).) Common denominator \(180\): \(60 + 480 - 40 - 72 + 360 - 45 - 30 = 713\). The flux is positive, consistent with \(R = zx \ge 0\) and the upward tilt of the surface over the square.
\(\dfrac{713}{180} \approx 3.96\).
Review:
97Find the outward flux of \(\mathbf{F} = {\langle x^2,\ xy,\ z\rangle}\) through the surface of the unit cube \([0,1]\times[0,1]\times[0,1]\), (a) by adding the flux through the six faces and (b) by the divergence theorem.
Solution
(a) On each face the outward normal is a coordinate direction, so \({\mathbf{F}\cdot \mathbf{n}}\) is a single component with a sign.
- \(x = 1\) (\(\mathbf{n} = \mathbf{i}\)) \({\mathbf{F}\cdot \mathbf{n}} = x^2 = 1\): flux \(1\cdot 1 = 1\). \(x = 0\) (\(\mathbf{n} = -\mathbf{i}\)): \(-x^2 = 0\).
- \(y = 1\) (\(\mathbf{n} = \mathbf{j}\)) \(xy = x\): flux \(\int_0^1\!\int_0^1 x\,dx\,dz = \tfrac12\). \(y = 0\): \(-xy = 0\).
- \(z = 1\) (\(\mathbf{n} = \mathbf{k}\)) \(z = 1\): flux \(1\). \(z = 0\): \(-z = 0\).
(b) \(\operatorname{div}\mathbf{F} = 2x + x + 1 = 3x + 1\), and
\[\iiint_E (3x + 1)\,dV = \int_0^1\!\!\int_0^1\!\!\int_0^1 (3x + 1)\,dx\,dy\,dz = \frac32 + 1 = \frac52.\]\(\dfrac52\) by both methods.
Review: ·
98Use Stokes' theorem to evaluate \(\displaystyle\oint_C {\mathbf{F}\cdot d\mathbf{r}}\), where \(\mathbf{F} = {\langle x + y^2,\ y + z^2,\ z + x^2\rangle}\) and \(C\) is the triangle with vertices \((1,0,0)\), \((0,1,0)\), \((0,0,1)\), traversed in that order.
Solution
\[\operatorname{curl}\mathbf{F} = {\langle \partial_y(z + x^2) - \partial_z(y + z^2),\ \ \partial_z(x + y^2) - \partial_x(z + x^2),\ \ \partial_x(y + z^2) - \partial_y(x + y^2)\rangle} = {\langle -2z,\ -2x,\ -2y\rangle}.\]Take \(S\) to be the flat triangle in the plane \(x + y + z = 1\) bounded by \(C\). Viewed from above, the path \((1,0,0)\to(0,1,0)\to(0,0,1)\) runs counterclockwise, so \(S\) gets the upward normal. With \(z = g(x,y) = 1 - x - y\), \(g_x = g_y = -1\), and the shadow \(D\) is the triangle \(0 \le x \le 1\), \(0 \le y \le 1 - x\):
\[\iint_S \operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}} = \iint_D \big(-(-2z)(-1) - (-2x)(-1) + (-2y)\big)dA = \iint_D (-2z - 2x - 2y)\,dA = \iint_D (-2)\,dA\]because \(x + y + z = 1\) on \(S\). The triangle \(D\) has area \(\tfrac12\), so
\[\oint_C {\mathbf{F}\cdot d\mathbf{r}} = -2\cdot\frac12 = -1.\]\(-1\).
Review:
99Let \(\mathbf{F} = {\langle y,\ -x,\ z^2\rangle}\) and let \(S\) be the part of the paraboloid \(z = 4 - x^2 - y^2\) above the \(xy\)-plane, oriented upward. Evaluate \(\displaystyle\iint_S \operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}}\) by converting it to a line integral, and confirm the answer by computing the curl.
Solution
The boundary of \(S\) is the circle \(x^2 + y^2 = 4\) in the plane \(z = 0\); for an upward normal it is traversed counterclockwise: \(\mathbf{r}(t) = {\langle 2\cos t,\ 2\sin t,\ 0\rangle}\), \(0 \le t \le 2\pi\).
\[\mathbf{F}(\mathbf{r}(t)) = {\langle 2\sin t,\ -2\cos t,\ 0\rangle}\] \[\mathbf{r}'(t) = {\langle -2\sin t,\ 2\cos t,\ 0\rangle}\] \[{\mathbf{F}\cdot \mathbf{r}}' = -4\sin^2 t - 4\cos^2 t = -4.\] \[\iint_S \operatorname{curl}{\mathbf{F}\cdot d\mathbf{S}} = \oint_C {\mathbf{F}\cdot d\mathbf{r}} = \int_0^{2\pi}(-4)\,dt = -8\pi.\]Confirmation. \(\operatorname{curl}\mathbf{F} = {\langle 0 - 0,\ 0 - 0,\ -1 - 1\rangle} = {\langle 0,0,-2\rangle}\). Any surface with the same boundary gives the same flux, so use the flat disk \(z = 0\), \(x^2 + y^2 \le 4\), with upward normal \(\mathbf{k}\): \(\iint_D {\langle 0,0,-2\rangle}\cdot\mathbf{k}\,dA = -2\cdot 4\pi = -8\pi\). The field rotates clockwise (seen from above) at constant angular speed, so its circulation around a counterclockwise loop is negative.
\(-8\pi\).
Review:
100Use the divergence theorem to find the outward flux of \(\mathbf{F} = {\langle x^3 + y\sin z,\ y^3 + z\sin x,\ 3z\rangle}\) through the closed surface bounded by the hemispheres \(z = \sqrt{4 - x^2 - y^2}\) and \(z = \sqrt{1 - x^2 - y^2}\) and the plane \(z = 0\).
Solution
The complicated \(\sin\) terms disappear in the divergence: \(\partial_x(y\sin z) = 0\) and \(\partial_y(z\sin x) = 0\).
\[\operatorname{div}\mathbf{F} = 3x^2 + 3y^2 + 3 = 3(x^2 + y^2 + 1).\]The solid \(E\) is the upper half of the shell between the spheres of radii 1 and 2. In spherical coordinates: \(1 \le \rho \le 2\), \(0 \le \varphi \le \pi/2\), \(0 \le \theta \le 2\pi\), and \(x^2 + y^2 = \rho^2\sin^2\varphi\).
\[\iiint_E 3(\rho^2\sin^2\varphi + 1)\,\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta = 3\cdot 2\pi\left[\int_1^2\rho^4\,d\rho\int_0^{\pi/2}\sin^3\varphi\,d\varphi + \int_1^2\rho^2\,d\rho\int_0^{\pi/2}\sin\varphi\,d\varphi\right]\]The single integrals: \(\int_1^2\rho^4\,d\rho = \tfrac{32 - 1}{5} = \tfrac{31}{5}\); \(\int_0^{\pi/2}\sin^3\varphi\,d\varphi = \int_0^{\pi/2}(1 - \cos^2\varphi)\sin\varphi\,d\varphi = \left[-\cos\varphi + \tfrac13\cos^3\varphi\right]_0^{\pi/2} = 1 - \tfrac13 = \tfrac23\); \(\int_1^2\rho^2\,d\rho = \tfrac{8 - 1}{3} = \tfrac73\); \(\int_0^{\pi/2}\sin\varphi\,d\varphi = 1\).
\[= 6\pi\left[\frac{31}{5}\cdot\frac23 + \frac73\cdot 1\right] = 6\pi\left[\frac{62}{15} + \frac{35}{15}\right] = 6\pi\cdot\frac{97}{15} = \frac{194\pi}{5}.\]Computing this flux directly would mean three separate surface integrals with those \(\sin\) terms in them; the divergence theorem removes all of that.
\(\dfrac{194\pi}{5}\).
Review: