Multivariable calculus
Partial Derivatives of 5x^2 y - 3x + 4y - 7
For f(x, y) = 5x^2 y - 3x + 4y - 7 the partial with respect to x is 10xy - 3, and the partial with respect to y is 5x^2 + 4. The constant -7 disappears from both. The term 4y vanishes from the x partial, and -3x vanishes from the y partial. There are no critical points, since f_y is at least 4.
Sort the terms before you differentiate
Four terms, each with a different mix of variables. Sorting them first makes both partials nearly automatic.
- contains both variables, so it survives in both partials.
- contains only , so it survives only in , as .
- contains only , so it survives only in , as .
- contains neither, so it vanishes from both.
At these give and .
The mistake: keeping the constant, or the wrong linear term
Answers like show a constant that should have been differentiated away. The derivative of any constant is zero, in one variable or several.
The subtler error is treating as a constant in because it looks like a leftover, or carrying into the partial. During , the term genuinely is a constant and contributes , while is genuinely variable and contributes .
One line of checking catches all of this. Set to a specific number, say , and read off the resulting one-variable function: . Its derivative is , which agrees with .
A gradient that never vanishes
The gradient is . Its second component is at least for every real , so it can never be zero.
That means this surface has no critical points at all: no maxima, no minima, no saddles. Wherever you stand, there is a direction of strict increase.
The gradient is also what you need for linearisation. At , where , the tangent plane is the following.
Frequently asked questions
Why does the -7 disappear from both partials?
A constant term does not change when either variable moves, so its rate of change in every direction is zero. Shifting the whole surface up or down by tilts nothing, and the partials measure tilt.
Can f_y really be positive everywhere?
Yes. for every real , so is strictly increasing in along every vertical line. That is why the function has no local extrema anywhere in the plane.