TXĐ: `D=RR`
Có:
\(f(2) = 5-2= 3\)
\(\lim\limits_{x \to 2^+} f(x) = \lim\limits_{x \to 2^+} \dfrac{x^2-x-2}{x-2} = \lim\limits_{x \to 2^+} \dfrac{(x-2)(x+1)}{x-2} = \lim\limits_{x \to 2^+} (x+1)=3\)
\(\lim\limits_{x \to 2^-} f(x) = \lim\limits_{x \to 2^-} (5-x) = 3\)
\(\Rightarrow f(2) = \lim\limits_{x \to 2^+} f(x)= \lim\limits_{x \to 2^-} f(x)\)
`=>` Hàm số liên tục.