Determine the range of $f(x) = \log\frac{1+\sin(x)}{1-\sin(x)}$ and the preimage $f^{-1}([0, \log3>)$.
For the Range, I divided the function into a composition of 3 functions where $$f_1 = \sin(x)$$ $$f_2 = \frac{1+x}{1-x} $$ $$f_3 = \log(x) $$
So, firstly $\sin(x)$ "throws" the whole $\mathbb{R}$ to $[-1, 1]$.
Then we have $\frac{1+x}{1-x}$ which can be written as $$-\frac{2}{x-1} - 1$$ to make it easier to draw a sketch and then I concluded that the second function "throws" the segment $[-1, 1]$ to $[0, +\infty>$ and since $<0, +\infty> \subseteq [0, +\infty>$ the $\log$ function will "throw" that segment i.e. interval into $\mathbb{R}$ so I conclude that the range or image is the whole $\mathbb{R}$ Is that correct?
preimage $f^{-1}([0, \log3>)$
So we have $$ 0 \le\log\frac{1+\sin(x)}{1-\sin(x)} < \log3$$ So, $\log$ is an increasing function but I am not sure because of the $\sin(x)$ which is periodical if I may "act" with the $10^{a}$ function as follows:
$$ 10^{0} \le 10^{\log(\frac{1+\sin(x)}{1-\sin(x)})} < 10^{\log3} \\ 1 \le \frac{1+\sin(x)}{1-\sin(x)} <3 \implies 0 \le \sin(x) < \frac{1}{2}$$
And since $\arcsin$ is defined within this interval:
$$ \arcsin(0) \le \arcsin(\sin(x)) < \arcsin(\frac{1}{2}) \implies x\in[0, \frac{\pi}{6}>$$
i.e. $x\in[2k\pi, \frac{\pi}{6} + 2k\pi>$
So may I do it like this or is there a "problem" because of the periodical $\sin$ function?