What is the derivative of $x^x$? The variable is in the base and the exponent, so neither the power rule nor the exponential rule applies. Logarithms bring the exponent down, and Implicit Differentiation finishes the job.
Idea clave
Por qué funciona
Ejemplo resuelto: The classic
- $\ln y = x\ln x$.
- Differentiate: $\frac{y'}{y} = \ln x + x\cdot\frac{1}{x} = \ln x + 1$.
- Multiply by $y$: $y' = x^x(\ln x + 1)$.
Respuesta: $y' = x^x(\ln x + 1)$
Ejemplo resuelto: A function as the exponent
- $\ln y = \sin x\,\ln x$.
- Product rule: $\frac{y'}{y} = \cos x\ln x + \frac{\sin x}{x}$.
- $y' = x^{\sin x}\left(\cos x\ln x + \frac{\sin x}{x}\right)$.
Respuesta: $x^{\sin x}\left(\cos x\ln x + \frac{\sin x}{x}\right)$
Ejemplo resuelto: A messy quotient
- $\ln y = 2\ln x + 3\ln(x + 1) - 4\ln(x + 2)$.
- $\frac{y'}{y} = \frac{2}{x} + \frac{3}{x + 1} - \frac{4}{x + 2}$.
- At $x = 1$: $y(1) = \frac{1\cdot 8}{81} = \frac{8}{81}$ and $\frac{y'}{y} = 2 + \frac{3}{2} - \frac{4}{3} = \frac{13}{6}$.
- $y'(1) = \frac{8}{81}\cdot\frac{13}{6} = \frac{52}{243}$.
Respuesta: $\frac{52}{243}$
When to use it
- A variable in both the base and the exponent: $x^x$, $x^{\sin x}$, $(x^2 + 1)^x$. Here it is the only practical route.
- A long product or quotient of powers, where the product and quotient rules would be messy.
- Remember the domain: $\ln y$ needs $y > 0$. For functions that can be negative, use $\ln\lvert y \rvert$; the result is the same.
Error común