Step by step
The question
Question: find dy/dx for y = x^(5x), using logarithms.
x is in the base and in the power.
The power rule needs a fixed power.
The bˣ rule needs a fixed base.
Neither works, so we take ln.
Careful!
The power rule is only for a fixed power.
Here the power changes with x.
1 Take ln of both sides
Take ln of both sides.
Both sides stay equal.
2 Use the log rules
The log rule: a power inside ln comes down in front.
So ln y is 5x times ln x.
No more power!
3 The derivative of each side
The left side: y depends on x, so the chain rule gives 1/y, times dy/dx.
The right side is a product: use the product rule.
5x gives 5, and ln x gives 1 over x.
4 Multiply by y
Multiply both sides by y, to get dy/dx alone.
5 Put y back
Put y = x^(5x) back, and tidy the bracket: x^(5x)(5 ln x + 5).
6 Check
Let's check: the derivative is the slope.
At x = 2, our answer gives 8668.9136, with a calculator.
Now the slope between two very close points: x = 2 and x = 2.001.
A calculator gives about 8707.
Very close to 8668.9136.
Right!
Let's look back.
First: take ln of both sides.
Then: use the log rules.
Then: the derivative of each side.
Then: multiply by y.
Then: put y back.
Last: check.