ĐKXĐ: ...
Đặt \(\sqrt{x+1}+\sqrt{3-x}=t\Rightarrow\left\{{}\begin{matrix}2\le t\le2\sqrt{2}\\\sqrt{\left(x+1\right)\left(3-x\right)}=\frac{t^2-4}{2}\end{matrix}\right.\)
\(\Rightarrow t-\frac{t^2-4}{2}=m\Leftrightarrow-\frac{1}{2}t^2+t+2=m\)
Xét \(f\left(t\right)=-\frac{1}{2}t^2+t+2\) trên \(\left[2;2\sqrt{2}\right]\)
\(f\left(2\right)=2\) ; \(f\left(2\sqrt{2}\right)=2\sqrt{2}-2\)
\(\Rightarrow2\sqrt{2}-2\le m\le2\)