Solution:
Key idea: The tower never ends. Above the first a stands x raised to the rest of the tower, and the rest of the tower (starting from the next a) is y again. So y=axy. Taking logarithms twice brings y down to a product we can differentiate.
Step 1 — Write the tower as an equation.
The power on the first a is x(tower), and the tower is y.
y=axy
Step 2 — Take logarithms twice.
With a>1 and x>0, one logarithm brings down the power xy.
logy=xyloga
A second logarithm splits the product and brings down the power y.
log(logy)=logxy+log(loga)
log(logy)=ylogx+log(loga)
Step 3 — Differentiate both sides with respect to x.
By the chain rule, the derivative of log(logy) is logy1⋅y1dxdy. The term log(loga) is a constant, so its derivative is zero.
ylogy1dxdy=dxdylogx+xy
Step 4 — Collect the dxdy terms.
We move the dxdylogx term to the left and combine over ylogy.
dxdy(ylogy1−logx)=xy
dxdy⋅ylogy1−ylogxlogy=xy
Step 5 — Solve for dxdy.
We multiply both sides by 1−ylogxlogyylogy.
dxdy=x(1−ylogxlogy)y2logy
Therefore, dxdy=x(1−ylogxlogy)y2logy.