# Is domain the independent or dependent variable?

These requests can of course be combined, as for example in $\setminus \sqrt{\setminus \log \left(\setminus \frac{x}{x + 1}\right)}$.
Once you find out which values of $x$ are permitted for the expression to have sense, you take the set of all those values, and obtain the domain of the function.