Question
Question: How do you differentiate \(xy=\cot \left( xy \right)\) ?...
How do you differentiate xy=cot(xy) ?
Solution
To differentiate xy=cot(xy), 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) and multiply them then we get f(x)g(x). Now, applying the product rule on these two functions we get, f(x)g′(x)+g(x)f′(x). 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)
Taking derivative with respect to x on both the sides using product rule which is equal to when two functions f(x)&g(x) are given in the following way:
f(x)g(x)
The derivative of the above two functions with respect to x is equal to:
f(x)g′(x)+g(x)f′(x)
Using the above product rule in xy=cot(xy) by taking derivative with respect to x on both the sides we get,
xy=cot(xy)
We also know the derivative of cotx with respect to x is equal to −cosec2x 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′))
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) by assuming xy as x then we have taken the derivative of xy and multiplied with the result of the derivative of cot(xy) in which we have assumed xy as x. This way of taking derivative is called chain rule.
Now, taking the derivative of the above equation we get,
x(dxdy)+y(dxdx)=−cosec2(xy)(x(dxdy)+y(dxdx))⇒x(dxdy)+y=−cosec2(xy)(x(dxdy)+y)⇒x(dxdy)+y=−x(dxdy)cosec2(xy)−ycosec2(xy)
Now, writing dxdy terms on one side of the equation and the terms which do not contain dxdy on other side of the equation we get,
xdxdy+xdxdycosec2(xy)=−ycosec2(xy)−y
In the above equation, taking xdxdy as common in the L.H.S and taking –y as common from R.H.S we get,
xdxdy(1+cosec2(xy))=−y(1+cosec2(xy))
In the above, as you can see that 1+cosec2(xy) is common in both the sides so we can cancel out this expression on both the sides and we get,
xdxdy=−y
Dividing x on both the sides we get,
dxdy=−xy
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) with respect to x you might forget to take the derivative of xy with respect to x so make sure you have properly do the derivative of cot(xy) and be alert while doing the calculations.