For more than two decades, Zbigniew Błocki has been sharing the story of the Polish codebreakers who helped crack Nazi Germany’s Enigma machine—with math.
What was the turning point that led the Allies to victory in World War II? Some might cite a particular battle or army, but University of Maryland Mathematics Visiting Professor Zbigniew Błocki offered another perspective during a Department of Mathematics colloquium in February.
“Some people say that mathematicians won the Second World War,” said Błocki, a mathematics professor from Jagiellonian University in Krakow, Poland. “Maybe that is exaggerated, but I would argue not that much.”
Periodically over the last 24 years, Błocki has given talks on the lesser-publicized role that Polish mathematicians played in decrypting Enigma, the typewriter-like machine that Nazi Germany used to conceal its communications. English mathematician Alan Turing is widely credited for cracking the code, but few know that Marian Rejewski from Poland’s Cipher Bureau laid the foundation.
“When it comes to Enigma, people outside of Poland have usually heard about Alan Turing but rarely about Marian Rejewski,” Błocki said. “I am still surprised how little in general people know about the story.”
For decades after World War II ended, Rejewski’s role in cracking Enigma—along with the contributions of his colleagues Jerzy Różycki and Henryk Zygalski—was classified. This information wasn’t made public until the 1970s, and Błocki only learned about it in the mid-1980s while reading a book on the subject.
As a lover of math and history, Błocki was impressed to learn how these cryptologists used a mix of math, mainly permutation group theory, and human psychology to capitalize on the Germans’ mistakes. At the time, Enigma was considered virtually unbreakable because of its complex network of rotating wheels and plugboard connections that scrambled the letters each time a key was pressed.
However, these encrypted messages followed a predictable format, providing the Polish mathematicians with clues. By December 1932, Rejewski’s team had leveraged crucial intelligence obtained by the French to figure out Enigma’s internal wiring pattern. When coding procedures were overhauled in September 1938, making their decoding efforts much harder, the Poles built a device dubbed a “bomba,” or bomb, that automated the process of determining Enigma’s daily settings.
Coupled with earlier developments that allowed the Poles to keep pace with German improvements, the bomba—an early precursor to computing—enabled the Polish to read intercepted German communications from 1933 to 1939. After handing these findings off to the British, Turing and mathematician Gordon Welchman designed the Bombe machine that greatly advanced the Allies’ decryption efforts and helped them win key battles.
“The breaking of the Enigma code had an incredible impact on the outcome of the Second World War,” Błocki said. “It was important everywhere the Allies were fighting the Germans, including the Battle of Britain, where, thanks to decoded Enigma messages, the British knew quite in advance where the attacks would be.”
Setting the record straight
Błocki noted that despite garnering some international attention, Poland’s role in cracking the Enigma code remained a footnote in history for many years—or worse, the subject of misinformation.
“Twenty years ago, the item on Enigma in Encyclopedia Britannica didn't mention Poles at all,” Błocki said. “The problem culminated in 2014 with the Hollywood blockbuster on Alan Turing, ‘The Imitation Game’ starring Benedict Cumberbatch. In it, the role of Polish cryptologists was again missing and the totally false story of a Pole who stole an Enigma machine from the Germans was repeated.”
Since then, Błocki has been committed to setting the record straight. The first time he gave his talk on Enigma was for his habilitation defense—a postdoctoral presentation on a subject separate from one’s research—at Jagiellonian University in 2001.
“It was very crowded with well over 100 people,” Blocki said of his audience. “The atmosphere was pretty patriotic, and by the end of it, they seemed almost ready to sing the Polish national anthem.”
Błocki has since adapted his presentation for a range of audiences, including scientific institutions, universities, high schools and even his son’s elementary school class. When he left his position with Poland’s National Science Centre, where he served as director from 2015 to 2023, Błocki received a unique parting gift from his colleagues: an electronic copy of Enigma.
After joining UMD, Błocki shared the story of Enigma with Mathematics Professor Yanir Rubinstein, who encouraged Błocki to present the topic at a department colloquium. While reflecting on the story’s reach since it was uncovered in the ’70s, Błocki feels encouraged by recent efforts to portray this chapter of history more accurately.
“Fortunately, a lot has changed. For example, the Encyclopedia Britannica entry about Enigma has been completely revised,” he said. “I think the 2018 publication of ‘X, Y & Z: The Real Story of How Enigma Was Broken,’ a book by Alan Turning’s nephew, Dermot Turing, was very important. This is probably the first British publication of its kind where the critical role of Polish mathematicians in this story is presented.”
For Błocki, this lecture is also a fun way to teach mathematical and computing concepts through history.
“I gave this talk at the University of Bonn in Germany in 2001, and the professor who organized it said he had been to several talks on Enigma, but mine was the only one that explained the mathematics,” Błocki said. “Although from today's viewpoint the mathematics behind Enigma is fairly elementary, it turned out to be crucial for the future development of computer science.”
Written by Emily Nunez
University of Maryland Mathematics Professor Abba Gumel participated in an Ask-Me-Anything (AMA) user-led discussion on Reddit to answer questions about the mathematics of infectious diseases on April 9, 2025.
Gumel’s research group develops and analyzes novel mathematical models for gaining insight and understanding of the transmission dynamics and control of emerging and re-emerging infectious diseases of major public/global health significance. Members of Gumel’s lab joined him to answer questions, including postdoctoral researchers Alex Safsten and Arnaja Mitra and visiting assistant research scientist Salihu Musa.
This Reddit AMA has been edited for length and clarity.
(Gumel) That's a great question. Yes, diseases generally spread exponentially during the early stages (particularly if the reproduction number of the disease is greater than 1), and begin to decline as interventions and mitigation measures are implemented or people change their behavior. Most diseases tend to have a single peak and decline to lower or elimination levels with time and as the population of susceptible individuals decreases.
Unfortunately, pandemics of influenza-like illnesses do not have single peaks; they have multiple peaks driven by factors such as human behavior, emergence of new variants, inadequate control resources, and so on.
(Safsten) I find the ability to write programs, solve equations that arise in my models of biological problems very helpful. The models I tend to work on have unusual features that cannot be handled by standard equation-solving packages, so I develop my own algorithms for solving these models.
(Gumel) Students of biological sciences should be well-versed in computational and data analysis tools needed for studying the biological systems of interest.
(Musa) Bioinformatics and computer science are now key to biology. Analyzing large-scale data such as genomics, protein structures or disease patterns requires coding, algorithms and data science tools.
(Safsten) Most people who work in mathematical biology are either very applied mathematicians or very theoretical biologists. I am the former, so I can mostly speak to that career path. I recommend studying differential equations, dynamical systems and linear algebra. You'll also benefit from some programming experience. Then, look into whatever areas of biology interest you. Whatever areas you choose, you will find unanswered questions that can be addressed with mathematical analysis.
(Mitra) If someone is interested in math and biology—especially if looking to switch into the field of epidemiology, systems biology, population dynamics or computational biology—besides having a math background, it will be good to consider some introductory biology, genetics and ecology. Also, if someone has no prior experience in programming languages, you can start with MATLAB or Python for simulation and data analysis. And if you want to do a simple computation, you may choose Mathematica or Maple. If you want to do some statistics modeling, then it's good to have some basic statistics or parameter estimation knowledge.
(Gumel) You're making a good choice to dabble in the beautiful world of mathematics and biology! That's where the real action is. The synergy between mathematics and biology provides exciting new challenges to mathematicians, sometimes requiring the development of new mathematical tools and branches (such as topological data analysis, uncertainty quantification and even nowadays, machine learning and AI tools). In general, to be successful within the space of mathematical biology, one has to have a deep appreciation for both mathematics, biology and all the other tools that are needed to succeed, including statistics, optimization, computation, data analytics, etc.
One also has to have the desire to learn—for example, if you're a mathematician, you have to have the desire and capacity to learn the basic tools in biology to design, analyze and simulate realistic mathematical models for the biological phenomenon being modeled. Likewise, a biologist or someone in other sciences interested in doing modeling should also be comfortable learning the basic mathematical, statistical and computational tools needed to model the phenomenon. You can start with some of the classical literature on the topic, such as this Kermack-McKendrick 1927 paper and Hethcote's Scientific American review.
(Gumel) The 1918-1919 influenza pandemic was caused by the H1N1 influenza A virus. We have seen multiple outbreaks of the H1N1 pandemic since the 1918 pandemic, including the 2009 H1N1 swine flu pandemic, which started in Mexico and the United States. On the other hand, COVID-19 was caused by a coronavirus biologically similar to two previous coronavirus pandemics (the SARS pandemic of 2002 and the MERS pandemic of 2012).
Pandemics are generally consequences of spillover events from animals to humans. The frequency depends on the level of interaction between animals and humans. As long as humans continue to encroach on natural habitats of animals and alter or act in ways that affect the natural environment, we are constantly a mutation or two away from a spillover that could lead to a pandemic in humans. Sadly, it's a question of when, not if, we will be hit with the next pandemic (especially of respiratory pathogens).
(Safsten) There is no regular cycle for pandemics, but models show that globalization, urbanization, human action (climate change, land-use changes, etc.) and zoonotic spillovers increase the risk of pandemics.
(Gumel) It's true that quarantine of symptomatic people for two weeks (away from interaction with the general population) will be useful in curtailing the spread of the disease, since the two-week quarantine period matches the incubation period of the disease.
The big problem with COVID is that many of the transmitters are asymptomatic and have no idea they have the disease. Therefore, they are not in quarantine. In that sense, COVID-19 is different from other diseases where the main transmitters are people with symptoms. Because of that, quarantine and isolation alone are not sufficient to effectively mitigate or control the disease. For COVID, we needed a hybrid strategy that involved quarantine, large-scale testing, contact tracing, use of face masks and pharmaceutical interventions such as the vaccine and monoclonal antibody treatments.
(Gumel) Mathematics doesn't always have all the answers. Models are built based on well-thought-out assumptions, and predictions are subject to all sorts of uncertainties in the data, the assumptions, etc. It's very difficult to communicate these facts to public health professionals who are expecting actionable, day-to-day predictions. One of the things that seems to be missing in the modeling/science curriculum in general is how to effectively communicate our results and outputs of our modeling work to the general population. COVID-19 has highlighted the need for incorporating effective communications into science curricula in general, and the modeling of infectious diseases in particular.
(Gumel) We generally design, calibrate, analyze and simulate various types of models (mechanistic/compartmental, network, statistical and some use AI/ML and agent-based models) to study the transmission dynamics and control of infectious diseases. We develop and use tools for nonlinear dynamical systems and other branches of mathematics to study the asymptotic properties of the steady-state solutions of the model, and characterize the bifurcation types (these allow us to obtain important epidemiological thresholds that are associated with the control or persistence of the disease in a population (such as the basic reproduction number and herd immunity thresholds). We also use statistical and optimization tools to fit models to data (and to estimate unknown parameters) and conduct uncertainty quantification and sensitivity analysis. Specifically, we use tools like Latin Hypercube Sampling and Partial Rank Correlation Coefficients to carry out global uncertainty and sensitivity analysis. Finally, we use these tools to determine optimal solutions, particularly when control resources are limited.
(Safsten) The models we use typically take the form of deterministic or stochastic systems of nonlinear differential equations that could be ordinary or partial (where the models have several other independent variables in addition to time). In the case of partial differential equations (PDEs), the models often take the form of semi-linear parabolic equations for which there are many analytical tools for analyzing the existence, uniqueness, boundedness and asymptotic stability of solutions. When external factors, such as climate change, behavior change, and gradual refinement of interventions, affect the system in a time-dependent way, the resulting models are non-autonomous. And there are very few theoretical tools for analyzing these models (for special cases, for instance, where the time-dependent parameters are periodic), thereby providing ample opportunities for aspiring graduate students to consider for their dissertations.
(Mitra) One of the factors I found in my ongoing research is that the nonlinear effect of human behavior changes in one age group can significantly affect the transmission dynamics in another. For instance, even a tiny shift in behavior, such as reducing bednet use among children or a decrease in vaccine uptake, can lead to a disproportionate increase in disease transmission at the population level. Moreover, maturation can create a shift in the susceptible population, spatially in models where vaccine-induced immunity wanes over time.
(Gumel) Most human diseases are zoonotic diseases that jump from animal populations to humans; we humans are responsible for most of these diseases based on our actions that affect the natural habitats and dynamics of nonhuman primates. Understanding the One Health approach to public health—where public health is viewed holistically from the point of view of nonhuman primates, humans and the environment—is so critical to improving human health.
The other surprising thing is the role of the asymptomatic and presymptomatic transmission in the spread and control of COVID-19 (before COVID, diseases were mostly transmitted by people with clinical symptoms, not largely by those without symptoms).
While some diseases are controllable using basic public health measures such as quarantine, isolation and hand-washing (e.g., SARS of 2002-2003 and even MERS of 2012), others require the use of both non-pharmaceutical and pharmaceutical interventions (e.g., COVID-19).
(Musa) In addition to asymptomatic transmission of infectious diseases (such as COVID-19), there were also superspreading events where a small number of individuals affected an unusually large number of others. See our paper on modeling superspreading of COVID. This dynamic made surveillance, contact tracing and control of COVID-19 more difficult.
Three workshops, a summer school and a high school camp are planned for this summer.
Summer 2025 signifies the completion of three years since the establishment of the Brin Mathematics Research Center. In this relatively brief timeframe, the Brin MRC has rapidly evolved into one of the foremost mathematics institutes in the country. Given the uncertainties surrounding NSF funding, it is anticipated that the Brin MRC's influence in the global mathematics community will continue to grow significantly.
Spring 2025 proved to be an exceptionally busy semester for the Brin Mathematics Research Center, featuring seven workshops, three distinguished lectures, and an array of other special activities. Despite the challenging winter conditions in late January, the center successfully hosted a workshop on Moduli in Algebraic Geometry, with Dori Bejleri as one of the organizers. This was succeeded by workshops on Hamiltonian Dynamics, organized by Bassam Fayad, Dima Dolgopyat, Vadim Kaloshin, and Jaime Paradela. Additionally, a workshop led by Thom Haines and Peter Dillery concentrated on geometric approaches to the Local Langlands Program. The semester was further enriched by three remarkable Brin MRC Distinguished Lectures delivered by Albert Cohen from Sorbonne, Chris Cosner from the University of Miami, and Harrison Zhou from Yale.
The Brin Mathematics Research Center hosted the annual Mid-Atlantic Seminar on Numbers (MASON-7), organized by Larry Washington, as well as a Junior Investigators Workshop on Dynamics. April began with a conference on Lorentzian, Affine, and Hyperbolic Differential Geometry, held in memory of Todd Drumm and organized by Bill Goldman and our former colleague Karin Melnick. Following this memorial conference, the center hosted workshops on G-Torsors on Curves, organized by Richard Wentworth, Weyl Laws Across Mathematics led by Dan Cristofaro-Gardiner, and Bifurcation and Chaos Theory, organized by Abba Gumel, Sana Jahedi, Alex Safsten, Roberto De Leo, and Jim Yorke.
For the second consecutive year, the Brin Mathematics Research Center had the honor of hosting the chairs of the Math Departments from the Big 10 Universities. This year, we were delighted to welcome two of our new Big 10 members: USC and the University of Oregon.
The summer promises to be bustling with workshops focusing on Geometry and Higher Structures, Stochastic Partial Differential Equations, and Random Dynamical Systems. Additionally, we will host the Brin Maryland Mathematics Camp for high school students and a summer school on the highly topical subject of Scientific Machine Learning.
This marks the conclusion of an exceptionally productive and exhilarating year. We are eagerly anticipating the next year, which will feature 15 workshops and 2 summer schools. Stay tuned for more exciting developments! The details of all the center’s activities can be found at brinmrc.umd.edu.