`y = (cos(x))^x` Use logarithmic differentiation to find the derivative of the function.

1 Answer

embizze's profile pic

embizze | High School Teacher | (Level 2) Educator Emeritus

Posted on

Differentiate `y=(cos(x))^x ` :

Take the natural logarithm of both sides:

`lny=ln(cos(x))^x `

Use the power property of logarithms:

`lny=xln(cos(x)) `

Differentiate; use the product rule on the RHS:

` (dy)/(dx)(1/y)=ln(cos(x))+x(-sin(x))/(cos(x)) `

`y'=y(ln(cos(x))-xtan(x)) `

Substituting for y we get:

` y'=(cos(x))^x(ln(cos(x))-xtan(x)) `