I hope you are well I try to find the infinite primitive of $\dfrac{1}{\sin x+1}$ without using the méthode of substituting by $\tan \frac x2$.
So I multiply and divide by $\sin x - 1$ and simplify until having The result: $\tan x -\dfrac{1}{\cos x}$ But the professor said that my méthode is not totally correct because I can't divide by $1-\sin x$ because this expression can be null , so is there any methods except of the substitution using $\tan \frac x2$ to find this primitive?
Thank you for reading the question and for helping.