2. Hello,

$\displaystyle f(x,y)=\sqrt{\frac{x+y}{x-y}}$

The gradient vector of a function is defined as following :

$\displaystyle \vec{\nabla}f=\left(\frac{\partial f}{\partial x} \ , \ \frac{\partial f}{\partial y} \right)$

For example, $\displaystyle \frac{\partial f}{\partial x}$ is the derivative of f, considering that x is the variable and y is a constant.

3. This is what I just worked out ( 2y/(x-y)^2 , -2y/(x-y)^2 ), not sure if that's the answer?

4. Originally Posted by Moo
$\displaystyle f(x,y)=\sqrt{\frac{x+y}{x-y}}$
Originally Posted by 4sweet2005
This is what I just worked out ( 2y/(x-y)^2 , -2y/(x-y)^2 ), not sure if that's the answer?
$\displaystyle \frac{\partial }{\partial x} \left ( \sqrt{\frac{x+y}{x-y}} \right )$
$\displaystyle = \frac{1}{2} \cdot \frac{1}{\sqrt{\frac{x+y}{x-y}}} \cdot \left ( \frac{(1)(x - y) - (x + y)(1)}{(x - y)^2} \right )$
$\displaystyle = \sqrt{\frac{x-y}{x+y}} \cdot \left ( \frac{-2y}{2(x - y)^2} \right )$
$\displaystyle = -\frac{y}{(x - y)^{3/2} (x + y)^{1/2}}$