If $h(x) = f(g(x))$, then what does $f'(g(x))$ mean? $dh/dg$ or $dh/dx$?
If $h(x)$ is a composite function such that $h(x)= f(g(x))$, then what does the derivative of $f(g(x))$ with respect to $g(x)$ mean?
If $h(x) = f(g(x))$, then what does $f'(g(x))$ mean? $dh/dg$ or $dh/dx$?
If $h(x)$ is a composite function such that $h(x)= f(g(x))$, then what does the derivative of $f(g(x))$ with respect to $g(x)$ mean?
as I can see you are confused with the notation in the chain rule: well $f' (g(x))$ is equal to say : compute $g(x)$; let's say $g(x) = k$ now compute $f'(k)$ note that : $[f(g(x))]' = h'(x) = g'(x)f'(g(x)) \neq f'(g(x)) $
Regarding the title-"If h(x)=f(g(x)), then what does f′(g(x)) mean? dh/dg or dh/dx?" f' is actually a bit vague. It is not 100% clear. Technically, $h'( g(x) ) \text{ should be} = dh/ dg$ But since 90% of the time, f' means df/ dx, the possibility the original author made a mistake is quite high or a tad sloppy, especially if the person writing it is a student in Calculus I.
Whenever it's unclear which variable we are taking the derivative with respect to g or x, the notation dh/dg or dh/ dx is preferred to make it abundantly clear.
An alternate notation to make it clear is $D_g [f( g(x) )]$ or $D_x [f( g(x) )]$ Bottom line- avoid ambiguity in math notation whenever possible.
Regarding the question, "If h(x) is a composite function such that h(x)=f(g(x)), then what does derivative of f(g(x)) w.r.t g(x) mean?"
the most common context is the chain rule.
$$ \frac{df}{dx} = \frac{df}{dg} *\frac{dg}{dx}$$
$\frac{df}{dg}$ means take the derivative of f, with respect to g, $\frac{df}{dg}$.
In practice, I teach this with the phrase,
"A. Take the derivative of f, or outer function,
B. recopy the inner with no changes"
Then chain rule finishes by multiplying $\frac{dg}{dx}$
let f be some continuous function. Then f'(x) denotes the derivative of f wrt x i.e df/dx. In the similar way, we have f'(g(x) means df/dg. It's just a matter of notation. We can calculate those derivative via chain rule. If you are beginner of calculus and have some doubts like these, then videos by khan academy on calculus are really helpful. https://youtube.com/playlist?list=PL19E79A0638C8D449