$\text{f(x)}=\sqrt{\text{x}+3}$ For domain,
$\text{x}+3\geq0$
$\Rightarrow\ \text{x}\geq-3$
Domain of $\text{f}=[-3,\infty)$
Since f is a square root fuction, range of $\text{f}=[0,\infty)$
$\text{f}:[-3,\infty)\rightarrow[0,\infty)$
g(x) = x2 + 1 is a polynomial.
⇒ g : R → R
Computation of fog: Range of g is not a subset of the doamin of f.
and domain (fog) = {x : x $\in$ domain of g and g(x) $\in$ domain of f(x)}
⇒ Domain (fog) = {x : x $\in\text{R}$ and x2 + 1 $\in[-3,\infty)$}
⇒ Domain (fog) = {x : x $\in\text{R}$ and x2 + 1 $\geq-3$}
⇒ Domain (fog) = {x : x $\in\text{R}$ and x2 + 4 $\geq0$}
⇒ Domain (fog) = {x : x $\in\text{R}$ and $\text{x}\in\text{R}$}
⇒ Domain (fog) = R
fog : R → R
(fog)(x) = f(g(x))
= f(x2 + 1)
$=\sqrt{\text{x}^2+1+3}$
$=\sqrt{\text{x}^2+4}$
Computation of gof: Range of f is a subset of the doamin of g.
$\text{gof}:[-3,\infty)\rightarrow\text{R}$
$\Rightarrow\ \text{(gof)(x)}=\text{g(f(x)})$
$=\text{g}(\sqrt{\text{x}+3})$
$=(\sqrt{\text{x}+3})^2+1$
$=\text{x}+3+1$
$=\text{x}+4$