Revisiting the AND function, for certain values of , the perceptron may not give us the correct output for a fixed bias . For example, if we have two inputs , such that and with fixed at , the point will be in the negative half-space, since for this input.

Notice that the positive half-space this time is to the left of the separator. Similarly, for various other combinations of , some points may be classified incorrectly. Hence, we are interested in finding a combination of weights such that the error is minimum.