[spec] copy notes for circ. fn's & calculus (untidied)
[notes.git] / spec / spec-collated.tex
index d61f60efb00ef267bb8b5a38d696579b3e88bafe..eca12dcc48d1438480a906486cf0a5013aa0bc21 100644 (file)
@@ -10,7 +10,9 @@
 \usepackage{graphicx}
 \usepackage{wrapfig}
 \usepackage{tikz}
+\usepackage{tikz-3dplot} 
 \usetikzlibrary{calc}
+\usetikzlibrary{angles}
 \usepgflibrary{arrows.meta}
 \usepackage{fancyhdr}
 \pagestyle{fancy}
@@ -27,6 +29,7 @@
 \newcolumntype{R}[1]{>{\hsize=#1\hsize\raggedleft\arraybackslash}X}%
 \definecolor{cas}{HTML}{e6f0fe}
 \linespread{1.5}
+\newcommand{\midarrow}{\tikz \draw[-triangle 90] (0,0) -- +(.1,0);}
 
 \begin{document}
 
 
     \subsection*{Operations}
 
-      \begin{tabularx}{\columnwidth}{R{0.33}|X|X}
+\definecolor{shade1}{HTML}{ffffff}
+\definecolor{shade2}{HTML}{e6f2ff}
+  \definecolor{shade3}{HTML}{cce2ff}
+      \begin{tabularx}{\columnwidth}{r|X|X}
         & \textbf{Cartesian} & \textbf{Polar} \\
         \hline
         \(z_1 \pm z_2\) & \((a \pm c)(b \pm d)i\) & convert to \(a+bi\)\\
         \hline
-        \(+k \times z\) & \multirow{2}{\hsize}{\(ka \pm kbi\)} & \(kr\operatorname{cis} \theta\)\\
+        \(+k \times z\) & \multirow{2}{*}{\(ka \pm kbi\)} & \(kr\operatorname{cis} \theta\)\\
         \cline{1-1}\cline{3-3}
         \(-k \times z\) & & \(kr \operatorname{cis}(\theta\pm \pi)\)\\
         \hline
@@ -63,7 +69,7 @@
         \[k\left(r \operatorname{cis}\theta\right)=kr \operatorname{cis}\theta\]
 
         \noindent For \(k \in \mathbb{R}^-\):
-        \[k\left(r \operatorname{cis}\theta\right)=kr \operatorname{cis}\left(\begin{cases}\theta - \pi & 0<\operatorname{Arg}(z)\le \pi \\ \theta + \pi & -\pi<\operatorname{Arg}(z)\le 0\end{cases}\right)\]
+        \[k\left(r \operatorname{cis}\theta\right)=kr \operatorname{cis}\left(\begin{cases}\theta - \pi & |0<\operatorname{Arg}(z)\le \pi \\ \theta + \pi & |-\pi<\operatorname{Arg}(z)\le 0\end{cases}\right)\]
 
     \subsection*{Conjugate}
 
@@ -72,7 +78,7 @@
         &= r \operatorname{cis}(-\theta)
       \end{align*}
 
-      \noindent \colorbox{cas}{On CAS:} \verb|conjg(a+bi)|
+      \noindent \colorbox{cas}{On CAS: \texttt{conjg(a+bi)}}
 
       \subsubsection*{Properties}
 
 
       \begin{itemize}
         \item{\(r=|z|=\sqrt{\operatorname{Re}(z)^2 + \operatorname{Im}(z)^2}\)}
-        \item{\(\theta = \operatorname{arg}(z)\) \quad \colorbox{cas}{On CAS:} \verb|arg(a+bi)|}
+        \item{\(\theta = \operatorname{arg}(z)\) \quad \colorbox{cas}{On CAS: \texttt{arg(a+bi)}}}
         \item{\(\operatorname{Arg}(z) \in (-\pi,\pi)\) \quad \bf{(principal argument)}}
         \item{\colorbox{cas}{Convert on CAS:}\\ \verb|compToTrig(a+bi)| \(\iff\) \verb|cExpand{r·cisX}|}
         \item{Multiple representations:\\\(r\operatorname{cis}\theta=r\operatorname{cis}(\theta+2n\pi)\) with \(n \in \mathbb{Z}\) revolutions}
           \begin{scope}
             \path[clip] (0,0) -- (1,1) -- (1,0);
             \fill[red, opacity=0.5, draw=black] (0,0) circle (2mm);
-            \node at ($(0,0)+(20:3mm)$) {$\theta$};
+            \node at ($(0,0)+(20:3mm)$) {$\frac{\pi}{4}$};
           \end{scope}
-          \node [font=\footnotesize] at (0.5,-0.25) {\(\operatorname{Arg}(z)<\theta\)};
+          \node [font=\footnotesize] at (0.5,-0.25) {\(\operatorname{Arg}(z)\le\frac{\pi}{4}\)};
           \node [blue, mydot] {};
         \end{tikzpicture}\end{center}
 
         \end{tikzpicture}\end{center}
 
     \section{Vectors}
+\begin{center}\begin{tikzpicture}
+  \draw [->] (-0.5,0) -- (3,0) node [right]  {\(x\)};
+          \draw [->] (0,-0.5) -- (0,3) node [above] {\(y\)};
+          \draw [orange, ->, thick] (0.5,0.5) -- (2.5,2.5) node [pos=0.5, above] {\(\vec{u}\)};
+         \begin{scope}[very thick, every node/.style={sloped,allow upside down}]
+        \draw [gray, dashed, thick] (0.5,0.5) -- (2.5,0.5) node [pos=0.5] {\midarrow} node[black, pos=0.5, below]{\(x\vec{i}\)};
+        \draw [gray, dashed, thick] (2.5,0.5) -- (2.5,2.5) node [pos=0.5] {\midarrow};
+         \end{scope}
+        \node[black, right] at (2.5,1.5) {\(y\vec{j}\)};
 
+\end{tikzpicture}\end{center}
+
+\subsection*{Column notation}
+
+\[\begin{bmatrix}x\\ y \end{bmatrix} \iff x\boldsymbol{i} + y\boldsymbol{j}\]
+\(\begin{bmatrix}x_2-x_1\\ y_2-y_1 \end{bmatrix}\) \quad between \(A(x_1,y_1), \> B(x_2,y_2)\)
+
+\subsection*{Scalar multiplication}
+
+\[k\cdot (x\boldsymbol{i}+y\boldsymbol{j})=kx\boldsymbol{i}+ky\boldsymbol{j}\]
+
+\noindent For \(k \in \mathbb{R}^-\), direction is reversed
+
+\subsection*{Vector addition}
+\begin{center}\begin{tikzpicture}[scale=1]
+          \coordinate (A) at (0,0);
+          \coordinate (B) at (2,2);
+          \draw [->, thick, red] (0,0) -- (2,2) node [pos=0.5, below right] {\(\vec{u}=2\vec{i}+2\vec{j}\)};
+          \draw [->, thick, blue] (2,2) -- (1,4) node [pos=0.5, above right] {\(\vec{v}=-\vec{i}+2\vec{j}\)};
+          \draw [->, thick, orange] (0,0) -- (1,4) node [pos=0.5, left] {\(\vec{u}+\vec{v}=\vec{i}+4\vec{j}\)};
+\end{tikzpicture}\end{center}
+
+\[(x\boldsymbol{i}+y\boldsymbol{j}) \pm (a\boldsymbol{i}+b\boldsymbol{j})=(x \pm a)\boldsymbol{i}+(y \pm b)\boldsymbol{j}\]
 
 \begin{itemize}
+  \item Draw each vector head to tail then join lines
+  \item Addition is commutative (parallelogram)
+  \item \(\boldsymbol{u}-\boldsymbol{v}=\boldsymbol{u}+(-\boldsymbol{v})\)
+\end{itemize}
+
+\subsection*{Magnitude}
+
+\[|(x\boldsymbol{i} + y\boldsymbol{j})|=\sqrt{x^2+y^2}\]
+
+\subsection*{Parallel vectors}
+
+\[\boldsymbol{u} || \boldsymbol{v} \iff \boldsymbol{u} = k \boldsymbol{v} \text{ where } k \in \mathbb{R} \setminus \{0\}\]
+
+For parallel vectors \(\boldsymbol{a}\) and \(\boldsymbol{b}\):\\
+\[\boldsymbol{a \cdot b}=\begin{cases}
+|\boldsymbol{a}||\boldsymbol{b}| \hspace{2.8em} \text{if same direction}\\
+-|\boldsymbol{a}||\boldsymbol{b}| \hspace{2em} \text{if opposite directions}
+\end{cases}\]
+%\includegraphics[width=0.2,height=\textheight]{graphics/parallelogram-vectors.jpg}
+%\includegraphics[width=1]{graphics/vector-subtraction.jpg}
+
+\subsection*{Perpendicular vectors}
+
+\[\boldsymbol{a} \perp \boldsymbol{b} \iff \boldsymbol{a} \cdot \boldsymbol{b} = 0\ \quad \text{(since \(\cos 90 = 0\))}\]
+
+\subsection*{Unit vector \(|\hat{\boldsymbol{a}}|=1\)}
+\[\begin{split}\hat{\boldsymbol{a}} & = {\frac{1}{|\boldsymbol{a}|}}\boldsymbol{a} \\ & = \boldsymbol{a} \cdot {|\boldsymbol{a}|}\end{split}\]
+
+  \subsection*{Scalar product \(\boldsymbol{a} \cdot \boldsymbol{b}\)}
+
+
+\begin{center}\begin{tikzpicture}[scale=2]
+  \draw [->] (0,0) -- (1,0.5) node [pos=0.5, above left] {\(\boldsymbol{b}\)};
+  \draw [->] (0,0) -- (1,0) node [pos=0.5, below] {\(\boldsymbol{a}\)};
+          \begin{scope}
+            \path[clip] (1,0.5) -- (1,0) -- (0,0);
+            \fill[orange, opacity=0.5, draw=black] (0,0) circle (2mm);
+            \node at ($(0,0)+(15:4mm)$) {\(\theta\)};
+          \end{scope}
+\end{tikzpicture}\end{center}
+\begin{align*}\boldsymbol{a} \cdot \boldsymbol{b} &= a_1 b_1 + a_2 b_2 \\  &= |\boldsymbol{a}| |\boldsymbol{b}| \cos \theta \\ &\quad (\> 0 \le \theta \le \pi) \text{ - from cosine rule}\end{align*}
+\noindent\colorbox{cas}{On CAS: \texttt{dotP({[}a\ b\ c{]},\ {[}d\ e\ f{]})}}
+
+\subsubsection*{Properties}
+
+\begin{enumerate}
+\item
+  \(k(\boldsymbol{a\cdot b})=(k\boldsymbol{a})\cdot \boldsymbol{b}=\boldsymbol{a}\cdot (k\boldsymbol{b})\)
 \item
-  \textbf{vector:} a directed line segment\\
+  \(\boldsymbol{a \cdot 0}=0\)
 \item
-  arrow indicates direction
+  \(\boldsymbol{a} \cdot (\boldsymbol{b} + \boldsymbol{c})=\boldsymbol{a} \cdot \boldsymbol{b} + \boldsymbol{a} \cdot \boldsymbol{c}\)
 \item
-  length indicates magnitude
+  \(\boldsymbol{i \cdot i} = \boldsymbol{j \cdot j} = \boldsymbol{k \cdot k}= 1\)
 \item
-  notated as \(\vec{a}, \widetilde{A}, \overrightharp{a}\)
+  \(\boldsymbol{a} \cdot \boldsymbol{b} = 0 \quad \implies \quad \boldsymbol{a} \perp \boldsymbol{b}\)
 \item
-  column notation: \(\begin{bmatrix}  x \\ y  \end{bmatrix}\)
+  \(\boldsymbol{a \cdot a} = |\boldsymbol{a}|^2 = a^2\)
+\end{enumerate}
+
+\subsection*{Angle between vectors}
+
+\[\cos \theta = {{\boldsymbol{a} \cdot \frac{\boldsymbol{b}}{|\boldsymbol{a}| |\boldsymbol{b}|}} = {\frac{a_1 b_1 + a_2 b_2}{|\boldsymbol{a}| |\boldsymbol{b}|}}\]
+
+\noindent \colorbox{cas}{On CAS:} \texttt{angle([a b c], [a b c])}
+
+(Action \(\rightarrow\) Vector \(\rightarrow\)Angle)
+
+\subsection*{Angle between vector and axis}
+
+\noindent For\(\boldsymbol{a} = a_1 \boldsymbol{i} + a_2 \boldsymbol{j} + a_3 \boldsymbol{k}\)
+which makes angles \(\alpha, \beta, \gamma\) with positive side of
+\(x, y, z\) axes:
+\[\cos \alpha = \frac{a_1}{|\boldsymbol{a}|}, \quad \cos \beta = \frac{a_2}{|\boldsymbol{a}|}, \quad \cos \gamma = \frac{a_3}{|\boldsymbol{a}|}\]
+
+\noindent \colorbox{cas}{On CAS:} \texttt{angle({[}a\ b\ c{]},\ {[}1\ 0\ 0{]})}\\for angle
+between \(a\boldsymbol{i} + b\boldsymbol{j} + c\boldsymbol{k}\) and
+\(x\)-axis
+
+\subsection*{Projections \& resolutes}
+
+\begin{tikzpicture}[scale=3]
+  \draw [->, purple] (0,0) -- (1,0.5) node [pos=0.5, above left] {\(\boldsymbol{a}\)};
+  \draw [->, orange] (0,0) -- (1,0) node [pos=0.5, below] {\(\boldsymbol{u}\)};
+  \draw [->, blue] (1,0) -- (2,0) node [pos=0.5, below] {\(\boldsymbol{b}\)};
+          \begin{scope}
+            \path[clip] (1,0.5) -- (1,0) -- (0,0);
+            \fill[orange, opacity=0.5, draw=black] (0,0) circle (2mm);
+            \node at ($(0,0)+(15:4mm)$) {\(\theta\)};
+          \end{scope}
+         \begin{scope}[very thick, every node/.style={sloped,allow upside down}]
+        \draw [gray, dashed, thick] (1,0) -- (1,0.5) node [pos=0.5] {\midarrow} node[black, pos=0.5, right, rotate=-90]{\(\boldsymbol{w}\)};
+          \end{scope}
+\draw (0,0) coordinate (O)
+  (1,0) coordinate (A)
+  (1,0.5) coordinate (B)
+  pic [draw,red,angle radius=2mm] {right angle = O--A--B};
+\end{tikzpicture}
+
+\subsubsection*{\(\parallel\boldsymbol{b}\) (vector projection/resolute)}
+\begin{align*}
+  \boldsymbol{u}&={{\boldsymbol{a}\cdot\boldsymbol{b}}\over |\boldsymbol{b}|^2}\boldsymbol{b}\\
+  &=\left({\boldsymbol{a}\cdot{\boldsymbol{b} \over |\boldsymbol{b}|}}\right)\left({\boldsymbol{b} \over |\boldsymbol{b}|}\right)\\
+  &=(\boldsymbol{a} \cdot \hat{\boldsymbol{b}})\hat{\boldsymbol{b}}
+\end{align*}
+
+\subsubsection*{\(\perp\boldsymbol{b}\) (perpendicular projection)}
+\[\boldsymbol{w} = \boldsymbol{a} - \boldsymbol{u}\]
+
+\subsubsection*{\(|\boldsymbol{u}|\) (scalar resolute)}
+\begin{align*}
+  r_s &= |\boldsymbol{u}|\\
+  &= \boldsymbol{a} \cdot \hat{\boldsymbol{b}}\\
+  &=\frac{\boldsymbol{a}\cdot\boldsymbol{b}}{|\boldsymbol{b}|}
+\end{align*}
+
+\subsubsection*{Rectangular (\(\parallel,\perp\)) components}
+
+\[\boldsymbol{a}=\frac{\boldsymbol{a}\cdot\boldsymbol{b}}{\boldsymbol{b}\cdot\boldsymbol{b}}\boldsymbol{b}+\left(\boldsymbol{a}-\frac{\boldsymbol{a}\cdot\boldsymbol{b}}{\boldsymbol{b}\cdot\boldsymbol{b}}\boldsymbol{b}\right)\]
+
+
+\subsection*{Vector proofs}
+
+\textbf{Concurrent:} intersection of \(\ge\) 3 lines
+
+\begin{tikzpicture}
+  \draw [blue] (0,0) -- (1,1);
+  \draw [red] (1,0) -- (0,1);
+  \draw [brown] (0.4,0) -- (0.6,1);
+        \filldraw (0.5,0.5) circle (2pt);
+\end{tikzpicture}
+
+\subsubsection*{Collinear points}
+
+\(\ge\) 3 points lie on the same line
+
+\begin{tikzpicture}
+  \draw [purple] (0,0) -- (4,1);
+  \filldraw (2,0.5) circle (2pt) node [above] {\(C\)};
+  \filldraw (1,0.25) circle (2pt) node [above] {\(A\)};
+  \filldraw (3,0.75) circle (2pt) node [above] {\(B\)};
+  \coordinate (O) at (2.8,-0.2);
+  \node at (O) [below] {\(O\)}; 
+         \begin{scope}[->, orange, thick] 
+           \draw (O) -- (2,0.5) node [pos=0.5, above, font=\footnotesize, black] {\(\boldsymbol{c}\)};
+           \draw (O) -- (1,0.25) node [pos=0.5, below, font=\footnotesize, black] {\(\boldsymbol{a}\)};
+           \draw (O) -- (3,0.75) node [pos=0.5, right, font=\footnotesize, black] {\(\boldsymbol{b}\)};
+         \end{scope}
+\end{tikzpicture}
+
+\begin{align*}
+  \text{e.g. Prove that}\\
+  \overrightharp{AC}=m\overrightharp{AB} \iff \boldsymbol{c}&=(1-m)\boldsymbol{a}+m\boldsymbol{b}\\
+  \implies \boldsymbol{c} &= \overrightharp{OA} + \overrightharp{AC}\\
+  &= \overrightharp{OA} + m\overrightharp{AB}\\
+  &=\boldsymbol{a}+m(\boldsymbol{b}-\boldsymbol{a})\\
+  &=\boldsymbol{a}+m\boldsymbol{b}-m\boldsymbol{a}\\
+  &=(1-m)\boldsymbol{a}+m{b}
+\end{align*}
+
+\begin{align*}
+  \text{Also, } \implies \overrightharp{OC} &= \lambda \vec{OA} + \mu \overrightharp{OB} \\
+  \text{where } \lambda + \mu &= 1\\
+  \text{If } C \text{ lies along } \overrightharp{AB}, & \implies 0 < \mu < 1
+\end{align*}
+
+
+  \subsubsection*{Useful vector properties}
+
+\begin{itemize}
+\item
+  \(\boldsymbol{a} \parallel \boldsymbol{b} \implies \boldsymbol{b}=k\boldsymbol{a}\) for some
+  \(k \in \mathbb{R} \setminus \{0\}\)
+\item
+  If \(\boldsymbol{a}\) and \(\boldsymbol{b}\) are parallel with at
+  least one point in common, then they lie on the same straight line
+\item
+  Two vectors \(\boldsymbol{a}\) and \(\boldsymbol{b}\) are
+  perpendicular if \(\boldsymbol{a} \cdot \boldsymbol{b}=0\)
 \item
-  vectors with equal magnitude and direction are equivalent
+  \(\boldsymbol{a} \cdot \boldsymbol{a} = |\boldsymbol{a}|^2\)
 \end{itemize}
 
-%\includegraphics[width=0.2\textwidth,height=\textheight]{graphics/vectors-intro.png}
+\subsection*{Linear dependence}
 
-\subsection{Vector addition}
+Vectors \(\boldsymbol{a}, \boldsymbol{b}, \boldsymbol{c}\) are linearly
+dependent if they are non-parallel and:
 
-\(\boldsymbol{u} + \boldsymbol{v}\) can be represented by drawing each
- vector head to tail then joining the lines.\\
-Addition is commutative (parallelogram)
+\[k\boldsymbol{a}+l\boldsymbol{b}+m\boldsymbol{c} = 0\]
+\[\therefore \boldsymbol{c} = m\boldsymbol{a} + n\boldsymbol{b} \quad \text{(simultaneous)}\]
 
-\subsection{Scalar multiplication}
+\(\boldsymbol{a}, \boldsymbol{b},\) and \(\boldsymbol{c}\) are linearly
+independent if no vector in the set is expressible as a linear
+combination of other vectors in set, or if they are parallel.
 
-For \(k \in \mathbb{R}^+\), \(k\boldsymbol{u}\) has the same direction
-as \(\boldsymbol{u}\) but length is multiplied by a factor of \(k\).
+Vector \(\boldsymbol{w}\) is a linear combination of vectors
+\(\boldsymbol{v_1}, \boldsymbol{v_2}, \boldsymbol{v_3}\)
 
-When multiplied by \(k < 0\), direction is reversed and length is
-multplied by \(k\).
+\subsection*{Three-dimensional vectors}
 
-\subsection{Vector subtraction}
+Right-hand rule for axes: \(z\) is up or out of page.
 
-To find \(\boldsymbol{u} - \boldsymbol{v}\), add \(\boldsymbol{-v}\) to
-\(\boldsymbol{u}\)
+\tdplotsetmaincoords{60}{120} 
+\begin{center}\begin{tikzpicture} [scale=3, tdplot_main_coords, axis/.style={->,thick}, 
+vector/.style={-stealth,red,very thick}, 
+vector guide/.style={dashed,gray,thick}]
 
-\subsection{Parallel vectors}
+%standard tikz coordinate definition using x, y, z coords
+\coordinate (O) at (0,0,0);
 
-Same or opposite direction
+%tikz-3dplot coordinate definition using x, y, z coords
 
-\[\boldsymbol{u} || \boldsymbol{v} \iff \boldsymbol{u} = k \boldsymbol{v} \text{ where } k \in \mathbb{R} \setminus \{0\}\]
+\pgfmathsetmacro{\ax}{1}
+\pgfmathsetmacro{\ay}{1}
+\pgfmathsetmacro{\az}{1}
 
-\subsection{Position vectors}
+\coordinate (P) at (\ax,\ay,\az);
 
-Vectors may describe a position relative to \(O\).
+%draw axes
+\draw[axis] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
+\draw[axis] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
+\draw[axis] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
 
-For a point \(A\), the position vector is \(\overrightharp{OA}\)
+%draw a vector from O to P
+\draw[vector] (O) -- (P);
 
-\subsection{Linear combinations of non-parallel
-vectors}
+%draw guide lines to components
+\draw[vector guide]         (O) -- (\ax,\ay,0);
+\draw[vector guide] (\ax,\ay,0) -- (P);
+\draw[vector guide]         (P) -- (0,0,\az);
+\draw[vector guide] (\ax,\ay,0) -- (0,\ay,0);
+\draw[vector guide] (\ax,\ay,0) -- (0,\ay,0);
+\draw[vector guide] (\ax,\ay,0) -- (\ax,0,0);
+\node[tdplot_main_coords,above right]
+at (\ax,\ay,\az){(\ax, \ay, \az)};
+\end{tikzpicture}\end{center}
 
-If two non-zero vectors \(\boldsymbol{a}\) and \(\boldsymbol{b}\) are
-not parallel, then:
+\subsection*{Parametric vectors}
 
-\[m\boldsymbol{a} + n\boldsymbol{b} = p \boldsymbol{a} + q \boldsymbol{b}\quad \therefore \quad m = p, \> n = q\]
+Parametric equation of line through point \((x_0, y_0, z_0)\) and
+parallel to \(a\boldsymbol{i} + b\boldsymbol{j} + c\boldsymbol{k}\) is:
 
-%\includegraphics[width=0.2,height=\textheight]{graphics/parallelogram-vectors.jpg}
-%\includegraphics[width=1]{graphics/vector-subtraction.jpg}
+\begin{equation}\begin{cases}x = x_o + a \cdot t \\ y = y_0 + b \cdot t \\ z = z_0 + c \cdot t\end{cases}\end{equation}
 
-\subsection{Column vector notation}
+\section{Circular functions}
 
-A vector between points \(A(x_1,y_1), \> B(x_2,y_2)\) can be represented
-as \(\begin{bmatrix}x_2-x_1\\ y_2-y_1 \end{bmatrix}\)
+Period of \(a\sin(bx)\) is \(\frac{{2\pi}{b}\)
 
-\subsection{Component notation}
+Period of \(a\tan(nx)\) is \(\frac{\pi}{n}\)\\
+Asymptotes at \(x=\frac{2k+1)\pi}{2n} \> \vert \> k \in \mathbb{Z}\)
 
-A vector \(\boldsymbol{u} = \begin{bmatrix}x\\ y \end{bmatrix}\) can be
-written as \(\boldsymbol{u} = x\boldsymbol{i} + y\boldsymbol{j}\).\\
-\(\boldsymbol{u}\) is the sum of two components \(x\boldsymbol{i}\) and
-\(y\boldsymbol{j}\)\\
-Magnitude of vector
-\(\boldsymbol{u} = x\boldsymbol{i} + y\boldsymbol{j}\) is denoted by
-\(|u|=\sqrt{x^2+y^2}\)
+\subsection*{Reciprocal functions}
 
-Basic algebra applies:\\
-\((x\boldsymbol{i} + y\boldsymbol{j}) + (m\boldsymbol{i} + n\boldsymbol{j}) = (x + m)\boldsymbol{i} + (y+n)\boldsymbol{j}\)\\
-Two vectors equal if and only if their components are equal.
+\subsubsection*{Cosecant}
 
-\subsection{Unit vector \(|\hat{\boldsymbol{a}}|=1\)}
-\begin{equation}\begin{split}\hat{\boldsymbol{a}} & = {1 \over {|\boldsymbol{a}|}}\boldsymbol{a} \\ & = \boldsymbol{a} \cdot {|\boldsymbol{a}|}\end{split}\end{equation}
+\begin{figure}
+\centering
+\includegraphics{graphics/csc.png}
+\caption{}
+\end{figure}
 
-  \subsection*{Scalar/dot product \(\boldsymbol{a} \cdot \boldsymbol{b}\)}
+\[\operatorname{cosec} \theta = \frac{1}{\sin \theta} \> \vert \> \sin \theta \ne 0\]
 
-\[\boldsymbol{a} \cdot \boldsymbol{b} = a_1 b_1 + a_2 b_2\]
+\begin{itemize}
+\tightlist
+\item
+  \textbf{Domain} \(= \mathbb{R} \setminus {n\pi : n \in \mathbb{Z}}\)
+\item
+  \textbf{Range} \(= \mathbb{R} \setminus (-1, 1)\)
+\item
+  \textbf{Turning points} at
+    \(\theta = {\frac{(2n + 1)\pi}{2} \> \vert \> n \in \mathbb{Z}\)
+\item
+  \textbf{Asymptotes} at \(\theta = n\pi \> \vert \> n \in \mathbb{Z}\)
+\end{itemize}
 
-\textbf{on CAS:} \texttt{dotP({[}a\ b\ c{]},\ {[}d\ e\ f{]})}
+\subsubsection*{Secant}
 
-\subsection{Scalar product properties}
+\begin{figure}
+\centering
+\includegraphics{graphics/sec.png}
+\caption{}
+\end{figure}
 
-\begin{enumerate}
+\[\operatorname{sec} \theta = \frac{1}{\cos \theta} \> \vert \> \cos \theta \ne 0\]
+
+\begin{itemize}
+\tightlist
 \item
-  \(k(\boldsymbol{a\cdot b})=(k\boldsymbol{a})\cdot \boldsymbol{b}=\boldsymbol{a}\cdot (k\boldsymbol{b})\)
+  \textbf{Domain}
+  \(= \mathbb{R} \setminus \{{{(2n + 1) \pi} \over 2 } : n \in \mathbb{Z}\}\)
 \item
-  \(\boldsymbol{a \cdot 0}=0\)
+  \textbf{Range} \(= \mathbb{R} \setminus (-1, 1)\)
 \item
-  \(\boldsymbol{a \cdot (b + c)}=\boldsymbol{a \cdot b + a \cdot c}\)
+  \textbf{Turning points} at
+  \(\theta = n\pi \> \vert \> n \in \mathbb{Z}\)
 \item
-  \(\boldsymbol{i \cdot i} = \boldsymbol{j \cdot j} = \boldsymbol{k \cdot k}= 1\)
+  \textbf{Asymptotes} at
+  \(\theta = {{(2n + 1) \pi} \over 2} \> \vert \> n \in \mathbb{Z}\)
+\end{itemize}
+
+\subsubsection*{Cotangent}
+
+\begin{figure}
+\centering
+\includegraphics{graphics/cot.png}
+\caption{}
+\end{figure}
+
+\[\operatorname{cot} \theta = {{\cos \theta} \over {\sin \theta}} \> \vert \> \sin \theta \ne 0\]
+
+\begin{itemize}
+\tightlist
 \item
-  If \(\boldsymbol{a} \cdot \boldsymbol{b} = 0\), \(\boldsymbol{a}\) and
-  \(\boldsymbol{b}\) are perpendicular
+  \textbf{Domain} \(= \mathbb{R} \setminus \{n \pi: n \in \mathbb{Z}\}\)
 \item
-  \(\boldsymbol{a \cdot a} = |\boldsymbol{a}|^2 = a^2\)
+  \textbf{Range} \(= \mathbb{R}\)
+\item
+  \textbf{Asymptotes} at \(\theta = n\pi \> \vert \> n \in \mathbb{Z}\)
+\end{itemize}
+
+\subsubsection*{Symmetry properties}
+
+\begin{equation}\begin{split}
+  \operatorname{sec} (\pi \pm x) & = -\operatorname{sec} x \\
+  \operatorname{sec} (-x) & = \operatorname{sec} x \\
+  \operatorname{cosec} (\pi \pm x) & = \mp \operatorname{cosec} x \\
+  \operatorname{cosec} (-x) & = - \operatorname{cosec} x \\
+  \operatorname{cot} (\pi \pm x) & = \pm \operatorname{cot} x \\
+  \operatorname{cot} (-x) & = - \operatorname{cot} x
+\end{split}\end{equation}
+
+\subsubsection*{Complementary properties}
+
+\begin{equation}\begin{split}
+  \operatorname{sec} \left({\pi \over 2} - x\right) & = \operatorname{cosec} x \\
+  \operatorname{cosec} \left({\pi \over 2} - x\right) & = \operatorname{sec} x \\
+  \operatorname{cot} \left({\pi \over 2} - x\right) & = \tan x \\
+  \tan \left({\pi \over 2} - x\right) & = \operatorname{cot} x
+\end{split}\end{equation}
+
+\subsubsection*{Pythagorean identities}
+
+\begin{equation}\begin{split}
+  1 + \operatorname{cot}^2 x & = \operatorname{cosec}^2 x, \quad \text{where } \sin x \ne 0 \\
+  1 + \tan^2 x & = \operatorname{sec}^2 x, \quad \text{where } \cos x \ne 0
+\end{split}\end{equation}
+
+\subsection*{Compound angle formulas}
+
+\[\cos(x \pm y) = \cos x + \cos y \mp \sin x \sin y\]
+\[\sin(x \pm y) = \sin x \cos y \pm \cos x \sin y\]
+\[\tan(x \pm y) = {{\tan x \pm \tan y} \over {1 \mp \tan x \tan y}}\]
+
+\subsection*{Double angle formulas}
+
+\begin{equation}\begin{split}
+  \cos 2x &= \cos^2 x - \sin^2 x \\
+  & = 1 - 2\sin^2 x \\
+  & = 2 \cos^2 x -1
+\end{split}\end{equation}
+
+\[\sin 2x = 2 \sin x \cos x\]
+
+\[\tan 2x = {{2 \tan x} \over {1 - \tan^2 x}}\]
+
+\subsection*{Inverse circular functions}
+
+Inverse functions: \(f(f^{-1}(x)) = x, \quad f(f^{-1}(x)) = x\)\\
+Must be 1:1 to find inverse (reflection in \(y=x\)
+
+Domain is restricted to make functions 1:1.
+
+\subsubsection*{\(\arcsin\)}
+
+\[\sin^{-1}: [-1, 1] \rightarrow \mathbb{R}, \quad \sin^{-1} x = y, \quad \text{where } \sin y = x \text{ and } y \in [{-\pi \over 2}, {\pi \over 2}]\]
+
+\subsubsection*{\(\arccos\)}
+
+\[\cos^{-1} \rightarrow \mathbb{R}, \quad \cos^{-1} x = y, \quad \text{where } \cos y = x \text{ and } y \in [0, \pi]\]
+
+\subsubsection*{\(\arctan\)}
+
+\[\tan^{-1}: \mathbb{R} \rightarrow \mathbb{R}, \quad \tan^{-1} x = y, \quad \text{where } \tan y = x \text{ and } y \in \left(-{\pi \over 2}, {\pi \over 2}\right)\]
+
+
+\section{Differential calculus}
+
+\subsection*{Limits}
+
+\[\lim_{x \rightarrow a}f(x)\]
+
+\(L^-\) - limit from below
+
+\(L^+\) - limit from above
+
+\(\lim_{x \to a} f(x)\) - limit of a point
+
+\begin{itemize}
+\item
+  Limit exists if \(L^-=L^+\)
+\item
+  If limit exists, point does not.
+\item
+  For solving \(x\rightarrow\infty\), factorise so that all \(x\) terms are in denominators\\
+    e.g. \[\lim_{x \rightarrow \infty}{{2x+3} \over {x-2}}={{2+{3 \over x}} \over {1-{2 \over x}}}={2 \over 1} = 2\]
+    \item
+Limits can be solved using normal techniques (if div 0, factorise)
+\end{itemize}
+
+
+\begin{enumerate}
+\item
+  For constant function \(f(x)=k\), \(\lim_{x \rightarrow a} f(x) = k\)
+\item
+  \(\lim_{x \rightarrow a} (f(x) \pm g(x)) = F \pm G\)
+\item
+  \(\lim_{x \rightarrow a} (f(x) \times g(x)) = F \times G\)
+    \item
+\(\therefore \lim_{x \rightarrow a} c \times f(x)=cF\) where \(c=\) constant
+\ite
+  \({\lim_{x \rightarrow a} {f(x) \over g(x)}} = {F \over G}, G \ne 0\)
+\item
+A function is continuous if \(L^-=L^+=f(x)\) for all values of \(x\).
 \end{enumerate}
 
-For parallel vectors \(\boldsymbol{a}\) and \(\boldsymbol{b}\):\\
-\[\boldsymbol{a \cdot b}=\begin{cases}
-|\boldsymbol{a}||\boldsymbol{b}| \hspace{2.8em} \text{if same direction}\\
--|\boldsymbol{a}||\boldsymbol{b}| \hspace{2em} \text{if opposite directions}
-\end{cases}\]
+\subsection{Gradients of secants and tangents}
 
-\subsection{Geometric scalar products}
+\textbf{Secant (chord)} - line joining two points on curve\\
+\textbf{Tangent} - line that intersects curve at one point
 
-\[\boldsymbol{a} \cdot \boldsymbol{b} = |\boldsymbol{a}| |\boldsymbol{b}| \cos \theta\]
+\(m\left(\overrightharp{PQ}\right){m_{PQ}}={\operatorname{rise} \over \operatorname{run}} = {\delta y \over \delta x} \text{ for } P(x,y),\quad Q(x+\delta x, y+ \delta y)\)
 
-where \(0 \le \theta \le \pi\)
+As \(Q \rightarrow P, \delta x \rightarrow 0\). Chord becomes tangent
+(two infinitesimal points are equal).
 
-\subsection{Perpendicular vectors}
+\subsection{First principles derivative}
 
-If \(\boldsymbol{a} \cdot \boldsymbol{b} = 0\), then
-\(\boldsymbol{a} \perp \boldsymbol{b}\) (since \(\cos 90 = 0\))
+\[f^\prime(x) = \lim_{\delta x \rightarrow 0}{\delta y \over \delta x}={\frac{dy}{dx}}\]
 
-\subsection{Finding angle between
-vectors}
+\subsubsection*{Logarithmic identities}
 
-\textbf{positive direction}
+\(\log_b (xy)=\log_b x + \log_b y\)\\
+\(\log_b x^n = n \log_b x\)\\
+\(\log_b y^{x^n} = x^n \log_b y\)
 
-\[\cos \theta = {{\boldsymbol{a} \cdot \boldsymbol{b}} \over {|\boldsymbol{a}| |\boldsymbol{b}|}} = {{a_1 b_1 + a_2 b_2} \over {|\boldsymbol{a}| |\boldsymbol{b}|}}\]
+\subsubsection*{Index identities}}
 
-\textbf{on CAS:} \texttt{angle({[}a\ b\ c{]},\ {[}a\ b\ c{]})} (Action
--\textgreater{} Vector -\textgreater{} Angle)
+\(b^{m+n}=b^m \cdot b^n\)\\
+\((b^m)^n=b^{m \cdot n}\)\\
+\((b \cdot c)^n = b^n \cdot c^n\)\\
+\({a^m \div a^n} = {a^{m-n}}\)
 
-\subsection{Angle between vector and
-axis}
+\subsubsection{\texorpdfstring{\(e\) as a
+logarithm}{e as a logarithm}}\label{e-as-a-logarithm}
 
-Direction of a vector can be given by the angles it makes with
-\(\boldsymbol{i}, \boldsymbol{j}, \boldsymbol{k}\) directions.
+\[\operatorname{if} y=e^x, \quad \operatorname{then} x=\log_e y\]
+\[\ln x = \log_e x\]
 
-For
-\(\boldsymbol{a} = a_1 \boldsymbol{i} + a_2 \boldsymbol{j} + a_3 \boldsymbol{k}\)
-which makes angles \(\alpha, \beta, \gamma\) with positive direction of
-\(x, y, z\) axes:
-\[\cos \alpha = {a_1 \over |\boldsymbol{a}|}, \quad \cos \beta = {a_2 \over |\boldsymbol{a}|}, \quad \cos \gamma = {a_3 \over |\boldsymbol{a}|}\]
+\subsection*{Derivative rules}
 
-\textbf{on CAS:} \texttt{angle({[}a\ b\ c{]},\ {[}1\ 0\ 0{]})} for angle
-between \(a\boldsymbol{i} + b\boldsymbol{j} + c\boldsymbol{k}\) and
-\(x\)-axis
+\begin{longtable}[]{@{}ll@{}}
+\toprule
+\(f(x)\) & \(f^\prime(x)\)\tabularnewline
+\midrule
+\endhead
+\(\sin x\) & \(\cos x\)\tabularnewline
+\(\sin ax\) & \(a\cos ax\)\tabularnewline
+\(\cos x\) & \(-\sin x\)\tabularnewline
+\(\cos ax\) & \(-a \sin ax\)\tabularnewline
+\(\tan f(x)\) & \(f^2(x) \sec^2f(x)\)\tabularnewline
+\(e^x\) & \(e^x\)\tabularnewline
+\(e^{ax}\) & \(ae^{ax}\)\tabularnewline
+\(ax^{nx}\) & \(an \cdot e^{nx}\)\tabularnewline
+\(\log_e x\) & \(1 \over x\)\tabularnewline
+\(\log_e {ax}\) & \(1 \over x\)\tabularnewline
+\(\log_e f(x)\) & \(f^\prime (x) \over f(x)\)\tabularnewline
+\(\sin(f(x))\) & \(f^\prime(x) \cdot \cos(f(x))\)\tabularnewline
+\(\sin^{-1} x\) & \(1 \over {\sqrt{1-x^2}}\)\tabularnewline
+\(\cos^{-1} x\) & \(-1 \over {sqrt{1-x^2}}\)\tabularnewline
+\(\tan^{-1} x\) & \(1 \over {1 + x^2}\)\tabularnewline
+\bottomrule
+\end{longtable}
+
+\subsection*{Reciprocal derivatives}
+
+\[\frac{1}{\frac{dy}{dx}} = \frac{dx}{dy}\]
+
+\subsection*{Differentiating \(x=f(y)\)}
+
+Find \(\frac{dx}{dy}\). Then:
+
+\begin{align*}
+  {\frac{dx}{dy}} =& {1 \over {\frac{dy}{dx}}} \\
+  \implies {\frac{dy}{dx}} &= {1 \over {\frac{dx}{dy}}}\).
+
+\[{\frac{dy}{dx}} = {1 \over {\frac{dx}{dy}}}\]
 
-\subsection{Vector projections}
+\subsection*{Second derivative}}
 
-Vector resolute of \(\boldsymbol{a}\) in direction of \(\boldsymbol{b}\)
-is magnitude of \(\boldsymbol{a}\) in direction of \(\boldsymbol{b}\):
+\[f(x) \longrightarrow f^\prime (x) \longrightarrow f^{\prime\prime}(x)\]
 
-\[\boldsymbol{u}={{\boldsymbol{a}\cdot\boldsymbol{b}}\over |\boldsymbol{b}|^2}\boldsymbol{b}=\left({\boldsymbol{a}\cdot{\boldsymbol{b} \over |\boldsymbol{b}|}}\right)\left({\boldsymbol{b} \over |\boldsymbol{b}|}\right)=(\boldsymbol{a} \cdot \hat{\boldsymbol{b}})\hat{\boldsymbol{b}}\]
+\[\therefore y \longrightarrow {\frac{dy}{dx}} \longrightarrow {d({\frac{dy}{dx}}) \over dx} \longrightarrow {d^2 y \over dx^2}\]
 
-\subsection{Scalar resolute of \(\boldsymbol{a}\) on \(\boldsymbol{b}\)}
+Order of polynomial \(n\)th derivative decrements each time the
+derivative is taken
+
+\subsubsection*{Points of Inflection}
+
+\emph{Stationary point} - point of zero gradient (i.e.
+\(f^\prime(x)=0\))\\
+\emph{Point of inflection} - point of maximum \(|\)gradient\(|\) (i.e.
+\(f^{\prime\prime} = 0\))
+
+\begin{itemize}
+\tightlist
+\item
+  if \(f^\prime (a) = 0\) and \(f^{\prime\prime}(a) > 0\), then point
+  \((a, f(a))\) is a local min (curve is concave up)
+\item
+  if \(f^\prime (a) = 0\) and \(f^{\prime\prime} (a) < 0\), then point
+  \((a, f(a))\) is local max (curve is concave down)
+\item
+  if \(f^{\prime\prime}(a) = 0\), then point \((a, f(a))\) is a point of
+  inflection
+\item
+  if also \(f^\prime(a)=0\), then it is a stationary point of inflection
+\end{itemize}
 
-\[r_s = |\boldsymbol{u}| = \boldsymbol{a} \cdot \hat{\boldsymbol{b}}\]
+\begin{figure}
+\centering
+\includegraphics{graphics/second-derivatives.png}
+\caption{}
+\end{figure}
 
-\subsection{Vector resolute of \(\boldsymbol{a} \perp \boldsymbol{b}\)}
+\subsection*{Implicit Differentiation}
 
-\[\boldsymbol{w} = \boldsymbol{a} - \boldsymbol{u} \> \text{ where } \boldsymbol{u} \text{ is projection } \boldsymbol{a} \text{ on } \boldsymbol{b}\]
+\textbf{On CAS:} Action \(\rightarrow\) Calculation \(\rightarrow\)
+\texttt{impDiff(y\^{}2+ax=5,\ x,\ y)}. Returns \(y^\prime= \dots\).
 
-\subsection{Vector proofs}
+Used for differentiating circles etc.
 
-\subsubsection{Concurrent lines}
+If \(p\) and \(q\) are expressions in \(x\) and \(y\) such that \(p=q\),
+for all \(x\) nd \(y\), then:
 
-\(\ge\) 3 lines intersect at a single point
+\[{\frac{dp}{dx}} = {\frac{dq}{dx}} \quad \text{and} \quad {\frac{dp}{dy}} = {\frac{dq}{dy}}\]
 
-\subsubsection{Collinear points}
+\subsection*{Integration}
 
-\(\ge\) 3 points lie on the same line\\
-\(\implies \vec{OC} = \lambda \vec{OA} + \mu \vec{OB}\) where
-\(\lambda + \mu = 1\). If \(C\) is between \(\vec{AB}\), then
-\(0 < \mu < 1\)\\
-Points \(A, B, C\) are collinear iff
-\(\vec{AC}=m\vec{AB} \text{ where } m \ne 0\)
+\[\int f(x) \cdot dx = F(x) + c \quad \text{where } F^\prime(x) = f(x)\]
 
-\subsubsection{Useful vector properties}
+\[\int x^n \cdot dx = {x^{n+1} \over n+1} + c\]
 
 \begin{itemize}
+\tightlist
 \item
-  If \(\boldsymbol{a}\) and \(\boldsymbol{b}\) are parallel, then
-  \(\boldsymbol{b}=k\boldsymbol{a}\) for some
-  \(k \in \mathbb{R} \setminus \{0\}\)
+  area enclosed by curves
 \item
-  If \(\boldsymbol{a}\) and \(\boldsymbol{b}\) are parallel with at
-  least one point in common, then they lie on the same straight line
+  \(+c\) should be shown on each step without \(\int\)
+\end{itemize}
+
+\subsubsection*{Integral laws}
+
+\(\int f(x) + g(x) dx = \int f(x) dx + \int g(x) dx\)\\
+\(\int k f(x) dx = k \int f(x) dx\)
+
+\begin{longtable}[]{@{}ll@{}}
+\toprule
+\begin{minipage}[b]{0.42\columnwidth}\raggedright\strut
+\(f(x)\)\strut
+\end{minipage} & \begin{minipage}[b]{0.38\columnwidth}\raggedright\strut
+\(\int f(x) \cdot dx\)\strut
+\end{minipage}\tabularnewline
+\midrule
+\endhead
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(k\) (constant)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(kx + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(x^n\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\({x^{n+1} \over {n+1}} + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(a x^{-n}\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(a \cdot \log_e x + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\({1 \over {ax+b}}\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\({1 \over a} \log_e (ax+b) + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\((ax+b)^n\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\({1 \over {a(n+1)}}(ax+b)^{n-1} + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(e^{kx}\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\({1 \over k} e^{kx} + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(e^k\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(e^kx + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(\sin kx\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(-{1 \over k} \cos (kx) + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(\cos kx\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\({1 \over k} \sin (kx) + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(\sec^2 kx\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\({1 \over k} \tan(kx) + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(1 \over \sqrt{a^2-x^2}\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(\sin^{-1} {x \over a} + c \>\vert\> a>0\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(-1 \over \sqrt{a^2-x^2}\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(\cos^{-1} {x \over a} + c \>\vert\> a>0\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(a \over {a^2-x^2}\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(\tan^{-1} {x \over a} + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\({f^\prime (x)} \over {f(x)}\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(\log_e f(x) + c\)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(g^\prime(x)\cdot f^\prime(g(x)\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(f(g(x))\) (chain rule)\strut
+\end{minipage}\tabularnewline
+\begin{minipage}[t]{0.42\columnwidth}\raggedright\strut
+\(f(x) \cdot g(x)\)\strut
+\end{minipage} & \begin{minipage}[t]{0.38\columnwidth}\raggedright\strut
+\(\int [f^\prime(x) \cdot g(x)] dx + \int [g^\prime(x) f(x)] dx\)\strut
+\end{minipage}\tabularnewline
+\bottomrule
+\end{longtable}
+
+Note \(\sin^{-1} {x \over a} + \cos^{-1} {x \over a}\) is constant for
+all \(x \in (-a, a)\).
+
+\subsubsection*{Definite integrals}}
+
+\[\int_a^b f(x) \cdot dx = [F(x)]_a^b=F(b)-F(a)\]
+
+\begin{itemize}
+\tightlist
 \item
-  Two vectors \(\boldsymbol{a}\) and \(\boldsymbol{b}\) are
-  perpendicular if \(\boldsymbol{a} \cdot \boldsymbol{b}=0\)
+  Signed area enclosed by:
+  \(\> y=f(x), \quad y=0, \quad x=a, \quad x=b\).
 \item
-  \(\boldsymbol{a} \cdot \boldsymbol{a} = |\boldsymbol{a}|^2\)
+  \emph{Integrand} is \(f\).
+\item
+  \(F(x)\) may be any integral, i.e. \(c\) is inconsequential
 \end{itemize}
 
-\subsection{Linear dependence}
+\paragraph{Properties}\label{properties}
 
-Vectors \(\boldsymbol{a}, \boldsymbol{b}, \boldsymbol{c}\) are linearly
-dependent if they are non-parallel and:
+\[\int^b_a f(x) \> dx = \int^c_a f(x) \> dx + \int^b_c f(x) \> dx\]
 
-\[k\boldsymbol{a}+l\boldsymbol{b}+m\boldsymbol{c} = 0\]
-\[\therefore \boldsymbol{c} = m\boldsymbol{a} + n\boldsymbol{b} \quad \text{(simultaneous)}\]
+\[\int^a_a f(x) \> dx = 0\]
 
-\(\boldsymbol{a}, \boldsymbol{b},\) and \(\boldsymbol{c}\) are linearly
-independent if no vector in the set is expressible as a linear
-combination of other vectors in set, or if they are parallel.
+\[\int^b_a k \cdot f(x) \> dx = k \int^b_a f(x) \> dx\]
 
-Vector \(\boldsymbol{w}\) is a linear combination of vectors
-\(\boldsymbol{v_1}, \boldsymbol{v_2}, \boldsymbol{v_3}\)
+\[\int^b_a f(x) \pm g(x) \> dx = \int^b_a f(x) \> dx \pm \int^b_a g(x) \> dx\]
 
-\subsection{Three-dimensional vectors}
+\[\int^b_a f(x) \> dx = - \int^a_b f(x) \> dx\]
 
-Right-hand rule for axes: \(z\) is up or out of page.
+\subsubsection{Integration by substitution}
 
-%\includegraphics{graphics/vectors-3d.png}
+\[\int f(u) {\frac{du}{dx}} \cdot dx = \int f(u) \cdot du\]
 
-\subsection{Parametric vectors}
+Note \(f(u)\) must be one-to-one \(\implies\) one \(x\) value for each
+\(y\) value
 
-Parametric equation of line through point \((x_0, y_0, z_0)\) and
-parallel to \(a\boldsymbol{i} + b\boldsymbol{j} + c\boldsymbol{k}\) is:
+e.g.~for \(y=\int(2x+1)\sqrt{x+4} \cdot dx\):\\
+let \(u=x+4\)\\
+\(\implies {\frac{du}{dx}} = 1\)\\
+\(\implies x = u - 4\)\\
+then \(y=\int (2(u-4)+1)u^{1 \over 2} \cdot du\)\\
+Solve as a normal integral
 
-\begin{equation}\begin{cases}x = x_o + a \cdot t \\ y = y_0 + b \cdot t \\ z = z_0 + c \cdot t\end{cases}\end{equation}
+\subsubsection*{Definite integrals by substitution}
+
+For \(\int^b_a f(x) {\frac{du}{dx}} \cdot dx\), evaluate new \(a\) and
+\(b\) for \(f(u) \cdot du\).
+
+\subsubsection{Trigonometric integration}
+
+\[\sin^m x \cos^n x \cdot dx\]
+
+\textbf{\(m\) is odd:}\\
+\(m=2k+1\) where \(k \in \mathbb{Z}\)\\
+\(\implies \sin^{2k+1} x = (\sin^2 z)^k \sin x = (1 - \cos^2 x)^k \sin x\)\\
+Substitute \(u=\cos x\)
+
+\textbf{\(n\) is odd:}\\
+\(n=2k+1\) where \(k \in \mathbb{Z}\)\\
+\(\implies \cos^{2k+1} x = (\cos^2 x)^k \cos x = (1-\sin^2 x)^k \cos x\)\\
+Subbstitute \(u=\sin x\)
+
+\textbf{\(m\) and \(n\) are even:}\\
+Use identities:
+
+\begin{itemize}
+\tightlist
+\item
+  \(\sin^2x={1 \over 2}(1-\cos 2x)\)
+\item
+  \(\cos^2x={1 \over 2}(1+\cos 2x)\)
+\item
+  \(\sin 2x = 2 \sin x \cos x\)
+\end{itemize}
+
+\subsection*{Partial fractions}
+
+On CAS: Action \(\rightarrow\) Transformation \(\rightarrow\)
+\texttt{expand/combine}\\
+or Interactive \(\rightarrow\) Transformation \(\rightarrow\)
+\texttt{expand} \(\rightarrow\) Partial
+
+\subsection*{Graphing integrals on CAS}
+
+In main: Interactive \(\rightarrow\) Calculation \(\rightarrow\)
+\(\int\) (\(\rightarrow\) Definite)\\
+Restrictions: \texttt{Define\ f(x)=...} \(\rightarrow\)
+\texttt{f(x)\textbar{}x\textgreater{}1} (e.g.)
+
+\subsection{Applications of antidifferentiation}
+
+\begin{itemize}
+\tightlist
+\item
+  \(x\)-intercepts of \(y=f(x)\) identify \(x\)-coordinates of
+  stationary points on \(y=F(x)\)
+\item
+  nature of stationary points is determined by sign of \(y=f(x)\) on
+  either side of its \(x\)-intercepts
+\item
+  if \(f(x)\) is a polynomial of degree \(n\), then \(F(x)\) has degree
+  \(n+1\)
+\end{itemize}
+
+To find stationary points of a function, substitute \(x\) value of given
+point into derivative. Solve for \({\frac{dy}{dx}}=0\). Integrate to find
+original function.
+
+\subsection*{Solids of revolution}}
+
+Approximate as sum of infinitesimally-thick cylinders
+
+\subsubsection{Rotation about \(x\)-axis}
+
+\begin{align*}
+  V &= \int^{x=b}_{x-a} \pi y^2 \> dx \\
+    &= \pi \int^b_a (f(x))^2 \> dx
+\end{align*}
+
+\subsubsection{Rotation about \(y\)-axis}
+
+\begin{align*}
+  V &= \int^{y=b}_{y=a} \pi x^2 \> dy \\
+    &= \pi \int^b_a (f(y))^2 \> dy
+\end{align*}
+
+\subsubsection{Regions not bound by\(y=0\)}
+
+\[V = \pi \int^b_a f(x)^2 - g(x)^2 \> dx\]\\
+where \(f(x) > g(x)\)
+
+\subsection*{Length of a curve}
+
+\[L = \int^b_a \sqrt{1 + ({\frac{dy}{dx}})^2} \> dx \quad \text{(Cartesian)}\]
+
+\[L = \int^b_a \sqrt{{\frac{dx}{dt}} + ({\frac{dy}{dt}})^2} \> dt \quad \text{(parametric)}\]
+
+Evaluate on CAS. Or use Interactive \(\rightarrow\) Calculation
+\(\rightarrow\) Line \(\rightarrow\) \texttt{arcLen}.
+
+\subsection*{Rates}
+
+\subsubsection*{Related rates}
+
+\[{\frac{da}{db}} \quad \text{(change in } a \text{ with respect to } b)\]
+
+\subsubsection{Gradient at a point on parametric curve}
+
+\[{\frac{dy}{dx}} = {{\frac{dy}{dt}} \div {\frac{dx}{dt}}} \> \vert \> {\frac{dx}{dt}} \ne 0\]
+
+\[\frac{d^2}{dx^2} = \frac{d(y^\prime)}{dx} = {\frac{dy^\prime}{dt} \div {\frac{dx}{dt}}} \> \vert \> y^\prime = {\frac{dy}{dx}}\]
+
+\subsection*{Rational functions}
+
+\[f(x) = \frac{P(x)}{Q(x)} \quad \text{where } P, Q \text{ are polynomial functions}\]
+
+\subsubsection*{Addition of ordinates}
+
+\begin{itemize}
+\tightlist
+\item
+  when two graphs have the same ordinate, \(y\)-coordinate is double the
+  ordinate
+\item
+  when two graphs have opposite ordinates, \(y\)-coordinate is 0 i.e.
+  (\(x\)-intercept)
+\item
+  when one of the ordinates is 0, the resulting ordinate is equal to the
+  other ordinate
+\end{itemize}
+
+\subsection{Fundamental theorem of calculus}
+
+If \(f\) is continuous on \([a, b]\), then
+
+\[\int^b_a f(x) \> dx = F(b) - F(a)\]
+
+where \(F\) is any antiderivative of \(f\)
+
+\subsection*{Differential equations}}
+
+One or more derivatives
+
+\textbf{Order} - highest power inside derivative\\
+\textbf{Degree} - highest power of highest derivative\\
+e.g. \({\left(\frac{dy^2}{d^2} x\right)}^3\): order 2, degree 3
+
+\subsubsection*{Verifying solutions}
+
+Start with \(y=\dots\), and differentiate. Substitute into original
+equation.
+
+\subsubsection{Function of the dependent
+variable}\label{function-of-the-dependent-variable}
+
+If \({\frac{dy}{dx}}=g(y)\), then
+\(\frac{{dx}{dy} = 1 \div {\frac{dy}{dx}} = \frac{1}{g(y)}\). Integrate
+both sides to solve equation. Only add \(c\) on one side. Express
+\(e^c\) as \(A\).
+
+\subsubsection*{Mixing problems}
+
+\[\left(\frac{dm}{dt}\right)_\Sigma = \left(\frac{dm}{dt}\right)_{\text{in}} - \left({\frac{dm}{dt}\)_{\text{out}}\]
+
+\subsubsection*{Separation of variables}
+
+If \({\frac{dy}{dx}}=f(x)g(y)\), then:
+
+\[\int f(x) \> dx = \int \frac{1}{g(y)} \> dy\]
+
+\subsubsection{Using definite integrals to solve DEs}
+
+Used for situations where solutions to \({\frac{dy}{dx}} = f(x)\) is not
+required.
+
+In some cases, it may not be possible to obtain an exact solution.
+
+Approximate solutions can be found by numerically evaluating a definite
+integral.
+
+\subsubsection{Using Euler's method to solve a differential equation}
+
+\[\frac{f(x+h) - f(x)}{h} \approx f^\prime (x) \quad \text{for small } h\]
 
+\[\implies f(x+h) \approx f(x) + hf^\prime(x)\]
 
   \end{multicols}
 \end{document}