Do P thuộc Ox nên tọa độ có dạng \(P\left(p;0\right)\)
\(\Rightarrow\left\{{}\begin{matrix}\overrightarrow{MN}=\left(1;-3\right)\\\overrightarrow{MP}=\left(p-2;-1\right)\end{matrix}\right.\)
Do tam giác MNP vuông tại M \(\Rightarrow\overrightarrow{MN}.\overrightarrow{MP}=0\)
\(\Rightarrow1.\left(p-2\right)+3=0\) \(\Rightarrow p=-1\)
\(\Rightarrow P\left(-1;0\right)\)
\(\Rightarrow\overrightarrow{MP}=\left(-3;-1\right)\Rightarrow\left\{{}\begin{matrix}MN=\sqrt{1^2+\left(-3\right)^2}=\sqrt{10}\\MP=\sqrt{\left(-3\right)^2+\left(-1\right)^2}=\sqrt{10}\end{matrix}\right.\)
\(\Rightarrow S_{MNP}=\dfrac{1}{2}MN.MP=5\)