If $\displaystyle \int\frac{1-5\sin^2 x}{\cos^5 x\cdot \sin^2 x}dx = \frac{f(x)}{\cos^5 x}+\mathcal {C}$. Then value of $f(x)$.
$\bf{My\; Try::}$ Given $$\displaystyle \int\frac{1-5\sin^2 x}{\cos^5 x\cdot \sin ^2 x}dx = \underbrace{\int \frac{\csc^2 x}{\cos^5 x}dx}_{=I}-5\int\frac{1}{\cos^5 x}dx$$
So $$\displaystyle I = \int\frac{1}{\cos ^5 x}\cdot \csc^2 xdx = \frac{1}{\cos^5 x}\cdot -\cot x+5\int\frac{-\sin x}{\cos^6 x}\cdot -\cot xdx$$ $$\displaystyle = -\frac{\cot x}{\cos^5 x}+5\int\frac{1}{\cos^5 x}dx+\mathcal{C}$$
So $$\displaystyle \int\frac{1-5\sin^2 x}{\cos^5 x\cdot \sin^2 x}dx = -\frac{\cot x}{\cos^5 x}+\mathcal{C}=\frac{f(x)}{\cos^5 x}+\mathcal{C}$$
So $f(x) = -\cot x$.
Can we solve it any other Method, If Yes then plz explain here
Thanks