"The derivative of a sum is the sum of derivatives"
Above theorem can be mathematically expressed as:
$$h'(x)=f'(x)+g'(x)$$
where $f(x)$ and $g(x)$ are two differentiable functions. What is the right way to express the statement of this theorem in Leibniz notation? Is it $$\frac{d}{dx}h=\frac{d}{dx}(f+g)=\frac{d}{dx}f+\frac{d}{dx}g$$
OR
$$\frac{d}{dx}h(x)=\frac{d}{dx}(f(x)+g(x))=\frac{d}{dx}f(x)+\frac{d}{dx}g(x)?$$
In other words, is it permissible to write the derivative of functions in such a way so as to express the variable(s) on which they depend?
it's common to write the variable to express that it's the variable you are deriving according to. but anyway it's not that critical