So we are studying integral field and i am stuck on this problem.
Let $f(X) = X^3 -X -12 \in \mathbb{Q}[X]$ and $\alpha \in \bar{\mathbb{Q}}$ be a zero of $f(X)$.
I already showed that $f(X)$ is irreducible but i am struggling to show what the integer basis of $\mathbb{Z}_{\mathbb Q(\alpha)}$ is. Any help is really appreciated.
Well, I do disagree with @DavidPopović, but I had the benefit of a rather primitive symbolic calculation package. My method was not at all as systematic as David’s: first I looked locally at the prime $2$, where you see that $f$ has a root and a quadratic factor. By playing around with the factor, I found that (at $2$) its roots were in the quadratic unramified extension of $\Bbb Q_2$, so that (always mistrusting my package) I thought that $\Bbb Q(\alpha)$ should be unramified at two, so that the factor $4$ in the preliminary discriminant of $-3884$ should be spurious. By further messing about, I found that the $\Bbb Q$-minimal polynomial for $\frac12(\alpha+\alpha^2)$ was $x^3-x^2-9x-18$.
This led me to try for $\bigl\lbrace1,\alpha,\frac12(\alpha+\alpha^2)\bigr\rbrace$ as integral basis. Using this $\Bbb Q$-basis, I found that the matrix of the trace pairing was $$ \begin{pmatrix} 3&0&1\\ 0&2&19\\ 1&19&19 \end{pmatrix}\,, $$ whose determinant is surenough $-971$. So my choice is an integral basis for $\Bbb Q(\alpha)$.