The former, for sure. The 'rules' for differentiation don't involve any second derivatives.
Hello. I have a function d2(xy)/dy2.
Do I separate the function as (d/dy)(d(xy)/dy) or do I just perform the product rule and apply the double derivative immediately (see below)?
Namely, the former will leave me with
(d/dy)[(y*dx/dy)+x] = dx/dy + y*d2x/dy2 + dx/dy = 2dx/dy+y*d2x/dy2
While the latter will leave me with:
d2(xy)/dy2 = y*d2x/dy2 + x*d2y/dy2 = y*d2x/dy2
I suppose I am just unsure how the product rule is to be applied in the case of a double derivative. Thank you for any advice!
You have the function is xy and you are differentiating with respect to x, apparently x is a function of y. In that case, the product rule says that
If x is a variable independent of y, and these are partial derivatives, , which is independent of y so the second partial derivative, with respect to y both times, would be 0.
Thank you all for the advice. x was not a function of y, but I appreciate all of the replies.
I believe these were full integrals. However, it was good of you both to point out the possibility that they may have been partial derivatives. Albeit the notation in the assignment uses delta symbols, but the context is solving the commutator of two quantum mechanical operators, which are:
[x,P2y] , where the terms in brackets are operators defined as
x (hat) = x
I figured in this context that despite the partial derivative notation, the x corresponded to a vector, so it should be treated as a full integral. I will be sure to include both possibilities in my solution. Thank you again.