← M408M Week 13: Midterm 2 Review
M408M · Week 13 Stewart §12.4–12.5 · §13.1–13.4 · §14.1–14.2

Midterm 2 Review

Outline

  1. 1Topics to prepare
  2. 2Cross products, lines and planes · Quiz 6
  3. 3Vector functions · Quiz 7
  4. 4Arc length, curvature, and motion · Quiz 8
  5. 5Domains and level curves
  6. 6Limits and continuity · Quiz 9
Midterm 2 · Exam topics

Topics to prepare

Friday, November 20, during lecture class time.

TopicSectionRelated Material
Vectors and three-dimensional geometry§12.4, 12.5Quiz 6
Vector-valued functions and motion§13.1, 13.2, 13.4Quizzes 7, 8
Arc length and curvature§13.3Quiz 8
Domains and level curves§14.1Examples
Multivariable limits and continuity§14.2Quiz 9

Source: How to Prepare for Midterm Exam 2 (Canvas)

§12.4–12.5 · Cross product, lines, and planes

Cross products, lines, and planes

GoalFormula or method
Cross productComputed as a determinant: $\mathbf a\times\mathbf b=\def\arraystretch{0.85}\begin{vmatrix}\mathbf i&\mathbf j&\mathbf k\\a_1&a_2&a_3\\b_1&b_2&b_3\end{vmatrix}$, perpendicular to both $\mathbf a$ and $\mathbf b$.
Steps

1. Rows: $\mathbf i,\mathbf j,\mathbf k$, then $\mathbf a$, then $\mathbf b$. Expand along the first row with signs $+,-,+$:

$$\mathbf a\times\mathbf b=\begin{vmatrix}a_2&a_3\\b_2&b_3\end{vmatrix}\mathbf i-\begin{vmatrix}a_1&a_3\\b_1&b_3\end{vmatrix}\mathbf j+\begin{vmatrix}a_1&a_2\\b_1&b_2\end{vmatrix}\mathbf k$$

2. Each $2\times2$ determinant is $\begin{vmatrix}p&q\\r&s\end{vmatrix}=ps-qr$, so

$$\mathbf a\times\mathbf b=\langle a_2b_3-a_3b_2,\ -(a_1b_3-a_3b_1),\ a_1b_2-a_2b_1\rangle$$

Example. $\langle1,2,3\rangle\times\langle4,5,6\rangle=(2\cdot6-3\cdot5)\,\mathbf i-(1\cdot6-3\cdot4)\,\mathbf j+(1\cdot5-2\cdot4)\,\mathbf k=\langle-3,6,-3\rangle$.

Check: $\langle-3,6,-3\rangle\cdot\langle1,2,3\rangle=0$ and $\langle-3,6,-3\rangle\cdot\langle4,5,6\rangle=0$.

AreaParallelogram with sides $\mathbf a,\mathbf b$: $|\mathbf a\times\mathbf b|=|\mathbf a|\,|\mathbf b|\sin\theta$. $\;$Triangle with sides $\mathbf a,\mathbf b$: $\tfrac12|\mathbf a\times\mathbf b|$
Line through $P_0$ with direction $\mathbf v$$\mathbf r(t)=\mathbf r_0+t\mathbf v$. Through two points: $\mathbf v=\overrightarrow{P_0P_1}$
Relation between two linesParallel if $\mathbf v_1$, $\mathbf v_2$ are multiples. Otherwise solve $\mathbf r_1(t)=\mathbf r_2(s)$; no solution means skew
Angle between two planes$\cos\theta=\dfrac{|\mathbf n_1\cdot\mathbf n_2|}{|\mathbf n_1|\,|\mathbf n_2|}$, the angle between the normals
Line where two planes meetTwo planes that are not parallel meet in a line. Its direction is $\mathbf n_1\times\mathbf n_2$.
Example

Why $\mathbf n_1\times\mathbf n_2$: the line lies in both planes, so it is perpendicular to both normals, and $\mathbf n_1\times\mathbf n_2$ is perpendicular to both.

