Midterm 2 (Practice)

Name: ________________________

Date: ________________________


Problem Points Score
1 6
2 9
3 8
4 7
Total 30


You are responsible for following the instructions below:

  • Write neatly, box answers, and show work. I want to give you partial credit if possible!

  • You may use results derived or justified in this exam. If Problem 4(b) asks you to explain a formula which you can use to solve 4(c), you should do so, even if you are unable to solve 4(b)!

  • Do not refer to calculators, computational engines, or other outside resources.

  • Due to testing accommodations, not all students are taking the exam simultaneously. Do not discuss the exam unless otherwise directed by Professor Gómez-Gonzáles.

  • Do not share copies of the exam for any reason.

Good luck!



I agree to these conditions and furthermore I understand that failing to follow these instructions (e.g., by using or accessing disallowed resources, sharing exam materials, etc.) is a violation of academic integrity as defined within the Carleton College student handbook: https://apps.carleton.edu/handbook/.


On my honor, I have neither received or given unauthorized assistance on this examination!


Signature: ________________________

Cheatsheet

Derivatives

\[ \begin{aligned} \frac{\mathrm{d}}{\mathrm{d} {x}} x^n &= n \ x^{n-1} & \frac{\mathrm{d}}{\mathrm{d} {x}} \ln(x) &= \frac{1}{x} \\[1.5em] \frac{\mathrm{d}}{\mathrm{d} {x}} e^x &= e^x & \frac{\mathrm{d}}{\mathrm{d} {x}} \sin^{-1}(x) &= \frac{1}{\sqrt{1-x^2}} \\[1.5em] \frac{\mathrm{d}}{\mathrm{d} {x}} \sin(x) &= \cos(x) & \frac{\mathrm{d}}{\mathrm{d} {x}} \cos^{-1}(x) &= \frac{-1}{\sqrt{1-x^2}} \\[1.5em] \frac{\mathrm{d}}{\mathrm{d} {x}} \cos(x) &= -\sin(x) & \frac{\mathrm{d}}{\mathrm{d} {x}} \tan^{-1}(x) &= \frac{1}{1+x^2} \\[1.5em] \frac{\mathrm{d}}{\mathrm{d} {x}} \tan(x) &= \sec^2(x) & \frac{\mathrm{d} y}{\mathrm{d} {x}} &= \frac{\mathrm{d} y}{\mathrm{d} {u}} \frac{\mathrm{d} u}{\mathrm{d} {x}} \\[1.5em] \frac{\mathrm{d}}{\mathrm{d} {x}} (f(x) \cdot g(x)) &= f'(x) g(x) + f(x) g'(x) & \frac{\mathrm{d}}{\mathrm{d} {x}} \left( \frac{f(x)}{g(x)} \right) &= \frac{f'(x) g(x) - f(x) g'(x)}{g(x)^2} \\[1.5em] \end{aligned} \]

Dot Product & Projection

\[ \begin{aligned} \vec{u}, \vec{v}, \vec{w} &\in \Rb^n, \ r \in \Rb & \vec{u} \cdot \vec{v} &= \vec{v} \cdot \vec{u} \\[1.5em] \vec{u} \cdot \vec{v} &\coloneqq u_1 v_1 + \cdots + u_n v_n & \vec{u} \cdot (\vec{v} + \vec{w}) &= \vec{u} \cdot \vec{v} + \vec{u} \cdot \vec{w} \\[1.5em] \Norm{\vec{u}}^2 &= \vec{u} \cdot \vec{u} & (r \vec{u}) \cdot \vec{v} &= r(\vec{u} \cdot \vec{v}) = \vec{u} \cdot (r \vec{v}) \\[1.5em] \vec{u} \cdot \vec{v} &= \Norm{\vec{u}} \ \Norm{\vec{v}} \cos \theta & \vec{u} \cdot \vec{v} = 0 &\iff \vec{u}, \vec{v} \text{ orthogonal} \\[1.5em] \Comp{\vec{u}}{\vec{v}} &\coloneqq \frac{\vec{u} \cdot \vec{v}}{\Norm{\vec{u}}} & \Proj{\vec{u}}{\vec{v}} &\coloneqq \frac{\vec{u} \cdot \vec{v}}{\Norm{\vec{u}}^2} \ \vec{u} \\[1.5em] \end{aligned} \]

Cross Product

