Skip to main contentSkip to navigation
ThisIsHowItWorks.in

Complex systems, clearly explained.

An independent visual publication explaining the invisible protocols, networks, infrastructure, and mechanisms that run our world.

Explainers

  • How UPI Works
  • Offline UPI Mechanisms
  • All Explainers (Archive)
  • Topics & Roadmap
  • Curated Library

Publication

  • About Publication
  • Editorial Principles
  • Theme Index
  • Technical Lexicon
  • Open Questions
  • Changelog
  • RSS / Atom Feed

Legal & Contact

  • Privacy Policy
  • Terms of Use
  • Editorial & Legal Notice
  • Contact Us

Connect

  • Instagram
  • Discord Community
© 2026 ThisIsHowItWorks.in. All rights reserved.
Durable technical understanding built from first principles.
ThisIsHowItWorks.in
ExploreTopicsPathsAbout
  1. Home
  2. /Topics
  3. /Learning Paths & Knowledge Map
Knowledge Architecture & Guided Sequences

First-Principles Learning Paths

Complex systems are never isolated. Each learning path begins with a familiar question, establishes the physical or mathematical prerequisites, and guides you step by step from foundational mechanisms to modern civilization-scale infrastructure.

01How Electricity Powers Modern Civilization02How Computers Execute and Store Information03How Digital Payments and Banking Infrastructure Work04How the Internet Carries Information Around the World05How Chemistry Explains Matter, Reactions, and Batteries06How AI Systems Reason and Act in the Real World
Learning Path 01 · Physics & Infrastructure6 Core Steps · 3 Deeper Branches

How Electricity Powers Modern Civilization

Trace electrical energy from first-principles charge and Faraday induction to utility steam turbines, 400 kV step-up transformers, continental frequency balance, and industrial induction motors.

Starting Question

“How do moving electrons in a power station turbine travel hundreds of kilometers without melting the transmission wires—and stay locked to 50 or 60 Hz across an entire continent?”

Recommended Prerequisite Concepts
  • •Electric Charge, Voltage Potential & Direct vs. Alternating Current
  • •Conservation of Energy & Electrical Power (P = V · I)
  • •Magnetic Fields & Electromagnetic Force

Core First-Principles Sequence (6 Explainers)

  1. 1
    Step 1 · physics22 min read

    How Humans Discovered Electricity

    Why this step matters: Establishes what electric charge, voltage potential, and continuous current actually are—from static triboelectricity to Alessandro Volta’s first electrochemical pile.

    Electric ChargeVoltage PotentialVoltaic Pile
    Read
  2. 2
    Step 2 · physics24 min read

    How Electromagnetism Unifies Nature

    Why this step matters: Reveals the physical bridge between electricity and magnetism: Oersted’s current-generated magnetic fields, Faraday’s law of induction (E = -N dΦ/dt), and Maxwell’s equations.

    Faraday's Law of InductionMagnetic FluxMaxwell's Equations
    Read
  3. 3
    Step 3 · Machines26 min read

    How Steam Turbines and Generators Produce Electricity

    Why this step matters: Shows how Rankine thermal cycles spin a magnetized rotor inside copper stator windings to induce three-phase alternating current at utility scale.

    Rankine Steam CycleSynchronous AlternatorThree-Phase AC
    Read
  4. 4
    Step 4 · Machines22 min read

    How Electrical Transformers Step Voltage Up and Down

    Why this step matters: Explains why long-distance transmission requires stepping voltage up to 400–765 kV via mutual induction inside laminated silicon-steel cores to defeat resistive I²R heating.

    Turns Ratio (Vs/Vp = Ns/Np)Joule Heating (P = I²R)Eddy Current Laminations
    Read
  5. 5
    Step 5 · Infrastructure & Utility Networks20 min read

    How the Electrical Grid Maintains Frequency Balance

    Why this step matters: Traces how thousands of generators act as a single electromagnetically locked rotor where any load-generation mismatch immediately shifts grid frequency away from 50/60 Hz.

    Rotational Grid Inertia50/60 Hz SynchronizationDroop Governor Control
    Read
  6. 6
    Step 6 · machines24 min read

    How Electric Motors Work

    Why this step matters: Completes the circuit at the point of use—showing how three-phase rotating magnetic fields and Lorentz forces convert grid electricity back into mechanical torque.

    Rotating Magnetic FieldLorentz ForceBack-EMF
    Read

