Xét \(x^2-5x+4\le0\Leftrightarrow1\le x\le4\Rightarrow D_1=\left[1;4\right]\)
Xét \(x^2-\left(m^2+3\right)x+2\left(m^2+1\right)\le0\)
\(\Leftrightarrow\left(x-2\right)\left(x^2-m^2-1\right)\le0\)
- Nếu \(\left|m\right|\ge1\Rightarrow D_2=\left[2;m^2+1\right]\)
- Nếu \(\left|m\right|< 1\Rightarrow D_2=\left[m^2+1;2\right]\)
Do \(2\in\left[1;4\right]\), để \(D=D_1\cap D_2\) là 1 đoạn có độ dài bằng 1
\(\Leftrightarrow\left[{}\begin{matrix}m^2+1=1\\m^2+1=3\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}m=0\\m=\pm\sqrt{2}\end{matrix}\right.\)