QED
Boolean Algebra · step 9 of 13

NAND / NOR universality

NAND and NOR are each universal: every Boolean function can be built from copies of one of them alone. The construction always starts with negation — x↑x = x′ and x↓x = x′ — and then De Morgan supplies the rest. This is why real fabrication processes standardise on NAND, and why "convert this circuit to NAND-only" is a standard exam task.

Unlimited questions · marked criterion by criterion · no card needed

Method: how to approach it

The order below is what examiners expect to see, and each step carries its own marks.

  1. Build NOT firstTie both inputs together: x↑x = (x·x)′ = x′, and x↓x = (x + x)′ = x′.
  2. Build AND from NANDx·y = (x↑y)↑(x↑y) — one NAND then an inverting NAND.
  3. Build OR from NANDBy De Morgan, x + y = (x′·y′)′ = (x↑x)↑(y↑y).
  4. Convert whole circuits systematicallyPush bubbles through with De Morgan: an AND-OR two-level circuit becomes NAND-NAND with no change to the gate topology.

Worked example

Express x + y using only NOR gates (↓).

  1. x ↓ y = (x + y)′.
  2. So x + y is the complement of x ↓ y.
  3. Complement using NOR: (x ↓ y) ↓ (x ↓ y).
  4. Check: if x = 1, y = 0, then x↓y = 0 and 0↓0 = 1 ✓.

Answer. x + y = (x ↓ y) ↓ (x ↓ y) — two NOR gates.

Where marks get dropped

These are the specific errors that cost credit on nand / nor universality questions — QED's rubric penalises each of them separately.

Practise this until it is automatic

Unlimited fresh questions

QED generates new nand / nor universality problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.

Marked like an examiner

Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.

Answer in real notation

A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.

Saved to your library

Every question you generate is kept and re-takeable as a timed exam, and your Boolean Algebra mastery is tracked so you know when this is exam-ready.

NAND / NOR universality — frequently asked questions

Why is NAND preferred in CMOS?

A CMOS NAND uses fewer transistors than a NOR of the same fan-in and has better performance because it stacks PMOS transistors in parallel rather than in series.

Are there other universal gates?

Any gate whose function is not truth-preserving, falsity-preserving, monotone, affine or self-dual is universal on its own — by Post’s theorem, NAND and NOR are the only universal binary gates.

Does AND-OR to NAND-NAND change the logic?

No. Inserting two bubbles on each internal wire cancels, so the two-level topology is preserved exactly — which is why the conversion is mechanical.

The rest of Boolean Algebra

Axioms, laws, simplification and Boolean functions. Each subtopic below has its own method, worked example and mark-losing traps.

Ready to make nand / nor universality exam-proof?

Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.

Start practising free →