Partial Differentiation

The rule of thumb is to treat whatever variable we are not taking the derivative of as a constant: