This is a problem I found from Lara Alcock's How to Think About Analysis (page 161) and I've been stumped for a while. So far I have tried to factor by grouping like so: $\displaystyle\frac{x^4 - 9x^2 + 4x + 12}{x - 2}$
First considering the numerator:
$x^4 - 9x^2 + 4x + 12$
$= x^2(x^2 - 3^2) + 4(x + 3)$
$= x^2(x-3)(x+3) + 4(x+3)$
I've also tried rewriting the numerator to get a difference of cubes I could factor but haven't had much success. I would also love any recommendations for books/resources to practice more algebra problems like this. This is my first post, any pointers would be much appreciated!
Since for the numerator $N(2)=0$ an effective way could be starting from
$$N(x) =x^4 - 9x^2 + 4x + 12 =(x^4 - 8x^2+16)-(x^2- 4x + 4)$$
A way to use difference of cubes formula could be as follows
$$x^4 - 9x^2 + 4x + 12 = x^4-8x- 9x^2 +36 + 12x - 24=$$
$$= x(x^3-8)-9(x^2-4)+12(x-2)$$