1. Find the corresponding value of $y$ when $x = \pi$.
When x=π,
ycosπ=πsin2π
y−1=π0
y−1=1
y=1
2. Apply the natural logarithm to both sides to simplify the exponents.
ln(ycosx)=ln(xsin2x)
cosxlny=sin2xlnx
3. Differentiate implicitly with respect to $x$ using the product rule on both sides.
dxd(cosxlny)=dxd(sin2xlnx)
−sinxlny+cosx(y1)dxdy=2cos2xlnx+sin2x(x1)
4. Substitute $x = \pi$ and $y = 1$ to solve for the exact value of $\frac{dy}{dx}$.
−sin(π)ln(1)+cos(π)(11)dxdy=2cos(2π)lnπ+sin(2π)(π1)
−(0)(0)+(−1)(1)dxdy=2(1)lnπ+(0)(π1)
−dxdy=2lnπ
dxdy=−2lnπ