Multivariable calculus
Partials of sin(x) / (2 + cos(y))
For f(x, y) = sin(x) divided by 2 plus cos(y), the partial derivative with respect to x is cos(x) over 2 plus cos(y), and the partial derivative with respect to y is sin(x)sin(y) divided by the square of 2 plus cos(y). The denominator never reaches zero, so both partials are defined everywhere.
Only one of the two partials needs the quotient rule
With held fixed the denominator is a constant, so the function is a constant multiple of and no quotient rule is needed.
With held fixed the numerator is the constant. Write and use the power rule, which is faster than the full quotient rule here.
Two minus signs multiply to a plus, one from the power rule and one from the derivative of cosine. At the origin the partials are and .
The mistake: one minus sign too many or too few
Almost every wrong answer for here is off by a sign. Track the two sources separately. Rewriting as a negative power contributes a factor . Differentiating the inside contributes . Their product is positive.
- Verify numerically at , : the denominator is , so . Nudging up to makes smaller, the denominator smaller, and larger, so must be positive there. The formula gives .
- A second slip is applying the quotient rule to and writing a numerator term for the derivative of the denominator. That term is zero, since has no in it.
Why the denominator is safe
Since lies between and , the denominator lies between and . It never touches zero, so the function and both partials are smooth on the entire plane. That is the reason for the : with alone in the denominator the function would blow up along infinitely many lines.
Critical points come from setting both partials to zero. The first needs , so is an odd multiple of , and there . The second then needs , so is a multiple of . Those points are the peaks and valleys of the surface, with heights and .
Frequently asked questions
Can I use the quotient rule for the y partial instead?
Yes, and you get the same thing. With numerator and denominator , the rule gives , which simplifies to .
Where is the surface steepest in the x direction?
is largest in size when and the denominator is smallest, which needs . At , the slope is .