Optional Deeper Explorations & Cross-Domain Connections

Explains a mechanism used by24 min read

How Thermodynamics Dictates the Arrow of Time

Explains why Carnot efficiency limits thermal power stations to converting roughly 40–60% of combustion or nuclear heat into electrical work.

physicsExplore
Applies principle from24 min read

How Refrigerators and Heat Pumps Work

Shows how electric compressor motors drive vapor-compression thermodynamic cycles to pump heat against a temperature gradient.

machinesExplore
Contrasts with19 min read

How Batteries Convert Chemical Energy into Electrical Energy

Contrasts synchronous AC electromagnetic power generation against localized DC electrochemical redox storage.

Chemistry & MatterExplore
Path Endpoint — What You Can Explain After Completing This Sequence

You can trace a single watt of electrical power from the thermodynamic steam cycle and Faraday flux induction inside a generator, through 400 kV step-up substation transformers and continental 50/60 Hz inertia control loops, down to the rotating magnetic field of an induction motor.

Learning Path 02 · Computing & Silicon Architecture8 Core Steps · 5 Deeper Branches

How Computers Execute and Store Information

Progress from quantum band gaps in doped silicon to CMOS logic gates, binary adders, pipelined CPU instruction execution, coherent SRAM caches, and operating system kernels.

Starting Question

“How does purified quartz sand doped with boron and phosphorus become a microprocessor capable of executing billions of arithmetic instructions and running an operating system every second?”

Recommended Prerequisite Concepts
  • •Positional Place-Value Notation & Base-2 Binary Numbers
  • •Electrical Voltage Thresholds & Capacitive Charge Storage
  • •Piezoelectric Quartz Harmonic Oscillation

Core First-Principles Sequence (8 Explainers)

  1. 1
    Step 1 · Physics18 min read

    How Semiconductors and Transistors Actually Work

    Why this step matters: Explains how doping silicon crystals creates p-n junctions and voltage-controlled MOSFET switches with zero moving parts.

    Silicon Band GapN-Type & P-Type DopingMOSFET Inversion Channel
    Read
  2. 2
    Step 2 · computing24 min read

    How Binary and Logic Gates Became Computation

    Why this step matters: Shows how Claude Shannon mapped George Boole’s symbolic logic onto physical on/off switches (AND, OR, NOT, XOR) to represent numbers and decisions.

    Boolean AlgebraTruth TablesXOR Gate
    Read
  3. 3
    Step 3 · Computing22 min read

    How CMOS Transistors Form Logic Gates

    Why this step matters: Details how complementary PMOS pull-up and NMOS pull-down transistor networks implement logic gates with near-zero static power dissipation.

    CMOS Push-Pull TopologyStatic vs. Dynamic PowerPropagation Delay
    Read
  4. 4
    Step 4 · Computing24 min read

    How Binary Arithmetic Logic Units Actually Add Numbers

    Why this step matters: Combines XOR and AND gates into half-adders, full-adders, and carry-lookahead circuits that perform binary addition, subtraction, and comparisons in picoseconds.

    Full AdderCarry-Lookahead LogicTwo's Complement Subtraction
    Read
  5. 5
    Step 5 · computing24 min read

    How a CPU Executes an Instruction

    Why this step matters: Steps through the Fetch–Decode–Execute–Writeback pipeline, register files, branch prediction, and out-of-order execution inside a modern processor core.

    Instruction PipelineRegister FileBranch Prediction
    Read
  6. 6
    Step 6 · Computing23 min read

    How CPU Cache Hierarchies Overcome the Memory Wall

    Why this step matters: Explains why main DRAM is hundreds of times slower than the ALU—and how L1/L2/L3 SRAM caches and MESI coherence protocols prevent processor stalls.

    SRAM vs. DRAM LatencySpatial & Temporal LocalityMESI Cache Coherence
    Read
  7. 7
    Step 7 · Computing18 min read

    How an Operating System Actually Runs Software

    Why this step matters: Reaches the software abstraction layer: how the OS kernel uses hardware timer interrupts, virtual-memory page tables, and system calls to multiplex applications safely.

    Kernel vs. User ModeVirtual Memory & Page TablesPreemptive Context Switching
    Read
  8. 8
    Step 8 · Computing24 min read

    How Compilers Translate Human Code into Machine Instructions

    Why this step matters: Completes the journey from human thought to silicon execution: how compilers lex, parse, optimize via SSA form, and allocate hardware registers to emit native machine code.

    Abstract Syntax Tree (AST)Static Single Assignment (SSA)Graph-Coloring Register AllocationABI Calling Conventions
    Read

