Multiple solutions for the indefinite integral $\int \frac{\csc(x)\cot(x)}{1+\csc^2(x)} \, dx $

180 Views Asked by At

For this indefinite integral:

$$\int \frac{\csc(x)\cot(x)}{1+\csc^2(x)} \, dx $$

I first used $u$-substitution and set $u =\csc(x)$. Using this I got the integration to be:

$$ -\arctan(\csc(x))+C $$

This answer appears to be correct, however on the solutions it appears to be,

$$ \arctan(\sin(x))+C $$

I searched online and found that the second solution was found using trigonometric substitution. If anyone could explain to me how the second solution was worked out it would be greatly appreciated.

2

There are 2 best solutions below

0
On

We get $\dfrac {\dfrac {\cos x}{\sin^2x}}{\dfrac {\sin^2x+1}{\sin^2x}}=\dfrac {\cos x}{1+\sin^2x} $ for the integrand, and the result follows.

2
On

You can go ahead and reduce the $\csc$ and $\cot$ in the expression to $\cos$ and $\sin$. You will get the second result.

And both are correct as $$\arctan(\sin x)-\big(-\arctan(\csc x)\big)$$ $$=\arctan(\sin x)+\arctan\left(\frac{1}{\sin x}\right)=\pm\frac{\pi}{2}$$

Since the arbitrary constant $C$ is arbitrary, it doesn't matter whether you add or subtract $\pi/2$ from it.

Hope this helps. Ask anything if not clear :)