2025 π Day latest news buy art
Sun is on my face ...a beautiful day without you.Royskoppbe apartmore quotes
data visualization + art

Aleph 2 — official music video

MAX COOPER'S ALEPH 2 | From Max Cooper's album Yearning for the Infinite. Music by Max Cooper. Animation by Martin Krzywinski.

Aleph 2 — live at the Barbican in London

MAX COOPER'S ALEPH 2 | From Max Cooper's album Yearning for the Infinite. Music by Max Cooper. Animation by Martin Krzywinski.
My animation of 5 dimensions sets the stage for Max Cooper's track Ascent from his new album Unspoken Words.
Another mathy collaboration with Max!

Infinity with Max Cooper — In Six Minutes

To see a World in a grain of sand,
And Heaven in a wild flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
—William Blake

1 · The story of infinity in 6 minutes

In collaboration with Max Cooper, we tell a story about infinity in 6 minutes (and 34 seconds).

What's the story about? Natural numbers, integers, rationals, reals, power sets and the cardinality of the continuum — a real visual parade of numbers.

But math is a serious matter — so we include two of Cantor's diagnoal proofs in the video. Watch as we show that the size of the set of rational numbers is the same as the set of natural numbers (making them countable) but that the size of the set of real numbers is larger (making them uncountable).

2 · Aleph 2 — Yearning for the Infinite

In science one tries to tell people,
in such a way as to be understood by everyone,
something that no one ever knew before.
But in poetry, it’s the exact opposite.
—Paul Dirac, Mathematical Circles Adieu by H. Eves [quoted]

The style of Aleph 2 is that of a low-fi terminal. We used the Classic Console font by Csaba Széll, which I extended to include more set theory symbols (download extended font).

The animation was closely synchronized to the music, all the while trying to avoid looking too much like something from the Matrix movie.

3 · Video walkthrough

To help you interpret what you are seeing, I walk you through the video and introduce you some advanced concepts of set theory. This way, next time you see an equation like `|\mathbb{R}| = | \mathbb{P}(\mathbb{N}) | = 2^{\aleph_0}`, you'll sprout a smile of joy.

Yearning for the Infinite - Max Cooper and Martin Krzywinski - Visualization of Infinity and Pi / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
We begin counting the natural numbers, whose cardinality is `|\mathbb{N}| = \aleph_0`. Screenshot from Max Cooper's Aleph 2 (Yearning for the Infinite). (Max Cooper/Martin Krzywinski)
Yearning for the Infinite - Max Cooper and Martin Krzywinski - Visualization of Infinity and Pi / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A bijection between the naturals and integers demonstrating that both have the same cardinality. Screenshot from Max Cooper's Aleph 2 (Yearning for the Infinite). (Max Cooper/Martin Krzywinski)
Yearning for the Infinite - Max Cooper and Martin Krzywinski - Visualization of Infinity and Pi / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A bijection between the naturals and rationals. We traversing the table of rationals in a zig-zag manner. Screenshot from Max Cooper's Aleph 2 (Yearning for the Infinite). (Max Cooper/Martin Krzywinski)
Yearning for the Infinite - Max Cooper and Martin Krzywinski - Visualization of Infinity and Pi / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
We alter the digits on the diagonal to create a real that is nowhere in the list. Screenshot from Max Cooper's Aleph 2 (Yearning for the Infinite). (Max Cooper/Martin Krzywinski)
Yearning for the Infinite - Max Cooper and Martin Krzywinski - Visualization of Infinity and Pi / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Power set elements of naturals (left) and reals (right). The size of these sets is separated by one step in the hierarchy of Aleph numbers, if the Continuum Hypothesis is true. Screenshot from Max Cooper's Aleph 2 (Yearning for the Infinite). (Max Cooper/Martin Krzywinski)
Yearning for the Infinite - Max Cooper and Martin Krzywinski - Visualization of Infinity and Pi / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Aleph remains. Screenshot from Max Cooper's Aleph 2 (Yearning for the Infinite). (Max Cooper/Martin Krzywinski)

These pages describe the system I build to generate the animation and the mathematics behind infinity, including sets, cardinality, countability, $\aleph$ and the Continuum Hypothesis.

I also present the animation system I built for the video, which was coded from scratch.

4 · My other collaborations with Max

If you like infinity, you might like dimensions too.

