Thank you! I even remember reading about this :)
Thank you a lot! RegionFunction works perfectly for the square root case. In the second case, I added PlotPoints -> 70 and achieved the desired result.
And the function
Sqrt[((1 - 2 y Cos[x])/(1 - y Cos[x]))
is complex for parts of the range plotted. RealSign does not work for complex numbers.
RealSign
The sign seems to be zero only in a meager set. I would plot directly the value 1 with a RegionFunction:
RegionFunction
Plot3D[1, {x, 0, 2 \[Pi]}, {y, 1, 5}, RegionFunction -> Function[{x, y}, (1 - 2 y Cos[x])/(1 - y Cos[x]) > 0], PlotPoints -> 50]