The ordinary rules, one variable at a time
A partial derivative needs no new rules. To find , treat every other variable as a constant, a fixed number, and differentiate in x with the power rule, the product rule, the quotient rule and the chain rule exactly as before.
Take . In , the y is a constant factor, so it stays, and becomes 2x by the power rule: the term gives 2xy. The term has no x in it, so it is a constant and gives 0. So , which is 4 at (1, 2).
Three slices of , each with y held at a constant value: at y = 1 and at y = 3, dashed, and at y = 2, in gold. At x = 1 their gradients are 2, 4 and 6, which is 2xy each time. The constant y multiplies the slice, and so it multiplies the slope.
Swap the roles
To find , hold x constant instead and differentiate in y. In , the is now the constant factor and y differentiates to 1, so the term gives . The term gives . So , which is 1 + 12 = 13 at (1, 2).
Check it with a small step in y: f(1, 2) = 10 and f(1, 2.001) = 10.013006, so the difference quotient is , close to 13. A step of 0.001 in x gives 4.002, close to the 4 found for .
A term without the variable
A term that does not contain the variable you differentiate with respect to is a constant, so its partial derivative is 0. This is the same as the derivative of a number being 0.
For , the term vanishes under and vanishes under . So and . At (1, 2) these are 6 + 8 = 14 and 4 − 28 = −24.
A term can be a constant to one partial derivative and not to the other. In 4xy, both variables appear, so it contributes 4y to and 4x to .
Products, quotients and the chain rule
When the variable appears in two factors, the product rule is needed. For , x appears in both x and . In x, the chain rule gives the derivative of as , so . In y, x is a constant factor, so . At (1, 0.5) these are and .
For , the chain rule brings out the derivative of the inside, , in each variable: and . At (1, 2) these are and .
For , the quotient rule in x gives the numerator (x + y) × 1 − x × 1 = y over the denominator , so . In y the top x is a constant, so . At (1, 2) these are and . Each of these values agrees with a difference quotient at the same point.
The usual mistakes
Deleting a constant factor. Under , the y in is a constant factor and stays: the answer is 6xy, not 6x.
Differentiating a term that has no x in it. Under , gives 2x; the 5y is a constant and gives 0, not 5.
Mixing up the two partial derivatives. For , and , and each answers a different question.
Leaving out the factor from the chain rule. The partial derivative of with respect to x is , not .