\[ \begin{aligned} \vec{u}, \vec{v}, \vec{w} &\in \Rb^3, \ r \in \Rb & (\vec{u} + \vec{v}) \times \vec{w} &= \vec{u} \times \vec{w} + \vec{v} \times \vec{w} \\[1.5em] \vec{u} \times \vec{v} &\coloneqq \left|\begin{smallmatrix} \Iv & \Jv & \Kv \\ u_1 & u_2 & u_3 \\ v_1 & v_2 & v_3 \end{smallmatrix}\right| & (r \vec{u}) \times \vec{v} &= r(\vec{u} \times \vec{v}) = \vec{u} \times (r \vec{v}) \\[1.5em] \vec{u} \times \vec{v} &= -\vec{v} \times \vec{u} & \vec{u} \cdot ( \vec{v} \times \vec{w} ) &= (\vec{u} \times \vec{v}) \cdot \vec{w} \\[1.5em] \vec{u} \times (\vec{v} + \vec{w}) &= \vec{u} \times \vec{v} + \vec{u} \times \vec{w} & \vec{u} \cdot (\vec{u} \times \vec{v}) &= \vec{0} = \vec{v} \cdot (\vec{u} \times \vec{v}) \\[1.5em] \Norm{\vec{u} \times \vec{v}} &= \Norm{\vec{u}} \ \Norm{\vec{v}} \sin \theta & \vec{u} \times \vec{v} = \vec{0} &\iff \vec{u}, \vec{v} \text{ parallel} \\[1.5em] \end{aligned} \]

Linear Approximation

\[ f(x,y) \approx \underbrace{f(a,b) + f_x(a,b) (x-a) + f_y(a,b) (y-b)}_\text{linear approximation of $f$ at $(a,b)$} \]


Exam

Problem 1. (6 points)

  1. (2 points) Find the area of the parallelogram made by \(\Vector{ 2, -1 }\) and \(\Vector{ 1, 1 }\).

    We can use the \(a_1b_2-a_2b_1\) formula discussed in class, or pad these vectors with an extra component of \(0\) and compute the cross product: \[ \Norm{\Vector{ 1, 1, 0 } \times \Vector{ 2, -1, 0 }} = \Norm{\Vector{ 0, 0, 3 }} = 3. \]

  1. (2 points) Find the volume of the parallelepiped made by \(\Vector{ 2, -1, 0 },\) \(\Vector{ 1, 1, 0 },\) and \(\Vector{ 0, -4, 2 }.\)

    \[ \left( \Vector{ 1, 1, 0 } \times \Vector{ 2, -1, 0 } \right) \cdot \Vector{ 0, -4, 2 } = \Vector{ 0, 0, 3 } \cdot \Vector{ 0, -4, 2 } = 6. \]

  1. (2 points) Assuming that all the vectors pictured below have length 1, arrange the four pictures below by the value \(\vec{u} \cdot \vec{v}\) from most negative to most positive.

    (A)

    (B)

    (C)

    (D)

    We have (B) \(<\) (D) \(<\) (C) \(\approx\) 0 \(<\) (A).


Problem 2. (9 points)

  1. (3 points) Find the symmetric form for the line through \((2,-1,3)\) and \((1,4,-3)\).

    The parametric form is given by \(x = 2 - t\), \(y = -1 + 5t\), \(z = 3 - 6t\). Solving for \(t\) and equating, we find the symmetric form: \[ \frac{x-2}{-1} = \frac{y+1}{5} = \frac{z-3}{-6}. \]

  1. (3 points) Let \(\ell\) be a line in \(\Rb^3\) which passes through points \(A\) and \(B\) but not \(C\).

    Using identities of the cross product, argue that the distance \(d\) from \(C\) to \(\ell\) is given by

    \[ d = \frac{\Norm{ \vec{u} \times \vec{v} }}{\Norm{ \vec{u} }}, \tag{1}\] where \(\vec{u} = \overrightarrow{AB}\) and \(\vec{v} = \overrightarrow{AC}\).

    The distance \(d\) is given by \(\Norm{ \vec{v} } \sin \theta\). Hence, we have \[ d = \frac{\Norm{ \vec{u} } \Norm{ \vec{v} } \sin \theta}{\Norm{ \vec{u} }} = \frac{\Norm{ \vec{u} \times \vec{v} }}{\Norm{ \vec{u} }}. \]

  1. (3 points) Given Equation 1, compute the distance from \((1,1,1)\) to the line given by

    \[ x = t, \qquad y = 6+2t, \qquad z = 8+t. \]

    Show your work! You can receive partial credit for identifying any distinct points \(A\) and \(B\) on the line, the resulting vectors \(\vec{u}\) and \(\vec{v}\), and for computing the final distance \(d\).

    From the parametric form on the line, we can deduce a point \(A = (0,6,8)\) on the line. By choosing any non-zero value of \(t\), we can write down another point; taking \(t=1\) gives \(B = (1,8,9)\) and \(\vec{u} = \Vector{ 1,2,1 }\). Then \(\vec{v} = (1,1,1) - A = \Vector{ 1,-5,-7 }\). We compute: \[ \frac{\Norm{ \vec{u} \times \vec{v} }}{\Norm{ \vec{u} }} = \frac{\Norm{ \Vector{ -9,8,-7 } }}{\Norm{ \Vector{ 1,2,1 } }} = \sqrt{\frac{97}{3}}. \]

