On the calculus exam, we were given a function $$f(x) = \frac{2x^2+x-1}{x^2-1} $$ and asked to find intervals of function increasing and decreasing. In the post-exam solutions PDF, it was written that f(x) is increasing on $$(-\infty; -1), (-1; 1), (1; +\infty)$$ And specifically noted that writing the function increase interval as $$(-\infty; -1) \cup (-1; 1) \cup (1; +\infty)$$ is wrong and unacceptable, however, I fail to understand why so.
So, why is union-sign notation incorrect?

The function is decreasing (not increasing, as you said) on each of those three intervals separately. But it is not decreasing on their union because, for example, $f(5)>f(0)$.
Consider a similar case: my bank balance is decreasing from December 9 through December 14, and from December 16 through December 21. Is it therefore decreasing on the entire interval? No, because on December 15 I received my salary, so my bank balance increased sharply between December 14 and 16.