## Problem Statement

Calculate the limit of the function:

$\lim _{x \rightarrow 2} \frac{x^{3}-6 x^{2}+12 x-8}{x^{3}-3 x^{2}+4}$
## Solution

$$
\begin{aligned}
& \lim _{x \rightarrow 2} \frac{x^{3}-6 x^{2}+12 x-8}{x^{3}-3 x^{2}+4}=\left\{\frac{0}{0}\right\}=\lim _{x \rightarrow 2} \frac{(x-2)\left(x^{2}-4 x+4\right)}{(x-2)\left(x^{2}-x-2\right)}= \\
& =\lim _{x \rightarrow 2} \frac{x^{2}-4 x+4}{x^{2}-x-2}=\left\{\frac{0}{0}\right\}=\lim _{x \rightarrow 2} \frac{(x-2)^{2}}{(x-2)(x+1)}= \\
& =\lim _{x \rightarrow 2} \frac{x-2}{x+1}=\frac{2-2}{2+1}=0
\end{aligned}
$$