PT giao Ox và Oy: \(y=0\Leftrightarrow x=\dfrac{-\left(k+3\right)}{k+2}\Leftrightarrow A\left(\dfrac{-\left(k+3\right)}{k+2};0\right)\Leftrightarrow OA=\left|\dfrac{k+3}{k+2}\right|\\ x=0\Leftrightarrow y=k+3\Leftrightarrow B\left(0;k+3\right)\Leftrightarrow OB=\left|k+3\right|\)
Áp dụng định lí Pytago: \(AB^2=OA^2+OB^2\)
\(AB^2=\dfrac{\left(k+3\right)^2}{\left(k+2\right)^2}+\left(k+3\right)^2=\dfrac{2\left(k+3\right)^2}{\left(k+2\right)^2}\\ \Leftrightarrow AB=\dfrac{\sqrt{2}\left|k+3\right|}{\left|k+2\right|}=2\sqrt{2}\\ \Leftrightarrow\dfrac{\left|k+3\right|}{\left|k+2\right|}=2\Leftrightarrow\left|k+3\right|=2\left|k+2\right|\\ \Leftrightarrow\left[{}\begin{matrix}k+3=-2k-4\\k+3=2k+4\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}k=-\dfrac{7}{3}\\k=-1\end{matrix}\right.\)
Vậy ...