This learning article is currently available in English. It is not published as a translated page.
Choosing the active variable
Partial Derivative with Respect to x vs. y
The expression does not determine one unique partial derivative until a direction is chosen. Writing the active and held variables beside the problem prevents a common class of otherwise plausible mistakes.

Direct answer
Always identify the active variable before applying derivative rules, and preserve any other variables that act as coefficients.
Side-by-side method: mark what changes
Start with f(x,y)=x^2y+y^3. For the x partial, y is fixed: x^2y becomes 2xy and y^3 becomes zero.
For the y partial, x is fixed: x^2y becomes x^2 and y^3 becomes 3y^2. The result is x^2+3y^2.
Neither result is more complete than the other. They measure slopes along different coordinate directions on the same surface.
A reliable workflow is to write active: x, held: y or active: y, held: x before differentiating term by term.
Worked examples
Only terms that change with x contribute.
Treat x^2 as a fixed coefficient and differentiate both y terms.
The inner derivative of xy with respect to x is y.
Common mistakes
- • Using the same answer for both active variables.
- • Dropping a held variable that should remain as a coefficient.
- • Differentiating a term that contains only held variables.
- • Changing the active variable in the calculator without checking the displayed condition.
Try the worked examples in the calculator
Each link opens the matching calculator with the expression, variable and required conditions already filled in.
References
Frequently asked questions
Can the x and y partial derivatives be equal?+
They can coincide for a particular function or point, but they are computed with different held-variable conditions.
Which variable does the calculator use by default?+
The active-variable control determines the direction. Check that label before solving or opening a guided example.
What happens to a mixed term such as xy?+
Its x partial is y, while its y partial is x. The held variable remains as a coefficient.
Conclusion
Choose the direction first, state which variables are held fixed, and then process every term with that condition visible. The two partial derivatives answer different questions.
Compare usage plans