← All tools
EDTOOLKITS GUIDES

The XOR Problem: Why One Line Cannot Separate Four Corners

By Team Edtoolkits · AI learning

Adjust hand-set units and compare single-boundary classification with a two-unit combination.

Use the guide alongside the working tool.

Open The XOR Problem: Why One Neuron Is Not Enough →

Explore the lesson

Watch single lines fail on four XOR points.

Try one line, then use two lines with a combining layer.

Flip the memory card and answer the quick check.

A comparison to try

Inspect the four labelled corners and try separating the positive pair with one line. Then use the two-unit solution and compare AND with OR while keeping the unit boundaries fixed.

Read the result

The positive corners sit diagonally apart, so a single linear boundary cannot classify all four. Two intermediate decisions combined appropriately solve the pattern; changing only the combination can break the solution.

A mistake to avoid

The units are set by hand over four fixed points. This demonstrates representational capacity, not a training algorithm discovering it. A network that can express a rule still needs suitable data and optimization to learn a useful version in practice.

Teaching model and privacy

A teaching version with four fixed points and units that you adjust by hand. Real networks learn their lines automatically from data. Nothing leaves your browser.

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE