Concept

The XOR Problem

A single perceptron can easily compute linearly separable logical functions like OR and AND, but it cannot compute the logical XOR function. Because a perceptron acts as a linear classifier, it creates a straight decision boundary in a two-dimensional space. While the outputs of OR and AND can be separated by a straight line, the outputs of XOR cannot be linearly separated. As shown in the accompanying figure, where x1x_1 and x2x_2 are inputs, no straight line can correctly separate the filled circles (outputs of 1) from the white circles (outputs of 0).

Image 0

0

1

Updated 2026-06-16

Tags

Data Science