Skip to main content

Mixed partial derivative

A mixed partial derivative is a second partial derivative taken with respect to two different variables, like f_xy or f_yx. In Multivariable Calculus, it shows how one variable's effect changes as you move in another variable.

Last updated July 2026

What is mixed partial derivative?

A mixed partial derivative is what you get when you differentiate a multivariable function with respect to one variable, then differentiate that result with respect to a different variable. If f(x,y) depends on both x and y, then f_xy means take the partial with respect to x first, then with respect to y. You may also see the order reversed as f_yx.

The idea is that you are measuring interaction, not just change in one direction. A first partial derivative tells you how the surface rises or falls as one input moves while the others stay fixed. A mixed partial derivative asks a second-level question: how does that slope itself change when the other variable changes?

That makes mixed partials feel a lot like curvature in more than one direction. For example, if f(x,y) represents temperature on a metal plate, then f_xy tells you whether changing x affects the y-slope of the temperature pattern. In economics, it can show whether the effect of one input on output depends on another input.

Notation can look messy at first, but the meaning is straightforward. These are all common ways to write the same idea: f_xy, f_yx, or ∂²f/∂y∂x depending on the order of differentiation. The order matters when you are computing, because you must follow the notation from right to left in the denominator-style form.

For many smooth functions, the two mixed partials are equal. This is the content of Clairaut's Theorem, which says f_xy = f_yx when the second partial derivatives are continuous. In practice, that means if the function is nice enough, you can differentiate in either order and get the same answer. But if the function is not smooth, the two can differ, so the order is not something to ignore by default.

Why mixed partial derivative matters in Multivariable Calculus

Mixed partial derivatives show up whenever a Multivariable Calculus problem asks how variables interact instead of just how they change on their own. That is a big step up from ordinary derivatives, because real multivariable functions are rarely independent in every direction. If x and y both affect the output, the mixed partial is one of the cleanest ways to measure that interaction.

They matter in optimization too. When you classify a critical point with second-derivative information, mixed partials are part of the second derivative test for functions of two variables. A positive or negative f_xy can change the shape of the surface and help tell whether a point behaves more like a bowl, a hill, or a saddle.

They also connect directly to the idea of smoothness. Clairaut's Theorem gives you a useful shortcut, but only when the function has continuous second partial derivatives. That means mixed partials are a good place to practice reading notation carefully and checking whether a function is smooth enough for the theorem to apply.

Once you get comfortable with mixed partials, later topics like gradient-based optimization and second-order behavior feel less abstract. They give you a way to describe how a surface bends and twists, which is exactly the kind of thinking multivariable calculus keeps building toward.

Keep studying Multivariable Calculus Unit 3

How mixed partial derivative connects across the course

partial derivative

A mixed partial derivative is built from partial derivatives. You first take a partial derivative with respect to one variable, treating the others as constants, then differentiate the result again with respect to a different variable. If your first-derivative setup is shaky, mixed partials become hard to read correctly.

Clairaut's Theorem

This theorem explains when the order of mixed partials does not matter. If the second partial derivatives are continuous, then f_xy = f_yx. That is why many textbook problems let you switch the order without changing the answer, but only after checking the function is smooth enough.

Higher-Order Partial Derivatives

Mixed partials are one kind of higher-order partial derivative. They sit alongside pure second partials like f_xx and f_yy, and together these derivatives describe how a surface bends in different directions. In second-derivative tests, you usually need the full set, not just one mixed term by itself.

gradient

The gradient is about first-order change, while mixed partials move into second-order behavior. The gradient tells you the direction of steepest increase at a point, but mixed partials tell you how the slopes themselves are changing. They show up in different parts of the course, but both describe how a multivariable function responds to change.

Is mixed partial derivative on the Multivariable Calculus exam?

A problem set or quiz question will usually ask you to compute f_xy or f_yx from a given function, sometimes after finding a first partial derivative first. You may also be asked whether the two mixed partials are equal and to justify that with Clairaut's Theorem by checking continuity of the second partials.

Another common move is interpretation: if a function models cost, temperature, or profit, you may need to explain what the mixed partial says about interaction between variables. On second-derivative test problems, you will combine the mixed partial with f_xx and f_yy to classify a critical point. The main habit is to track the order of differentiation carefully and remember that the variable closest to the function in derivative notation is the one you differentiate first when writing it out.

If a function looks piecewise or has a denominator that can hit zero, check smoothness before assuming the mixed partials match.

Mixed partial derivative vs partial derivative

A partial derivative changes one variable at a time and gives a first-order rate of change. A mixed partial derivative is a second-order derivative, found by differentiating with respect to two different variables in sequence. If you only change one variable once, it is a partial derivative, not a mixed partial.

Key things to remember about mixed partial derivative

  • A mixed partial derivative is a second partial derivative taken with respect to two different variables.

  • The notation f_xy means you differentiate with respect to x first, then y, and f_yx means the reverse.

  • If the function has continuous second partial derivatives, Clairaut's Theorem says the mixed partials are equal.

  • Mixed partials measure interaction, so they tell you how the slope in one direction changes as another variable changes.

  • In Multivariable Calculus, you use mixed partials in second-derivative tests and in problems about how two variables influence each other.

Frequently asked questions about mixed partial derivative

What is a mixed partial derivative in Multivariable Calculus?

It is a second derivative found by differentiating a function with respect to two different variables in sequence. For example, f_xy means take the partial with respect to x, then differentiate that result with respect to y. It tells you how the x-rate of change itself varies as y changes.

Are f_xy and f_yx always the same?

Not always. They are equal when the second partial derivatives are continuous, which is the condition in Clairaut's Theorem. For smooth functions in class, they often match, but you should not assume that without checking the function's regularity.

How do you find a mixed partial derivative?

First find one partial derivative, treating the other variables as constants. Then take the partial derivative of that result with respect to a different variable. Keep the order straight, because the notation tells you which variable comes first.

Why do mixed partial derivatives matter on multivariable calculus problems?

They show interaction between variables and appear in second-derivative tests for critical points. They can also describe how one variable changes the effect of another in models from physics, economics, and surface analysis. That makes them useful both for computation and interpretation.