f(x,y) = x^2 + xy + y^2. Find relation if df/dx = df/dy.

Check the final answer first, then review the worked steps.

Answer

3

Work

$\frac{\partial f}{\partial x} = 2x + y$
$\frac{\partial f}{\partial y} = x + 2y$
$2x + y = x + 2y \implies x = y$

Step-by-step solution

We calculate the partial derivatives $\frac{\partial f}{\partial x} = 2x + y$ and $\frac{\partial f}{\partial y} = x + 2y$. Setting them equal, $2x + y = x + 2y$, simplifies to $x = y$.