For a function of the form y=[f(x)]g(x), we take logarithms on both sides to bring down the exponent, then differentiate implicitly. Here, f(x)=g(x)=sinx−cosx, so after simplification the derivative is dxdy=(sinx−cosx)sinx−cosx⋅(cosx+sinx)⋅[1+log(sinx−cosx)].
We have y=(sinx−cosx)(sinx−cosx). This is a variable raised to a variable power — neither a pure power rule nor a pure exponential rule applies directly. The standard technique for such "function to the power of function" forms is logarithmic differentiation.
Why does this work? Taking the natural logarithm converts the exponent into a product, which we can then differentiate using the product rule. The chain rule then handles the composition on the left side.
Let’s go step by step.
- Take the natural logarithm of both sides.
Since y>0 in the given interval 4π<x<43π (check: sinx−cosx is positive here), we can safely write:
logy=log[(sinx−cosx)sinx−cosx]
Using the power property of logs:
logy=(sinx−cosx)⋅log(sinx−cosx)
- Differentiate both sides with respect to x.
On the left, by the chain rule:
dxd(logy)=y1⋅dxdy
On the right, we have a product: u⋅v where u=sinx−cosx and v=log(sinx−cosx).
Differentiate using the product rule:
dxd[u⋅v]=u′v+uv′
- Find u′ and v′.
u=sinx−cosx⇒u′=cosx+sinx
For v=log(sinx−cosx), use the chain rule:
v′=sinx−cosx1⋅(cosx+sinx)
- Assemble the derivative of the right side.
dxd[(sinx−cosx)log(sinx−cosx)]=(cosx+sinx)⋅log(sinx−cosx)+(sinx−cosx)⋅sinx−cosxcosx+sinx
The second term simplifies: (sinx−cosx)⋅sinx−cosxcosx+sinx=cosx+sinx.
So the right side becomes:
(cosx+sinx)log(sinx−cosx)+(cosx+sinx)
Factor out (cosx+sinx):
(cosx+sinx)[log(sinx−cosx)+1]
- Equate and solve for dxdy.
From step 2: …