Multivariable calculus

Partial Derivatives of xyz/(1 + x^2 + y^2 + z^2)

For f(x,y,z) = xyz/(1 + x^2 + y^2 + z^2), the partial derivative with respect to x is yz(1 - x^2 + y^2 + z^2) divided by the square of the denominator. The y and z partials follow the same pattern, with the minus sign always attached to the square of the variable being differentiated.

f(x,y,z)=xyz1+x2+y2+z2f(x,y,z) = \frac{xyz}{1 + x^2 + y^2 + z^2}
fx=yz(1x2+y2+z2)(1+x2+y2+z2)2\frac{\partial f}{\partial x} = \frac{yz\left(1 - x^2 + y^2 + z^2\right)}{\left(1 + x^2 + y^2 + z^2\right)^2}
fy=xz(1+x2y2+z2)(1+x2+y2+z2)2\frac{\partial f}{\partial y} = \frac{xz\left(1 + x^2 - y^2 + z^2\right)}{\left(1 + x^2 + y^2 + z^2\right)^2}
fz=xy(1+x2+y2z2)(1+x2+y2+z2)2\frac{\partial f}{\partial z} = \frac{xy\left(1 + x^2 + y^2 - z^2\right)}{\left(1 + x^2 + y^2 + z^2\right)^2}

Run the quotient rule with the other letters frozen

Here the differentiating variable appears both upstairs and downstairs, so the quotient rule is genuinely needed. Call the numerator N=xyzN = xyz and the denominator D=1+x2+y2+z2D = 1 + x^2 + y^2 + z^2. With yy and zz held fixed, Nx=yz\frac{\partial N}{\partial x} = yz and Dx=2x\frac{\partial D}{\partial x} = 2x.

fx=DNxNDxD2=yz(1+x2+y2+z2)xyz2xD2\frac{\partial f}{\partial x} = \frac{D\,\frac{\partial N}{\partial x} - N\,\frac{\partial D}{\partial x}}{D^2} = \frac{yz\left(1 + x^2 + y^2 + z^2\right) - xyz\cdot 2x}{D^2}

Now factor yzyz out of the numerator. The two x2x^2 terms combine as x22x2=x2x^2 - 2x^2 = -x^2, which is where the single minus sign comes from.

fx=yz(1x2+y2+z2)(1+x2+y2+z2)2\frac{\partial f}{\partial x} = \frac{yz\left(1 - x^2 + y^2 + z^2\right)}{\left(1 + x^2 + y^2 + z^2\right)^2}

The function is symmetric in the three variables, so the other two answers come from relabelling rather than from repeating the whole calculation. In each one, the coefficient out front is the product of the two variables you held fixed, and the minus sign sits on the square of the variable you differentiated.

The mistake: the order of the two terms on top

The quotient rule is not symmetric, so writing the numerator backwards flips the sign of the entire answer. The order is denominator times derivative of numerator, minus numerator times derivative of denominator. Many students find it easier to remember as low times high derivative, minus high times low derivative, all over low squared.

The second frequent error is forgetting to square the denominator, leaving DD instead of D2D^2. Check the size of the terms: the numerator of the answer has degree four, so an unsquared denominator of degree two would make the partial derivative grow without bound. With D2D^2 the degrees match, four against four, so the answer levels off instead: along the ray x=0x = 0 with y=zy = z growing, fx\frac{\partial f}{\partial x} approaches 12\frac{1}{2}.

  • The denominator of the answer is D2D^2, never DD.
  • The minus sign belongs to the term carrying the derivative of the denominator.
  • After factoring, exactly one square inside the bracket is negative, and it is the one matching the variable you differentiated.

A sample point and a sanity check on the pattern

At (1,1,1)(1,1,1) the denominator is 44, so f=14f = \frac{1}{4}. The xx partial is 1(11+1+1)16=216=18\frac{1 \cdot (1 - 1 + 1 + 1)}{16} = \frac{2}{16} = \frac{1}{8}, and by symmetry the other two are also 18\frac{1}{8}.

Two checks are cheap and catch most errors. On the plane x=0x = 0 the xx partial reduces to yz(1+y2+z2)(1+y2+z2)2\frac{yz(1+y^2+z^2)}{(1+y^2+z^2)^2}, which simplifies to yz1+y2+z2\frac{yz}{1+y^2+z^2}, exactly what you get by differentiating the original function along that plane. And if either yy or zz is zero then the xx partial is zero, which it must be, because setting y=0y = 0 makes ff identically zero for all xx.

Frequently asked questions

Where do all three partial derivatives vanish at once?

At the origin, and at every point where two of the three coordinates are zero. If y=z=0y = z = 0 then the xx partial is zero from its yzyz factor, and the other two vanish because each carries a factor of xx times a zero coordinate.

Is the denominator ever a problem?

No. Since 1+x2+y2+z21 + x^2 + y^2 + z^2 is at least 11, the denominator never reaches zero and the function is smooth on all of three dimensional space. That is why the +1+1 is there rather than a bare sum of squares.