$f(x)=\sqrt{\dfrac{x-\sqrt {20}}{x-3}}$, $g(x)=\sqrt{x^2-4x-12}$, find the domain of $f(g(x))$

422 Views Asked by At

$f(x)=\sqrt{\dfrac{x-\sqrt {20}}{x-3}}$, $g(x)=\sqrt{x^2-4x-12}$, find the domain of $f(g(x))$.

For some reason, I cannot get the correct answer. Here is what I tried.

$D_g:$ $$x^2-4x-12\ge0$$ $$(x-6)(x+2)\ge0$$ $$\boxed{(-\infty,-2] \cup [6,\infty)}$$

$D_f:$ $$\dfrac{x-\sqrt{20}}{x-3}\ge0$$ $$\boxed{(-\infty, \sqrt {20}] \cup (3,\infty)}$$

$D_{g(f)}:$ $$\sqrt{x^2-4x-12}\le \sqrt{20}$$ $$[-4,8]$$ $$\text{or}$$ $$\sqrt{x^2-4x-12}>3$$ $$(-\infty, -3) \cup (7,\infty)$$ $$\boxed{(-\infty, -3)\cup (-3,-2) \cup (7,\infty)}$$

So then my final answer was

$$\color{blue}{\boxed{(-\infty, -3)\cup (-3,-2) \cup [6,7) \cup (7,\infty)}}$$

What did I do wrong?

Correct Answer:

$x\le-4\ \text{or}\ -3<x\le-2\ \text{or}\ 6\le x<7\ \text{or}\ x\ge8$

2

There are 2 best solutions below

2
On BEST ANSWER

Here is the complete solution:

The domain of $g(x)$: $$x\in (-\infty, -2]\cup[6,+\infty).$$ The domain of $f(x)$: $$\ 1)\begin{cases}\sqrt{x^2-4x-12}\le \sqrt{20} \\ \sqrt{x^2-4x-12}<3\end{cases} \text{or} \ \ 2)\begin{cases}\sqrt{x^2-4x-12}\ge \sqrt{20} \\ \sqrt{x^2-4x-12}>3\end{cases} \Rightarrow$$ $$1)\ \begin{cases} x\in [-4, 8] \\ x\in (-3, 7) \end{cases} \text{or} \ \ 2)\begin{cases}x\in (-\infty, -4]\cup[8,+\infty) \\ x\in (-\infty, -3)\cup(7,+\infty) \end{cases} \Rightarrow$$ $$1)\ x\in (-3, 7) \ \ \text{or} \ \ 2) \ x\in (-\infty, -4]\cup[8,+\infty).$$ Finally, the domain of $f(g(x))$: $$1)\ \begin{cases} x\in (-\infty, -2]\cup[6,+\infty)\\ x\in (-3, 7) \end{cases} \text{or} \ \ 2)\begin{cases}x\in (-\infty, -2]\cup[6,+\infty) \\ x\in (-\infty, -4]\cup[8,+\infty) \end{cases} \Rightarrow$$ $$1)\ x\in (-3, -2]\cup[6,7) \ \ \text{or} \ \ 2) \ x\in (-\infty, -4]\cup[8,+\infty) \Rightarrow \\ x\in (-\infty, -4]\cup(-3, -2]\cup[6,7)\cup[8,+\infty).$$

1
On

The domain of $f$ is $(-\infty,3)\cup[\sqrt{20},\infty)$ (you seem to believe instead that $3>\sqrt{20}$).

Thus we need $$ \begin{cases} x^2-4x-12\ge 0 \\[4px] \sqrt{x^2-4x-12}<3 \end{cases} \qquad\text{or}\qquad \begin{cases} x^2-4x-12\ge 0 \\[4px] \sqrt{x^2-4x-12}\ge\sqrt{20} \end{cases} $$