What λ means
- Wavelength: visible light has wavelengths λ from roughly 380 to 750 nm, and c = λf links wavelength, frequency and the speed of light.
- Eigenvalues: in linear algebra, Av = λv.
- Decay constant: in radioactive decay, N(t) = N₀e^(−λt).
- Rates: in statistics, λ is the rate of a Poisson distribution, the average number of events per interval.
- Lambda calculus: Alonzo Church’s mathematical model of computation, which gave programming its “lambda functions.”
The capital Λ is less common in formulas. It stands for the cosmological constant in physics and often for the diagonal matrix of eigenvalues in linear algebra.
Lambda in programming
An anonymous function is often called a lambda, after lambda calculus:
- Python:
square = lambda x: x * x - JavaScript: arrow functions such as
x => x * xplay the same role. - Java and C#:
x -> x * xandx => x * x. - Haskell:
\x -> x * x; the backslash was chosen because it resembles λ.
In code you type the keyword or the arrow, not the Greek letter. λ itself appears in documentation, slides and diagrams.
Look-alikes: Λ (capital lambda) looks like an upside-down V and is easy to confuse with ∧ (logical and). ƛ (lambda with stroke) is a Latin letter used in phonetic writing for some Indigenous languages of North America, not a Greek letter.
Typing λ in Word, LaTeX and on phones
- Word: in an equation (Alt+=), type
\lambdaand press space;\Lambdagives the capital. - LaTeX:
\lambdaand\Lambda. - Mac: open the Character Viewer with Control+Command+Space and search “lambda.”
- iPhone and Android: add the Greek keyboard; λ is where L is on a US keyboard.
- HTML: paste it directly into UTF-8 pages, or use the named entity from the table above.
Frequently asked questions
How do I type the lambda symbol?
Copy it from this page. In Word, type 03BB and press Alt+X, or type \lambda in an equation.
What does λ mean in physics?
Most often wavelength, measured in meters or nanometers.
Why are anonymous functions called lambdas?
The name comes from lambda calculus, Alonzo Church’s model of computation, which uses λ to define functions.
What is the capital lambda?
Λ. It looks like an upside-down V.
Unicode data: Unicode Character Database 18.0.0 (unicode.org).