Final Exam Review

Description and rules

This exam will be administered by Claudio in the usual classroom during the scheduled final exam period. The exam is closed-note and you should not refer to homework, calculators, outside resources, large language models, or other materials during the exam; instead, you will have access to an attached reference sheet. The exam is not designed to take up the full 2.5 hour testing period, but you will not be penalized for using all the allotted time. You may not speak to anyone about this exam except Claudio.

Studying

When studying for this exam, you should be sure to practice not just declarative knowledge, meaning the ability to write down a definition or carry out a given calculation, but also demonstrative knowledge, meaning the ability to apply those facts and definitions in a broader scope. While it is helpful to re-watch recorded lectures, read the textbook, and browse videos by popular math educators on YouTube (whilst commenting how they are better than all your profs put together), a more effective study routine will include solving practice problems. Fortunately, that’s what this review packet is for!

Topics

Notice that you have been building a helpful study guide via your weekly reflections! Use your answers there to help you decide what to study and to think about how you’ve grown as a mathematician. If you are wondering whether something will be on the exam, feel free to ask! In addition, below is a list of some concepts that you should be sure not to miss:

  • Level curves
  • Gradients (\(\Gradient\)) and directional derivatives
  • Multivariable chain rule
  • Critical points
  • Local maxima and saddle points
  • Lagrange multipliers
  • Double integration over rectangles and other regions
  • Polar vs Cartesian coordinates
  • Double integration in polar coordinates

Moreover, here are some general facts (to be familiar with) and concrete skills (to practice) that you can expect to be evaluated on via the upcoming final exam.

Facts

  • \(\Gradient{f}(x_0,y_0)\) points in the direction of greatest ascent at \((x_0,y_0)\); \(\Norm{\Gradient{f}(x_0,y_0)}\) is the steepest slope at \((x_0,y_0)\).
  • Gradient vectors (\(\Gradient{f}\)) are perpendicular to level curves (\(f = c\)).
  • Directional derivatives in terms of gradients: \(\operatorname{D}_{\vec{u}} f = \Gradient{f} \cdot \vec{u}\).
  • Critical points of a differentiable function \(f(x,y)\) are the solutions to \(\Gradient{f}(x,y) = \vec{0}\).
  • The second partial derivative test in terms of \(D = f_{xx} f_{yy} - (f_{xy})^2\) and \(f_{xx}\) (or \(f_{yy}\)).
  • The method of Lagrange multipliers (for extreme values of \(f\) along \(g = c\)) is looking for (i) where \(f\) and \(g\) have tangent level curves (aka parallel gradients) and (ii) critical points of \(f\).
  • Global extrema occur at critical points or along boundaries of the domain.
  • The Clairaut and Fubini theorems—are these related?
  • Properties of \(\iint\) (addition over regions, computing area, reversing order of integration).

Skills

  • Evaluating derivatives (like \(\frac{\mathrm{d} f}{\mathrm{d} {t}}\) and \(\frac{\partial f}{\partial {r}}\)) using the chain rule tree.
  • Finding the gradient and directional derivative of a function.
  • Sketching gradients of a function based on its level curves.
  • Identifying local maxima, minima, and saddles via level curves and gradient fields.
  • Using the second derivative test to classify critical points.
  • Finding the maximum and minimum of a function on a given region.
  • Using the method of Lagrange multipliers to optimize a function on a curve.
  • Setting up and evaluating integrals over rectangles and more general regions.
  • Interpreting integrals as areas and volumes.
  • Converting from polar coordinates to Cartesian coordinates and vice versa.
  • Describing regions using polar and Cartesian coordinates.

Practice problems

Now that you know what the exam will look like, you can find your own practice problems using the book—remember, odd-numbered problems have solutions in the back thanks to those sweethearts, Stewart, Clegg, and Watson (Stewart et al. 2020). In addition, I have lovingly put together problems here.

Problem 1

Compute \(\frac{\mathrm{d} z}{\mathrm{d} {t}}\) at \(t = 0\) when \(z = \ln(y) \sin(x)\) for \(x(t) = t^3 - t\) and \(y(t) = t^2 + e\).

When \(t = 0\), we have \(x(0) = 0\) and \(y(0) = e\). We have \[ \frac{\mathrm{d} z}{\mathrm{d} {t}} = \frac{\partial z}{\partial {x}} \frac{\mathrm{d} x}{\mathrm{d} {t}} + \frac{\partial z}{\partial {y}} \frac{\mathrm{d} y}{\mathrm{d} {t}} = \ln(y) \cos(x) (3t^2 - 1) + \frac{1}{y} \sin(x) (2t). \] We can expand further, but there is no need. We compute: \[ \left. \frac{\mathrm{d} z}{\mathrm{d} {t}} \right|_{t=0} = \ln(e) \cos(0) (-1) + \frac{1}{e} \sin(0) (0) = -1. \]

