Covers pure and applied mathematics relevant to physics, cryptography, machine learning, and economics.


Analysis & Calculus

Exponentials & Euler’s number:

  • exponential-function — Definition , the identity , and why every exponential is proportional to its own derivative
  • eulers-number as the unique base where ; rewriting any as
  • natural-logarithm — Inverse of ; resolves the mystery proportionality constants as
  • complex-exponential-rotation traces the unit circle; via the dynamics view (velocity = position) and the group-theory view ( as homomorphism)
  • group-theory-intro — Groups as sets of symmetry actions; numbers as additive (sliding) and multiplicative (stretching/rotating) groups; as the homomorphism between them

Signal processing chain (read in order for the Shazam implementation):

  • fourier-transform — Decomposes a signal into complex sinusoids; convolution theorem is the key engineering result
  • discrete-fourier-transform — N-point DFT: formula, twiddle factors, matrix form, O(N²) complexity, frequency bin interpretation
  • fast-fourier-transform — Cooley-Tukey FFT: butterfly diagram, bit-reversal, O(N log N); the algorithm behind scipy.fft
  • spectrogram — STFT: sliding-window DFT, Hann window, time-frequency trade-off, log-magnitude display
  • audio-fingerprinting — Shazam’s constellation-map algorithm: peak detection, hash pairs, voting-based lookup

Image compression chain (read in order for the JPEG implementation):

  • discrete-cosine-transform — DCT-II: real-valued, energy compaction, relationship to DFT, 2D separable form
  • jpeg-compression — Full JPEG pipeline: YCbCr, 8×8 DCT, quantization tables, zig-zag, RLE, Huffman coding

Probability & Statistics

Linear Algebra

Read in order:

Information Theory

Number Theory

Discrete Mathematics