Optional Deeper Explorations & Cross-Domain Connections

Explains a mechanism used by22 min read

How the CPU Clock Synchronizes Billions of Transistors

Explains how phase-locked loops and H-tree clock networks synchronize state transitions across billions of flip-flops without timing violations.

ComputingExplore
Builds upon17 min read

How Computer Memory (RAM) Actually Works

Examines the microscopic 1T1C capacitor arrays, row/column sense amplifiers, and 64 ms refresh cycles of volatile DRAM.

ComputingExplore
Contrasts with19 min read

How Solid-State Drives (SSDs) and Flash Memory Store Data Without Power

Contrasts volatile DRAM capacitors with quantum Fowler–Nordheim electron tunneling inside non-volatile 3D NAND flash SSDs.

ComputingExplore
Explains a mechanism used by25 min read

How Does Photolithography Print Billions of Transistors on a Silicon Wafer?

Reveals the industrial manufacturing miracle behind microchips: how laser-produced tin plasma EUV light, Bragg mirrors, and nanometer photoresists print 50 billion microscopic MOSFETs on a single silicon wafer.

MachinesExplore
Applies principle from16 min read

How Large Language Models Generate Text

Shows how hardware matrix arithmetic units execute billions of floating-point dot products to generate tokens in large language models.

Computing & AIExplore
Path Endpoint — What You Can Explain After Completing This Sequence

You understand the entire computing stack without black boxes: how electric fields in doped silicon form CMOS logic gates, how gates compose into a clocked ALU and pipelined CPU with coherent SRAM caches, and how an operating system kernel schedules virtual-memory processes on top of that hardware.

Learning Path 03 · Money, Banking & Financial Rails6 Core Steps · 4 Deeper Branches

How Digital Payments and Banking Infrastructure Work

Follow money from ancient Mesopotamian credit ledgers and standardized coinage to central bank RTGS reserve accounts, EMV chip cryptograms, and instant UPI switches.

Starting Question

“When you tap a credit card or scan a UPI QR code and see "Payment Successful" in under two seconds, what messages actually travel across banking switches—and when does real money move between banks?”

Recommended Prerequisite Concepts
  • •Double-Entry Ledgers (Assets, Liabilities & Commercial Bank Deposits)
  • •Cryptographic Hash Functions (HMAC) & Asymmetric Digital Signatures
  • •Atomic Two-Phase Commit & Deferred Netting

Core First-Principles Sequence (6 Explainers)

  1. 1
    Step 1 · money-banking22 min read

    Why Humans Invented Money

    Why this step matters: Establishes the foundational insight of monetary history: credit tallies and unit-of-account ledgers preceded physical coinage by millennia.

    Double Coincidence of WantsCredit TalliesUnit of Account
    Read
  2. 2
    Step 2 · Origins & Human Systems20 min read

    How Standardized Coinage Transformed Trade

    Why this step matters: Traces how sovereign weight-and-purity stamps solved asymmetric assay verification costs and created standardized state clearing.

    Electrum AssayingSovereign SeigniorageFungibility
    Read
  3. 3
    Step 3 · Financial Rails16 min read

    How Money Moves Between Banks

    Why this step matters: Reveals modern wholesale settlement: commercial banks do not send cash over the internet, but debit and credit reserve accounts on the central bank’s core ledger (e-Kuber RTGS and NEFT).

    Central Bank Reserves (M0)RTGS Gross SettlementMultilateral Net Settlement (MNSB)
    Read
  4. 4
    Step 4 · Financial Rails13 min read

    Why Bank Transfers Used to Take Hours (and Days)

    Why this step matters: Explains the engineering evolution from paper cheque truncation and half-hourly deferred net settlement batches to continuous 24x7 real-time rails.

    Deferred Net Settlement (DNS)Cheque Truncation System (CTS)Liquidity Netting
    Read
  5. 5
    Step 5 · Financial Rails16 min read

    How Credit Cards Actually Work

    Why this step matters: Deconstructs the dual-message four-party card model: EMV chip cryptograms (ARQC), ISO 8583 authorization holds in two seconds, and T+1 interchange batch clearing.

    Four-Party ModelEMV ARQC CryptogramISO 8583 Authorization vs. Settlement
    Read
  6. 6
    Step 6 · Financial Rails16 min read

    How UPI Works

    Why this step matters: Contrasts pull-based card rails with sovereign real-time push architecture: Virtual Payment Addresses, Common Library PIN encryption, atomic bank core updates, and RTGS net settlement.

    Virtual Payment Address (VPA)NPCI Common LibraryTwo-Phase Atomic Debit/Credit
    Read

