You haven’t even given a domain for $h$.
Here’s an answer that probably addresses your confusion:
- The maximal domain of the formal assignment $y ↦ \frac {3y} {2 \sqrt y}$ within the real numbers is $(0..∞)$.
- The maximal domain of the formal assignment $y ↦ \frac {3 \sqrt y} 2$ whithin real numbers is $[0..∞)$.
However, the formal assignment $y ↦ \frac {3y} {2 \sqrt y}$ defines a continuous map that can be extended in a continuous way, which can even be expressed by another formal assignment. This is probably what you are looking for. The concept behind this are removable singularities.
Also note: The maximal domains of these assignments become even larger when considering complex numbers. (However, the assignments wouldn’t give unique maps then.)
Anyway, here are the two ways to answer your original question:
- The domain of the derivative of a function is, by definition, the same as the domain of the original function. This only works, of course, if you actually give a domain for a function and in particular one on which the function is differentiable.
- The domain of the derivative of a function can hence be viewed as the maximal domain where the original function is differentiable. As shown by José, that would be indeed $[0..∞)$ in this case. (However, this might depend on your notion of differentiability. Some authors only consider differentiability only at interior points of the domain of a function …)