Differentiate
using the quotient rule.
Recognise the shape and pick the rule. The function is a single fraction whose numerator and denominator both contain , so neither the constant-multiple rule nor the power rule applies directly. The quotient rule is built for exactly this:
Name the two parts and differentiate each.
Writing them out before substituting is what stops the classic mistake of swapping the order in the numerator — the rule is minus , and it is not symmetric.
Substitute into the rule.
Simplify the numerator only. The denominator is already in its most useful factored form, so leave it alone:
giving
Read the answer for a free sanity check. The numerator is positive on and negative outside it, so rises between and and falls elsewhere — matching the fact that has its maximum at and its minimum at .
Verify numerically. Central differences with give against the formula's , and against .
Need to solve a different problem like this? Open the solver →