The NOT gate, or inverter, is the simplest gate there is. It has one input A and one output Y, and Y is always the complement of A:
- A = 0 gives Y = 1.
- A = 1 gives Y = 0.
In expressions it is written , read "not A" or "A prime". Many books draw a bar over the letter instead; the meaning is the same.
The symbol is a triangle pointing in the direction the signal travels, with a small circle at its tip. That circle, the bubble, is what does the inverting. A triangle with no bubble is a plain buffer, which passes the signal through unchanged.
Why you need it: AND and OR alone can never turn a 1 into a 0, so any function that needs a complemented input, like , needs an inverter somewhere. In practice you rarely need a separate NOT gate. A NAND or NOR with its inputs tied together works as one, and bubbles on other gates' inputs or outputs do the same job.
Two inverters in a row cancel out, a fact called double inversion.