Skip to content
AI360XpertBeta
Glossary
Definition

Partial Derivative

The derivative with respect to one input while every other input is held still.

Think of It Like This

Like turning the hot water tap while holding the cold water knob perfectly still to see how fast the shower warms up.

Written with a curly ∂\partial rather than a straight dd, as in ∂f/∂x\partial f / \partial x, the notation signals that other variables exist and are being frozen.

The freezing is the entire trick, and it makes the mechanical work no harder than the single-variable case: any term that does not contain the variable you are differentiating is a constant, and constants differentiate to zero. For g(x,y)=x2+3y2g(x, y) = x^2 + 3y^2, the 3y23y^2 term vanishes when differentiating by xx, leaving 2x2x.

This is the unit of measurement for every parameter in a model. "How much would the loss change if I nudged this one weight, leaving all the others alone" is a partial derivative, and collecting one per parameter into a single vector gives you the gradient the optimiser follows.