XOR Gate Truth Table and Symbol

The XOR gate provides HIGH output only when its inputs have opposite logic levels. If both inputs are the same, the output is LOW.

Symbol of XOR Gate

XOR Gate Truth Table

If A and B are the two inputs of the XOR gate and X is the output then XOR gate truth table is:

ABX
000
011
101
110

Analytical Function of XOR Gate

XOR gate can be mathematically expressed by equation:

F = |X – Y|

where

X = Input 1

Y = Input 2

Let’s analyze the function for four different conditions

  1. F(0, 0) = |0 – 0| = 0
  2. F(0,1) = |0 – 1| = |-1| = 1
  3. F(1,0) = |1 – 0| = 1
  4. F(1,1) = |1 – 1| = 0

Summary

Electrical Calculators © 2018-2023