I'm taking Calculus 1 in college, and one aspect about the limit definition of a derivative really confuses me and I wasn't able to find an answer on the site that made complete sense to me.
Concerning the $$\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
definition of the derivative, why does factoring out the h give a different result? If h is approaching $0$, shouldn't plugging in $0$ for $h$ at any time give an undefined answer?
This probably seems pretty elementary, but I'm just confused as to why the same equation, in essence, can yield a different outcome.