Check out my video for Max Cooper's Ascent, which animates 5-dimensional cubes doing their confusing things.

My animation of 5 dimensions sets the stage for Max Cooper's track Ascent from his new album Unspoken Words.
news + thoughts

Happy 2025 π Day—
TTCAGT: a sequence of digits

Thu 13-03-2025

Celebrate π Day (March 14th) and sequence digits like its 1999. Let's call some peaks.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
2025 π DAY | TTCAGT: a sequence of digits. The digits of π are encoded into DNA sequence and visualized with Sanger sequencing. (details)

Crafting 10 Years of Statistics Explanations: Points of Significance

Sun 09-03-2025

I don’t have good luck in the match points. —Rafael Nadal, Spanish tennis player

Points of Significance is an ongoing series of short articles about statistics in Nature Methods that started in 2013. Its aim is to provide clear explanations of essential concepts in statistics for a nonspecialist audience. The articles favor heuristic explanations and make extensive use of simulated examples and graphical explanations, while maintaining mathematical rigor.

Topics range from basic, but often misunderstood, such as uncertainty and P-values, to relatively advanced, but often neglected, such as the error-in-variables problem and the curse of dimensionality. More recent articles have focused on timely topics such as modeling of epidemics, machine learning, and neural networks.

In this article, we discuss the evolution of topics and details behind some of the story arcs, our approach to crafting statistical explanations and narratives, and our use of figures and numerical simulations as props for building understanding.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Crafting 10 Years of Statistics Explanations: Points of Significance. (read)

Altman, N. & Krzywinski, M. (2025) Crafting 10 Years of Statistics Explanations: Points of Significance. Annual Review of Statistics and Its Application 12:69–87.

Propensity score matching

Mon 16-09-2024

I don’t have good luck in the match points. —Rafael Nadal, Spanish tennis player

In many experimental designs, we need to keep in mind the possibility of confounding variables, which may give rise to bias in the estimate of the treatment effect.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Propensity score matching. (read)

If the control and experimental groups aren't matched (or, roughly, similar enough), this bias can arise.

Sometimes this can be dealt with by randomizing, which on average can balance this effect out. When randomization is not possible, propensity score matching is an excellent strategy to match control and experimental groups.

Kurz, C.F., Krzywinski, M. & Altman, N. (2024) Points of significance: Propensity score matching. Nat. Methods 21:1770–1772.

Understanding p-values and significance

Tue 24-09-2024

P-values combined with estimates of effect size are used to assess the importance of experimental results. However, their interpretation can be invalidated by selection bias when testing multiple hypotheses, fitting multiple models or even informally selecting results that seem interesting after observing the data.

We offer an introduction to principled uses of p-values (targeted at the non-specialist) and identify questionable practices to be avoided.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Understanding p-values and significance. (read)

Altman, N. & Krzywinski, M. (2024) Understanding p-values and significance. Laboratory Animals 58:443–446.

Depicting variability and uncertainty using intervals and error bars

Thu 05-09-2024

Variability is inherent in most biological systems due to differences among members of the population. Two types of variation are commonly observed in studies: differences among samples and the “error” in estimating a population parameter (e.g. mean) from a sample. While these concepts are fundamentally very different, the associated variation is often expressed using similar notation—an interval that represents a range of values with a lower and upper bound.

In this article we discuss how common intervals are used (and misused).

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Depicting variability and uncertainty using intervals and error bars. (read)

Altman, N. & Krzywinski, M. (2024) Depicting variability and uncertainty using intervals and error bars. Laboratory Animals 58:453–456.

Nasa to send our human genome discs to the Moon

Sat 23-03-2024

We'd like to say a ‘cosmic hello’: mathematics, culture, palaeontology, art and science, and ... human genomes.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
SANCTUARY PROJECT | A cosmic hello of art, science, and genomes. (details)
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
SANCTUARY PROJECT | Benoit Faiveley, founder of the Sanctuary project gives the Sanctuary disc a visual check at CEA LeQ Grenoble (image: Vincent Thomas). (details)
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
SANCTUARY PROJECT | Sanctuary team examines the Life disc at INRIA Paris Saclay (image: Benedict Redgrove) (details)
Martin Krzywinski | contact | Canada's Michael Smith Genome Sciences CentreBC Cancer Research CenterBC CancerPHSA
Google whack “vicissitudinal corporealization”
{ 10.9.234.152 }