Skip to content

Instantly share code, notes, and snippets.

@Tombert
Created October 21, 2014 14:57
Show Gist options
  • Save Tombert/2879bb119b82e5c97885 to your computer and use it in GitHub Desktop.
Save Tombert/2879bb119b82e5c97885 to your computer and use it in GitHub Desktop.
FindingADerivative
Finding a derivative!
=====================
The definition of an derivative is as follows:
$$
\lim_{\Delta x \to 0} { {f(x+\Delta x) - f(x)} \over \Delta x}
$$
Given that:
$$
y = f(x) = x^2
$$
Let's find the derivative:
$$
{\lim_{\Delta x \to 0} { {f(x+\Delta x) - f(x)} \over \Delta x} } = {\lim_{\Delta x \to 0} { {\left(x+\Delta x\right)^2 - x^2} \over \Delta x} }
$$
$$
{\lim_{\Delta x \to 0} { {\left(x^2+2x\Delta x + \Delta x\right) - x^2} \over \Delta x} }
$$
$$
{\lim_{\Delta x \to 0} { {x^2- x^2+2x\Delta x + \Delta x } \over \Delta x} }
$$
$$
{\lim_{\Delta x \to 0} { {2x\Delta x + \Delta x } \over \Delta x} }
$$
$$
\therefore f'\left( x \right) = 2x
$$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment