1. Find the value of $y$ at $x = \pi$.
Substitute x=π into the given equation:
ycosπ=πsin2π
y−1=π0
y−1=1⟹y=1
2. Take the natural logarithm of both sides to handle variable exponents.
ln(ycosx)=ln(xsin2x)
cosxlny=sin2xlnx
3. Differentiate both sides implicitly with respect to $x$ using the product rule.
dxd(cosxlny)=dxd(sin2xlnx)
−sinxlny+cosx(y1dxdy)=2cos2xlnx+sin2x(x1)
4. Substitute $x = \pi$ and $y = 1$ to find the exact value of $\frac{\mathrm{d}y}{\mathrm{d}x}$.
−sin(π)ln(1)+cos(π)(11)dxdy=2cos(2π)lnπ+sin(2π)(π1)
−0⋅0+(−1)dxdy=2(1)lnπ+0⋅π1
−dxdy=2lnπ
dxdy=−2lnπ