[spec/methods] tidy up
[notes.git] / methods / calculus.tex
index 1896189dbd4a902b2816fa84f1b1c9528bc153d4..b33091ed440fa81a8ce94664e3f623089a3c27b6 100644 (file)
@@ -53,8 +53,14 @@ Not differentiable at:
 (\(m_{{tan}} \cdot m_{\operatorname{norm}} = -1\))\\
 \textbf{Secant} \(={{f(x+h)-f(x)} \over h}\)
 
-\colorbox{cas}{On CAS:} \\ Action \(\rightarrow\) Calculation
-\(\rightarrow\) Line \(\rightarrow\) \texttt{tanLine} or \texttt{normal}
+\begin{cas}
+  \textbf{In main}: Interactive \(\rightarrow\) Calculation \(\rightarrow\) Line \\
+  \-\hspace{1em} \texttt{tanLine(f(x), x, p)} \\
+  \-\hspace{1em} \texttt{normal(f(x), x, p)} \\
+  where \texttt{p} is the \(x\)-value of the coordinate
+
+  \textbf{In graph}: define function, then Analysis \(\rightarrow\) Sketch \(\rightarrow\) (Normal \textbar{} Tan line). Type \(x\) value to solve for a point. Return to show equation for line.
+\end{cas}
 
 \subsection*{Strictly increasing/decreasing}
 
@@ -67,15 +73,6 @@ For \(x_2\) and \(x_1\) where \(x_2 > x_1\):
   \item Endpoints are included, even where gradient \(=0\)
 \end{itemize}
 
-\begin{cas}
-  \colorbox{cas}{\textbf{In main}}: type function. Interactive
-  \(\rightarrow\) Calculation \(\rightarrow\) Line \(\rightarrow\) (Normal
-  \textbar{} Tan line)\\
-  \colorbox{cas}{\textbf{In graph}}: define function. Analysis
-  \(\rightarrow\) Sketch \(\rightarrow\) (Normal \textbar{} Tan line).
-  Type \(x\) value to solve for a point. Return to show equation for line.
-\end{cas}
-
 \subsection*{Stationary points}
 
 \begin{align*}
@@ -100,64 +97,6 @@ For \(x_2\) and \(x_1\) where \(x_2 > x_1\):
   \end{axis}
 \end{tikzpicture}
 
-\subsection*{Derivatives}
-
-\rowcolors{1}{white}{orange}
-\renewcommand{\arraystretch}{1.4}
-
-\begin{tabularx}{\columnwidth}{rX}
-  \hline
-  \hspace{6em}\(f(x)\) & \(f^\prime(x)\)\\
-  \hline
-  \(\sin x\) & \(\cos x\)\\
-  \(\sin ax\) & \(a\cos ax\)\\
-  \(\cos x\) & \(-\sin x\)\\
-  \(\cos ax\) & \(-a \sin ax\)\\
-  \(\tan f(x)\) & \(f^2(x) \sec^2f(x)\)\\
-  \(e^x\) & \(e^x\)\\
-  \(e^{ax}\) & \(ae^{ax}\)\\
-  \(ax^{nx}\) & \(an \cdot e^{nx}\)\\
-  \(\log_e x\) & \(\dfrac{1}{x}\)\\
-  \(\log_e {ax}\) & \(\dfrac{1}{x}\)\\
-  \(\log_e f(x)\) & \(\dfrac{f^\prime (x)}{f(x)}\)\\
-  \(\sin(f(x))\) & \(f^\prime(x) \cdot \cos(f(x))\)\\
-  \(\sin^{-1} x\) & \(\dfrac{1}{\sqrt{1-x^2}}\)\\
-  \(\cos^{-1} x\) & \(\dfrac{-1}{\sqrt{1-x^2}}\)\\
-  \(\tan^{-1} x\) & \(\dfrac{1}{1 + x^2}\)\\
-  \(\frac{d}{dy}f(y)\) & \(\dfrac{1}{\frac{dx}{dy}}\) \hfill(reciprocal)\\
-  \(uv\) & \(u \frac{dv}{dx}+v\frac{du}{dx}\) \hfill(product rule)\\
-  \(\dfrac{u}{v}\) & \(\dfrac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2}\) \hfill(quotient rule)\\
-  \(f(g(x))\) & \(f^\prime(g(x))\cdot g^\prime(x)\)\\
-  \hline
-\end{tabularx}
-
-\subsection*{Antiderivatives}
-
-\rowcolors{1}{white}{lblue}
-\renewcommand{\arraystretch}{1.4}
-
-\begin{tabularx}{\columnwidth}{rX}
-  \hline
-  \(f(x)\) & \(\int f(x) \cdot dx\) \\
-  \hline
-  \(k\) (constant) & \(kx + c\)\\
-  \(x^n\) & \(\dfrac{1}{n+1} x^{n+1}\) \\
-  \(a x^{-n}\) &\(a \cdot \log_e |x| + c\)\\
-  \(\dfrac{1}{ax+b}\) &\(\dfrac{1}{a} \log_e (ax+b) + c\)\\
-  \((ax+b)^n\) & \(\dfrac{1}{a(n+1)}(ax+b)^{n-1} + c\>|\>n\ne 1\)\\
-  \((ax+b)^{-1}\) & \(\dfrac{1}{a}\log_e |ax+b|+c\)\\
-  \(e^{kx}\) & \(\dfrac{1}{k} e^{kx} + c\)\\
-  \(e^k\) & \(e^kx + c\)\\
-  \(\sin kx\) & \(\dfrac{-1}{k} \cos (kx) + c\)\\
-  \(\cos kx\) & \(\dfrac{1}{k} \sin (kx) + c\)\\
-  \(\sec^2 kx\) & \(\dfrac{1}{k} \tan(kx) + c\)\\
-  \(\dfrac{1}{\sqrt{a^2-x^2}}\) & \(\sin^{-1} \dfrac{x}{a} + c \>\vert\> a>0\)\\
-  \(\dfrac{-1}{\sqrt{a^2-x^2}}\) & \(\cos^{-1} \dfrac{x}{a} + c \>\vert\> a>0\)\\
-  \(\frac{a}{a^2-x^2}\) & \(\tan^{-1} \frac{x}{a} + c\)\\
-  \(\frac{f^\prime (x)}{f(x)}\) & \(\log_e f(x) + c\)\\
-  \(\int f(u) \cdot \frac{du}{dx} \cdot dx\) & \(\int f(u) \cdot du\) \hfill(substitution)\\
-  \(f(x) \cdot g(x)\) & \(\int [f^\prime(x) \cdot g(x)] dx + \int [g^\prime(x) f(x)] dx\)\\
-  \hline
-\end{tabularx}
+\include{../spec/calculus-rules}
 
 \end{document}