# Calculus/Differentiation/Differentiation Defined/Solutions

$y=x^{2}$
$(1,1)$
$f$
$x_{0}$
$\lim _{h\to 0}\left[{\frac {f\left(x_{0}+h\right)-f\left(x_{0}\right)}{h}}\right]$
Substituting in $f(x)=x^{2}$ and $x_{0}=1$ gives:
${\begin{aligned}\lim _{h\to 0}\left[{\frac {(1+h)^{2}-1}{h}}\right]&=\lim _{h\to 0}\left[{\frac {h^{2}+2h}{h}}\right]\\&=\lim _{h\to 0}\left[{\frac {h(h+2)}{h}}\right]\\&=\lim _{h\to 0}h+2\\&=\mathbf {2} \end{aligned}}$
$f$
$x_{0}$
$\lim _{h\to 0}\left[{\frac {f\left(x_{0}+h\right)-f\left(x_{0}\right)}{h}}\right]$
Substituting in $f(x)=x^{2}$ and $x_{0}=1$ gives:
${\begin{aligned}\lim _{h\to 0}\left[{\frac {(1+h)^{2}-1}{h}}\right]&=\lim _{h\to 0}\left[{\frac {h^{2}+2h}{h}}\right]\\&=\lim _{h\to 0}\left[{\frac {h(h+2)}{h}}\right]\\&=\lim _{h\to 0}h+2\\&=\mathbf {2} \end{aligned}}$
$f(x)=2x+3$
${\begin{aligned}f^{'}(x)&=\lim _{\Delta x\to 0}{\frac {(2(x+\Delta x)+3)-(2x+3)}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {2x+2\Delta x+3-2x-3)}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {2\Delta x}{\Delta x}}\\&=\lim _{\Delta x\to 0}2\\&=\mathbf {2} \end{aligned}}$
${\begin{aligned}f^{'}(x)&=\lim _{\Delta x\to 0}{\frac {(2(x+\Delta x)+3)-(2x+3)}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {2x+2\Delta x+3-2x-3)}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {2\Delta x}{\Delta x}}\\&=\lim _{\Delta x\to 0}2\\&=\mathbf {2} \end{aligned}}$
$f(x)=x^{3}$
$f(x)=x^{4}$
$f(x)=x^{n}$
$n$
${\begin{alignedat}{2}{\frac {dx^{3}}{dx}}&=\lim _{\Delta x\to 0}{\frac {(x+\Delta x)^{3}-x^{3}}{\Delta x}}&\qquad {\frac {dx^{4}}{dx}}&=\lim _{\Delta x\to 0}{\frac {(x+\Delta x)^{4}-x^{4}}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {x^{3}+3x^{2}\Delta x+3x\Delta x^{2}+\Delta x^{3}-x^{3}}{\Delta x}}&&=\lim _{\Delta x\to 0}{\frac {x^{4}+4x^{3}\Delta x+6x^{2}\Delta x^{2}+4x\Delta x^{3}+\Delta x^{4}-x^{4}}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {3x^{2}\Delta x+3x\Delta x^{2}+\Delta x^{3}}{\Delta x}}&&=\lim _{\Delta x\to 0}{\frac {4x^{3}\Delta x+6x^{2}\Delta x^{2}+4x\Delta x^{3}+\Delta x^{4}}{\Delta x}}\\&=\lim _{\Delta x\to 0}3x^{2}+3x\Delta x+\Delta x^{2}&&=\lim _{\Delta x\to 0}4x^{3}+6x^{2}\Delta x+4x\Delta x^{2}+\Delta x^{3}\\&=\mathbf {3x^{2}} &&=\mathbf {4x^{3}} \end{alignedat}}$
${\begin{alignedat}{2}{\frac {dx^{3}}{dx}}&=\lim _{\Delta x\to 0}{\frac {(x+\Delta x)^{3}-x^{3}}{\Delta x}}&\qquad {\frac {dx^{4}}{dx}}&=\lim _{\Delta x\to 0}{\frac {(x+\Delta x)^{4}-x^{4}}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {x^{3}+3x^{2}\Delta x+3x\Delta x^{2}+\Delta x^{3}-x^{3}}{\Delta x}}&&=\lim _{\Delta x\to 0}{\frac {x^{4}+4x^{3}\Delta x+6x^{2}\Delta x^{2}+4x\Delta x^{3}+\Delta x^{4}-x^{4}}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {3x^{2}\Delta x+3x\Delta x^{2}+\Delta x^{3}}{\Delta x}}&&=\lim _{\Delta x\to 0}{\frac {4x^{3}\Delta x+6x^{2}\Delta x^{2}+4x\Delta x^{3}+\Delta x^{4}}{\Delta x}}\\&=\lim _{\Delta x\to 0}3x^{2}+3x\Delta x+\Delta x^{2}&&=\lim _{\Delta x\to 0}4x^{3}+6x^{2}\Delta x+4x\Delta x^{2}+\Delta x^{3}\\&=\mathbf {3x^{2}} &&=\mathbf {4x^{3}} \end{alignedat}}$
$\left|x\right|$
$x=0$
${\begin{alignedat}{2}\lim _{\Delta x\to 0^{-}}{\frac {\left|0+\Delta x\right|-\left|0\right|}{\Delta x}}&=\lim _{\Delta x\to 0^{-}}{\frac {-\Delta x}{\Delta x}}&\qquad \lim _{\Delta x\to 0^{+}}{\frac {\left|0+\Delta x\right|-\left|0\right|}{\Delta x}}&=\lim _{\Delta x\to 0^{+}}{\frac {\Delta x}{\Delta x}}\\&=\lim _{\Delta x\to 0^{-}}-1&&=\lim _{\Delta x\to 0^{+}}1\\&=-1&&=1\end{alignedat}}$
$x=0$
$\left|x\right|$
$x=0$
${\begin{alignedat}{2}\lim _{\Delta x\to 0^{-}}{\frac {\left|0+\Delta x\right|-\left|0\right|}{\Delta x}}&=\lim _{\Delta x\to 0^{-}}{\frac {-\Delta x}{\Delta x}}&\qquad \lim _{\Delta x\to 0^{+}}{\frac {\left|0+\Delta x\right|-\left|0\right|}{\Delta x}}&=\lim _{\Delta x\to 0^{+}}{\frac {\Delta x}{\Delta x}}\\&=\lim _{\Delta x\to 0^{-}}-1&&=\lim _{\Delta x\to 0^{+}}1\\&=-1&&=1\end{alignedat}}$
$x=0$
$\left|x\right|$
$x=0$
$\sin x$
$\cos x$
$\lim _{t\to 0}{\frac {\sin(t)}{t}}=1$
$\lim _{t\to 0}{\frac {\cos(t)-1}{t}}=0$
${\begin{aligned}\lim _{\Delta x\to 0}{\frac {\sin(x+\Delta x)-\sin(x)}{\Delta x}}&=\lim _{\Delta x\to 0}{\frac {(\sin(x)\cos(\Delta x)+\cos(x)\sin(\Delta x))-\sin(x)}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {\sin(x)(\cos(\Delta x)-1)+\cos(x)\sin(\Delta x)}{\Delta x}}\\&=\sin(x)\cdot \lim _{\Delta x\to 0}{\frac {\cos(\Delta x)-1}{\Delta x}}+\cos(x)\cdot \lim _{\Delta x\to 0}{\frac {\sin(\Delta x)}{\Delta x}}\\&=\sin(x)\cdot 0+\cos(x)\cdot 1\\&=\cos(x)\end{aligned}}$
${\begin{aligned}\lim _{\Delta x\to 0}{\frac {\sin(x+\Delta x)-\sin(x)}{\Delta x}}&=\lim _{\Delta x\to 0}{\frac {(\sin(x)\cos(\Delta x)+\cos(x)\sin(\Delta x))-\sin(x)}{\Delta x}}\\&=\lim _{\Delta x\to 0}{\frac {\sin(x)(\cos(\Delta x)-1)+\cos(x)\sin(\Delta x)}{\Delta x}}\\&=\sin(x)\cdot \lim _{\Delta x\to 0}{\frac {\cos(\Delta x)-1}{\Delta x}}+\cos(x)\cdot \lim _{\Delta x\to 0}{\frac {\sin(\Delta x)}{\Delta x}}\\&=\sin(x)\cdot 0+\cos(x)\cdot 1\\&=\cos(x)\end{aligned}}$
$f(x)=42$
$\mathbf {f'(x)=0}$
$\mathbf {f'(x)=0}$
$f(x)=6x+10$
$\mathbf {f'(x)=6}$
$\mathbf {f'(x)=6}$
$f(x)=2x^{2}+12x+3$
$\mathbf {f'(x)=4x+12}$
$\mathbf {f'(x)=4x+12}$