I am trying to put some flow in how concepts and rules are established in basic differentiation: which comes first and which comes second. Particularly, my question is what the best way is to prove product rule in general w/o going to the very definition of differentiation. Here is my approach.
The 4 basic foundations needed are below.
- Definition of differentiation: $f' (x)=\lim\limits_{h\rightarrow 0} \frac{f(x+h)-f(x)}{h}$
- Chain rule: $f'(x) = \frac {d f} {dx} = \frac {df_1} {df_2} \frac {df_2} {df_3} \frac {df_3} {dx}$
- Derivative of $ e^x: \frac{d}{dx} e^x = e^x$
- Derivative of $\ln x: \frac{d}{dx}\ln x = \frac{1}{x}$
Then we prove product rule : $(uv)'=u'v+uv'$ in the following steps.
Let $y=u\cdot v$
$ln(y) = \ln(u)+\ln(v) $ - property of logarithm
$\frac{1}{y}y'=\frac{1} {u}u'+\frac{1} {v}u'$ - differentiation on both sides with chain rule, $\frac{d}{dy} ln (y) =\frac{1}{y} $
$y'=y\frac{1} {u}u'+y\frac{1} {v}u'$ - multiply both sides by $y$
$(uv)'=u'v+uv'$ - replace $y$ with $uv$
The above process can be easily applied to $(uvw)'=u'vw+uv'w+uvw^\prime$ and so on...
Any one has suggestions for different and better approaches?
One good way of doing differential rules is to replace each variable with "variable + differential". Then, at the end, any differential multiplied by a differential can be eliminated (you can think of it as being an infinitely small decimal multiplied by another infinitely small decimal - the value is then infinitely-infinitely small).
So, below, we start off with $z$ and then solve for $dz$. Step 4 eliminates $z$ itself by subtracting the first equation.
$$z = x\cdot y\\ z + dz = (x + dx)(y + dy) \\ z + dz = xy + x\,dy + y\,dx + dx\,dy \\ dz = x\,dy + y\,dx + dx\,dy \\ dz \simeq x\,dy + y\,dx $$