Optional Deeper Explorations & Cross-Domain Connections

Builds upon13 min read

Why a Card Payment Sometimes Takes a Few Seconds to Confirm

Breaks down the millisecond latency budget across POS terminal, acquirer gateway, global card switch, and issuer Hardware Security Module (HSM).

Financial RailsExplore
Builds upon14 min read

How UPI Works Without an Internet Connection

Explores how *99# USSD over GSM SS7 signaling, voice IVR, and on-device NFC Lite wallets execute payments without mobile internet.

Financial RailsExplore
Explains a mechanism used by17 min read

How Barcodes and QR Codes Encode Information

Explains how 1:1:3:1:1 finder patterns and GF(2^8) Reed-Solomon error correction encode merchant VPA payloads onto counter stickers.

Everyday SystemsExplore
Explains a mechanism used by15 min read

How OTP and Two-Factor Authentication Actually Work

Explains the shared-secret HMAC and time-step authentication principles used across banking security.

Security & InfrastructureExplore
Path Endpoint — What You Can Explain After Completing This Sequence

You can distinguish instant retail authorization from central-bank reserve settlement, trace every cryptographic signature in both an EMV card tap and a UPI QR scan, and explain how commercial banks net trillions in obligations across central bank books without double-spending.

Learning Path 04 · Networks & Telecommunications7 Core Steps · 4 Deeper Branches

How the Internet Carries Information Around the World

Follow a network request across every physical and protocol layer: BGP autonomous systems, IP packet hops, submarine optical amplifiers, 802.11 Wi-Fi radio modulation, Anycast DNS, and TLS cryptography.

Starting Question

“When you tap a link or type a web address on your phone, how do your request packets travel through air as radio waves and across ocean floors as laser pulses to fetch a webpage in milliseconds?”

Recommended Prerequisite Concepts
  • •Binary Bitstreams & Packet Header Encapsulation
  • •Electromagnetic Spectrum (Microwave Radio vs. 1550 nm Infrared Light)
  • •Modular Arithmetic & One-Way Trapdoor Functions

