render final notes for graphing & circ fn's, add local graphics
[notes.git] / spec / graphing.md
index 39b748d0ffe73a8e18c3d41eb18347a0be3737bc..02555397000ccad81f048951642af956016bdb31 100644 (file)
@@ -1,3 +1,9 @@
+---
+geometry: margin=2cm
+columns: 2
+graphics: yes
+---
+
 # Graphing techniques
 
 ## Reciprocal continuous functions
@@ -10,6 +16,9 @@ As $\quad f(x) \rightarrow \pm \infty,\quad {1 \over f(x)} \rightarrow 0^\pm$ (v
 
 <!-- As $\quad x \rightarrow  \pm \infty,\quad {-1 \over x}$ -->
 
+\includegraphics[width=0.25\textwidth]{./graphics/recip-parabola.png}
+\includegraphics[width=0.25\textwidth]{./graphics/recip-sin-cos.png}
+
 - reciprocal functions are always on the same side of $x=0$
 - if $y=f(x)$ has a local max|min at $x=1$, then $y={1 \over f(x)}$ has a local max|min at $x=a$
 - point of inflection at $P(1,1)$
@@ -91,6 +100,9 @@ $$|(F_2P - F_1P  )| = k$$
 Cartesian equation for hyperbolas ($a$ and $b$ are dilation factors):
 $${(x-h)^2 \over a^2} - {(y-k)^2 \over b^2} = 1$$
 
+Distance between vertices is $2a$
+Vertices given by $(h \pm a, k)$
+
 Asymptotes at $y=\pm {b \over a}(x-h)+k$
 To make hyperbola up/down rather than left/right, swap $x$ and $y$
 
@@ -104,6 +116,8 @@ $$x=f(t), \quad y=g(t)$$
 
 $t$ is the parameter
 
+To convert to cartesian, solve like simultaneous equations
+
 ## Polar coordinates
 
 $$x = r\cos\theta, \quad y = r\sin\theta$$
@@ -121,28 +135,48 @@ $$r=a$$
 Horizontal: $r={n \over \sin \theta}$
 Vertical: $r={n \over \cos \theta}$
 
+### Cardioids
+
+$$r=a(n+ \cos\theta)$$
+
+### Roses
+
+$$r=\cos(k\theta)$$
+
+If $k$ is odd, half of the petals will overlap (hence there are $n$ petals)
+
+If $k$ is even, petals will not overlap (hence $2n$ petals)
+
+\includegraphics[width=0.5\textwidth]{./graphics/rose.png}
+
+
 ### Solving polar graphs
 
 solve in terms of $r$
 
 e.g. $x=4$
+
 $r\cos\theta = 4$
+
 $r={4 \over \cos\theta}$
 
+
+---
+
 e.g. $y=x^2$
+
 $r\sin\theta = r^2 \cos^2 \theta$
+
 $\sin \theta = r \cos^2 \theta$
+
 $r = {\sin \theta \over \cos^2\theta} = \tan\theta \sec\theta$
 
-e.g. $r=6\cos \theta\quad$ *(multiple by $r$)*
-$r^2=6r\cos\theta$
-$x^2+y^2=6x$
-complete the square
+---
 
-## Other graphs
+e.g. $r=6\cos \theta\quad$ *(multiply by $r$)*
 
-### Cardioids
+$r^2=6r\cos\theta$
 
-$$
+$x^2+y^2=6x$
 
-### Roses
+complete the square