Simplifying polynomial fraction Working through an old book I got and am at this problem: Simplify:
$$\frac{3x^2 + 3x -6}{2x^2 + 6x + 4}.$$
The answer is supposed to be $\frac{3(x - 1)}{2(x - 1)}$. I thought I had all this polynomial stuff figured out well enough, but I'm having trouble seeing how they got to that answer. :/
 A: Simply factorise
$\dfrac{3x^2 + 3x -6}{2x^2 + 6x + 4} = \dfrac{3(x^2 + x -2)}{2(x^2 + 3x + 2)} = \dfrac{3(x-1)(x+2)}{2(x+1)(x+2)}$
Then cancel common terms.
A: $$3x^2+3x-6 = 3(x^2+x-2)=3(x-1)(x+2)$$ 
$$2x^2+6x+4 = 2(x^2+3x+2)=2(x+1)(x+2)$$
A: $$\frac{3x^2 + 3x -6}{2x^2 + 6x + 4} = \frac{3(x^2 + x -2)}{2(x^2 + 3x + 2)}= \frac{3\require{cancel}\cancel{(x+2)}(x-1)}{2(x+1)\cancel{(x + 2)}}=\frac{3(x-1)}{2(x+1)}$$
A: Hint
First of all, you could start factoring both numerator and denominator $$\frac{3x^2+3x-6}{2x^2+6x+4}=\frac{3(x^2+x-2)}{2(x^2+3x+2)}$$ In order to factor them, you can then compute the roots of the quadratics : for the numerator, the roots are obviously $1$ and $-2$ and for the denominator $-1$ and $-2$ (you can solve for them or just find by inspection).So, $$\frac{3x^2+3x-6}{2x^2+6x+4}=\frac{3(x^2+x-2)}{2(x^2+3x+2)}=\frac{3(x-1)(x+2)}{2(x+1)(x+2)}$$
A: $$\frac{3x^2 + 3x -6}{2x^2 + 6x + 4}=\frac{3(x^2 + x -2)}{2(x^2 + 3x + 2)}=$$
$$=\frac{3(x^2 -1+ x -1)}{2(x^2 + 2x+x + 2)}=\frac{3((x-1)(x+1)+(x-1))}{2(x(x+2)+(x+ 2)}=$$
$$=\frac{3(x-1)(x+1+1)}{2(x+2)(x+ 1)}=\frac{3(x-1)(x+2)}{2(x+2)(x+1)}=\frac{3(x-1)}{2(x+1)}$$
A: An alternative to (the admittedly easy) factoring of the quadratics consists in taking the gcd of numerator and denominator, and dividing both by it. This may turn useful in more complicated circumstances.
