Full truth table — NOT gate

intro2 rows, output is the complement

Answer

output column 10

Why this example is worth doing

Two rows, and the page uses the space to deal with notation instead. The same operation is written Ā, A′, ¬A, !A, ~A and NOT A depending on the textbook, the language and the century, and the parser accepts every one of them. Declaring that up front removes the most common reason a student's pasted expression fails to parse, and the overline is rendered as styled markup rather than a combining character because combining overlines break across browsers.

Try your own input in the NOT gate. Truth table, symbol and algebraic form for the inverter, Ā.

How the answer is reached

Truth table

Truth table — columns #, A, A′
#AA′
001
110

Compare with

Open the NOT gate

This input is entered in the tool itself — it is too rich for a link to carry.

Note:

Notation this page assumes

  • Symbols: · is AND, + is OR, ⊕ is XOR, a prime or an overline is NOT. The field also takes ∧ ∨ ¬ ~ ! & | and the words.
  • Operator precedence, tightest first: NOT, then AND (including juxtaposition), then XOR/XNOR, then NAND/NOR, then OR, then IMPLIES, then IFF.
  • Gate symbols follow whichever standard the header toggle is set to: ANSI/IEEE Std 91-1984 distinctive shapes, or IEC 60617-12 rectangles.

Sources

  • ANSI/IEEE Std 91-1984, Graphic Symbols for Logic Functions
  • IEC 60617-12, Graphical Symbols for Diagrams — Binary Logic Elements