Golay Code

DOWNLOAD Mathematica Notebook

The Golay code is a perfect linear error-correcting code. There are two essentially distinct versions of the Golay code: a binary version and a ternary version.

The binary version G_(23) is a (23,12,7) binary linear code consisting of 2^(12)=4096 codewords of length 23 and minimum distance 7. The ternary version is a (11,6,5) ternary linear code, consisting of 3^6=729 codewords of length 11 with minimum distance 5.

A parity check matrix for the binary Golay code is given by the matrix H=(M I_(11)), where I_(11) is the 11×11 identity matrix and M is the 11×12 matrix

 M=[1 0 0 1 1 1 0 0 0 1 1 1; 1 0 1 0 1 1 0 1 1 0 0 1; 1 0 1 1 0 1 1 0 1 0 1 0; 1 0 1 1 1 0 1 1 0 1 0 0; 1 1 0 0 1 1 1 0 1 1 0 0; 1 1 0 1 0 1 1 1 0 0 0 1; 1 1 0 1 1 0 0 1 1 0 1 0; 1 1 1 0 0 1 0 1 0 1 1 0; 1 1 1 0 1 0 1 0 0 0 1 1; 1 1 1 1 0 0 0 0 1 1 0 1; 0 1 1 1 1 1 1 1 1 1 1 1].

By adding a parity check bit to each codeword in G_(23), the extended Golay code G_(24), which is a nearly perfect [24,12,8] binary linear code, is obtained. The automorphism group of G_(24) is the Mathieu group M_(24).

A second M_(24) generator is the adjacency matrix for the icosahedron, with J_(12)-I_(12) appended, where J_(12) is a unit matrix and I_(12) is an identity matrix.

A third M_(24) generator begins a list with the 24-bit 0 word (000...000) and repeatedly appends first 24-bit word that has eight or more differences from all words in the list. Conway and Sloane list many further methods.

Amazingly, Golay's original paper was barely a half-page long but has proven to have deep connections to group theory, graph theory, number theory, combinatorics, game theory, multidimensional geometry, and even particle physics.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.