LearnViz Math
Expert ▦ Linear Algebra Topic 98 of 104

Error-Correcting Codes

Hamming and linear codes detect and repair errors.

Key idea

Hamming and linear codes detect and repair errors.

In depth

A linear code is a subspace of Fⁿ. A parity-check matrix H detects errors via Hx = 0, and the syndrome Hr identifies where a received word r went wrong. Hamming codes correct a single error.

Worked example

A Hamming (7,4) code uses 3 parity bits to correct any single-bit error.

Real-world uses

Common mistake

Expecting to correct more errors than the minimum distance allows.

How to learn this

  1. Read the key idea and say it in your own words.
  2. Work through the worked example, then try a similar problem.
  3. Use the interactive lesson’s visual and mini-quiz to check the pattern.

Frequently asked questions

What is Error-Correcting Codes?

Hamming and linear codes detect and repair errors. It is a topic at the expert level in Linear Algebra.

Where is Error-Correcting Codes used in real life?

Real-world examples: Repairing damaged data on DVDs, satellite links and computer memory.

What should I learn before Error-Correcting Codes?

Make sure you are comfortable with Linear Algebra over Finite Fields, the previous topic in Linear Algebra.

What is a common mistake with Error-Correcting Codes?

Expecting to correct more errors than the minimum distance allows.

How can I practise Error-Correcting Codes?

Open the interactive lesson, play with the visual, then answer the three-question mini-quiz. Getting two right marks the topic complete.

What comes after Error-Correcting Codes?

Move on to Network Flows and Matrices next.

Related expert topics in Linear Algebra