| 1 |
%% multivar.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[knowledge]{rbt-mathnotes} |
| 35 |
\title{Multivariable Calculus} |
| 36 |
\mathnotes{ |
| 37 |
instructor = Prof.~Corey Bregman , |
| 38 |
name = Rebecca Turner , |
| 39 |
email = [email protected] , |
| 40 |
course = \textsc{math} 20a (multivariable calculus) , |
| 41 |
institution = Brandeis University , |
| 42 |
semester = Fall 2019 , |
| 43 |
} |
| 44 |
|
| 45 |
\ExplSyntaxOn |
| 46 |
\NewDocumentCommand \normalized { m } |
| 47 |
{ \frac { #1 } { \| #1 \| } } |
| 48 |
\let \gr \grad |
| 49 |
\def \ddx { \frac{d}{dx} } |
| 50 |
% VL = vector literal |
| 51 |
\NewDocumentCommand \vl { m } { \left\langle #1 \right\rangle } |
| 52 |
\ExplSyntaxOff |
| 53 |
|
| 54 |
% \makeatletter |
| 55 |
% \@ifpackageloaded{knowledge} |
| 56 |
% { |
| 57 |
\knowledge{notion, index={Derivative!Partial}} |
| 58 |
| partial derivative |
| 59 |
\AtBeginDocument{\index{Partial derivative|see{Derivative, partial}}} |
| 60 |
|
| 61 |
\knowledge{notion, index={Derivative!Directional}} |
| 62 |
| directional derivative |
| 63 |
\AtBeginDocument{\index{Directional derivative|see{Directional, partial}}} |
| 64 |
|
| 65 |
\knowledge{notion, index=Unit vector} |
| 66 |
| unit vector |
| 67 |
|
| 68 |
\knowledge{notion, index=Limit} |
| 69 |
| limit |
| 70 |
|
| 71 |
\knowledge{notion, index={Differentiable functions}} |
| 72 |
| differentiable |
| 73 |
|
| 74 |
\knowledge{notion, index=Gradient} |
| 75 |
| gradient |
| 76 |
|
| 77 |
\knowledge{notion, index={Neighborhood (topology)}} |
| 78 |
| neighborhood |
| 79 |
|
| 80 |
\knowledge{notion, index=Local maximum} |
| 81 |
| local maximum |
| 82 |
| local maxima |
| 83 |
|
| 84 |
\knowledge{notion, index=Local minimum} |
| 85 |
| local minimum |
| 86 |
| local minima |
| 87 |
|
| 88 |
\knowledge{notion, index=Absolute maximum} |
| 89 |
| absolute maximum |
| 90 |
| absolute maxima |
| 91 |
|
| 92 |
\knowledge{notion, index=Absolute minimum} |
| 93 |
| absolute minimum |
| 94 |
| absolute minima |
| 95 |
|
| 96 |
\knowledge{notion, index=Local extremum} |
| 97 |
| local extremum |
| 98 |
| local extrema |
| 99 |
|
| 100 |
\knowledge{notion, index=Critical point} |
| 101 |
| critical point |
| 102 |
|
| 103 |
\knowledge{notion, index=Saddle point} |
| 104 |
| saddle point |
| 105 |
|
| 106 |
\knowledge{notion, index={Lagrange multiplier}} |
| 107 |
| Lagrange multiplier |
| 108 |
| Lagrange multipliers |
| 109 |
| the method of Lagrange multipliers |
| 110 |
|
| 111 |
\knowledge{url={https://en.wikipedia.org/wiki/Joseph-Louis_Lagrange}} |
| 112 |
| Joseph-Louis Lagrange |
| 113 |
| Lagrange |
| 114 |
|
| 115 |
\knowledge{url={https://en.wikipedia.org/wiki/Marquis_de_Condorcet}} |
| 116 |
| Marquis de Condorcet |
| 117 |
|
| 118 |
\knowledge{url={https://en.wikipedia.org/wiki/Adrien-Marie_Legendre}} |
| 119 |
| Adrien-Marie Legendre |
| 120 |
% } |
| 121 |
% {} |
| 122 |
% \makeatother |
| 123 |
\date{2019-10-23} |
| 124 |
\begin{document} |
| 125 |
\maketitle |
| 126 |
\tableofcontents |
| 127 |
|
| 128 |
\chapter{Vectors} |
| 129 |
I already know about vectors --- I've been taught them in about five |
| 130 |
different courses so far. I'm skipping this. |
| 131 |
|
| 132 |
\chapter{Partial derivatives} |
| 133 |
|
| 134 |
If we have a function of multiple variables, say |
| 135 |
\[f(a_1, a_2, a_3, \dots),\] |
| 136 |
we might care about the change of $f$ with respect to only one variable. By |
| 137 |
picking a fixed value for all but one of the variables, we can determine |
| 138 |
this. |
| 139 |
|
| 140 |
Say that we want to find the "partial derivative" of $f$ with respect to |
| 141 |
$a_2$; then, by constructing $g(a_2) = f(c_1, a_2, c_3, \dots)$, we've |
| 142 |
created a function of \emph{one} variable, which we can differentiate as |
| 143 |
usual. |
| 144 |
\begin{notation} |
| 145 |
We write the "partial derivative" of a function $f$ at a point $\vec p$ |
| 146 |
with respect to a basis element $a$ of $\vec p$ as \fbox{$f_a(\vec p)$.} |
| 147 |
|
| 148 |
We may also use much more common notation |
| 149 |
\[\pd[f]{a},\] |
| 150 |
using the "partial derivative" symbol $\partial$, a stylized cursive |
| 151 |
``d''.\footnote{Introduced by "Marquis de Condorcet" in 1770, who used it |
| 152 |
to represent a partial \emph{differential}, i.e.~the $dy$ or $dx$ in |
| 153 |
$dy/dx$, and then adapted in 1786 by "Adrien-Marie Legendre" for use as the |
| 154 |
partial derivative.} |
| 155 |
|
| 156 |
In the interest of completeness, I'll exhaustedly note that the book also |
| 157 |
uses, on occasion, the notation $D_a f$. |
| 158 |
\end{notation} |
| 159 |
|
| 160 |
We can also calculate ""higher partial derivatives"" --- similarly to the |
| 161 |
higher ordinary derivatives. The notation is a fairly clear extension: |
| 162 |
\[(f_x)_x = f_{xx} = \pd x \left( \pd[f]{x} \right) = \pd[^2 f]{x^2}.\] |
| 163 |
|
| 164 |
\begin{thm}[Clairaut's Theorem] |
| 165 |
Suppose $f$ is defined on a neighborhood $N$ about a point $\vec p$. |
| 166 |
If $f_{xy}$ and $f_{yx}$ are continuous in $N$, then $f_{xy}(\vec p) = |
| 167 |
f_{yx}(\vec p)$. |
| 168 |
\end{thm} |
| 169 |
|
| 170 |
\section{Gradients} |
| 171 |
\begin{notation} |
| 172 |
This ridiculous textbook denotes the "partial derivative" of a function |
| 173 |
$f(x, y) = z$ with respect to $x$ as $f_x(x, y)$. |
| 174 |
\end{notation} |
| 175 |
|
| 176 |
\begin{defn} |
| 177 |
The ""directional derivative"" of a function $f$ at $(x_0, y_0)$ in the |
| 178 |
direction of a "unit vector" $\vec u = \langle a, b \rangle$ is |
| 179 |
\[D_{\vec u} f(x_0, y_0) = \lim_{h \to 0} \frac{f(x_0 + ha, y_0 + hb) - |
| 180 |
f(x_0, y_0)}{h},\] |
| 181 |
if the "limit" exists. |
| 182 |
\end{defn} |
| 183 |
|
| 184 |
If $f : \Re^2 \mapsto \Re$ is a "differentiable" function, then $f$ has a |
| 185 |
"directional derivative" in the direction of any "unit vector" $\vec u = |
| 186 |
\langle a, b \rangle$ of |
| 187 |
\begin{alignat*}{1} |
| 188 |
D_{\vec u} f(x, y) &= f_x(x, y) a + f_y(x, y) b. |
| 189 |
\intertext{Or, if $\vec u = \langle \cos \theta, \sin \theta \rangle$, then} |
| 190 |
D_{\vec u} f(x, y) &= f_x(x, y) \cos \theta + f_y(x, y) \sin \theta. |
| 191 |
\end{alignat*} |
| 192 |
|
| 193 |
Noticing that the "directional derivative" of a function can be written as |
| 194 |
the dot product of two vectors, |
| 195 |
\begin{alignat*}{1} |
| 196 |
D_{\vec u} f(x, y) &= f_x(x, y) a + f_y(x, y) b \\ |
| 197 |
&= \langle f_x(x, y), f_y(x, y) \rangle \cdot \langle a, b \rangle \\ |
| 198 |
&= \langle f_x(x, y), f_y(x, y) \rangle \cdot \vec u, |
| 199 |
\end{alignat*} |
| 200 |
we call the first vector $\langle f_x(x, y), f_y(x, y) \rangle$ the |
| 201 |
""gradient"" of $f$ and denote it as $\grad f$. |
| 202 |
|
| 203 |
\begin{defn} |
| 204 |
The "gradient" of a function $f$ of two variables is defined as |
| 205 |
\[\grad f(x, y) = \langle f_x(x, y), f_y(x, y) \rangle |
| 206 |
= \frac{\partial f}{\partial x} \vec i + \frac{\partial f}{\partial y} |
| 207 |
\vec j.\] |
| 208 |
\end{defn} |
| 209 |
|
| 210 |
Therefore, we can rewrite the "directional derivative" of a function $f$ |
| 211 |
as |
| 212 |
\[D_{\vec u} f(x, y) = \grad f(x, y) \cdot \vec u.\] |
| 213 |
It's intuitive, then, that the maximum value of the "directional derivative" |
| 214 |
is $|\grad f(x, y)|$, when $\vec u$ is parallel to $\grad f(x, y)$. |
| 215 |
|
| 216 |
\section{Maximum and minimum values} |
| 217 |
\begin{defn} |
| 218 |
$f : A^k \mapsto B$ has a ""local maximum"" at $\vec a$ if for some |
| 219 |
"neighborhood" $N \subset A$ about $\vec a$, for all $\vec x \in N$, |
| 220 |
$f(\vec x) \le f(\vec a)$. |
| 221 |
|
| 222 |
Conversely, if $f(\vec x) \ge f(\vec a)$, then $f(\vec a)$ is a ""local |
| 223 |
\emph{minimum}@local minimum"". |
| 224 |
|
| 225 |
If the statement also holds true for $N = A$, then $\vec a$ is an |
| 226 |
""absolute maximum"" (or ""absolute minimum""). |
| 227 |
\end{defn} |
| 228 |
|
| 229 |
If $f$ has a "local maximum" or "minimum@local minimum" at $\vec a$ and the |
| 230 |
partials of $f$ exist at $\vec a$, then $\partial f/\partial x (\vec a) = 0$ |
| 231 |
and $f_y(a, b) = 0$; geometrically, the tangent plane to a maximum or |
| 232 |
minimum must be horizontal. |
| 233 |
|
| 234 |
\begin{defn} |
| 235 |
A point $\vec a$ is called a ""critical point"" of $f$ if $f_x(\vec a) = |
| 236 |
0$ or $f_x(\vec a)$ doesn't exist for all variables of $f$. |
| 237 |
\end{defn} |
| 238 |
|
| 239 |
\begin{defn} |
| 240 |
A ""saddle point"" of a function is a "critical point" which is not a |
| 241 |
"local extremum" of the function. |
| 242 |
\end{defn} |
| 243 |
|
| 244 |
If $(a, b)$ is a critical point of $f$, then let |
| 245 |
\[D = D(a, b) = f_{xx} (a,b) \, f_{yy} (a,b) - (f_{xy}(a,b))^2.\] |
| 246 |
If $D < 0$, then $(a, b)$ is a "saddle point" of $f$. |
| 247 |
|
| 248 |
\section{Lagrange multipliers} |
| 249 |
Often we want to find the "local extrema" of a function subject to |
| 250 |
constraints, i.e.~maximizing the volume of an object while keeping its |
| 251 |
surface area constant. The method of "Lagrange multipliers"\footnote{After |
| 252 |
"Joseph-Louis Lagrange" (1736--1813), ``an Italian Enlightenment Era |
| 253 |
mathematician and astronomer [who] made significant contributions to the |
| 254 |
fields of analysis, number theory, and both classical and celestial |
| 255 |
mechanics.''} is a strategy for doing this. |
| 256 |
|
| 257 |
To find extrema of $f(\vec p)$ constrained with $g(\vec p) = k$, |
| 258 |
we look for extrema of $f$ that are restricted to lie on the level curve |
| 259 |
$g(\vec p) = k$; it happens that the largest $c$ such that $f(\vec p) = c$ |
| 260 |
intersects with $g(\vec p) = k$ when the two level curves are tangent with |
| 261 |
each other, i.e.~they have identical normals. In other words, for some |
| 262 |
scalar $\lambda$, $\grad f(\vec p) = \lambda \grad g(\vec p)$. |
| 263 |
|
| 264 |
More formally, suppose $f$ has an extrema at $\vec p_0$. Then, let the level |
| 265 |
surface generated by the constraint $g(\vec p) = k$ be called $S$, where |
| 266 |
$\vec p_0 \in S$. Then, let $C$ be the set of points given by $\vec r(t)$ such |
| 267 |
that $C \subset S$ and $\vec p_0 \in C$. Further, let $t_0$ be a point such |
| 268 |
that $\vec r(t_0) = \vec p_0$. |
| 269 |
|
| 270 |
Then, $f \after \vec r$ gives the values of $f$ on the curve $C$. $f$ has an |
| 271 |
extrema at $\vec p$, so $f \after \vec r$ must also, and $(f \after \vec |
| 272 |
r)'(t_0) = 0$. If $f$ is "differentiable", we can use the chain rule to |
| 273 |
write |
| 274 |
\begin{alignat*}{1} |
| 275 |
0 &= (f \after \vec r)'(t_0) \\ |
| 276 |
&= \grad f(\vec p_0) \cdot \vec r'(t_0). |
| 277 |
\end{alignat*} |
| 278 |
Therefore, the gradient of $f$ is orthogonal to the tangent of every such |
| 279 |
curve $C$. We also know that $\grad g(\vec p_0)$ is orthogonal to $\vec |
| 280 |
r'(t_0)$, so the gradients of $f$ and $g$ at $\vec p_0$ must be parallel. |
| 281 |
Therefore, if $\grad g(\vec p_0) \ne 0$, there exists some $\lambda$ such |
| 282 |
that |
| 283 |
\begin{equation} |
| 284 |
\grad f(\vec p_0) = \lambda \grad g(\vec p_0), |
| 285 |
\end{equation} |
| 286 |
where the constant $\lambda$ is called a "Lagrange multiplier". |
| 287 |
|
| 288 |
Then, the ""method of Lagrange multipliers"" gives us a process to |
| 289 |
find the maximum and minimum values of a function $f(\vec p)$ subject to the |
| 290 |
constraint $g(\vec p) = k$, where $\vec p \in \Re^n$. To use the method of |
| 291 |
Lagrange multipliers, we assume that the extreme values exist and that |
| 292 |
$\grad g \ne 0$ on the level surface $g(\vec p) = k$. |
| 293 |
\begin{enumerate} |
| 294 |
\item Find all values of $\vec p$ and $\lambda$ such that |
| 295 |
\begin{alignat*}{1} |
| 296 |
\grad f(\vec p) &= \lambda \grad g(\vec p) \\ |
| 297 |
\text{and}\qquad g(\vec p) &= k. \\ |
| 298 |
\end{alignat*} |
| 299 |
|
| 300 |
\item Next, evaluate $f$ at all of the points found in the first step. The |
| 301 |
largest of these values is the maximum value of $f$, and the smallest of |
| 302 |
them is the minimum value. |
| 303 |
\end{enumerate} |
| 304 |
|
| 305 |
\chapter{Multiple integrals} |
| 306 |
Single integrals are good for functions of one variable. To integrate |
| 307 |
functions of multiple variables, we use multiple integrals. Straightforward |
| 308 |
enough. |
| 309 |
|
| 310 |
Multiple integrals allow us to calculate things like surface areas and |
| 311 |
volumes of geometric objects. |
| 312 |
|
| 313 |
In general, for some double integral |
| 314 |
\[\underbrace{\int_a^b \overbrace{\int_c^d f(x,y)\,dx}^{\mathclap{\text{We |
| 315 |
treat $y$ as constant while evaluating this.}}}\,dy,}_{\mathclap{\text{We've |
| 316 |
eliminated $x$ from the equation before evaluating this.}}}\] |
| 317 |
we do the opposite of partial differentiation and treat all variables other |
| 318 |
than the one we're integrating for as constant, repeatedly, until we've |
| 319 |
integrated with respect to all variables; each step in this process is |
| 320 |
called, predictably, ""partial integration"". |
| 321 |
|
| 322 |
\section{Double integrals} |
| 323 |
For an axis-aligned rectangle $R$ on the $xy$-plane from $(x_0, y_0)$ to $(x_1, |
| 324 |
y_1)$, the area of a function $f(x, y)$ under $R$ is given by the double |
| 325 |
integral |
| 326 |
\begin{alignat*}{1} |
| 327 |
\iint_{Y} f(x,y)\,dA &= \underbrace{\int_{x_0}^{x_1} \int_{y_0}^{y_1} |
| 328 |
f(x,y)\,dy\,dx}_{\mathclap{\text{This is the iterated form of the |
| 329 |
integral.}}} \\ |
| 330 |
&= \int_{y_0}^{y_1} \int_{x_0}^{x_1} f(x,y)\,dx\,dy, \\ |
| 331 |
\end{alignat*} |
| 332 |
where we use $\iint_R$ to mean ``integrating over the area of $R$'' and |
| 333 |
``$dA$'' to mean ``with respect to area.'' |
| 334 |
|
| 335 |
The right-hand side of the equation above is called the ""iterated form"", |
| 336 |
or an \reintro*"iterated integral". |
| 337 |
|
| 338 |
We can also iterate over funkier regions if we're willing to play with the |
| 339 |
limits of integration a bit. The easiest regions to integrate over are the |
| 340 |
ones that are easily expressible as the region bounded above and below by |
| 341 |
functions of one variable, e.g. ``the region under the line $y = 2x$ and |
| 342 |
above the line $y = x^2$'' (note that this is bounded on the left at $x = 0$ |
| 343 |
and on the right at $x = 2$). |
| 344 |
|
| 345 |
% Area[ImplicitRegion[x^2 < y \[And] y < 2 x, {x, y} |
| 346 |
The area of that region is expressed by the integral |
| 347 |
\begin{alignat*}{1} |
| 348 |
A &= \int_0^2 \int_{x^2}^{2x}\,dy\,dx \\ |
| 349 |
&= \int_0^2 {\bigg[ x \bigg]}_{x^2}^{2x}\,dx \\ |
| 350 |
&= \int_0^2 {\bigg( 2x-x^2 \bigg)}\,dx \\ |
| 351 |
&= {\left[ x^2 - \frac{x^3}{3} \right]}_0^2 \\ |
| 352 |
&= 4 - \frac{8}{3} = \frac{4}{3}. |
| 353 |
\end{alignat*} |
| 354 |
|
| 355 |
A more complicated region might be ``the region under the paraboloid $z = |
| 356 |
x^2 + y^2$ and above the region in the $xy$-plane bounded by $y = \sqrt{x}$ |
| 357 |
and $y=1-\cos x$.'' |
| 358 |
|
| 359 |
We can build larger regions out of pieces, by summing smaller integrals. |
| 360 |
|
| 361 |
\section{Polar coordinates} |
| 362 |
Use the conversions |
| 363 |
\begin{alignat*}{1} |
| 364 |
r &= \sqrt{x^2+y^2} \\ |
| 365 |
x &= r\cos\theta \\ |
| 366 |
y &= r\sin\theta \\ |
| 367 |
\intertext{for the coordinates and then we have that if $R$ is a ``polar |
| 368 |
rectangle'' (arc-shaped region bounded by angles and radii) from $r=a$ to |
| 369 |
$r=b$ and $\theta = \alpha$ to $\theta = \beta$, we have} |
| 370 |
\iint_R f(x,y)\,dA &= \int_\alpha^\beta \int_a^b f(r\cos\theta, |
| 371 |
r\sin\theta)r\,dr\,d\theta, \\ |
| 372 |
\intertext{which makes our lives easier for circly areas and volumes. Don't |
| 373 |
forget to multiply by $r$. |
| 374 |
\endgraf |
| 375 |
For squiggly and varying radii, we can use functions $h_1(\theta)$ and |
| 376 |
$h_2(\theta)$ instead of constants $a$ and $b$:} |
| 377 |
\iint_D f(x,y)\,dA &= \int_\alpha^\beta \int_{h_1(\theta)}^{h_2(\theta)} f(r\cos\theta, |
| 378 |
r\sin\theta)r\,dr\,d\theta. \\ |
| 379 |
\end{alignat*} |
| 380 |
|
| 381 |
\section{Cylindrical coordinates} |
| 382 |
Just add $z$. |
| 383 |
|
| 384 |
\section{Spherical coordinates} |
| 385 |
I can never remember how these work. If we have a point $P$, and we drop it |
| 386 |
down to the $xy$-plane, the angle between the positive $x$-axis and the |
| 387 |
segment from the origin to $P$ is $\theta$. |
| 388 |
|
| 389 |
Next, the angle between the positive $z$-axis and the segment from the origin |
| 390 |
to $P$ is $\phi$. |
| 391 |
|
| 392 |
Finally, the length of the segment from the origin to $P$ is $\rho$. |
| 393 |
|
| 394 |
The conversions |
| 395 |
\begin{alignat*}{1} |
| 396 |
x &= \rho \sin \phi \cos \theta \\ |
| 397 |
y &= \rho \sin \phi \sin \theta \\ |
| 398 |
z &= \rho \cos \phi \\ |
| 399 |
\intertext{give us the integral-conversion for the spherical wedge bounded |
| 400 |
by $a \le \rho \le b, \alpha \le \theta \le \beta, c \le \phi \le d$ as} |
| 401 |
\iiint_E f(x,y,z)\,dV &= \int_c^d \int_\alpha^\beta \int_a^b |
| 402 |
f(\rho \sin\phi \cos\theta,\, |
| 403 |
\rho \sin\phi \sin\theta,\, |
| 404 |
\rho \cos \theta) |
| 405 |
[\rho^2 \sin\phi] |
| 406 |
\,d\rho\,d\theta\,d\phi. \\ |
| 407 |
\end{alignat*} |
| 408 |
Very gross! |
| 409 |
|
| 410 |
\section{Surface area} |
| 411 |
|
| 412 |
For $f(x,y)$ with $f_x$, $f_y$ continuous, the surface area of $f$ within |
| 413 |
a region $D$ is |
| 414 |
\[A = \iint_D \left(\sqrt{f_x(x,y)^2 + f_y(x,y)^2 + 1}\right) \,dA.\] |
| 415 |
|
| 416 |
% Need notes on: |
| 417 |
% - Change of variables (in multiple integrals) |
| 418 |
|
| 419 |
\chapter{Vector calculus} |
| 420 |
A vector field is a mapping $\R^k \mapsto \R^n$; for each point in |
| 421 |
$k$-dimensional Euclidean space, we associate an $n$-dimensional vector. |
| 422 |
These vectors can represent velocity, distance, or anything else, and come |
| 423 |
up in all sorts of applied fields. |
| 424 |
|
| 425 |
We'll be mostly concerned with vector fields $\R^2\mapsto\R^2$ and |
| 426 |
$\R^3\mapsto\R^3$. |
| 427 |
|
| 428 |
If we have a plane curve given by the vector equation |
| 429 |
\begin{alignat*}{1} |
| 430 |
\vec r(t) &= \left< x(t), y(t) \right> \qquad a \le t \le b, \\ |
| 431 |
\intertext{then the line integral of $f$ along $\vec r(t)$ from $a$ to $b$ |
| 432 |
is} |
| 433 |
& \int_a^b f(x(t), y(t)) \sqrt{{\left(\dd[x]{t}\right)}^2 + |
| 434 |
{\left(\dd[y]{t}\right)}^2}\,dt, |
| 435 |
\end{alignat*} |
| 436 |
i.e.\ the length of the curve multiplied, at each point, by the value of the |
| 437 |
vector field $f$ at that point. |
| 438 |
|
| 439 |
% Need notes on: |
| 440 |
% 16.1, 16.2, 16.3, 16.4, 16.5, |
| 441 |
% Need to update cheat sheet. |
| 442 |
|
| 443 |
\appendix |
| 444 |
\chapter{Common formulas for derivatives and integrals} |
| 445 |
\backmatter |
| 446 |
\section{Derivatives} |
| 447 |
|
| 448 |
\begin{alignat*}{2} |
| 449 |
\ddx&\;& (f + g) &= f' + g' \\ |
| 450 |
\ddx&& x^n &= nx^{n - 1} \\ |
| 451 |
\ddx&& (fg) &= fg' + f'g \\ |
| 452 |
\ddx&& \frac{h}{l} &= \frac{l h' - h l'}{l^2} \\ |
| 453 |
\ddx&& f(g(x)) &= f'(g(x)) g'(x) \quad\text{(Chain rule.)} \\ |
| 454 |
\ddx&& b^x &= b^x \ln b \\ |
| 455 |
\ddx&& f^{-1}(x) &= \frac{1}{f'(f^{-1}(x)} \\ |
| 456 |
\ddx&& c &= 0 \\ |
| 457 |
\ddx&& c\,f &= c\,f' \\ |
| 458 |
\ddx&& e^x &= e^x \\ |
| 459 |
\ddx&& e^{f(x)} &= f'(x) e^{f(x)} \quad\text{(By the chain rule.)} \\ |
| 460 |
\ddx&& \ln x &= \frac{1}{x} \\ |
| 461 |
\ddx&& \log_b x &= \frac{1}{x \ln b} \\ |
| 462 |
\ddx&& [\vec u \cdot \vec v] &= \vec u' \cdot \vec v + \vec u \cdot \vec v' \\ |
| 463 |
\ddx&& [\vec u \times \vec v] &= \vec u' \times \vec v + \vec u \times \vec v' \\ |
| 464 |
\end{alignat*} |
| 465 |
|
| 466 |
\subsection{Trigenometric} |
| 467 |
\begin{alignat*}{2} |
| 468 |
\ddx&\;& \sin x &= \cos x \\ |
| 469 |
\ddx&& \cos x &= -\sin x \\ |
| 470 |
\ddx&& \tan x &= \sec^2 x \\ |
| 471 |
\ddx&& \cot x &= -\csc^2 x \\ |
| 472 |
\ddx&& \sec x &= \sec x \tan x \\ |
| 473 |
\ddx&& \csc x &= -\csc x \cot x \\ |
| 474 |
% inverse |
| 475 |
\ddx&& \sin^{-1} x &= \frac{ 1}{\sqrt{1 - x^2}} \\ |
| 476 |
\ddx&& \cos^{-1} x &= \frac{-1}{\sqrt{1 - x^2}} \\ |
| 477 |
\ddx&& \tan^{-1} x &= \frac{ 1}{1 + x^2} \\ |
| 478 |
\ddx&& \cot^{-1} x &= \frac{-1}{1 + x^2} \\ |
| 479 |
\ddx&& \sec^{-1} x &= \frac{ 1}{|x| \sqrt{x^2 - 1}} \\ |
| 480 |
\ddx&& \csc^{-1} x &= \frac{-1}{|x| \sqrt{x^2 - 1}} \\ |
| 481 |
\end{alignat*} |
| 482 |
|
| 483 |
\section{Integrals} |
| 484 |
See also: |
| 485 |
\emph{\href{https://www.whitman.edu/mathematics/calculus/calculus_08_Techniques_of_Integration.pdf}{Techniques |
| 486 |
of Integration}}. |
| 487 |
\begin{alignat*}{1} |
| 488 |
\int x^n\,dx &= \frac{x^{n + 1}}{n + 1} + C \quad \text{when } n \ne -1 \\ |
| 489 |
\int x^{-1}\,dx &= \ln|x| + C \\ |
| 490 |
\int e^x\,dx &= e^x + C \\ |
| 491 |
\dd{t} \int_{a(t)}^{b(t)} g(s)\,ds &= b'(t) g(b(t)) - a'(t) g(a(t)) |
| 492 |
\quad\text{(Leibniz' rule.)} \\ |
| 493 |
\int uv'\,dx &= uv - \int u'v\,dx \\ |
| 494 |
\end{alignat*} |
| 495 |
|
| 496 |
\subsection{Trigenometric} |
| 497 |
\begin{alignat*}{1} |
| 498 |
\int \sin x\,dx &= -\cos x + C \\ |
| 499 |
\int \cos x\,dx &= \sin x + C \\ |
| 500 |
\int \sec^2 x\,dx &= \tan x + C \\ |
| 501 |
\int \sec x \tan x\,dx &= \sec x + C \\ |
| 502 |
\int \frac{1}{1 + x^2}\,dx &= \tan^{-1} x + C \\ |
| 503 |
\int \frac{1}{\sqrt{1 + x^2}}\,dx &= \sin^{-1} x + C \\ |
| 504 |
\end{alignat*} |
| 505 |
|
| 506 |
\printindex |
| 507 |
\end{document} |