To use logarithmic differentiation to find y′ when cos x = e^y, we can follow these steps:
- Take the natural logarithm of both sides of the equation:
- ln(cos x) = ln(e^y)
- Use the logarithmic rule that ln(a^b) = b ln(a) to simplify the right-hand side:
- ln(cos x) = y ln(e)
- ln(cos x) = y
- Differentiate both sides of the equation with respect to x:
- d/dx [ln(cos x)] = d/dx [y]
- -sin x/cos x = dy/dx
- Simplify the left-hand side using the trigonometric identity tan x = sin x/cos x:
- -sin x = dy/dx
Therefore, we have found that y′ = -sin x.