Solution:
Key idea: All three parts need logarithmic differentiation. For parts (i) and (ii) we first find the derivative of xx by taking logarithms, and then the chain rule finishes the job. Part (iii) is a variable power, so we take logarithms of y itself.
Step 1 — Find the derivative of xx.
Let u=xx with x>0. We take the natural logarithm, which brings the power x down.
logu=xlogx
By the product rule, the derivative of xlogx is x⋅x1+logx.
u1dxdu=1+logx
dxdu=xx(1+logx)
Step 2 — Part (i): differentiate cos(xx).
Here cosxx means cos(xx). By the chain rule, the derivative of cosu is −sinu times dxdu.
dxdcos(xx)=−sin(xx)⋅dxd(xx)
dxdcos(xx)=−sin(xx)⋅xx(1+logx)
Step 3 — Part (ii): differentiate sin(xx).
In the same way, the derivative of sinu is cosu times dxdu.
dxdsin(xx)=cos(xx)⋅xx(1+logx)
Step 4 — Part (iii): take logarithms.
Let y=(tan4πx)πx4, near x=1 where tan4πx>0. The natural logarithm brings the power down.
logy=πx4logtan4πx
Step 5 — Part (iii): differentiate by the product rule.
The derivative of πx4 is −πx24. By the chain rule, the derivative of logtan4πx is tan(πx/4)sec2(πx/4)⋅4π.
y1dxdy=−πx24logtan4πx+πx4⋅tan(πx/4)sec2(πx/4)⋅4π
Step 6 — Part (iii): put x=1.
At x=1 the angle 4πx becomes 4π.
We need the values of tan and sec2 at this angle.
tan4π=1
sec24π=2
Since log1=0, the first term vanishes.
The value of y itself at x=1 is
y=14/π
y=1
Now we substitute these values into the derivative. With y equal to 1 at this point, the left side is just dxdy at x=1.
dxdy=0+π4⋅12⋅4π
dxdy=2
Therefore, (i) dxdy=−sin(xx)⋅xx(1+logx), (ii) dxdy=cos(xx)⋅xx(1+logx), (iii) at x=1, dxdy=2.