Neural networks in 90 seconds: the actual math of forward propagation

HarperSCarroll · x · 2026-11-08

Educator Harper Carroll walks through the core math of neural networks with a concrete example: layers of neurons connected by weighted edges, inputs first transformed into embeddings (thousands of dimensions in real models, 2 here). With inputs 5 and 2, a neuron with edge weights 10 and 2 computes 5×10+2×2=54; a neighbor with weights 20 and 4 yields 108. Multiply, add, pass forward, repeat layer by layer — nearly every generative AI model runs on this calculation. She notes the demo omits nonlinear activations and teases follow-ups on output layers and backpropagation.

Original post →

More from Research

Research channel →