Solveeit Logo

Question

Question: How do you differentiate \(xy=\cot \left( xy \right)\) ?...

How do you differentiate xy=cot(xy)xy=\cot \left( xy \right) ?

Explanation

Solution

To differentiate xy=cot(xy)xy=\cot \left( xy \right), we are going to take the derivative with respect to x on both the sides. Now, the derivative is done using the product rule. In the product rule, two functions are written with a multiplication sign. Let us take two functions f(x)&g(x)f\left( x \right)\And g\left( x \right) and multiply them then we get f(x)g(x)f\left( x \right)g\left( x \right). Now, applying the product rule on these two functions we get, f(x)g(x)+g(x)f(x)f\left( x \right)g'\left( x \right)+g\left( x \right)f'\left( x \right). The ' sign in the addition expression is the derivative sign.

Complete step by step answer:
The equation given in the above problem that we have to differentiate is as follows:
xy=cot(xy)xy=\cot \left( xy \right)
Taking derivative with respect to x on both the sides using product rule which is equal to when two functions f(x)&g(x)f\left( x \right)\And g\left( x \right) are given in the following way:
f(x)g(x)f\left( x \right)g\left( x \right)
The derivative of the above two functions with respect to x is equal to:
f(x)g(x)+g(x)f(x)f\left( x \right)g'\left( x \right)+g\left( x \right)f'\left( x \right)
Using the above product rule in xy=cot(xy)xy=\cot \left( xy \right) by taking derivative with respect to x on both the sides we get,
xy=cot(xy)xy=\cot \left( xy \right)
We also know the derivative of cotx\cot x with respect to x is equal to cosec2x-\text{cose}{{\text{c}}^{2}}x so using this relation in finding the derivative of the R.H.S of the above equation we get,
x(y)+y(x)=cosec2(xy)(x(y)+y(x))x\left( y' \right)+y\left( x' \right)=-\text{cose}{{\text{c}}^{2}}\left( xy \right)\left( x\left( y' \right)+y\left( x' \right) \right)
You might have been thinking how we have taken the derivative of the R.H.S so we have first take the derivative of cot(xy)\cot \left( xy \right) by assuming xyxy as x then we have taken the derivative of xyxy and multiplied with the result of the derivative of cot(xy)\cot \left( xy \right) in which we have assumed xyxy as x. This way of taking derivative is called chain rule.
Now, taking the derivative of the above equation we get,
x(dydx)+y(dxdx)=cosec2(xy)(x(dydx)+y(dxdx)) x(dydx)+y=cosec2(xy)(x(dydx)+y) x(dydx)+y=x(dydx)cosec2(xy)ycosec2(xy) \begin{aligned} & x\left( \dfrac{dy}{dx} \right)+y\left( \dfrac{dx}{dx} \right)=-\text{cose}{{\text{c}}^{2}}\left( xy \right)\left( x\left( \dfrac{dy}{dx} \right)+y\left( \dfrac{dx}{dx} \right) \right) \\\ & \Rightarrow x\left( \dfrac{dy}{dx} \right)+y=-\text{cose}{{\text{c}}^{2}}\left( xy \right)\left( x\left( \dfrac{dy}{dx} \right)+y \right) \\\ & \Rightarrow x\left( \dfrac{dy}{dx} \right)+y=-x\left( \dfrac{dy}{dx} \right)\text{cose}{{\text{c}}^{2}}\left( xy \right)-y\text{cose}{{\text{c}}^{2}}\left( xy \right) \\\ \end{aligned}
Now, writing dydx\dfrac{dy}{dx} terms on one side of the equation and the terms which do not contain dydx\dfrac{dy}{dx} on other side of the equation we get,
xdydx+xdydxcosec2(xy)=ycosec2(xy)yx\dfrac{dy}{dx}+x\dfrac{dy}{dx}\text{cose}{{\text{c}}^{2}}\left( xy \right)=-y\text{cose}{{\text{c}}^{2}}\left( xy \right)-y
In the above equation, taking xdydxx\dfrac{dy}{dx} as common in the L.H.S and taking –y as common from R.H.S we get,
xdydx(1+cosec2(xy))=y(1+cosec2(xy))x\dfrac{dy}{dx}\left( 1+\text{cose}{{\text{c}}^{2}}\left( xy \right) \right)=-y\left( 1+\text{cose}{{\text{c}}^{2}}\left( xy \right) \right)
In the above, as you can see that 1+cosec2(xy)1+\text{cose}{{\text{c}}^{2}}\left( xy \right) is common in both the sides so we can cancel out this expression on both the sides and we get,
xdydx=yx\dfrac{dy}{dx}=-y
Dividing x on both the sides we get,
dydx=yx\dfrac{dy}{dx}=-\dfrac{y}{x}

Note: The possible mistake that could happen in this problem is missing the negative sign in the above solution. And also while taking the derivative of cot(xy)\cot \left( xy \right) with respect to x you might forget to take the derivative of xyxy with respect to x so make sure you have properly do the derivative of cot(xy)\cot \left( xy \right) and be alert while doing the calculations.