Core First-Principles Sequence (7 Explainers)

  1. 1
    Step 1 · Networks & Telecommunications17 min read

    How the Internet Actually Works

    Why this step matters: Introduces the global network of networks: 115,000+ independent Autonomous Systems exchanging reachability paths via BGP-4 and forwarding 1,500-byte packets without central control.

    Autonomous System (AS)Border Gateway Protocol (BGP-4)Packet Switching
    Read
  2. 2
    Step 2 · Networks & Telecommunications18 min read

    How Packets Actually Travel Across the Internet

    Why this step matters: Follows an individual packet hop-by-hop: TCP segmentation, IPv4/IPv6 TTL decrementing, longest-prefix-match TCAM lookups, and dynamic rerouting around severed links.

    Time-to-Live (TTL)Longest Prefix Match (LPM)TCP Congestion Control
    Read
  3. 3
    Step 3 · Networks & Telecommunications18 min read

    How Fiber-Optic Cables Carry Light Across Oceans

    Why this step matters: Descends to the ocean floor where 99% of intercontinental traffic travels as 1550 nm infrared laser light through silica fibers amplified every 70 km by erbium-doped optical repeaters (EDFAs).

    Total Internal ReflectionDense Wavelength Division Multiplexing (DWDM)Erbium-Doped Fiber Amplifier (EDFA)
    Read
  4. 4
    Step 4 · Networks & Telecommunications17 min read

    How Wi-Fi Actually Works

    Why this step matters: Explains the wireless last hop: how your router maps digital bits onto 2.4/5/6 GHz QAM radio subcarriers (OFDMA) and coordinates airtime via CSMA/CA collision avoidance.

    Quadrature Amplitude Modulation (QAM)OFDMA SubcarriersCSMA/CA Contention
    Read
  5. 5
    Step 5 · Networks & Telecommunications24 min read

    How Cellular Networks Route Calls and Data

    Why this step matters: Extends wireless routing to mobile wide-area telecommunications: microsecond base station MAC scheduling, RRC connection handshakes, seamless inter-tower handovers, and GTP tunnels across LTE and 5G cores.

    Physical Resource Block (PRB)Inter-Cell Handover (X2/Xn)GTP-U TunnelingVoLTE / VoNR GBR Bearers
    Read
  6. 6
    Step 6 · Networks & Telecommunications16 min read

    What Happens When You Type a Website Address

    Why this step matters: Connects packet transport to the application layer: hierarchical Anycast DNS resolution, the TCP three-way handshake, TLS 1.3 key exchange, and browser DOM rendering.

    Anycast DNS HierarchyTCP Three-Way HandshakeTLS 1.3 Handshake
    Read
  7. 7
    Step 7 · Security & Modern Authentication18 min read

    How Public-Key Cryptography Actually Works

    Why this step matters: Explains the mathematical miracle behind HTTPS and TLS: how two computers that have never met establish an encrypted channel over public fiber using Diffie-Hellman and elliptic-curve cryptography.

    Diffie-Hellman Key ExchangeElliptic-Curve Cryptography (ECC)Digital Certificates
    Read

Optional Deeper Explorations & Cross-Domain Connections

Builds upon15 min read

Why Wi-Fi Gets Worse Through Walls

Explains dielectric water absorption, concrete rebar reflection, and why 2.4 GHz waves penetrate walls better than 5 GHz and 6 GHz.

Networks & TelecommunicationsExplore
Applies principle from17 min read

How Search Engines Actually Work

Shows how distributed web crawlers, inverted postings indexes, BM25, and PageRank organize the billions of webpages reachable across the internet.

Computing & Artificial IntelligenceExplore
Explains a mechanism used by16 min read

How Touchscreens Detect Your Finger

Explains how the mutual-capacitance ITO electrode grid on your smartphone glass detects the physical tap that initiates a network request.

Everyday SystemsExplore
Explains a mechanism used by24 min read

How Do Lasers Generate Coherent, Monochromatic Light?

Explains the quantum physics of stimulated emission, population inversion, and semiconductor laser diodes powering the 1550 nm infrared light traveling through transoceanic fiber cables.

PhysicsExplore
Path Endpoint — What You Can Explain After Completing This Sequence

You can trace a web request across every physical and protocol layer—from a capacitive finger tap and 802.11 QAM radio waves, through Anycast DNS, BGP autonomous systems, and erbium-doped submarine fiber-optic repeaters, to a TLS 1.3 elliptic-curve handshake.

Learning Path 05 · Chemistry, Matter & Electrochemistry7 Core Steps · 4 Deeper Branches

How Chemistry Explains Matter, Reactions, and Batteries

Build from subatomic quantum orbitals and periodic shell filling to covalent bonding, reaction kinetics, Gibbs free-energy equilibrium, acid-base proton transfer, and lithium-ion batteries.

Starting Question

“How do quantum electron orbitals and thermodynamic free energy govern which atoms bond together, why chemical reactions release energy, and how a lithium-ion battery pushes current through a circuit?”

Recommended Prerequisite Concepts
  • •Electrostatic Coulomb Attraction & Repulsion
  • •Conservation of Mass & Thermal Kinetic Energy
  • •Second Law of Thermodynamics & Entropy (S)

