I have a question in using chain rule in "Derivative" function
I assume "u" to be any function of a single variable, say x;
I know that writing "f = Derivative[u]" is well-defined and I can simply call "f[x]" to get u'[x]
However, writing "f = Derivative[u^2]" seems incorrect, and "f[x]" results in (u^2)'[x], while I need 2 u[x] u'[x]
I will be thankful if someone can help me define a function such as "f = Derivative[u^2]", which results in "2uu'" instead of (u^2)'