Why the function 'FunctionDomain' in some cases doesn't give an explicit answer? Here some cases: 1)
In: FunctionDomain[{(Tan[x] + 1)/Tan[x], 0 <= x <= Pi}, x]
Out: x/Pi \[NotElement] Integers && 1/2 + x/Pi \[NotElement] Integers && 0 <= x <= \[Pi]
but the answer would be
0<=x<Pi/4 || Pi/4<x<Pi/2 || Pi/2<x<<=Pi
2)
In: FunctionDomain[{(Tan[x] + 1)/Tan[x], 0 <= x <= Pi}, x]
Out: x/Pi \[NotElement] Integers && 1/2 + x/Pi \[NotElement] Integers && 0 <= x <= Pi
but the answer would be: 0<x<Pi
In this case the answer is ok:
In: FunctionDomain[{(Sin[x] + 1)/(Sin[x] - 1), 0 <= x <= 2 Pi}, x]
Out: 0 <= x < Pi/2 || Pi/2 < x <= 2 Pi
Attachments: