Consider the following two functions:
$f(x) = \sqrt {4 - x^2};\;\{x : x \in \mathbb{R}, x \ge -2 \,\ \text{and} \ \, x \le 2\}$
$g(x) = \sqrt {1 + x};\;\{x : x \in \mathbb{R}, x \ge -1\}$
Given that:
$$\frac{f(x)}{g(x)} = \frac{\sqrt{4-x^2}}{\sqrt{1+x}} = \sqrt{\frac{4-x^2}{1+x}}$$
Is the domain of $\frac{f(x)}{g(x)}$ determined by the first step or only the last?
For instance, does the domain include $-3$?
If the domain is determined by the first step, then the answer would be NO, because both $\sqrt{4-(-3)^2}$ and $\sqrt{1+(-3)}$ are imaginary.
However, if the domain is determined by the second step, then the answer would be YES, because $\sqrt{\frac{4-(-3)^2}{1+(-3)}} = \sqrt{\frac{-5}{-2}} = \sqrt{\frac{5}{2}}$
Any help appreciated.