Multivariable calculus
Gradient of x/(1 + y^2 + z^2): Quotient and Chain
For f(x, y, z) = x/(1 + y^2 + z^2) the gradient is (1/D, -2xy/D^2, -2xz/D^2) where D = 1 + y^2 + z^2. The x component is easy because the denominator holds no x. The other two need the chain rule and pick up a minus sign. At (2, 1, 1) the gradient is (1/3, -4/9, -4/9).
Skip the quotient rule where you can
Let . For the partial, contains no , so is just times and the derivative is that coefficient.
For and it is cleaner to write and use the power rule with the chain rule than to run the full quotient rule. With frozen, and .
The component follows the same path with in place of . The quotient rule gives the identical answer, since the numerator derivative term is zero, but it takes twice the writing and offers twice the chance of a sign error.
The mistake: a first power in the denominator
The most common wrong answer is , with the denominator left unsquared. Differentiating produces , so the power in the denominator always goes up by one.
- Check the far field. As grows, flattens out toward zero, so must shrink faster than does. A squared denominator does that, an unsquared one does not.
- The minus sign is real: increasing makes the denominator bigger and pushes toward zero, so for positive and the function decreases.
- A third slip is treating as a constant for as well, which gives zero for two of the three components.
Substituting a point, and why there are no critical points
At the denominator is , so and .
Reading the signs: pushing up increases , while pushing or away from zero decreases it, because they only enlarge the denominator. The and components are equal here because the point is symmetric in those two coordinates.
The component is , which is strictly positive everywhere. So is never the zero vector, and this function has no local maxima or minima anywhere in space. It has no global ones either: along the -axis the denominator is 1 and , which runs off to one way and the other.
Frequently asked questions
Do I have to use the quotient rule here?
No. Rewriting and using the power rule with the chain rule gives the same components with less algebra. The quotient rule is fine, but its numerator derivative term is zero for and , so it adds work.
Why is the component free of ?
Because is linear in : with and fixed, is a straight line through the origin with slope . The slope of a line does not depend on where you are along it.