Hello all, I have done a question but I just need clarification if it is correct:

Cot (x/2) = (1 + cos(x)) / sin(x)

what is the largest set of values of x for which this identity is valid?

i reasoned here that because they are equal to one another that either function can be used to solve for a value. this meant that for the identity to be invalid both functions would have to have a sin value of 0. this only happens at 2 * n * pi where n is any integer.

Am I correct?