Debian Codegraph @

texmf-dist/doc/latex/probsoln/samples/prob-1stprncp.tex

raw
1 % This file is public domain
2 %
3 % These problems all involve differentiating from 1st principles
4
5 \newproblem{dfp:xcube}{%
6 Differentiate $f(x) = x^3$ with respect to $x$ by first principles.}{%
7 \begin{eqnarray*}
8 \frac{dy}{dx} & = & \lim_{\Delta x\rightarrow 0}\frac{f(x+\Delta x) - f(x)}{\Delta x}\\
9 & = & \lim_{\Delta x\rightarrow 0}\frac{(x+\Delta x)^3-x^3}{\Delta x}\\
10 & = & \lim_{\Delta x\rightarrow 0}\frac{(x+\Delta x)(x^2+2x\Delta x+(\Delta x)^2)-x^3}{\Delta x}\\
11 & = & \lim_{\Delta x\rightarrow 0}\frac{x^3+3x^2\Delta x+3x(\Delta x)^2+(\Delta x)^3-x^3}{\Delta x}\\
12 & = & \lim_{\Delta x\rightarrow 0}\frac{3x^2\Delta x+3x(\Delta x)^2+(\Delta x)^3}{\Delta x}\\
13 & = & \lim_{\Delta x\rightarrow 0}3x^2+3x\Delta x + (\Delta x)^2\\
14 & = & 3x^2
15 \end{eqnarray*}}
16
17 \newproblem{dfp:Ioverxsq}{%
18 Differentiate $\displaystyle f(x) = \frac{1}{x^2}$ with respect to $x$ by first principles.}{%
19 \begin{eqnarray*}
20 \frac{df}{dx} & = & \lim_{\Delta x\rightarrow 0}\frac{\frac{1}{(x+\Delta x)^2}-\frac{1}{x^2}}{\Delta x}\\
21 & = & \lim_{\Delta x\rightarrow 0}\frac{\frac{x^2-(x+\Delta x)^2}{x^2(x+\Delta x)^2}}{\Delta x}\\
22 & = & \lim_{\Delta x\rightarrow 0}\frac{x^2-(x^2+2x\Delta x+(\Delta x)^2)}{x^2\Delta x(x+\Delta x)^2}\\
23 & = & \lim_{\Delta x\rightarrow 0}\frac{-2x\Delta x-(\Delta x)^2}{x^2\Delta x(x+\Delta x)^2}\\
24 & = & \lim_{\Delta x\rightarrow 0}\frac{-2x-\Delta x}{x^2(x+\Delta x)^2}\\
25 & = & \frac{-2x}{x^2x^2}\\
26 & = & -\frac{2}{x^3}
27 \end{eqnarray*}}
28
29 \newproblem{dfp:sqrtx}{%
30 Differentiate from first principles $f(x) = \surd x$}{%
31 \begin{eqnarray*}
32 \frac{df}{dx} & = & \lim_{\Delta x\rightarrow 0}\frac{\sqrt{x+\Delta x}-\surd x}{\Delta x}\\
33 & = & \lim_{\Delta x\rightarrow 0}\frac{(\sqrt{x+\Delta x}-\surd x)(\sqrt{x+\delta x}+\surd x)}{\Delta x(\sqrt{x+\Delta x}+\surd x)}\\
34 & = & \lim_{\Delta x\rightarrow 0}\frac{x+\Delta x - x}{\Delta x(\sqrt{x+\Delta x}+\surd x)}\\
35 & = & \lim_{\Delta x\rightarrow 0}\frac{\Delta x}{\Delta x(\sqrt{x+\Delta x}+\Delta x)}\\
36 & = & \lim_{\Delta x\rightarrow 0}\frac{1}{\sqrt{x+\Delta x}+\surd x}\\
37 & = & \frac{1}{2\surd x}
38 \end{eqnarray*}}
39
40 \newproblem{dfp:cons}{%
41 Differentiate from first principles $f(x) = c$ where $c$ is a constant.}{%
42 \begin{eqnarray*}
43 \frac{df}{dx} & = & \lim_{\Delta x\rightarrow 0}\frac{c-c}{\Delta x}\\
44 & = & \lim_{\Delta x\rightarrow 0}0\\
45 & = & 0
46 \end{eqnarray*}}
47
48 \newproblem{dfp:cosx}{%
49 Given
50 \begin{eqnarray*}
51 \lim_{x \rightarrow 0} \frac{\cos x - 1}{x} & = & 0\\
52 \lim_{x \rightarrow 0} \frac{\sin x}{x} & = & 1
53 \end{eqnarray*}
54 differentiate from first principles $f(x) = \cos x$.}{%
55 \begin{eqnarray*}
56 \frac{df}{dx} & = & \lim_{\Delta x \rightarrow 0}\frac{f(x + \Delta x) - f(x)}{\Delta x}\\
57 & = & \lim_{\Delta x \rightarrow 0} \frac{\cos(x + \Delta x) - \cos(x)}{\Delta x}\\
58 & = & \lim_{\Delta x \rightarrow 0} \frac{\cos x\cos\Delta x - \sin x\sin\Delta x - \cos x}{\Delta x}\\
59 & = & \lim_{\Delta x \rightarrow 0} \frac{\cos x(\cos\Delta x - 1) - \sin x\sin\Delta x}{\Delta x}\\
60 & = & \cos x\lim_{\Delta x \rightarrow 0}\frac{\cos\Delta x - 1}{\Delta x}
61 - \sin x\lim_{\Delta x \rightarrow 0}\frac{\sin\Delta x}{\Delta x}\\
62 & = & -1 \qquad\mbox{(using given results)}
63 \end{eqnarray*}}