ĐKXĐ: \(-1\le x\le8\) Đặt \(t=\sqrt{x+1}+\sqrt{8-x}\) ( Với \(t\ge0\))
\(\Rightarrow t^2=9+2\sqrt{\left(x+1\right)\left(8-x\right)}\)\(\Rightarrow\sqrt{\left(x+1\right)\left(8-x\right)}=\dfrac{t^2-9}{2}\)
\(\Rightarrow t+\dfrac{t^2-9}{2}=3\Rightarrow t^2+2t-15=0\)\(\Rightarrow\left(t+5\right)\left(t-3\right)=0\)
\(\left[{}\begin{matrix}t=-5\left(Loai\right)\\t=3\end{matrix}\right.\Rightarrow t=3\)
\(\Rightarrow3+\sqrt{\left(x+1\right)\left(8-x\right)}=3\) \(\Rightarrow\sqrt{\left(x+1\right)\left(8-x\right)}=0\)
\(\Rightarrow\left[{}\begin{matrix}x=-1\\x=8\end{matrix}\right.\) Thỏa mãn điều kiện .