2. Plot the graph of the function:

\[
y=\frac{x^{3}-x^{2}-x+1}{x^{2}-1}
\]
2. S o l u t i o n. After reducing the fraction, we get \(y=x-1\) under the condition that \(x \neq 1\) and \(x \neq -1\). Therefore, the graph of the function will look as shown in Figure 31.