An algorithm created to help scientists process images of tiny specimens has unexpected applications for brain teasers.

When Cornell physicist Veit Elser attempted to demystify an esoteric imaging problem for biologists, he had no idea his solution would also help subway riders and break room loiterers around the world figure out those challenging, Sudoku puzzles.

While creating an algorithm that could render images of small and delicate biological specimens, Elser inadvertently found a universal solution for the popular Japanese brainteasers.

“This algorithm, which was extremely effective in image reconstruction microscopy, was extremely general,” he said. “If you just express it in the right mathematical language it could be used in all kinds of things.”

Since 2001, Elser has been working on the “difference-map algorithm” to help scientists get rich, detailed images of small objects. When specimens, like a single yeast cell, are too small and fragile to easily examine, x-rays are bounced off of them in a process called diffraction microscopy. The scattered light waves are then collected and analyzed in order to get a clear picture of the objects.

One day, while wrapping his brain around a Sudoku grid, Elser realized that the tension set up in the puzzle was the same as what he had been trying to solve with his algorithm to render images from diffraction microscopy.

In order to analyze the light waves created during diffraction microscopy, scientists must know the amplitude of the waves and the phase angles at which the light was collected. If these two separate conditions are not met, the image will come back as “noise,” according to Elser.

“What will happen in all cases—except when you have a correct phase—is that these waves will combine and they will give you something that you know right away can’t be this object,” said Elser.

But diffraction microscopy is not the only function that has two sets of independent constraints. Sudoku puzzles are arranged so that the digits 1 through 9 must appear nine times throughout a nine-by-nine grid. The second constraint is that all nine digits must be used within each of the nine three-by-three blocks.

Attempts at mastering Sudoku have been the cause of much hair pulling, frustrated screams and many countless nerd caucuses. But Elser may have finally found a way to put the puzzled minds of Sudoku fanatics to rest.

Also, Elser said, “I can finally explain to the man on the street what I do.”
In the process of writing algorithms to solve Sudoku puzzles, Elser learned how to play the old fashioned way: using a pen and paper.

“It’s more fun doing it that way than with a computer,” he said.

But the real motivation behind the “difference-map” wasn’t to solve the popular mind-bender, but to construct a quick and easy manipulation of wave and phase data to reconstruct 3D images of objects only a few microns in size. The Sudoku revelation is just “an extremely amusing illustration of that principle,” said Elser.

The process has already produced results. Images published in a recent article in the Proceedings of the National Academy of Sciences, authored by David Shapiro of the SUNY-Stony Brook, included pictures of a specimen as small as a single yeast cell that were taken without staining, sectioning or damaging the specimen.

“This work represents a previously uncharacterized application of x-ray diffraction microscopy to a specimen of this complexity and provides confidence in the feasibility of the ultimate goal of imaging biological specimens at 10-nm resolution in three dimensions,” said Shapiro in his paper’s abstract.

Originally published March 8, 2006


Share this Stumbleupon Reddit Email + More


  • Ideas

    I Tried Almost Everything Else

    John Rinn, snowboarder, skateboarder, and “genomic origamist,” on why we should dumpster-dive in our genomes and the inspiration of a middle-distance runner.

  • Ideas

    Going, Going, Gone

    The second most common element in the universe is increasingly rare on Earth—except, for now, in America.

  • Ideas

    Earth-like Planets Aren’t Rare

    Renowned planetary scientist James Kasting on the odds of finding another Earth-like planet and the power of science fiction.

The Seed Salon

Video: conversations with leading scientists and thinkers on fundamental issues and ideas at the edge of science and culture.

Are We Beyond the Two Cultures?

Video: Seed revisits the questions C.P. Snow raised about science and the humanities 50 years by asking six great thinkers, Where are we now?

Saved by Science

Audio slideshow: Justine Cooper's large-format photographs of the collections behind the walls of the American Museum of Natural History.

The Universe in 2009

In 2009, we are celebrating curiosity and creativity with a dynamic look at the very best ideas that give us reason for optimism.

Revolutionary Minds
The Interpreters

In this installment of Revolutionary Minds, five people who use the new tools of science to educate, illuminate, and engage.

The Seed Design Series

Leading scientists, designers, and architects on ideas like the personal genome, brain visualization, generative architecture, and collective design.

The Seed State of Science

Seed examines the radical changes within science itself by assessing the evolving role of scientists and the shifting dimensions of scientific practice.

A Place for Science

On the trail of the haunts, homes, and posts of knowledge, from the laboratory to the field.


Witness the science. Stunning photographic portfolios from the pages of Seed magazine.

SEEDMAGAZINE.COM by Seed Media Group. ©2005-2015 Seed Media Group LLC. All Rights Reserved.

Sites by Seed Media Group: Seed Media Group | ScienceBlogs | Research Blogging | SEEDMAGAZINE.COM