Example. The $xy$-plane $z=0$ and the $yz$-plane $x=0$ meet in the $y$-axis. Their normals are $\langle0,0,1\rangle$ and $\langle1,0,0\rangle$, and

$$\langle0,0,1\rangle\times\langle1,0,0\rangle=\langle0,1,0\rangle,$$

which points along the $y$-axis. To write the line you also need one point on it: set one variable to $0$ and solve the two plane equations for the other two.

Distance from $(x_1,y_1,z_1)$ to $ax+by+cz=d$$D=\dfrac{|ax_1+by_1+cz_1-d|}{\sqrt{a^2+b^2+c^2}}$
$$\begin{aligned}\text{Plane through }P(x_0,y_0,z_0)\text{ with normal }\mathbf n=\langle a,b,c\rangle:&\quad a(x-x_0)+b(y-y_0)+c(z-z_0)=0\\\text{Plane through }P,\,Q,\,R:&\quad\mathbf n=\overrightarrow{PQ}\times\overrightarrow{PR},\qquad\text{area of }\triangle PQR=\tfrac12|\mathbf n|\end{aligned}$$
Sanity check: $\mathbf n\cdot\overrightarrow{PQ}=0$ and $\mathbf n\cdot\overrightarrow{PR}=0$, then check that $Q$ and $R$ satisfy the plane equation.
Quiz 6 · All versions

Quiz 6: the plane through $P$, $Q$, $R$, and the area of $\triangle PQR$

(1) a normal vector $\mathbf n$ from a cross product, and an equation of the plane through $P$, $Q$, $R$; $\;$(2) the exact area of $\triangle PQR$.

  1. Two vectors in the plane. Subtract the coordinates of $P$:
  2. Normal vector. $\overrightarrow{PQ}\times\overrightarrow{PR}$ is perpendicular to both vectors, so it is normal to the plane:
  3. Plane. Put $P$ and $\mathbf n$ into $a(x-x_0)+b(y-y_0)+c(z-z_0)=0$:
  4. Check.
  5. Area. The triangle is half of the parallelogram with sides $\overrightarrow{PQ}$ and $\overrightarrow{PR}$:

Drag to rotate · double-click to reset

§13.1–13.2 · Vector functions

Vector functions: curves, tangents, and integrals

For $\mathbf r(t)=\langle f(t),\,g(t),\,h(t)\rangle$, work with one component at a time.

GoalFormula or method
Domain, limit, continuityUse each component. The domain is where all three components are defined
Tangent vector and unit tangent$\mathbf r'(t)=\langle f'(t),\,g'(t),\,h'(t)\rangle$, $\qquad\mathbf T(t)=\dfrac{\mathbf r'(t)}{|\mathbf r'(t)|}$
Tangent line at $t=t_0$Point $\mathbf r(t_0)$, direction $\mathbf r'(t_0)$: $\;\mathbf r(t_0)+s\,\mathbf r'(t_0)$
IntegralsIntegrate each component. The result is a vector: $\displaystyle\int_a^b\mathbf r(t)\,dt=\Big\langle\int_a^b f\,dt,\ \int_a^b g\,dt,\ \int_a^b h\,dt\Big\rangle$
Parametrization: for a curve where two surfaces meet, parametrize two coordinates from one equation (forms below), then solve the other equation for the third.
Sanity check: $\mathbf r(t)$ satisfies both equations.
$$\begin{aligned}\text{Circle }x^2+y^2=a^2:&\quad x=a\cos t,\ \ y=a\sin t,\ \ 0\le t\le2\pi\ \ (\text{counterclockwise from }(a,0))\\\text{Ellipse }x^2/a^2+y^2/b^2=1:&\quad x=a\cos t,\ \ y=b\sin t,\ \ 0\le t\le2\pi\\\text{Graph }y=f(x):&\quad x=t,\ \ y=f(t)\\\text{Line segment from }\mathbf r_0\text{ to }\mathbf r_1:&\quad\mathbf r(t)=(1-t)\,\mathbf r_0+t\,\mathbf r_1,\ \ 0\le t\le1\end{aligned}$$
Quiz 7 · All versions · Part 1

Quiz 7, part 1: parametrize the curve $C$ of intersection

