Computing the Galois group of a polynomial - MathOverflow most recent 30 from http://mathoverflow.net2013-05-22T13:59:31Zhttp://mathoverflow.net/feeds/question/22923http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/22923/computing-the-galois-group-of-a-polynomialComputing the Galois group of a polynomialSimon Thomas2010-04-29T01:39:48Z2013-05-20T11:59:10Z
<p>Does there exist an algorithm which computes the Galois group of a polynomial
$p(x) \in \mathbb{Z}[x]$? Feel free to interpret this question in any reasonable manner. For example, if the degree of $p(x)$ is $n$, then the algorithm could give a set of permutations $\pi \in Sym(n)$ which generate the Galois group.</p>
http://mathoverflow.net/questions/22923/computing-the-galois-group-of-a-polynomial/22946#22946Answer by SJR for Computing the Galois group of a polynomialSJR2010-04-29T06:01:41Z2013-05-20T11:59:10Z<p>There is an algorithm described in an ancient and interesting book on Galois Theory by Eugene Dickson. Here is a brief sketch in the case of an irreducible polynomial $f\in \mathbb{Q}[x]$.</p>
<p>Suppose that $z_1\ldots z_n$ are the roots of $f$ in some splitting field of $f$ over $\mathbb{Q}$. (We don't need to construct the splitting field. The $z_i$ are mentioned here for the sake of explanation.) Let $x_1\ldots x_n$ be indeterminates. For a permutation $\sigma\in S_n$, let
$$E_\sigma=x_1z_{\sigma(1)}+\ldots+ x_n z_{\sigma(n)}.$$
Let <code>$g(x):=\prod _{\sigma} (x-E_\sigma)$</code>,
where $\sigma$ runs through all permutations in $S_n$. Each coefficient $c_i$ of $x^i$ in $g$ is symmetric in $z_1 \ldots z_n$, so (using the theorem on symmetric functions) we can write $c_i$ as a polynomial in $x_1\dots x_n$ with rational coefficients. </p>
<p>Assuming that this has been done, factor $g$ into irreducibles over the ring $\mathbb{Q}[x_1 \ldots x_n]$. Let $g_0$ be the irreducible factor of $g$ that is satisfied by $E_{Id}$, where $Id$ is the identity permuation. Then the galois group of $f$ consists of all permutations of $x_1\ldots x_n$ that fix $g_0$. </p>
<p>The point is that the computation of $g_0$ is effective (albeit horrendous) and so is the determination of the permutations that fix $g_0$.</p>
http://mathoverflow.net/questions/22923/computing-the-galois-group-of-a-polynomial/22966#22966Answer by Jacques Carette for Computing the Galois group of a polynomialJacques Carette2010-04-29T11:59:21Z2010-04-29T11:59:21Z<p>The comments and SJR's answer show that there are indeed algorithms to compute this. But all of these suggestions are so far from effective, they can only be considered 'existence proofs' of an algorithm.</p>
<p>This is in fact a very active area of research, although it seems that most of this work has fallen completely under the radar of mainstream mathematicians, but this has been kept alive by a rogue band of mathematicians often calling a computer science department their home. Enough polemic, on to actual results. I find Alexander Hulpke's <a href="http://www.math.colostate.edu/~hulpke/paper/gov.pdf" rel="nofollow">Techniques for the Computation of Galois Groups</a> especially enlightening. Certain subcases, like that of the symmetric and alternating groups, can be found even more quickly (see <a href="http://dx.doi.org/10.1016/S0022-4049(99)00078-X" rel="nofollow">Fast recognition of alternating and symmetric Galois groups </a>).</p>
<p>Even better, there are excellent implementations of recent such algorithms in <a href="http://www.gap-system.org/" rel="nofollow">GAP</a>. Thus these computations are doubly effective.</p>
http://mathoverflow.net/questions/22923/computing-the-galois-group-of-a-polynomial/22972#22972Answer by javier for Computing the Galois group of a polynomialjavier2010-04-29T12:32:46Z2010-04-29T12:32:46Z<p>There is an essentially different algorithm from the ones mentioned above, due to N. Durov:</p>
<ul>
<li><p>N. V. Durov, Computation of the Galois group of a polynomial with rational coefficients. I. (Russian) Zap. Nauchn. Sem. S.-Peterburg. Otdel. Mat. Inst. Steklov. (POMI) 319 (2004), Vopr.Teor. Predst. Algebr. i Grupp. 11, 117–198, 301; English translation in J. Math. Sci. (N. Y.) 134 (2006), no. 6, 2511–2548 (MR2006b:12006)</p></li>
<li><p>N. V. Durov, Computation of the Galois group of a polynomial with rational coefficients. II. (Russian) Zap. Nauchn. Sem. S.-Peterburg. Otdel. Mat. Inst. Steklov. (POMI) 321 (2005), Vopr. Teor. Predst. Algebr. i Grupp. 12, 90–135, 298; English translation in J. Math. Sci. (N. Y.) 136 (2006), no. 3, 3880–3907 (MR2006e:12004)</p></li>
</ul>
<p>the algorithm is probabilistic, based on Chebotarev density theorem, and requires some random data as input; as far as I know, the algorithm ends with probability 1 for all equations provided that the Riemann hypothesis is true.</p>
http://mathoverflow.net/questions/22923/computing-the-galois-group-of-a-polynomial/28026#28026Answer by David Speyer for Computing the Galois group of a polynomialDavid Speyer2010-06-13T13:38:02Z2010-06-13T13:38:02Z<p>I have been told by Frank Sottile that the reason many computer algebra systems only do low degrees is the following: Let $H$ be a subgroup of $S_n$ and suppose that we want to test whether $\mathrm{Gal}(f)$ is contained in a conjugate of $H$. One can use the following test: As in SJR's answer, let $z_1$, $z_2$, ..., $z_n$ be the roots of $f$. Choose some low degree monomial $m:=\prod z_i^{a_i}$ and let $q = \sum_{h \in H} h(m)$. If the Galois group is contained in $H$, then $q$ will be rational. Let $F(t) = \prod_{g \in G/H} (t-g(q))$. The polynomial $F$ has rational coefficients and is computable using symmetric polynomials. Using the rational root theorem, it is "easy" to test whether $F$ has a rational root. ("Easy" is in quotes because it involves prime factorization, but my understanding was that this is not the bottleneck.) If it does for several choices of $m$, then it is highly plausible that $\mathrm{Gal}(f)$ is contained in a conjugate of $H$. </p>
<p>For small $n$, the lattice of subgroups of $S_n$ is such that, by running tests of this sort, you can rapidly zoom in on a candidate for $\mathrm{Gal}(f)$. Once you hit $n=11$, you run into the <a href="http://en.wikipedia.org/wiki/Mathieu_group" rel="nofollow">Matheiu groups</a>. At least as of a year ago, when Frank and I discussed this, he was very interested in finding good algorithms to test whether a Galois group was a subgroup of a Matheiu group. </p>