Midterm 2 Review
Outline
- 1Topics to prepare
- 2Cross products, lines and planes · Quiz 6
- 3Vector functions · Quiz 7
- 4Arc length, curvature, and motion · Quiz 8
- 5Domains and level curves
- 6Limits and continuity · Quiz 9
Topics to prepare
Friday, November 20, during lecture class time.
| Topic | Section | Related Material |
|---|---|---|
| Vectors and three-dimensional geometry | §12.4, 12.5 | Quiz 6 |
| Vector-valued functions and motion | §13.1, 13.2, 13.4 | Quizzes 7, 8 |
| Arc length and curvature | §13.3 | Quiz 8 |
| Domains and level curves | §14.1 | Examples |
| Multivariable limits and continuity | §14.2 | Quiz 9 |
Source: How to Prepare for Midterm Exam 2 (Canvas)
Cross products, lines, and planes
| Goal | Formula or method |
|---|---|
| Cross product | Computed 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$.
Steps1. 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$. |
| Area | Parallelogram 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 lines | Parallel 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 meet | Two planes that are not parallel meet in a line. Its direction is $\mathbf n_1\times\mathbf n_2$.
ExampleWhy $\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}}$ |
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$.
- Two vectors in the plane. Subtract the coordinates of $P$:
- Normal vector. $\overrightarrow{PQ}\times\overrightarrow{PR}$ is perpendicular to both vectors, so it is normal to the plane:
- Plane. Put $P$ and $\mathbf n$ into $a(x-x_0)+b(y-y_0)+c(z-z_0)=0$:
- Check.
- Area. The triangle is half of the parallelogram with sides $\overrightarrow{PQ}$ and $\overrightarrow{PR}$:
Drag to rotate · double-click to reset
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.
| Goal | Formula or method |
|---|---|
| Domain, limit, continuity | Use 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)$ |
| Integrals | Integrate 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$ |
Sanity check: $\mathbf r(t)$ satisfies both equations.
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.
- Cylinder. Viewed from above, $C$ lies on a circle, so use cosine and sine:
- Plane.
- Starting point.
- 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, 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
- Derivative.
- Magnitude. Use $\sin^2t+\cos^2t=1$ and $2\sin t\cos t=\sin2t$:
- Unit tangent. Divide by the magnitude; the factor cancels:
- Point and direction.
- Tangent line through $\mathbf r(t_0)$ in the direction $\mathbf r'(t_0)$:
3. $\int_0^{\pi/2}\mathbf r(t)\,dt$
- Antiderivative of each component:
- Upper limit minus lower limit.
A definite integral of a vector function is a constant vector.
Arc length and curvature
Arc length is the distance traveled along a curve. Curvature is how fast its direction turns per unit distance.
| Quantity | Formula |
|---|---|
| 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 |
Motion in space: velocity and acceleration
A particle is at the point $\mathbf r(t)$ at time $t$.
| Quantity | Formula |
|---|---|
| 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$ |
Quiz 8, part 1: velocity, position, and speed
(1) the velocity $\mathbf v(t)$, the position $\mathbf r(t)$, and the speed.
- Integrate $\mathbf a$, one component at a time:
- Use $\mathbf v(0)$.
- Integrate $\mathbf v$.
- Use $\mathbf r(0)$.
- 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, 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}$
- Derivatives.
- Cross product, expanding the determinant with rows $\mathbf r'$ and $\mathbf r''$:
- Magnitudes.
- Divide. $\kappa$ does not depend on $t$, so the curvature is constant.
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}$
- Logarithm. $4-x^2-y^2>0$, that is $x^2+y^2<4$: inside the circle of radius $2$, not on it.
- Square root in the denominator. $\sqrt y$ needs $y\ge0$, and the denominator needs $\sqrt y\ne0$. Together: $y>0$.
- 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
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$.
Example: $g(x,y)=\sqrt{y-x^2}$
- 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.
- 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$.
- 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
Limits and continuity
$\lim_{(x,y)\to(a,b)}f(x,y)=L$: $f(x,y)\to L$ along every path into $(a,b)$.
| Goal | Method |
|---|---|
| Limit of a continuous function | Substitute $(a,b)$. Polynomials are continuous; rational functions where the denominator $\ne0$ |
| Limit does not exist | Two paths with different limits: $y=0$, $x=0$, $y=mx$, $y=x^2$, … |
| Limit exists | Squeeze: $|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 function | At the special point: continuous exactly when the limit equals the assigned value |
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.
- Along the $x$-axis. $y=0$ makes the numerator $0$: $F(x,0)=0\to0$.
- Along lines $y=mx$.
- Along a curve.
- Conclusion.
$$\lim_{(x,y)\to(0,0)}F(x,y)\ \text{does not exist}$$
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:
- 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.
- Multiply by $x^2\ge0$.
- Squeeze.
$$\lim_{(x,y)\to(0,0)}G(x,y)=0$$
3. Where is $H_k$ continuous?
- Away from $(0,0)$. So $H_k$ is continuous at every $(a,b)\ne(0,0)$.
- 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$.
- 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)$.
Formula summary
Planes (§12.4–12.5)
Check that all three points satisfy the equation.
Vector functions (§13.1–13.2)
Differentiate and integrate one component at a time.
Motion (§13.4)
Find $\mathbf C$ from $\mathbf v(0)$ and $\mathbf D$ from $\mathbf r(0)$.
Arc length and curvature (§13.3)
Constant speed: $L$ is speed $\times$ time.
Domains and level curves (§14.1)
Only $k$ in the range of $f$ gives a curve.
Limits and continuity (§14.2)
Two paths with different limits: the limit does not exist.