f(x)= $\frac{(\sqrt{x}-\sqrt{x-1} )}{( \sqrt{x}+\sqrt{x-1} )}\;$
first off $\sqrt{x}$ is defined for:
$$x > 0 \tag{1}$$
and $\sqrt{x-1}$ is defined for:
$$x \ge 1 \tag{2}$$
from $(1)$ and $(2)$, we get domain of $f(x)$ should be $\{x | x\ge 1\}$
We found the domains of elementary functions contained in $f(x)$ and intersected them to find the domain of $f(x)$.
but putting $x = 0$, we get
$$f(0)= -1$$
why this solution was not contained in the above mentioned solution? I always find the domains of composite functions by this way, How can I be sure that some points, like $(0,-1)$ in above problem, are still not included in the solution?
We have $$f(x) = \frac{(\sqrt{x}-\sqrt{x-1} )}{( \sqrt{x}+\sqrt{x-1} )}$$ The domain of $f$ is: $$D_f = \{ x \in \mathbb{R} : (\sqrt{x}+\sqrt{x-1} \ne 0) \wedge (x \ge 0) \wedge (x-1 \ge 0) \}$$
To make the explanation clearer let we consider to negation: $$\sqrt{x}+\sqrt{x-1} = 0 \Leftrightarrow \sqrt{x-1} = -\sqrt{x}$$ Because $(\forall x \in \mathbb{R}): \sqrt{x} \ge 0 \Rightarrow \sqrt{x-1} = -\sqrt{x}$ is not solvable($\sqrt{x-1}$ can not be negative)
The solution is $\emptyset$, because we considered the negation, so we must negate it again what result $\mathbb{R}$ Let $D_1$ denotes the first solution set, so $D_1 = \mathbb{R}$
This inequality is already solved. In analogue to the first case let $D_2$ denotes the second solution set, so $D_2 = [0,+\infty[$
$ x-1 \ge 0 \Leftrightarrow x \ge 1 \Leftrightarrow D_3 = [1,+\infty[$
The whole solution $$D_f= D_1 \cap D_2 \cap D_3$$ $$\Leftrightarrow D_f= \mathbb{R} \cap [0,+\infty[ \cap [1,+\infty[$$ $$\Leftrightarrow D_f= [1,+\infty[$$