Differentiate y = x x
Solution : We've illustrated two functions similar to this at this point.
d ( xn ) /dx = nxn -1 d (a x ) /dx= a x ln a
Neither of these two can imply here since both need either the base or the exponent to be a constant. In this case the base and the exponent both are variables and thus we have no way to differentiate this function by using only known rules from earlier sections.
However, with logarithmic differentiation we can do this. First take logarithm of both sides and utilize the logarithm properties to simplify things a little.
ln y = ln x x
ln y = x ln x
Differentiate both sides by using implicit differentiation.
y′ / y = ln x + x ( 1 /x)= ln x + 1
As along the first example multiply through y & substitute back in for y.
y′ = y (1 + ln x )
= x x (1 + ln x )
We'll close this section out with a quick recap of all the various ways we've seen of differentiating functions along with exponents. It is significant to not get all of these confused.