The Slope of x to the x Is Both Wrong Answers Added
Logarithmic differentiation turns the exponent into a factor and gives x^x times (1 + ln x), which is exactly the sum of the power-rule answer x^x and the exponential-rule answer x^x ln x. That is a theorem rather than a coincidence: the two rules are the partial derivatives of u^v, and walking the diagonal u = v = x adds both partial effects. The power rule accidentally returns the correct slope at x = 1, which is the one point nobody should use to test a rule.
Differentiate . The answer is
and the interesting part is that the two rules a student reaches for are both wrong, and their sum is exactly right. That is not a coincidence to be memorised. It is a theorem, and knowing which one makes a class of similar problems routine.
Two rules, neither of which applies
The power rule handles with a constant exponent. Applying it here, treating the exponent as if it were frozen, gives
which is a valid piece of algebra applied to an invalid premise. The exponential rule handles with a constant base. Applying that instead, freezing the base, gives .
At these read 4 and , while the true slope is . Both candidates are too shallow, and neither is a rewriting of the other, so this is a real disagreement rather than a notational one.
The route that works
Take logarithms first. The function is positive for , so writing and is legitimate, and the right side is now a product of two things whose derivatives are known:
Multiplying back by gives equation (1). The move that made it easy was turning an exponent into a factor, which is the one thing logarithms are for.
For a positive differentiable , the derivative of is , so any equation for can be differentiated and then multiplied through by . It is the standard tool whenever the variable appears in an exponent, and it needs positivity, which is why the whole discussion below lives on .
A second route, if the implicit step feels uncomfortable, is to rewrite the function outright as and apply the chain rule. The derivative of the exponent is again, and the outer derivative reproduces . Same answer, and it makes plain that there was only ever one function here, not a power and an exponential in disguise.
Why the two wrong answers add up
Consider as a function of two independent variables. Its partial derivatives are the two rules, each holding the other slot fixed:
Now walk along the diagonal . The chain rule for a function of two variables says the total rate of change is the sum of the two partial effects, each multiplied by the rate of its own variable, which is 1 in both cases:
So the two rules were not wrong in the sense of being nonsense. Each of them correctly measured one of the two ways the function changes, and each of them silently discarded the other. This is the reason the two errors are complementary rather than independent, and it is why striking both out as worthless would misrepresent the situation.
The same argument works unchanged for , and gives the general rule
with equation (1) recovered by . Equation (6) is worth carrying because it never needs to be rediscovered under pressure, and because the two terms in it are visibly the two partial effects from equation (4).
Three points where the answer can be tested
At the bracket in equation (1) is , so the slope is exactly zero. That is the bottom of the dip, with value . The power rule claims the slope there is , which is plainly not the slope at a minimum. Checking the second derivative confirms the shape:
At something awkward happens. The bracket is 1, so the true slope is 1, and the power rule gives as well. The rule that does not apply produces the right number at that one point. Anyone who spot-checks a rule at will conclude it works, which is a general hazard of testing at points where several quantities collapse to 1.
And as , , so while the slope . The curve arrives at height 1 with a vertical tangent, which is the steep left edge in figure 1.
The same method on the next floor up
The real test of a method is whether it survives being asked again. Take , where the exponent is itself the function we just differentiated. The logarithmic route needs no new ideas: , and differentiating that product uses equation (1) for one of its factors:
No new rule was needed, and the same would be true of a tower four levels high. That is the payoff of equation (3) over memorising equation (1): the method composes, and the answer does not have to be recognised.
Where the function stops existing
Everything above assumed , and that is not caution for its own sake. For negative , is real only on a scattered set: it is at and undefined over the reals at , since that would ask for a square root of a negative number. A set with no interval in it has no derivative anywhere, so equation (1) has nothing to say there. The complex extension exists and is multivalued, and it is a different subject.
One last thing, mostly for pleasure. The function is awkward to differentiate and its integral over the unit interval has a startling closed form:
which converges absurdly fast, six terms giving five correct digits. The companion identity comes from the same expansion with the signs left alone.
Sources and further reading
- The method in equation (3) — Logarithmic differentiation
- The two-variable step behind equation (5) — Total derivative
- The rule used inside equation (3) — Product rule
- Equation (9) and its companion — Sophomore's dream
Equation (1) was measured as well as derived: the slope was estimated by Richardson-extrapolated central differences at sixty-three points across , matching the formula to a worst error of . A ternary search located the minimum at 0.367879451 against , where the measured slope was while the power rule claimed 0.692201.
Commentaires · 0
Sois le premier à commenter.