Greek Letters in Computer Science

Computer science inherits Greek notation from mathematics and logic — lambda (λ) for functions, sigma (Σ) for sums and alphabets, big-O / Θ / Ω for complexity, epsilon (ε) for empty transitions in automata. Some letters keep their math meaning unchanged; others take on CS-specific roles like type-theory Σ-types or σ-algebras in probability. This guide covers every common use, with examples in everyday programming and theoretical CS.

Lambda (λ) — Functions and Calculus

The single most identifiably "Greek" symbol in computer science. Alonzo Church introduced λ in the 1930s to mark function parameters, and the notation stuck. Every modern programming language has lambda expressions; functional programming centers on them; "lambda" is also the name of Amazon's flagship serverless compute product.

Big-O, Big-Theta, Big-Omega — Complexity Notation

Algorithm analysis uses three closely related Greek letters to describe how a runtime or memory cost grows with input size n. The notation was popularized in CS by Donald Knuth; the letters come from German number theorist Edmund Landau.

ComplexityPronunciationExample algorithm
O(1)"Big O of one"Hash-table lookup (average)
O(log n)"Big O of log n"Binary search
O(n)"Big O of n"Linear scan, summing a list
O(n log n)"Big O of n log n"Merge sort, heap sort
O(n²)"Big O of n squared"Bubble sort, naive matrix-vector product
O(2ⁿ)"Big O of two to the n"Subset enumeration, naive recursion (Fibonacci)
O(n!)"Big O of n factorial"Brute-force traveling salesman

A common interview-grade subtlety: people often say "O(n²)" when they mean Θ(n²) — claiming a tight bound when they've only proven an upper bound. In practice, "O" is used loosely; the strict definitions matter mostly in formal proofs and competitive programming.

Sigma (Σ) — Sums, Alphabets, Types

One of the most reused letters in CS, with three distinct major meanings:

Pi (Π) — Products and Process Calculus

Epsilon (ε) — Empty String, ε-Transitions, Approximation

Mu (μ) — Recursive Types and Fixed Points

Delta (δ, Δ) — Transitions and Diffs

Tau (τ) — Types and Tokens

Rho (ρ) — Substitutions and Cycles

Chi (χ) — Characteristic Functions

Other Common Greek Letters

Quick Reference Table

LetterMain CS uses
α (alpha)Alpha-conversion (renaming); alpha testing; learning rate in some ML papers
β (beta)Beta reduction (substitution); beta testing
γ (gamma)Γ for type context (typing rules); discount factor in reinforcement learning
δ (delta)Automaton transition function; diff/delta in VCS; Dirac delta in ML
Δ (Delta)Change in a quantity; delta debugging
ε (epsilon)Empty string; ε-transition (NFA); ε-approximation; ε-greedy RL; floating-point epsilon
η (eta)Eta-reduction (λ-calc); learning rate (ML)
θ (theta)Model parameters in ML; Big-Theta complexity
λ (lambda)Lambda calculus; anonymous functions; eigenvalue (linear algebra in ML)
μ (mu)μ-recursion; recursive types; μ-calculus; microseconds
π (pi)π-types; π-calculus; policy in reinforcement learning
ρ (rho)Pollard's rho; environment in operational semantics
Σ (Sigma)Alphabet (formal languages); summation; Σ-types; covariance matrix
σ (sigma)Substitution; standard deviation; σ-algebra
τ (tau)Type variable; silent transition (process calculi)
χ (chi)Characteristic function; χ² test
ψ (psi)Logical formula (psi); digamma function
Ω (Omega)Big-Omega lower bound; Chaitin's halting probability; sample space in probability

Related Pages