| 1 |
%% cheat-sheet.tex |
| 2 |
%% Copyright 2021 Rebecca B. Turner. |
| 3 |
% |
| 4 |
% This work may be distributed and/or modified under the |
| 5 |
% conditions of the LaTeX Project Public License, either version 1.3 |
| 6 |
% of this license or (at your option) any later version. |
| 7 |
% The latest version of this license is in |
| 8 |
% http://www.latex-project.org/lppl.txt |
| 9 |
% and version 1.3 or later is part of all distributions of LaTeX |
| 10 |
% version 2005/12/01 or later. |
| 11 |
% |
| 12 |
% This work has the LPPL maintenance status `maintained'. |
| 13 |
% |
| 14 |
% The Current Maintainer of this work is Rebecca B. Turner. |
| 15 |
% |
| 16 |
% This work consists of the files: |
| 17 |
% README.md |
| 18 |
% rbt-mathnotes.tex |
| 19 |
% rbt-mathnotes.sty |
| 20 |
% rbt-mathnotes.cls |
| 21 |
% rbt-mathnotes-util.sty |
| 22 |
% rbt-mathnotes-messages.sty |
| 23 |
% rbt-mathnotes-hw.cls |
| 24 |
% rbt-mathnotes-formula-sheet.cls |
| 25 |
% examples/cheat-sheet.tex |
| 26 |
% examples/multivar.tex |
| 27 |
% examples/topology-hw-1.tex |
| 28 |
% and the derived files: |
| 29 |
% rbt-mathnotes.pdf |
| 30 |
% examples/cheat-sheet.pdf |
| 31 |
% examples/multivar.pdf |
| 32 |
% examples/topology-hw-1.pdf |
| 33 |
|
| 34 |
\documentclass{rbt-mathnotes-formula-sheet} |
| 35 |
\usepackage{nicefrac} |
| 36 |
\ExplSyntaxOn |
| 37 |
\NewDocumentCommand \normalized { m } |
| 38 |
{ \frac { #1 } { \| #1 \| } } |
| 39 |
\let \gr \grad |
| 40 |
\def \ddx { \frac{d}{dx} } |
| 41 |
% VL = vector literal |
| 42 |
\NewDocumentCommand \vl { m } { \left\langle #1 \right\rangle } |
| 43 |
\ExplSyntaxOff |
| 44 |
|
| 45 |
\title{Formula Sheet} |
| 46 |
\author{Rebecca Turner} |
| 47 |
\date{2019-11-12} |
| 48 |
|
| 49 |
% "The most common size for index cards in North America and UK is 3 by 5 |
| 50 |
% inches (76.2 by 127.0 mm), hence the common name 3-by-5 card. Other sizes |
| 51 |
% widely available include 4 by 6 inches (101.6 by 152.4 mm), 5 by 8 inches |
| 52 |
% (127.0 by 203.2 mm) and ISO-size A7 (74 by 105 mm or 2.9 by 4.1 in)." |
| 53 |
\mathnotes{ |
| 54 |
height = 4in , |
| 55 |
width = 6in , |
| 56 |
} |
| 57 |
\begin{document} |
| 58 |
\maketitle |
| 59 |
\begin{gather*} |
| 60 |
% 12.2: Vectors |
| 61 |
% 12.3: Dot product |
| 62 |
\textstyle\vec a \cdot \vec b = \sum_i a_i b_i = |\vec a| |\vec b| \cos \theta. \\ |
| 63 |
% 12.4: Cross product |
| 64 |
\vec a \times \vec b |
| 65 |
% = \left| \begin{array}{rrr} |
| 66 |
% \hat{i} & \hat{j} & \hat{k} \\ |
| 67 |
% a_1 & a_2 & a_3 \\ |
| 68 |
% b_1 & b_2 & b_3 \\ |
| 69 |
% \end{array} \right| \\ |
| 70 |
= \langle a_2 b_3 - a_3 b_2, |
| 71 |
\quad a_3b_1 - a_1b_3, \\ |
| 72 |
a_1b_2 - a_2b_1 \rangle.\quad |
| 73 |
|\vec a \times \vec b| = |\vec a| |\vec b| \sin \theta. |
| 74 |
% 12.5: Equations of lines and planes. |
| 75 |
\shortintertext{Param.\ eqns.\ of line through $\langle x_0,y_0,z_0 \rangle$ |
| 76 |
par.\ to $\langle a,b,c \rangle$:} |
| 77 |
x = x_0 + at, |
| 78 |
\quad y = y_0 + bt, |
| 79 |
\quad z = z_0 + ct. \\ |
| 80 |
\text{Symm.\ eqns.: } |
| 81 |
\frac{x-x_0}{a} |
| 82 |
= \frac{y-y_0}{b} |
| 83 |
= \frac{z-z_0}{c}. \\ |
| 84 |
\shortintertext{Vec.\ eqn.\ of plane through $\vec r$ with $\vec n$ normal:} |
| 85 |
\vec n \cdot (\vec r - \vec r_0) = 0, |
| 86 |
\quad \vec n \cdot \vec r = \vec n \cdot \vec r_0. \\ |
| 87 |
% 13.1: Vector functions |
| 88 |
% 13.2: Derivatives/integrals of vector functions |
| 89 |
% 13.3: Arc length and curvature |
| 90 |
\shortintertext{Length along a vec.\ fn.\ $\vec r(t)$:} |
| 91 |
\textstyle\int_a^b \left|\vec r'(t)\right|\,dt = \int_a^b \sqrt{\sum_i |
| 92 |
r_i'(t)^2}\,dt, \\ |
| 93 |
\shortintertext{Unit tang.\ $\vec T(t) = \vec r'(t)/\left|\vec |
| 94 |
r'(t)\right|$, so curvature of $\vec r(t)$ w/r/t the arc len.\ fn. $s$:} |
| 95 |
\kappa = \left|\frac{d\vec T}{ds}\right| |
| 96 |
= \frac{\left| \vec T'(t) \right|}{\left| \vec r'(t) \right|} |
| 97 |
= \frac{\left| \vec r'(t) \times \vec r''(t) \right|}{\left| \vec r'(t) |
| 98 |
\right|^3}. \\ |
| 99 |
\text{Unit normal:}\quad |
| 100 |
\vec N(t) = \vec T'(t)\,/\,\left| \vec T'(t) \right| \\ |
| 101 |
% 14.1: Functions of several variables |
| 102 |
% 14.2: Limits and continuity |
| 103 |
% 14.3: Partial derivatives |
| 104 |
\text{Clairaut's thm.:}\quad |
| 105 |
f_{xy}(a,b) = f_{yx}(a,b) \\ |
| 106 |
% 14.4: Tangent planes & linear approximations |
| 107 |
\shortintertext{Tan.\ plane to $z = f(x,y)$ at $\langle x_0, y_0, |
| 108 |
z_0\rangle$:} |
| 109 |
z - z_0 = f_x(x_0, y_0) (x-x_0) \\ |
| 110 |
+ f_y(x_0, y_0) (y-y_0). \\ |
| 111 |
% Partial derivatives of f for each variable exist near a point and are |
| 112 |
% continuous => f is differentiable at the po\int. |
| 113 |
% 14.6: Directional derivatives and the gradient vector |
| 114 |
\text{Grad.:}\quad |
| 115 |
\grad f(x,y) = \pd[f]x \hat{i} + \pd[f]y \hat{j}. \\ |
| 116 |
\shortintertext{Dir.\ deriv.\ towards $\vec u$ at $\langle x_0, y_0 \rangle$:} |
| 117 |
D_{\langle a,b\rangle} f(x_0, y_0) = f_x(x,y) a + f_y(x,y) b \\ |
| 118 |
= \grad f(x,y) \cdot \vec u. \\ |
| 119 |
\shortintertext{Max of $D_{\vec u} f(\vec x) = \left|\grad f(\vec |
| 120 |
x)\right|$. Tan.\ plane of $f$ at $\vec p$:} |
| 121 |
0 = |
| 122 |
f_x(\vec p)(x-\vec p_x) |
| 123 |
+ f_y(\vec p)(y-\vec p_y) \\ |
| 124 |
+ f_z(\vec p)(z-\vec p_z). |
| 125 |
% 14.7: Maximum and minimum values |
| 126 |
\shortintertext{If $f$ has loc.\ extrem.\ at $\vec p$, then $f_x(\vec p) = |
| 127 |
0$ (\& $f_y$, etc). If so, let} |
| 128 |
D = \left| \begin{array}{ll} |
| 129 |
f_{xx} & f_{xy} \\ |
| 130 |
f_{yx} & f_{yy} |
| 131 |
\end{array}\right| |
| 132 |
= f_{xx} f_{yy} - (f_{xy})^2. |
| 133 |
\shortintertext{% |
| 134 |
$D = 0$: no information. |
| 135 |
$D < 0$: saddle pt. |
| 136 |
$D > 0$: $f_{xx}(\vec p) > 0 \implies$ loc.\ min; |
| 137 |
$f_{xx}(\vec p) < 0 \implies$ loc.\ max. |
| 138 |
($D$ is the \textbf{Hessian mat.}) |
| 139 |
\endgraf |
| 140 |
Set of possible abs. min and max vals of $f$ in reg.\ $D$: $f$ at critical |
| 141 |
pts.\ and extreme vals.\ on the boundary of $D$. |
| 142 |
% 14.8: Lagrange multipliers |
| 143 |
\endgraf |
| 144 |
Lagrange mults.: extreme vals of $f(\vec p)$ when $g(\vec p) = k$. |
| 145 |
Find all $\vec x, \lambda$ s.t. |
| 146 |
} |
| 147 |
\grad f(\vec x) = \lambda \grad g(\vec x),\quad g(\vec x) = k. |
| 148 |
\shortintertext{i.e.\ $f_x = \lambda g_x$, etc.} |
| 149 |
% 15.1: Double integrals over rectangles |
| 150 |
% 15.2: Iterated integrals |
| 151 |
% 15.3: Double integrals over general regions |
| 152 |
\iint f(r\cos\theta, r\sin\theta)r\,dr\,d\theta. \\ |
| 153 |
A = \iint_D \left(\sqrt{f_x(x,y)^2 + f_y(x,y)^2 + 1}\right) \,dA. \\ |
| 154 |
\shortintertext{Line int.s} |
| 155 |
\int_C f(x,y)\,ds = \\ |
| 156 |
\int_a^b f(x(t), y(t))\sqrt{\left(\pd[x]t\right)^2 + \left(\pd[y]t\right)^2}\,dt \\ |
| 157 |
\shortintertext{If $C$ is a smooth curve given by $\vec r(t)$ from $a \le t |
| 158 |
\le b$,} |
| 159 |
\int_C \grad f \cdot d\vec r = f(\vec r(b)) - f(\vec r(a)) \\ |
| 160 |
\text{Spherical coords:}\quad |
| 161 |
x = \rho \sin \phi \cos \theta \\ |
| 162 |
y = \rho \sin \phi \sin \theta, z = \rho \cos \phi \\ |
| 163 |
\curl \vec F = \\ \left< \pd[R]y - \pd[Q]z, \pd[P]z - \pd[R]x, \pd[Q]x - |
| 164 |
\pd[P]y\right>. \\ |
| 165 |
\vec F = \langle P,Q,R \rangle,\quad |
| 166 |
\curl \vec F = \grad \times \vec F \\ |
| 167 |
\vec F \text{ ``conservative''} \implies \exists f, \vec F = \grad f. \\ |
| 168 |
\dive \vec F = \grad \cdot \vec F = \pd[P]x + \pd[Q]y + \pd[R]z. \\ |
| 169 |
\curl(\grad f) = \vec 0,\quad \dive \curl \vec F = 0 \\ |
| 170 |
\shortintertext{If $C$ is a positively-oriented (ccw) closed curve, $D$ |
| 171 |
is bounded by $C$, and $\vec n$ represents the normal,} |
| 172 |
% \int_C P\,dx + Q\,dy = \iint_D\left( \pd[Q]{x} - \pd[P]{y} \right). \\ |
| 173 |
\oint_C \vec F \cdot \vec n\,ds = \iint_D \dive \vec F(x,y)\,dA. |
| 174 |
\end{gather*} |
| 175 |
|
| 176 |
\pagebreak |
| 177 |
\raggedright Common derivs: |
| 178 |
$f(g(x)) \to g'(x) f'(g(x))$, |
| 179 |
$b^x \to b^x \ln b$, |
| 180 |
$f^{-1}(x) \to 1/f'(f^{-1}(x))$, |
| 181 |
$\ln x \to 1/x$, |
| 182 |
$\sin x \to \cos x$, $\cos x \to -\sin x$, |
| 183 |
$\tan x \to \sec^2 x$, |
| 184 |
$\sin^{-1} x \to 1/\sqrt{1-x^2}$, |
| 185 |
$\cos^{-1} x \to -(\sin^{-1}x)'$ (etc.), |
| 186 |
$\tan^{-1} x \to 1/(1+x^2)$, |
| 187 |
$\sec^{-1} x \to 1/(|x|\sqrt{x^2-1})$. |
| 188 |
|
| 189 |
Common ints (don't forget $+C$): |
| 190 |
\begin{gather*} |
| 191 |
x^n \to \frac{x^{n + 1}}{n + 1} + C \quad \text{when } n \ne -1 \\ |
| 192 |
1/x \to \ln |x| \\ |
| 193 |
\tan x \to -\ln(\cos x) \\ |
| 194 |
\int uv'\,dx = uv - \int u'v\,dx \quad\text{(Int.\ by parts)} \\ |
| 195 |
\int u\,dv = uv-\int v\,du \\ |
| 196 |
\int_{g(a)}^{g(b)} f(u)\,du = \int_a^b f(g(x))g'(x)\,dx |
| 197 |
\quad\text{$u$-substitution.} |
| 198 |
\intertext{E.x.\ in $\int 2x \cos x^2\,dx$, let $u=x^2$, find $du/dx=2x |
| 199 |
\implies du = 2x\,dx$, subs.\ $\int \cos u\,du = \sin u + C = \sin x^2 + |
| 200 |
C$.} |
| 201 |
\iint_R f(x,y)\,dA = \int_\alpha^\beta \int_a^b f(r\cos\theta, |
| 202 |
r\sin\theta)r\,dr\,d\theta |
| 203 |
\end{gather*} |
| 204 |
\begin{itemize} |
| 205 |
\item Integrand contains $a^2-x^2$, let $x = a\sin\theta$ and use $1 - |
| 206 |
\sin^2 \theta = \cos^2 \theta$. |
| 207 |
\item $a^2 + x^2$, let $x = a\tan\theta$, use $1 + \tan^2 \theta = \sec^2 |
| 208 |
\theta$. |
| 209 |
\item $x^2 - a^2$, let $x = a\sec\theta$, use $\sec^2\theta - 1 = \tan^2 |
| 210 |
\theta$. |
| 211 |
\end{itemize} |
| 212 |
|
| 213 |
\begin{gather*} |
| 214 |
\lim_{x \to 0} \sin x/x = 1 \\ |
| 215 |
\lim_{x \to 0} (1-\cos x)/x = 0 \\ |
| 216 |
\lim_{x \to \infty} x \sin(1/x) = 1 \\ |
| 217 |
\lim_{x \to 0} (1+x)^{1/x} = e \\ |
| 218 |
\lim_{x \to 0} (e^{ax}-1)/(bx) = a/b \\ |
| 219 |
\lim_{x \to 0^+} x^x = 1 \\ |
| 220 |
\lim_{x \to 0^+} x^{-n} = \infty \\ |
| 221 |
\text{For $0/0$ or $\pm\infty/\infty$,}\quad |
| 222 |
\lim_{x \to c} f(x)/g(x) = \lim_{x \to c} f'(x)/g'(x) \\ |
| 223 |
\text{For $g(x)$ cont.\ at $L$,} |
| 224 |
\lim_{x \to c} f(x) = L \implies \lim_{x \to c} g(L) |
| 225 |
\end{gather*} |
| 226 |
|
| 227 |
\end{document} |