152k views
4 votes
Can someone please help me with this....differentiate,, y=(cos(x)^x

User Jaythaking
by
8.7k points

1 Answer

6 votes

y=\cos^xx=e^(\ln\cos^xx)=e^(x\ln\cos x)

Now differentiate, applying the chain rule on the right hand side.


(\mathrm dy)/(\mathrm dx)=e^(x\ln\cos x)(\mathrm d)/(\mathrm dx)[x\ln\cos x]

(\mathrm dy)/(\mathrm dx)=e^(x\ln\cos x)\left(\ln\cos x-(x\sin x)/(\cos x)\right)

(\mathrm dy)/(\mathrm dx)=e^(x\ln\cos x)\left(\ln\cos x-x\tan x\right)

(\mathrm dy)/(\mathrm dx)=\cos^xx\left(\ln\cos x-x\tan x\right)
User Rahul Tank
by
8.0k points