# Difference between revisions of "022 Sample Final A, Problem 1"

Find all first and second partial derivatives of the following function, and demostrate that the mixed second partials are equal for the function $f(x,y)={\frac {2xy}{x-y}}.$ Foundations:
1)Which derivative rules do you have to use for this problem?
2)What is the partial derivative of xy, with respect to x?
1)You have to use the quotient rule, and product rule. The quotient rule says that ${\frac {\partial }{\partial x}}\left({\frac {f(x)}{g(x)}}\right)={\frac {f'(x)g(x)-g'(x)f(x)}{g(x)^{2}}}$ ,   so ${\frac {\partial }{\partial x}}\left({\frac {x^{2}}{x+1}}\right)={\frac {2x(x+1)-x^{2}}{(x+1)^{2}}}$ . The product rule says ${\frac {\partial }{\partial x}}f(x)g(x)=f'(x)g(x)+g'(x)f(x)$ .   This means ${\frac {\partial }{\partial x}}x(x+1)=(x+1)+x$ 2) The partial derivative is y, since we treat anything not involving x as a constant and take the derivative with respect to x. So ${\frac {\partial }{\partial y}}xy=x{\frac {\partial }{\partial y}}y=x.$ Solution:

Foundations:
The word 'marginal' should make you immediately think of a derivative. In this case, the marginal is just the partial derivative with respect to a particular variable.