[spec] length of a curve
[notes.git] / methods / polynomials.md
index afd4eabe2e1baf8c2ba149569b2cfd2600251d4e..c826306003a45111c78051b0c8446e844a2e2727 100644 (file)
@@ -1,20 +1,29 @@
 ---
 geometry: margin=1.5cm
+columns: 2
+header-includes:
+- \usepackage{tabularx}
 ---
 
+\pagenumbering{gobble}
+\renewcommand{\arraystretch}{1.4}
+
 # Polynomials
 
-## Factorising
+## Quadratics
+
+\newcolumntype{R}{>{\raggedleft\arraybackslash}X}
+\begin{tabularx}{\columnwidth}{|R|l|}
+  Quadratics & $x^2 + bx + c = (x+m)(x+n)$ \\
+  & where $mn=c, \> m+n=b$ \\
+  Difference of squares & $a^2 - b^2 = (a - b)(a + b)$ \\
+  Perfect squares & $a^2 \pm 2ab + b^2 = (a \pm b^2)$ \\
+  Completing the square & \parbox[t]{5cm}{$x^2+bx+c=(x+{b\over2})^2+c-{b^2\over4}$ \\ $ax^2+bx+c=a(x-{b\over2a})^2+c-{b^2\over4a}$} \\
+  Quadratic formula & $x={{-b\pm\sqrt{b^2-4ac}}\over2a}$ where $\Delta=b^2-4ac$ \\
+\end{tabularx}
 
-#### Quadratics
-**Quadratics:** $x^2 + bx + c = (x+m)(x+n)$ where $mn=c$, $m+n=b$  
-**Difference of squares:** $a^2 - b^2 = (a - b)(a + b)$  
-**Perfect squares:** $a^2 \pm 2ab + b^2 = (a \pm b^2)$  
-**Completing the square (monic):** $x^2+bx+c=(x+{b\over2})^2+c-{b^2\over4}$  
-**Completing the square (non-monic):** $ax^2+bx+c=a(x-{b\over2a})^2+c-{b^2\over4a}$  
-**Quadratic formula:** $x={{-b\pm\sqrt{b^2-4ac}}\over2a}$ where $\Delta=b^2-4ac$ (if $\Delta$ is a perfect square, rational roots)
+## Cubics
 
-#### Cubics
 **Difference of cubes:** $a^3 - b^3 = (a-b)(a^2 + ab + b^2)$  
 **Sum of cubes:** $a^3 + b^3 = (a+b)(a^2 - ab + b^2)$  
 **Perfect cubes:** $a^3 \pm 3a^2b + 3ab^2 \pm b^3 = (a \pm b)^3$  
@@ -38,7 +47,7 @@ Distance: $\vec{AB} = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$
 
 $$y=a(bx-h)^3 + c$$
 
-- $m=0$ at *stationary point of inflection* (i.e. ({h \over b}, k)$)
+- $m=0$ at *stationary point of inflection* (i.e. (${h \over b}, k)$)
 - in form $y=(x-a)^2(x-b)$, local max at $x=a$, local min at $x=b$
 - in form $y=a(x-b)(x-c)(x-d)$: $x$-intercepts at $b, c, d$
 - in form $y=a(x-b)^2(x-c)$, touches $x$-axis at $b$, intercept at $c$