Let $f(x)= x^3-x$ and $g(x)= x^4 + 3x^3 +x^2$
How can I find a polynomial $h(x)$ of maximum degree such that $h(x)$ is a factor of $f(x)$ and $g(x)$.
My thoughts: there exist others polynomials $t_1(x)$ and $t_2(x)$ such that $g(x) = h(x)t_2(x)$ and $f(x) = h(x)t_1(x)$. I've tried factorizing the polynomials but I can't seem to get anywhere.
Thanks.