Consider $f(x) = x^3 - 9x + 3 \in \mathbb{Q}[x],$ and let $\alpha$ be a root of $f(x).$ Prove that $f(x)$ is irreducible over $\mathbb{Q}.$ Furthermore, in the field $\mathbb{Q}(a),$ find $(3 \alpha^2 + 2 \alpha + 1)^{-1}$ in terms of the basis $1, \alpha, \alpha^2.$
$\textit{Proof.}$ Observe that $f$ is 3-Eisenstein, hence $f$ is irreducible in $\mathbb{Q}[x].$
$\textit{Solution.}$ Because $f$ is irreducible, it follows that $f$ is relatively prime to $g(x) = 3x^2 + 2x + 1.$ By definition of relatively prime, there exist polynomials $u$ and $v$ in $\mathbb{Q}[x]$ such that $$(3x^2 + 2x + 1)u(x) + (x^3 - 9x + 3)v(x) = 1.$$
By the Division (Euclidean) Algorithm, I know that we can explicitly find our $u(x)$ and $v(x),$ but I am not sure how to proceed with the algorithm because it looks a little funky to multiply by these unknown polynomials. Ultimately, if I can find $u(x),$ I know that $u(\alpha) = (3 \alpha^2 + 2 \alpha + 1)^{-1}.$ Can anyone point me in the right direction with this. Thanks very much for your consideration.