Lời giải:
\(x\in [-\sqrt{2}; \sqrt{2}]\Rightarrow x^2\leq 2\Rightarrow \sqrt{x^2+1}\leq \sqrt{3}\)
\(y=\frac{x+1}{\sqrt{x^2+1}}\geq \frac{x+1}{\sqrt{3}}\geq \frac{-\sqrt{2}+1}{\sqrt{3}}\)
Vậy $y_{\min}=\frac{-\sqrt{2}+1}{\sqrt{3}}$ khi $x=-\sqrt{2}$
$y^2=\frac{x^2+2x+1}{x^2+1}=1+\frac{2x}{x^2+1}$
$y^2=2+\frac{2x-x^2-1}{x^2+1}=2-\frac{(x-1)^2}{x^2+1}\leq 2$
$\Rightarrow y\leq \sqrt{2}$
Vậy $y_{\max}=\sqrt{2}$ khi $x=1$