Answer:
This question is about:
sin(A/2) and cos(A/2)
First, how we know when we need to use the positive or negative signs?
Ok, this part is kinda intuitive:
First, you need to know the negative/positve regions for the sine and cosine function.
Cos(x) is positive between 270 and 90, and negative between 90 and 270.
sin(x) is positive between 0 and 180, and negative between 180 and 360.
Then we need to see at the half-angle and see in which region it lies.
If the half-angle is larger than 360°, then you subtract 360° enough times such that the angle lies in the range between (0° and 360°)
and: Tan(A/2) = Sin(A/2)/Cos(A/2)
So using that you can infer the sign of the Tan(A/2)
Now, why these relationships use the two signs?
Well... this is because of the square root in the construction of the relationships.
This happens because:
(-√x)*(-√x) = (-1)*(-1)*(√x*√x) = (√x*√x)
For any value of x.
so both -√x and √x are possible solutions of these type of equations, but for the periodic nature of the sine and cosine functions, we can only select one of them.
So we should include the two possible signs, and we select the correct one based on the reasoning above.