(1) a vector function $\mathbf r(t)$ that traces $C$ once for $0\le t\le2\pi$, its starting point, and its direction viewed from above.

  1. Cylinder. Viewed from above, $C$ lies on a circle, so use cosine and sine:
  2. Plane.
  3. Starting point.
  4. Direction. As $t$ increases, $(x,y)$ goes around the circle:
    This is counterclockwise viewed from above, in every version.

Curve $C$ on the cylinder and the plane · its shadow on the $xy$-plane · drag to rotate

Quiz 7 · All versions · Parts 2–3

Quiz 7, parts 2–3: unit tangent, tangent line, and integral

(2) the unit tangent $\mathbf T(t)$, and parametric equations of the tangent line at ; $\;$(3) $\int_0^{\pi/2}\mathbf r(t)\,dt$.

2. Unit tangent, and the tangent line

  1. Derivative.
  2. Magnitude. Use $\sin^2t+\cos^2t=1$ and $2\sin t\cos t=\sin2t$:
  3. Unit tangent. Divide by the magnitude; the factor cancels:
  4. Point and direction.
  5. Tangent line through $\mathbf r(t_0)$ in the direction $\mathbf r'(t_0)$:

3. $\int_0^{\pi/2}\mathbf r(t)\,dt$

  1. Antiderivative of each component:
  2. Upper limit minus lower limit.

A definite integral of a vector function is a constant vector.

§13.3 · Arc length and curvature

Arc length and curvature

Arc length is the distance traveled along a curve. Curvature is how fast its direction turns per unit distance.

