The question is how to show the derivative of $\cos x$ is $-\sin x$ using the definition of the derivative.
I do this proof in the normal way by using the sum of $\cos (x+h)$ using the trig identity, and then factoring out the $\cos x$ and using two special squeeze theorems. I get the correct answer of $-\sin x$.
Here is how he does it and it seems illegal:
$$\lim_{h \mapsto 0 } \frac{(\cos x)(\cos h)-(\sin x)(\sin h) -\cos x}h $$ then he says in the NUMERATOR, letting $ h=0$ makes the numerator become:
$\cos x (1)-\sin x\sin h-\cos x$ Notice that he just selectively let the $\cos h$ term have $h$ go to zero but NOT the $\sin h$ term!!!
The two $\cos x $ terms cancel out leaving $\lim_{h \mapsto 0 }-\sin x\sin h/h$ and he uses the squeeze theorm to get $-\sin x (1)$
But I don't see how it is legal to let $h=0$ for some terms in the numerator without considering the denominator. He DOES get the right answer, but it seems illegal to me. Thoughts?