Core First-Principles Sequence (7 Explainers)

  1. 1
    Step 1 · Chemistry & Matter17 min read

    What Is an Atom Actually Made Of?

    Why this step matters: Establishes the subatomic architecture of matter: a dense femtometer nucleus of protons and neutrons surrounded by probabilistic quantum electron orbitals.

    Protons, Neutrons & QuarksQuantum Wavefunctions (s, p, d, f)Pauli Exclusion Principle
    Read
  2. 2
    Step 2 · Chemistry & Matter18 min read

    How the Periodic Table Organizes the Elements

    Why this step matters: Shows how sequential electron shell filling creates periodic families with predictable atomic radii, ionization energies, and electronegativity.

    Valence ElectronsEffective Nuclear Charge (Zeff)Electronegativity Trends
    Read
  3. 3
    Step 3 · Chemistry & Matter18 min read

    How Chemical Bonds Actually Form

    Why this step matters: Explains why atoms lower their potential energy by sharing or transferring valence electrons in covalent, ionic, and metallic bonds.

    Covalent Orbital OverlapIonic Lattice EnergyElectronegativity Difference
    Read
  4. 4
    Step 4 · Chemistry & Matter18 min read

    How Chemical Reactions Actually Work

    Why this step matters: Traces what happens when bonds break and rearrange: molecular collision geometry, transition-state activation energy (Ea), enthalpy (ΔH), and redox electron transfer.

    Activation Energy (Ea)Exothermic vs. Endothermic (ΔH)Redox Electron Transfer
    Read
  5. 5
    Step 5 · Chemistry & Matter18 min read

    How Chemical Equilibrium and Entropy Work

    Why this step matters: Introduces Gibbs free energy (ΔG = ΔH - TΔS) and the reaction quotient (Q), explaining why reactions run spontaneously until forward and reverse rates balance at equilibrium (K).

    Gibbs Free Energy (ΔG)Reaction Quotient (Q) vs. Equilibrium (K)Le Chatelier's Principle
    Read
  6. 6
    Step 6 · Chemistry & Matter18 min read

    How Acids, Bases, and pH Actually Work

    Why this step matters: Examines proton (H+) donor/acceptor equilibria in aqueous solutions, logarithmic pH scales, and conjugate buffer systems.

    Brønsted-Lowry Proton TransferLogarithmic pH ScaleBuffer Equilibrium
    Read
  7. 7
    Step 7 · Chemistry & Matter19 min read

    How Batteries Convert Chemical Energy into Electrical Energy

    Why this step matters: Culminates in electrochemistry: how separating spontaneous redox half-reactions across an ion-conducting electrolyte forces electrons through an external circuit, governed by ΔG = -nFE and the Nernst equation.

    Redox Half-Cell Potentials (E°)The Nernst EquationLithium-Ion Intercalation & SEI
    Read

Optional Deeper Explorations & Cross-Domain Connections

Applies principle from20 min read

How Enzymes Catalyze the Reactions of Life

Shows how folded biological proteins stabilize transition states to lower chemical activation energy barriers (Ea) by orders of magnitude at 37 °C.

Life & Evolutionary BiologyExplore
Applies principle from22 min read

How Cellular Respiration and ATP Power Living Cells

Reveals how mitochondria operate as biological redox cascades, using electron transport chains to pump protons (H+) and synthesize ATP.

Life & Evolutionary BiologyExplore
Applies principle from24 min read

How Neurons Communicate Electrically and Chemically

Shows how the exact same Nernst equation governs resting ion membrane potentials (-70 mV) and action potentials inside the human brain.

human-bodyExplore
Applies principle from25 min read

How Antibiotics Target Bacteria and Why Resistance Evolves

Illustrates transition-state enzyme inhibition and stereochemical mimicry, showing how strained beta-lactam rings covalently block transpeptidase cross-linking to lyse bacterial cell walls under osmotic turgor pressure.

human-bodyExplore
Path Endpoint — What You Can Explain After Completing This Sequence

You can connect quantum valence shells to macroscopic electrochemistry: explaining why chemical bonds form, how Gibbs free energy (ΔG) drives reactions toward equilibrium, and how the Nernst equation governs voltage in both a lithium-ion battery and a living neuron.

Learning Path 06 · Artificial Intelligence & Autonomous Systems4 Core Steps · 3 Deeper Branches

How AI Systems Reason and Act in the Real World

Trace modern artificial intelligence from transformer self-attention and next-token probability distributions to autonomous agent loops and structured tool execution.

Starting Question

