Gọi \(M\left(x;0\right)\Rightarrow\left\{{}\begin{matrix}\overrightarrow{AM}=\left(x;-2\right)\\\overrightarrow{BM}=\left(x-5;0\right)\end{matrix}\right.\)
\(\Rightarrow MA^2+MB^2=x^2+4+\left(x-5\right)^2=2x^2-10x+29=2\left(x-\frac{5}{2}\right)^2+\frac{33}{2}\ge\frac{33}{2}\)
Dấu "=" xảy ra khi \(x=\frac{5}{2}\)
\(\Rightarrow M\left(\frac{5}{2};0\right)\)