Problem 3. (8 points) A plot of level curves for a function \(f(x,y)\) is provided on the next page.

  1. (2 points) Describe the surface \(z=f(x,y)\) in \(\Rb^3\), in words or with a sketch (or both).

    The surface has a pair of mountains to the left and mirrored valleys to the right. Aside from these, the surface seems largely flat.

  1. (1 points) Does the value of \(\frac{\partial f}{\partial x}(P)\) appear to be positive, negative, or zero?

    At \(P\), the \(x\)-direction appears to be tangent to the \(z=10\) level curve, so we expect \(\frac{\partial f}{\partial x}(P) = 0\).

  1. (1 points) Does the value of \(\frac{\partial f}{\partial y}(P)\) appear to be positive, negative, or zero?

    At \(P\), a small step along the \(x\)-direction appears to decrease the elevation (moving us away from the \(z=10\) level curve and towards the \(z=6\) level curve), so we expect \(\frac{\partial f}{\partial y}(P)\) to be negative.

  1. (1 points) On the graph, indicate the region(s) with the fastest change in elevation.

    Near the origin.

  1. (1 points) On the graph, indicate the direction of steepest ascent at the point \(P\).

    A vector pointing straight down from \(P\).

  1. (2 points) On the graph, indicate the approximate location of all critical points of \(f(x,y)\) and mark each of them as minima, maxima, or saddle points.

    There are two saddle points and four extrema—two minima in the darkest blue regions and two maxima in the darkest pink regions.

Problem 4. (7 points)

  1. (2 points) Compute the linear approximation of \(f(x,y) = \ln(2x+y)\) at \((-1,3)\).

    We compute \(f_x(x,y) = \frac{2}{2x+y}\) and \(f_y(x,y) = \frac{1}{2x+y}\). Then, the linear approximation is given by:

    \[ z = \ln(1) + \frac{2}{1} (x+1) + \frac{1}{1} (y-3) = 2 x + y - 1. \]

  1. (3 points) Find the equation for the tangent plane to the sphere of radius \(3\), given by the equation \(x^2+y^2+z^2=9\), at the point \((1,2,2)\).

    Hint: Differentiate implicitly!

    Supposing \(z = z(x,y)\), we compute partial derivatives: \(2x + 2z \frac{\partial z}{\partial {x}} = 0\) and \(2y + 2z \frac{\partial z}{\partial {y}} = 0\). Solving for \(\frac{\partial z}{\partial {x}}\) and \(\frac{\partial z}{\partial {y}}\), we get: \[ \frac{\partial z}{\partial {x}} = -\frac{x}{z} \quad \text{and} \quad \frac{\partial z}{\partial {y}} = -\frac{y}{z}. \]

    Substituting these into the equation of the tangent plane, we have:

    \[ z = 2 - \frac{1}{2} (x-1) - \frac{2}{2} (y-2) = 4.5 - 0.5 x - y. \]

  1. (2 points) Approximate \(\sqrt{3.15}\), i.e., use the tangent plane computed in Problem 4(b) to approximate the \(z\)-coordinate in the upper hemisphere when \(x=1.2\) and \(y=2.1\).

    We compute \(4.5 - 0.5 (1.2) - 2.1 = 1.8\). That’s a pretty good approximation for \(\sqrt{3.15} = 1.77482393\dots\)!