Multivariable calculus

Partials of (x^2 - y^2)/(1 + x^2 y^2)

For f(x, y) = (x^2 - y^2)/(1 + x^2 y^2) the partial with respect to x is 2x(1 + y^4)/(1 + x^2 y^2)^2, and the partial with respect to y is -2y(1 + x^4)/(1 + x^2 y^2)^2. The cross terms cancel during simplification, which is why the answers are far tidier than the raw quotient rule output.

f(x,y)=x2y21+x2y2f(x,y) = \frac{x^2 - y^2}{1 + x^2 y^2}
fx=2x(1+y4)(1+x2y2)2\frac{\partial f}{\partial x} = \frac{2x\left(1 + y^4\right)}{\left(1 + x^2 y^2\right)^2}
fy=2y(1+x4)(1+x2y2)2\frac{\partial f}{\partial y} = \frac{-2y\left(1 + x^4\right)}{\left(1 + x^2 y^2\right)^2}

Apply the quotient rule, then collect terms

Hold yy fixed. The numerator x2y2x^2 - y^2 has xx derivative 2x2x, and the denominator 1+x2y21 + x^2y^2 has xx derivative 2xy22xy^2.

fx=2x(1+x2y2)(x2y2)(2xy2)(1+x2y2)2\frac{\partial f}{\partial x} = \frac{2x\left(1 + x^2y^2\right) - \left(x^2 - y^2\right)\left(2xy^2\right)}{\left(1 + x^2y^2\right)^2}

Factor 2x2x out of the numerator and expand what is left: 1+x2y2x2y2+y41 + x^2y^2 - x^2y^2 + y^4. The x2y2x^2y^2 terms cancel exactly.

fx=2x(1+y4)(1+x2y2)2\frac{\partial f}{\partial x} = \frac{2x\left(1 + y^4\right)}{\left(1 + x^2y^2\right)^2}

The same computation in yy gives 2y(1+x4)-2y\left(1 + x^4\right) over the same squared denominator, with the minus sign inherited from the y2-y^2 in the numerator. At (1,1)(1,1) the two partials are 11 and 1-1.

The mistake: stopping before the cancellation

The unsimplified quotient rule output is technically correct, but leaving it there hides the structure and makes the next step, a critical point hunt or a second derivative, far harder than it needs to be.

  • Expand the numerator fully before you decide it cannot be simplified.
  • Here x2y2x^2y^2 appears twice with opposite signs and disappears.
  • The clean form shows immediately that fx\frac{\partial f}{\partial x} has the same sign as xx, since 1+y4>01 + y^4 > 0 always.

The other frequent error is a sign: y(x2y2)=2y\frac{\partial}{\partial y}\left(x^2 - y^2\right) = -2y, and forgetting that minus flips the whole answer.

What the signs tell you

Because 1+y41 + y^4 and 1+x41 + x^4 are always positive and the denominator is squared, the signs are decided entirely by xx and y-y.

  • fx>0\frac{\partial f}{\partial x} > 0 when x>0x > 0 and <0< 0 when x<0x < 0.
  • fy<0\frac{\partial f}{\partial y} < 0 when y>0y > 0 and >0> 0 when y<0y < 0.
  • Both vanish only at the origin, the single critical point.

That is exactly saddle behaviour: moving away from the origin along the xx axis increases ff, and moving away along the yy axis decreases it. Restricted to the axes, ff behaves like x2x^2 in one direction and y2-y^2 in the other.

The denominator 1+x2y21 + x^2y^2 is at least 11, so the function and both partials are defined and smooth on the entire plane, with no excluded curves to state.

Frequently asked questions

Why did the x^2 y^2 terms cancel?

The quotient rule numerator is 2x(1+x2y2)(x2y2)2xy22x\left(1 + x^2y^2\right) - \left(x^2 - y^2\right)2xy^2. Expanding the second product gives 2x3y22xy42x^3y^2 - 2xy^4, and the 2x3y22x^3y^2 exactly cancels the 2x3y22x^3y^2 from the first product, leaving 2x+2xy42x + 2xy^4.

Is the origin a saddle point?

Yes. The second partials at the origin are fxx=2f_{xx} = 2, fyy=2f_{yy} = -2, and fxy=0f_{xy} = 0, so the discriminant is 4<0-4 < 0. The surface rises along the xx axis and falls along the yy axis from that point.