Ta có: 1<2
nên \(1-\sqrt{2}< 2-\sqrt{2}\)
\(\Leftrightarrow f\left(1-\sqrt{2}\right)>f\left(2-\sqrt{2}\right)\)(Vì hàm số y=f(x)=-x+4 nghịch biến trên R nên nếu \(x_1< x_2\) thì \(f\left(x_1\right)>f\left(x_2\right)\))
Ta có \(1-\sqrt{2}< 2-\sqrt{2}\) \(\Rightarrow-\left(1-\sqrt{2}\right)>-\left(2-\sqrt{2}\right)\) \(\Rightarrow-\left(1-\sqrt{2}\right)+4>-\left(2-\sqrt{2}\right)+4\) Mà \(f\left(1-\sqrt{2}\right)=-\left(1-\sqrt{2}\right)+4,f\left(2-\sqrt{2}\right)=-\left(2-\sqrt{2}\right)+4\)
\(\Rightarrow f\left(1-\sqrt{2}\right)>f\left(2-\sqrt{2}\right)\)