Definition (Galois group of polynomial)
Let $K$ be a field.
For a separable polynomial $f\in K[X]$, let $L = K(α_1, \ldots, α_n)$ be the its splitting field of $f$ over $K$ and $α_1, \ldots, α_n$ be the roots of $f$ in $L$ (so $\deg f = n$). The Galois group $\Gal(L/K)$ acts on $\set{α_1, \ldots, α_n}$ faithfully, determining an injective group homomorphism $\Gal(L/K) \hookrightarrow S_n$.
The Galois group $\Gal(f/K) \leq S_n$ of $f$ over $K$ is the image of the homomorphism, defined up to conjugacy.
$f$ is irreducible iff $\Gal(f/K)$ is transitive. (Proof)