$$Y=\sqrt{\frac{m+K}{K(1+Km)}}$$
$Y=\sqrt{\frac{m+K}{K\left(Km+1\right)}}$
$K\neq 0\text{ and }m\neq -\frac{1}{K}$
$Y=\sqrt{\frac{m+K}{K\left(Km+1\right)}}$
$\left(m\leq -K\text{ and }K\neq 0\text{ and }m<-\frac{1}{K}\right)\text{ or }\left(m=-K\text{ and }K>-1\text{ and }K<0\right)\text{ or }\left(m=-K\text{ and }K>1\right)\text{ or }\left(m\geq -K\text{ and }K\neq 0\text{ and }m>-\frac{1}{K}\right)\text{ or }\left(K\neq 0\text{ and }m=-K\text{ and }|K|\neq 1\right)$