WHAT — "Functional completeness" means a set of gates can express any truth table. The classic complete set is {AND,OR,NOT}. If a single gate can reproduce all three of these, that gate alone is complete = universal.
WHY does one gate suffice? Because AND/OR/NOT are themselves built from more primitive operations, and both NAND and NOR already contain a NOT inside them. Once you have NOT for free, you can un-invert your way to AND and OR.
HOW — Strategy: show NAND (or NOR) can make NOT, AND, OR. Since {AND,OR,NOT} is known complete, that transitively proves the single gate is complete.
Imagine you have only one kind of LEGO brick, but it's a magic brick that says "NOT both." With enough of these magic bricks snapped together, you can build any toy machine — a calculator, a game, anything. You never need a different brick. The trick: the magic brick already knows how to say "no" (invert), and once you can say "no," you can rebuild all the other bricks (AND, OR, NOT) out of it. NAND and NOR are those magic bricks.
Universal gate ka matlab hai ek aisa single gate jisse aap koi bhi Boolean function bana sakte ho. NAND aur NOR dono universal hain. Iska practical fayda ye hai ki factory ko sirf ek hi type ka chip banana padta hai — sasta, standard, aur usi se pura CPU, memory, adder sab ban jaata hai.
Kaam kaise karta hai? Dhyaan do — NAND ke andar pehle se hi ek NOT chhupa hua hota hai (AB). Agar dono input same kar do (A↑A), toh A mil jaata hai, matlab NOT free me. Ek baar NOT mil gaya, toh AND banao NAND ko invert karke (2 gates), aur OR banao De Morgan se — dono input pehle invert karo phir NAND karo (3 gates). Jab NOT, AND, OR teeno ban gaye, toh proof complete: NAND universal hai. NOR ke liye bilkul ulta — OR sasta (2 gate), AND mehnga (3 gate), duality ki wajah se.
Sabse common galti: log sochte hain AND ya OR bhi universal hain. Nahi! AND/OR invert nahi kar sakte (monotonic hain) — jab tak gate me NOT nahi hoga, universal nahi ho sakta. Isliye sirf NAND/NOR hi jaadu ki brick hain. Exam me yaad rakho: OR-from-NAND me pehle inputs invert karna De Morgan ke wajah se zaroori hai, warna answer galat aayega.