[methods] tidy up & render notes for SAC
[notes.git] / methods / calculus-ref.md
index 0ec4f7be6fb1e3b51586b0197e91eac1bfeef38d..215845dc033695058ee7b9f03272b801100faf46 100644 (file)
@@ -1,13 +1,16 @@
 ---
-geometry: margin=2cm
+geometry: margin=1cm
 columns: 2
 graphics: yes
 tables: yes
 author: Andrew Lorimer
+header-includes:
+- \usepackage{tabularx}
 ---
 
 
 \pagenumbering{gobble}
+\renewcommand{\arraystretch}{1.4}
 
 
 # Methods - Calculus
@@ -16,18 +19,14 @@ author: Andrew Lorimer
 
 $$m \operatorname{of} x \in [a,b] = {{f(b)-f(a)}\over {b - a}} = {dy \over dx}$$
 
-On CAS: (Action|Interactive) $\rightarrow$ Calculation $\rightarrow$ Diff $\rightarrow$ $f(x)$ or $y=\dots$
+On CAS: Action $\rightarrow$ Calculation $\rightarrow$ Diff $\rightarrow$ ($f(x)$ | $y$) $=\dots$
 
 ## Instantaneous rate of change
 
 **Secant** - line passing through two points on a curve  
 **Chord** - line segment joining two points on a curve
 
-Estimated by using two given points on each side of the concerned point.
-
-## Limits & continuity
-
-### Limit theorems
+## Limit theorems
 
 1. For constant function $f(x)=k$, $\lim_{x \rightarrow a} f(x) = k$
 2. $\lim_{x \rightarrow a} (f(x) \pm g(x)) = F \pm G$
@@ -52,14 +51,10 @@ Not differentiable at:
 **Normal line** - $\perp$ tangent ($m_{{tan}} \cdot m_{\operatorname{norm}} = -1$)  
 **Secant** $={{f(x+h)-f(x)} \over h}$
 
-$$\tan \theta = m = f^\prime (x)$$
-
-where $\theta$ is the angle that tangent line makes with +ve direction of $x$-axis
-
 ## Strictly increasing
 
-- $f$ is **strictly increasing** where $f(x_2) > f(x_1)$ and $x_2 > x_1$
-- $f$ is **strictly decreasing** where $f(x_2) < f(x_1)$ and $x_2 > x_1$
+- **strictly increasing** where $f(x_2) > f(x_1)$ and $x_2 > x_1$
+- **strictly decreasing** where $f(x_2) < f(x_1)$ and $x_2 > x_1$
 - If $f^\prime (x) > 0$ for all $x$ in interval, then $f$ is **strictly increasing**
 - If $f^\prime(x) < 0$ for all $x$ in interval, then $f$ is **strictly decreasing**
 - Endpoints are included, even where gradient $=0$
@@ -74,13 +69,17 @@ where $\theta$ is the angle that tangent line makes with +ve direction of $x$-ax
 Stationary where $m=0$.  
 Find derivative, solve for ${dy \over dx} = 0$
 
-![](graphics/stationary-points.png){#id .class width=50%}
+\begin{center}
+  \includegraphics[height=3cm]{graphics/stationary-points.png}
+\end{center}
+
+**Local maximum at point $A$**
 
-**Local maximum at point $A$**  
 - $f^\prime (x) > 0$ left of $A$
 - $f^\prime (x) < 0$ right of $A$
 
-**Local minimum at point $B$**  
+**Local minimum at point $B$**
+
 - $f^\prime (x) < 0$ left of $B$
 - $f^\prime (x) > 0$ right of $B$
 
@@ -88,14 +87,25 @@ Find derivative, solve for ${dy \over dx} = 0$
 
 ## Function derivatives
 
-
-| $f(x)$ | $f^\prime(x)$ |
-| ------ | ------------- |
-| $x^n$  | $nx^{n-1}$ |
-| $kx^n$ | $knx^{n-1}$ |
-| $g(x) + h(x)$ | $g^\prime (x) + h^\prime (x)$ |
-| $c$    | $0$ |
-| ${u \over v}$ | ${{v{du \over dx} - u{dv \over dx}} \over v^2}$ |
-| $uv$ | $u{dv \over dx} + v{du \over dx}$ |
-| $f \circ g$ | ${dy \over du} \cdot {du \over dx}$ |
-
+\begin{tabularx}{\columnwidth}{rl}
+  
+  \hline \(f(x)\) & \(f^\prime(x)\) \\ \hline
+
+  \(kx^n\) & \(knx^{n-1}\)\tabularnewline
+  \(g(x) \pm h(x)\) & \(g^\prime (x) \pm h^\prime (x)\)\tabularnewline
+  \(c\) & \(0\)\tabularnewline
+  \({u \over v}\) &
+  \({{(v{du \over dx} - u{dv \over dx}}) \div v^2}\)\tabularnewline
+  \(uv\) & \(u{dv \over dx} + v{du \over dx}\)\tabularnewline
+  \(f \circ g\) & \({dy \over du} \cdot {du \over dx}\)\tabularnewline
+  \(\sin ax\) & \(a\cos ax\)\tabularnewline
+  \(\sin(f(x))\) & \(f^\prime(x) \cdot \cos(f(x))\)\tabularnewline
+  \(\cos ax\) & \(-a \sin ax\)\tabularnewline
+  \(\cos(f(x))\) & \(f^\prime(x)(-\sin(f(x)))\) \\
+  \(e^{ax}\) & \(ae^{ax}\)\tabularnewline
+  \(\log_e {ax}\) & \(1 \over x\)\tabularnewline
+  \(\log_e f(x)\) & \(f^\prime (x) \over f(x)\)\tabularnewline
+  
+  \hline
+
+\end{tabularx}