Problem 2

Draw the chain rule tree for the following situations:

  1. \(f = f(x,y)\); \(x = x(u,v,w)\), \(y = y(u,v,w)\)
  2. \(g = g(x,y)\); \(x = x(u,v)\), \(y = y(u,v)\); \(u = u(t)\), \(v = v(t)\)
  3. \(g = e^f\); \(f = f(x,y)\)

Problem 3

Assume that \(f(x,y)\) and \(g(t)\) are differentiable. Show using the definition of \(\Gradient\) that:

  1. \(\Gradient{\left(e^f\right)} = e^f \, \Gradient{f}\)
  2. \(\Gradient{\cos(f)} = -\sin(f) \, \Gradient{f}\)
  3. \(\Gradient{g(f)} = g'(f) \, \Gradient{f}\)

Problem 4

Consider the ideal gas law1 \[ PV = 8 T, \] where pressure \(P\) is measured in kiloPascals (kPa), volume \(V\) in liters (L), and temperature \(T\) in kelvins (K); time is measured in seconds (s). The pressure of some fixed quantity (in moles, if you like) of gas is increasing at a rate of \(2^{-4} = \frac{1}{16}\) (kPa/s) as temperature increases at a rate of \(\frac{1}{2}\) (K/s). Find the rate of change of the volume when \(P = 20\) and \(T = 320\).

When \(P = 20\) and \(T = 320\), we have \(V = 8 \cdot 16 = 2^7\). We can solve for \(V\) as a function of \(P\) and \(T\), or use implicit differentiation. More practice in the latter is good! \[ V + P \frac{\partial V}{\partial {P}} = 0 \quad \text{and} \quad P \frac{\partial V}{\partial {T}} = 8, \] so we conclude that \(\frac{\partial V}{\partial {P}} = -V/P\) and \(\frac{\partial V}{\partial {T}} = 8/P\). Hence \[ \frac{\mathrm{d} V}{\mathrm{d} {t}} = \frac{\partial V}{\partial {P}} \frac{\mathrm{d} P}{\mathrm{d} {t}} + \frac{\partial V}{\partial {T}} \frac{\mathrm{d} T}{\mathrm{d} {t}} = \frac{-2^7}{2^2 \cdot 5} \cdot 2^{-4} + \frac{2^3}{2^2 \cdot 5} \cdot 2^{-1} = -\frac{2}{5} + \frac{1}{5} = -\frac{1}{5}. \]

Problem 5

The Doppler effect problem (Stewart et al. 2020, sec. 14.5) #48.

Problem 6

In this problem we take \(f(x,y) = \dfrac{xy}{\exp(x^2+y^2)}\). By properties of exponentials, we can rewrite \[ f(x,y) = \left(x e^{-x^2}\right) \left(y e^{-y^2}\right), \] which is a useful form for computing derivatives. Consider the following level curve plot:

  1. Use the above plot to describe the critical points of \(f\). Are they extrema or saddles?
  2. Compute \(\Gradient{f}\) and solve for the critical points explicitly. Use the second derivative test to support your answers for part (a).

We have \(f_x = (1-2x^2) e^{-x^2} y e^{-y^2}\) and \(f_y = x e^{-x^2} (1-2y^2) e^{-y^2}\). If \(f_x = 0\), then we have \(x = \pm 1/\sqrt{2}\) or \(y = 0\); if we also have \(f_y = 0\), then in the first case we must have \(2y^2 = 1\) and in the latter we need \(x = 0\). So our critical points are: \[ \left(\tfrac{1}{\sqrt{2}},\tfrac{1}{\sqrt{2}}\right), \quad \left(\tfrac{1}{\sqrt{2}},-\tfrac{1}{\sqrt{2}}\right), \quad \left(-\tfrac{1}{\sqrt{2}},\tfrac{1}{\sqrt{2}}\right), \quad \left(-\tfrac{1}{\sqrt{2}},-\tfrac{1}{\sqrt{2}}\right), \quad \text{and} \quad (0,0). \] Next we compute \(f_{xx} = 2x(2x^2-3)e^{-x^2} y e^{-y^2}\), \(f_{xy} = (1-2x^2) e^{-x^2}(1-2y^2) e^{-y^2}\), and also \(f_{yy} = x e^{-x^2} 2y(2y^2-3)e^{-y^2}\). Therefore we have \[ D(x,y) = \left( 4x^2y^2(2x^2-3)(2y^2-3) - (1-2x^2)^2 (1-2y^2)^2 \right) e^{-2x^2-2y^2}. \] This function is even in \(x\) and \(y\), making it relatively straightforward to evaluate: \[ D\left(\pm \tfrac{1}{\sqrt{2}},\pm \tfrac{1}{\sqrt{2}}\right) = D\left(\pm \tfrac{1}{\sqrt{2}},\mp \tfrac{1}{\sqrt{2}}\right) = \left(1 \cdot (1-3)^2 - (1-1)^4\right)e^{-2} = 4e^{-2} > 0 \] and \[ D(0,0) = \left(0 \cdot (-3)(-3) - (1)^2(1)^2\right)e^0 = -1. \] The origin is a saddle; the other critical points are extrema. To check concavity: \[ f_{xx}\left(\pm \tfrac{1}{\sqrt{2}},\pm \tfrac{1}{\sqrt{2}}\right) = -\tfrac{2}{e} < 0 \quad \text{and} \quad f_{xx}\left(\pm \tfrac{1}{\sqrt{2}},\mp \tfrac{1}{\sqrt{2}}\right) = \tfrac{2}{e} > 0, \] so the first and third quadrants have maxima; the second and fourth have minima.

  1. Let \(\vec{u} = \Vector{\tfrac{1}{\sqrt{2}}, -\tfrac{1}{\sqrt{2}}}\). Based on the picture, is \((\operatorname{D}_{\vec{u}} f)(1,1)\) zero or non-zero?
  2. Compute \((\operatorname{D}_{\vec{u}} f)(1,1)\) to confirm your answer for part (c).

\[ (\operatorname{D}_{\vec{u}} f)(x,y) = \tfrac{1}{\sqrt{2}} (1-2x^2) e^{-x^2} y e^{-y^2} - \tfrac{1}{\sqrt{2}} x e^{-x^2} (1-2y^2) e^{-y^2} = \frac{(y-x)(2xy+1)}{\sqrt{2} \exp(x^2+y^2)}, \] so \((\operatorname{D}_{\vec{u}} f)(1,1) = 0\).

  1. Compute the maximum slope and direction of steepest ascent at \((x,y) = (1,1)\).

We have \(\Gradient{f}(1,1) = \Vector{-e^{-2}, -e^{-2}}\), which points southwest (the direction \(\tfrac{1}{\sqrt{2}}\Vector{-1,-1}\)). We have \[ \Norm{\Gradient{f}(1,1)} = \sqrt{e^{-4} + e^{-4}} = \sqrt{2} e^{-2} \] for the steepest slope.

  1. Decorate the level curve plot with gradient arrows.

Problem 7

In this problem we take \(f(x,y) = y^2 - x^2\) and \(g(x,y) = (x - 1)^2 + y^2\); we seek to maximize \(f(x,y)\) along the constraint curve \(g = 1\). This is visualized with the following level curve plot:

  1. Using the level curves, identify potential solutions to this optimization problem.
  2. Solve for the critical points of the Lagrangian. Did you miss any points in part (a)?

We have \[ (x,y,\lambda) = \left(\tfrac{1}{2},\tfrac{\sqrt{3}}{2},1\right), \ \left(\tfrac{1}{2},-\tfrac{\sqrt{3}}{2},1\right), \ (2,0,-2), \text{ and } (0,0,0). \]

  1. What are the global extrema of \(f\) along \(g = 1\)?

The minimum value is \(-4\) at \((2,0)\); the maximum is \(\tfrac{1}{2}\) at \(\left(\tfrac{1}{2},\pm \tfrac{\sqrt{3}}{2}\right)\). Indeed: \[ f\left(\tfrac{1}{2},\pm \tfrac{\sqrt{3}}{2}\right) = \tfrac{1}{2}, \quad f(2,0) = -4, \quad \text{and} \quad f(0,0) = 0. \]

Problem 8

Do the previous problem with the same constraint but take \(f(x,y) = xy\), which has a similar contour plot to before but is apparently rotated by \(45^\circ\). What changes?

Problem 9

Show that, for a fixed area, the rectangle with the least perimeter is a square.

Problem 10

Show that, for a fixed volume, the cylinder with the least surface area \[ S(r,h) = 2 \pi r h + 2 \pi r^2 \] has height equal to its diameter.

Problem 11

Find the maximum value of \(f(x,y) = \dfrac{-x}{1+x^2+y^2}\) on the domain \(R = \{(x,y) : (x+1)^2 + y^2 \leq 1\}\).

We need to both find the local extrema of \(f(x,y)\) in this domain and maximize it along the boundary, i.e., the constraint curve \(g(x,y) = (x+1)^2 + y^2 = 1\). We have \[ \Gradient{f} = \frac{1}{(1+x^2+y^2)^2} \Vector{x^2-y^2-1, 2xy}, \] so, from the second component, we see that \(\Gradient{f} = \vec{0}\) means that \(x = 0\) or \(y = 0\). In the former case, we get a contradiction (\(y^2 + 1\) can never be \(0\)); in the latter, we have \(x = \pm 1\). So there are two critical points, \((1,0)\) and \((-1,0)\), and only the second is in our domain.

Next we set up and solve the Lagrange equations: \[ \underbrace{\frac{x^2-y^2-1}{(1+x^2+y^2)^2}}_{f_x} \underbrace{2y}_{g_y} = \underbrace{\frac{2xy}{(1+x^2+y^2)^2}}_{f_y} \underbrace{2(x+1)}_{g_x} \quad \text{and} \quad (x+1)^2 + y^2 = 1. \] The first simplifies to \(y = 0\) or \(x^2 - y^2 - 1 = 2x(x+1)\). If we add the latter to the constraint equation, we can see there are no solutions; \(y = 0\), on the other hand, gives \(x = 0, -2\). Hence \((-2,0)\) and \((0,0)\) are our stationary points.

Since \(f(-1,0) = \tfrac{1}{2}\), \(f(-2,0) = \tfrac{2}{5}\), and \(f(0,0) = 0\), the maximum value of \(f\) on \(R\) is \(\tfrac{1}{2}\).

Problem 12

Carry out the following calculations (does the order of integration matter?):

  1. Find the volume under \(z = x^2 + y^2\) and over the region \([-1,1] \times [0,1]\).
  2. Evaluate \(\iint_R e^y \cos(x) \mathop{}\!\mathrm{d}A\) over the region \(R = \{ (x,y) : 0 \leq x \leq \frac{\pi}{2}, 0 \leq y \leq 1 \}\).
  3. Evaluate \(\int_0^1 \int_{-1}^3 (3 - x + 4y) \mathop{}\!\mathrm{d}y \mathop{}\!\mathrm{d}x\).
  4. Evaluate \(\iint_R x \sin(xy) \mathop{}\!\mathrm{d}A\) over the region \(R = \{ (x,y) : 0 \leq x \leq \pi, 1 \leq y \leq 2 \}\).

Problem 13

Compute the following integrals (does the order of integration matter?):

  1. \(\iint_B (2yx^2 + 9y^3) \mathop{}\!\mathrm{d}A\), where \(B\) is the region bounded by \(3y = 2x\) and \(y^2 = 4x\).
  2. \(\iint_C x(y-1) \mathop{}\!\mathrm{d}A\), where \(C\) is the region bounded by \(y = 1 - x^2\) and \(y = x^2 - 3\).
  3. \(\iint_D 5x^3 \cos(y^3) \mathop{}\!\mathrm{d}A\), where \(D\) is the region bounded by \(y = 2\), \(4y = x^2\), and the \(y\)-axis.
  4. \(\iint_E e^{y^4} \mathop{}\!\mathrm{d}A\), where \(E\) is the region bounded by \(x = y^3\), \(x = 0\), \(y = 1\), and \(y = -1\).

Problem 14

Compute the area of a circle of radius \(R\) using double integration in polar coordinates.

Problem 15

Find the volume bounded by \(z = x^2 + y^2\) and \(z = 16\).

Problem 16

Determine the area of the region that lies inside \(r = 3 + 2 \sin \theta\) and outside \(r = 2\).

Problem 17

Evaluate the following integrals by converting to polar coordinates:

  1. \(\iint_B 2xy \mathop{}\!\mathrm{d}A\), where \(B\) is the region in the first quadrant between the circles of radius 2 and radius 5, both centered at the origin.

\[ \int_0^{\pi/2} \int_2^5 2(r \cos \theta)(r \sin \theta) \, r \mathop{}\!\mathrm{d}r \mathop{}\!\mathrm{d}\theta = \int_0^{\pi/2} 2 \sin \theta \cos \theta \left[ \tfrac{1}{4} r^4 \right]_2^5 \mathop{}\!\mathrm{d}\theta = \frac{609}{4} \int_0^{\pi/2} \sin(2\theta) \mathop{}\!\mathrm{d}\theta = \frac{609}{4}. \]

  1. \(\iint_C e^{x^2+y^2} \mathop{}\!\mathrm{d}A\), where \(C\) is the unit disk centered at the origin.
  2. \(\int_{-1}^1 \int_{-\sqrt{1-x^2}}^0 \cos(x^2+y^2) \mathop{}\!\mathrm{d}y \mathop{}\!\mathrm{d}x\)

\(\tfrac{\pi}{2} \sin(1)\)


  1. The full thing is \(PV = nRT\), but we’re fixing some of the constants to make the numbers nice.↩︎