Home » Blog » Prove formulas for the partial derivatives of xy

Prove formulas for the partial derivatives of xy

Define a function of two variables, with x> 0,

    \[ f(x,y) = x^y. \]

Prove

    \[ \frac{\partial f}{\partial x} = yx^{y-1} \qquad \text{and} \qquad \frac{\partial f}{\partial y} = x^y \log x. \]


Proof. First, we write,

    \[ f(x,y) = x^y = e^{ y \log x}. \]

Then we compute the derivatives using the chain rule and formulas for the derivatives of the exponential and logarithm,

    \[ \frac{\partial f}{\partial x} = e^{y \log x} \cdot \frac{y}{x} = yx^{y-1}. \]

And,

    \[ \frac{\partial f}{\partial y} = e^{y \log x} \cdot \log x = x^y \log x. \qquad \blacksquare \]

Point out an error, ask a question, offer an alternative solution (to use Latex type [latexpage] at the top of your comment):