“How does a neural network trained only to predict the next token become an autonomous software agent capable of invoking external APIs, querying databases, and executing multi-step plans?”

Recommended Prerequisite Concepts
  • •High-Dimensional Vector Embeddings & Matrix Dot Products
  • •Conditional Probability Distributions & Softmax Logit Sampling
  • •Structured JSON Schemas & Deterministic Runtime Sandboxes

Core First-Principles Sequence (4 Explainers)

  1. 1
    Step 1 · Computing & AI16 min read

    How Large Language Models Generate Text

    Why this step matters: Establishes the cognitive engine: subword BPE tokenization, high-dimensional vector embeddings, multi-head self-attention (Q, K, V matrices), and autoregressive next-token probability sampling.

    Subword Tokenization (BPE)Multi-Head Self-AttentionSoftmax Temperature Sampling
    Read
  2. 2
    Step 2 · Computing & Artificial Intelligence24 min read

    How Transformers Changed AI

    Why this step matters: Explains the architectural revolution that solved sequential recurrence, detailing scaled dot-product attention mathematics, multi-head representation subspaces, and empirical neural scaling laws.

    Scaled Dot-Product AttentionMulti-Head AttentionNeural Scaling Laws
    Read
  3. 3
    Step 3 · Computing & AI14 min read

    How AI Agents Work

    Why this step matters: Wraps the stateless language model inside an iterative runtime harness—introducing the Observe–Think–Act–Reflect control loop, working context windows, and persistent episodic memory.

    Observe–Think–Act–Reflect LoopContext Window StateEpisodic & Vector Memory
    Read
  4. 4
    Step 4 · Computing & AI11 min read

    How an AI Agent Decides Which Tool to Use

    Why this step matters: Shows how probabilistic token generation bridges to deterministic software execution via JSON schema constrained decoding, semantic tool routing, and host runtime validation.

    JSON Schema Constrained DecodingTool Routing & SelectionExecution Error Recovery
    Read

Optional Deeper Explorations & Cross-Domain Connections

Explains a mechanism used by24 min read

How Linear Algebra Transforms Dimensions

Explains the matrix multiplications, basis transformations, and dot-product projections that power every attention layer inside a transformer.

mathematicsExplore
Explains a mechanism used by24 min read

How Probability Measures Uncertainty

Explains conditional probability, Bayes’ theorem, and entropy—the mathematical foundation of next-token language modeling.

mathematicsExplore
Applies principle from17 min read

How Search Engines Actually Work

Explains how inverted indexes, BM25 lexical scoring, and dense vector embeddings power the retrieval-augmented generation (RAG) tools used by AI agents.

Computing & Artificial IntelligenceExplore
Path Endpoint — What You Can Explain After Completing This Sequence

You can trace an AI system from matrix dot products and softmax token probabilities inside a transformer, through the iterative Observe–Think–Act–Reflect runtime loop, to constrained JSON tool calls verified by a host sandbox.

Unifying Mechanisms

Cross-Discipline Bridge Concepts

The same physical laws and mathematical invariants recur across seemingly unrelated domains—connecting batteries to brain neurons, quartz clocks to GPS satellites, and cryptographic hashes to instant bank transfers.

Physics

Faraday's Law of Electromagnetic Induction & Magnetic Flux

The physical law whereby a time-varying magnetic flux induces an electromotive force in a conductor, unifying generators, transformers, and induction motors.

Primary ExplainerRead Foundation
Chemistry

The Nernst Equation & Electrochemical Potential

The thermodynamic relationship linking ion concentration gradients and Gibbs free energy to electrical voltage across both battery half-cells and biological neuron membranes.

Primary ExplainerRead Foundation
Computing

MOSFET & CMOS Transistor Switching

Voltage-controlled field-effect transistor switches in doped silicon that form logic gates, CPU clock trees, DRAM cells, and flash arrays.

Primary ExplainerRead Foundation
Measurement

Piezoelectric Quartz & Atomic Frequency Oscillators

High-Q mechanical and quantum-hyperfine oscillators providing deterministic time ticks for clocks, CPU pipelines, GPS satellites, and TOTP authentication.

Primary ExplainerRead Foundation
← Browse All 18 Topic HubsExplore Thematic Clusters