I think this is correct, although for the partial derivative for d and v one must keep in mind the other terms in the sum are 0.
Browsing documentation and trying various commands like natural input, the user can learn Mathematica through trial-and-error.