QuantityFormula
Arc length, $a\le t\le b$$L=\displaystyle\int_a^b|\mathbf r'(t)|\,dt=\int_a^b\sqrt{x'(t)^2+y'(t)^2+z'(t)^2}\,dt$
Arc length function$s(t)=\displaystyle\int_a^t|\mathbf r'(u)|\,du$, $\quad\dfrac{ds}{dt}=|\mathbf r'(t)|$
Curvature$\kappa=\left|\dfrac{d\mathbf T}{ds}\right|=\dfrac{|\mathbf T'(t)|}{|\mathbf r'(t)|}$. A circle of radius $a$ has $\kappa=\dfrac1a$
Curvature of $\mathbf r(t)$$\kappa(t)=\dfrac{|\mathbf r'(t)\times\mathbf r''(t)|}{|\mathbf r'(t)|^3}$, for any $\mathbf r(t)$; needs no $\mathbf T'$
Curvature of $y=f(x)$$\kappa(x)=\dfrac{|f''(x)|}{\big[1+(f'(x))^2\big]^{3/2}}$, the special case $\mathbf r=\langle x,f(x),0\rangle$ of the formula above
§13.4 · Motion in space

Motion in space: velocity and acceleration

A particle is at the point $\mathbf r(t)$ at time $t$.

QuantityFormula
Velocity$\mathbf v(t)=\mathbf r'(t)$, tangent to the path
Speed$|\mathbf v(t)|=\dfrac{ds}{dt}$, distance traveled per unit time
Acceleration$\mathbf a(t)=\mathbf v'(t)=\mathbf r''(t)$
Tangential and normal components$\mathbf a=a_T\mathbf T+a_N\mathbf N$, $\quad a_T=\dfrac{\mathbf r'\cdot\mathbf r''}{|\mathbf r'|}$, $\quad a_N=\dfrac{|\mathbf r'\times\mathbf r''|}{|\mathbf r'|}=\kappa v^2$
$$\text{From }\mathbf a\text{ back to }\mathbf r:\qquad\mathbf v(t)=\int\mathbf a(t)\,dt+\mathbf C,\qquad\mathbf r(t)=\int\mathbf v(t)\,dt+\mathbf D\qquad(\mathbf C,\ \mathbf D\text{ are constant vectors})$$
Find $\mathbf C$ from $\mathbf v(0)$ before integrating again, then find $\mathbf D$ from $\mathbf r(0)$. $\;a_T$ changes the speed and $a_N$ turns the direction; constant speed means $a_T=0$.
Quiz 8 · All versions · Part 1

Quiz 8, part 1: velocity, position, and speed

(1) the velocity $\mathbf v(t)$, the position $\mathbf r(t)$, and the speed.

  1. Integrate $\mathbf a$, one component at a time:
  2. Use $\mathbf v(0)$.
  3. Integrate $\mathbf v$.
  4. Use $\mathbf r(0)$.
  5. Speed, the magnitude of $\mathbf v$: . It is constant.

A helix, $0\le t\le\frac\pi2$ · $\mathbf v$ tangent · $\mathbf a$ toward the $z$-axis · drag to rotate

Quiz 8 · All versions · Parts 2–3

Quiz 8, parts 2–3: length of the path, and curvature

(2) the exact length of the path for $0\le t\le\frac\pi2$; $\;$(3) the curvature $\kappa(t)$, and whether it is constant.

2. Length of the path, $0\le t\le\frac\pi2$

From part 1, the speed is , a constant. Arc length is the integral of the speed:

3. Curvature: $\kappa=\dfrac{|\mathbf r'\times\mathbf r''|}{|\mathbf r'|^3}$

  1. Derivatives.
  2. Cross product, expanding the determinant with rows $\mathbf r'$ and $\mathbf r''$:
  3. Magnitudes.
  4. Divide.
    $\kappa$ does not depend on $t$, so the curvature is constant.
§14.1 · Domains

The domain of a function of two variables

The domain is the set of all points $(x,y)$ where the formula is defined.

What to check

  • Square root $\sqrt u$: $\;u\ge0$
  • Logarithm $\ln u$: $\;u>0$
  • Fraction $p/q$: $\;q\ne0$
  • Root in a denominator, $1/\sqrt u$: $\;u>0$

Example: $f(x,y)=\dfrac{\ln(4-x^2-y^2)}{\sqrt y}$

  1. Logarithm. $4-x^2-y^2>0$, that is $x^2+y^2<4$: inside the circle of radius $2$, not on it.
  2. Square root in the denominator. $\sqrt y$ needs $y\ge0$, and the denominator needs $\sqrt y\ne0$. Together: $y>0$.
  3. Both conditions.
    $$D=\{(x,y)\mid x^2+y^2<4,\ y>0\}$$
    The upper half of the disk, without its boundary.

Dashed boundary: not in $D$ · click the plane to move the test point

§14.1 · Level curves

Level curves and contour maps

A level curve is the set of points in the $xy$-plane where $f$ has one fixed value $k$, for $k$ in the range of $f$.

$$\text{level curve at height }k:\qquad f(x,y)=k$$

Example: $g(x,y)=\sqrt{y-x^2}$

  1. Domain and range. $y-x^2\ge0$, so $D=\{(x,y)\mid y\ge x^2\}$. A square root is never negative, so the range is $[0,\infty)$ and only $k\ge0$ gives a curve.
  2. Set $g=k$ and square both sides:
    $$\sqrt{y-x^2}=k\iff y=x^2+k^2$$
    The parabola $y=x^2$ shifted up by $k^2$.
  3. Spacing. $k=0,1,2$ give shifts $0,1,4$. The gaps grow, so $g$ increases more slowly as $y$ increases.

Left: the trace in the plane $z=k$, drag to rotate · Right: the contour map

§14.2 · Limits and continuity

Limits and continuity

$\lim_{(x,y)\to(a,b)}f(x,y)=L$: $f(x,y)\to L$ along every path into $(a,b)$.

GoalMethod
Limit of a continuous functionSubstitute $(a,b)$. Polynomials are continuous; rational functions where the denominator $\ne0$
Limit does not existTwo paths with different limits: $y=0$, $x=0$, $y=mx$, $y=x^2$, …
Limit existsSqueeze: $|f(x,y)-L|\le g(x,y)\to0$. Bounds: $\dfrac{y^2}{x^2+y^2}\le1$, $\;|x|\le\sqrt{x^2+y^2}$
Continuity at $(a,b)$$\displaystyle\lim_{(x,y)\to(a,b)}f(x,y)=f(a,b)$
Piecewise functionAt the special point: continuous exactly when the limit equals the assigned value
The same limit along many paths (e.g., $y=mx$) does not prove that the limit exists; only the Squeeze Theorem does.
Quiz 9 · All versions · Part 1

Quiz 9, part 1: does $\lim_{(x,y)\to(0,0)}F(x,y)$ exist?

(1) whether $\lim_{(x,y)\to(0,0)}F(x,y)$ exists.

Choosing a curve: try $y=x^k$, with $k$ chosen so that the terms of the denominator have the same power of $x$.
  1. Along the $x$-axis. $y=0$ makes the numerator $0$: $F(x,0)=0\to0$.
  2. Along lines $y=mx$.
  3. Along a curve.
  4. Conclusion.
    $$\lim_{(x,y)\to(0,0)}F(x,y)\ \text{does not exist}$$
Quiz 9 · All versions · Parts 2–3

Quiz 9, parts 2–3: the Squeeze Theorem, and continuity of $H_k$

(2) $\lim_{(x,y)\to(0,0)}G(x,y)$ by the Squeeze Theorem; $\;$(3) where $H_k$ is continuous, and the $k$ that makes it continuous on $\mathbb R^2$.

2. $\lim_{(x,y)\to(0,0)}G(x,y)$

Substituting $(0,0)$ gives $\frac00$. Write $G$ as $x^2$ times a bounded fraction:

  1. Bound the fraction.
    Common mistake: why not $G\le y^2$?

    Bound only a fraction whose numerator is a term of its denominator, as in step 1.

  2. Multiply by $x^2\ge0$.
  3. Squeeze.
    $$\lim_{(x,y)\to(0,0)}G(x,y)=0$$

3. Where is $H_k$ continuous?

  1. Away from $(0,0)$. So $H_k$ is continuous at every $(a,b)\ne(0,0)$.
  2. At $(0,0)$. $H_k$ is continuous there exactly when $\lim_{(x,y)\to(0,0)}H_k=H_k(0,0)$. The limit is $0$ by part 2, and $H_k(0,0)=k$.
  3. Conclusion.
    $$H_k\text{ is continuous on all of }\mathbb R^2\iff k=0$$
    For $k\ne0$, $H_k$ is continuous everywhere except $(0,0)$.
Midterm 2 · Summary

Formula summary

Planes (§12.4–12.5)

$$\mathbf n=\overrightarrow{PQ}\times\overrightarrow{PR},\qquad\text{area}=\tfrac12|\mathbf n|$$
$$a(x-x_0)+b(y-y_0)+c(z-z_0)=0$$

Check that all three points satisfy the equation.

Vector functions (§13.1–13.2)

$$x^2+y^2=a^2:\quad x=a\cos t,\ y=a\sin t$$
$$\mathbf T=\frac{\mathbf r'}{|\mathbf r'|},\qquad\mathbf r(t_0)+s\,\mathbf r'(t_0)$$

Differentiate and integrate one component at a time.

Motion (§13.4)

$$\mathbf v(t)=\mathbf r'(t),\qquad\mathbf a(t)=\mathbf v'(t)=\mathbf r''(t)$$
$$\mathbf v=\int\mathbf a\,dt+\mathbf C,\qquad\mathbf r=\int\mathbf v\,dt+\mathbf D$$

Find $\mathbf C$ from $\mathbf v(0)$ and $\mathbf D$ from $\mathbf r(0)$.

Arc length and curvature (§13.3)

$$L=\int_a^b|\mathbf r'(t)|\,dt$$
$$\kappa=\frac{|\mathbf r'\times\mathbf r''|}{|\mathbf r'|^3}$$

Constant speed: $L$ is speed $\times$ time.

Domains and level curves (§14.1)

$$\sqrt u:\ u\ge0,\qquad\ln u:\ u>0,\qquad\frac pq:\ q\ne0$$
$$\text{level curve: }f(x,y)=k$$

Only $k$ in the range of $f$ gives a curve.

Limits and continuity (§14.2)

$$|f-L|\le g\to0\ \Longrightarrow\ f\to L$$
$$\text{continuous at }(a,b):\ \lim f=f(a,b)$$

Two paths with different limits: the limit does not exist.