Pattern
A pattern is a predictable order in natural, designed, or abstract things.[1] Some patterns repeat a chunk again and again, like the tiles on a floor, while others grow by a rule, like the numbers 2, 4, 6, 8.[2][1] Because a pattern follows a rule, seeing part of it lets you predict the rest.
Patterns show up across science and design. Mathematics has been called "the science of patterns".[3] Biologists study how living things grow spots, stripes, and spirals, and design uses repeated shapes in fabrics, buildings, and software.
Core ideas
A repeating pattern can be described by three things.
- The motif is the basic unit that gets copied, such as a single flower in a fabric print.
- The rule says how the copies are placed: slid along, turned, or flipped.
- The extent is how far the copies go: around one point, along a strip, or across a whole surface.
Applying the rule to the motif again and again builds a repeating pattern.[4]
- If the copies slide in one direction, the result is a band.
- If the copies slide in two different directions, the result covers the whole plane.
Symmetry
A figure has symmetry when it looks the same after a motion such as sliding, turning, or flipping.[5]
Motions that keep every distance the same are called isometries. In a flat plane, every such motion is one of exactly four types.[5]
| Motion | What it does |
|---|---|
| Translation | Slides every point the same distance in the same direction |
| Rotation | Turns the plane around a fixed point, the center of rotation |
| Reflection | Flips the plane across a mirror line |
| Glide reflection | Combines a reflection with a slide along the mirror line |
A rotation that brings a figure back to itself after a turn of is called an -fold rotation.[6] For example, a 4-fold rotation is a quarter turn.
Kinds of pattern
Patterns can be sorted by how they repeat and how much space they fill.
| Kind | How it repeats | Space it fills |
|---|---|---|
| Rosette | Turns, and sometimes flips, around one point[5] | The area around one point |
| Frieze | Slides in one direction[7] | An endless strip |
| Wallpaper | Slides in more than one direction[4] | The whole plane |
| Aperiodic | Follows fixed rules but never repeats by sliding[8] | The whole plane |
| Self-similar | Similar shapes appear at smaller and smaller scales[9] | Varies |
Rosettes correspond to the point groups in two dimensions, which come in two families.[5][6]
| Family | Motions |
|---|---|
| Cyclic | Rotations only |
| Dihedral | Rotations and mirror lines |
A frieze takes its name from architecture, where a frieze is a decorative band that runs just below a roofline or ceiling.[7]
Mathematics of patterns
The science of patterns
The mathematician Lynn Arthur Steen argued in 1988 that mathematics is no longer just the study of number and space but "the science of patterns".[3] In his view, mathematicians look for patterns in number, in space, in science, in computers, and in imagination.[3]
Number patterns are the simplest example. In the Fibonacci sequence 1, 1, 2, 3, 5, 8, 13, and so on, each term is the sum of the two before it:[10]
Here is the th term, and the sequence starts with .[10]
Symmetry groups
A mathematical group is a collection of objects together with an operation that combines any two of them into another object in the collection, following a few fixed rules.[5] The symmetries of a pattern form such a group, its symmetry group. Here the operation is composition, which means doing one motion after the other.[5]
Symmetry groups let mathematicians treat two patterns that look different as the same kind if they share the same set of motions.[5]
The study of groups in general is called group theory. Symmetry groups are one special case of it.[5]
Every repeating pattern in the plane falls into a small, fixed number of types.[4]
- A pattern that slides in one direction has one of the seven frieze groups.
- A pattern that slides in more than one direction has one of the 17 wallpaper groups.
The 17 wallpaper groups split by which motions they allow.[4]
- One group (p1) has translations only.
- Four groups (p2, p3, p4, p6) add rotations but no reflections or glide reflections.
- Three groups (pm, pg, cm) add reflections or glide reflections but no rotations.
- Nine groups combine rotations with reflections or glide reflections.
The Russian mathematician Evgraf Fedorov first published the classification of the 17 groups in 1891, but it was not widely known.[4] George Pólya rediscovered it in 1924, and the artist M. C. Escher copied Pólya's 17 diagrams by hand into his notes.[4]
The crystallographic restriction
A repeating pattern cannot have every kind of rotation. The crystallographic restriction states that if a plane pattern has more than one center of rotation, its rotations can only be 2-fold, 3-fold, 4-fold, or 6-fold.[11] The table of the 17 wallpaper groups shows only these four.[4]
Regular polygons, whose sides are all equal and whose angles are all equal, show why. Copies of one polygon fit around a point with no gap only if its corner angle divides evenly.[11]
| Polygon | Corner angle | Copies around a point | Gap left |
|---|---|---|---|
| Equal-sided triangle | 6 | None | |
| Square | 4 | None | |
| Regular pentagon | 3 | ||
| Regular hexagon | 3 | None |
The same rule applies to crystals. Because a fivefold arrangement of atoms cannot repeat itself, fivefold symmetry in crystals was long thought impossible, and the same holds for sevenfold and higher.[12]
Aperiodic order
An aperiodic pattern follows mathematical rules but never repeats itself by sliding.[8]
In the 1960s, mathematicians asked whether a small set of tile shapes could cover the plane only in such a non-repeating way.[12] The first set, reported in 1966, needed more than 20,000 different tiles.[12]
Penrose tilings
In the mid-1970s, Roger Penrose found aperiodic tilings that use just two tiles, for example a fat and a thin rhombus.[12] In a Penrose tiling of this kind, the ratio of the number of fat rhombi to thin rhombi is the golden ratio.[12]
Quasicrystals
The same kind of order turned up in matter. On 8 April 1982, Dan Shechtman saw a tenfold pattern of spots when studying an alloy (a mixture of metals) of aluminium and manganese under an electron microscope.[12] Further tests showed the crystal itself had fivefold symmetry.[12]
These materials, called quasicrystals, have regular atomic patterns that never repeat.[8] Shechtman received the 2011 Nobel Prize in Chemistry for discovering them.[8]
Self-similarity and fractals
A self-similar pattern repeats across scales instead of across space. Zoom in or out, and similar shapes appear again.[9] In a 1975 book, Benoit Mandelbrot named such shapes fractals, from the Latin fractus, meaning "broken".[9]
Fractals are measured by a fractal dimension, which describes how rough a shape is.[9] For a shape made of copies of itself, each scaled to times the original size, where , the self-similarity dimension is:[13]
Here is the number of pieces and is the scale of each piece (for the Koch curve, ).[13] The symbol log means the logarithm, the power a fixed base must be raised to in order to give a number. Any base works as long as both logarithms use the same one.
The Koch curve is made of 4 copies of itself, each one third the size. So , , and .[13]
Natural objects such as snowflakes and Romanesco broccoli are only fractal-like. Their self-similarity stops at the scale of molecules and atoms.[9]
Patterns in nature
Patterns appear throughout nature, from the arrangement of molecules in crystals and snowflakes to the shapes of galaxies.[14] Many look alike across very different sizes, and scientists are still working out whether similar patterns come from similar causes.[14] The page patterns in nature covers the full range.
Reaction and diffusion
In 1952, Alan Turing proposed that chemicals he called morphogens could explain how embryos form their shapes.[15] Morphogens are signal chemicals that guide how tissue develops, and in his model they react with each other and spread through the tissue.[15]
His paper, The Chemical Basis of Morphogenesis, showed that such a system can turn an even mix into a fixed pattern of evenly spaced peaks and dips (stationary waves).[15][14] It also showed that one such system in two dimensions gives patterns of patchy spots.[15]
Patterns made this way are now called Turing patterns, and the models are called reaction-diffusion systems.[14]
The best-known version is the activator-inhibitor system, proposed by Alfred Gierer and Hans Meinhardt in 1972.[14] It works in four steps.[14]
- The activator boosts its own production, so a small random bump in its level grows into a peak.
- The activator also makes the inhibitor.
- The inhibitor spreads faster and farther, so it holds down the activator around the peak.
- Beyond the inhibitor's reach, another activator peak can form, giving evenly spaced peaks.
A general two-chemical model has this form:[14]
Here and are the levels of activator and inhibitor, and are how fast each spreads, measures how a level differs from its surroundings, and and are the reaction rates. The classic condition for a pattern is that the inhibitor spreads much faster than the activator, .[14] Changing the parameters, the values that set how the model behaves, switches the result between spots and stripes.[14]
The model's relevance to real animals was long debated, but a number of strong examples have since eased much of that doubt.[16]
Newer studies of systems with more than two chemicals show that the faster-spreading condition can be partly or fully dropped.[14]
Spirals in plants
The arrangement of leaves or seeds on a plant is called phyllotaxis. Many plants arrange them in spirals, the most common kind.[17]
In spiral patterns, the number of visible spirals in each direction is most often two neighboring Fibonacci numbers, such as 3 and 5.[10] When this happens, the angle between one leaf or seed and the next is close to the golden angle, about .[10]
Here is the golden ratio, which is the limit of the ratio of each Fibonacci number to the one before it.[10]
In multijugate phyllotaxis, two or more leaves or seeds grow at the same point on the stem. Each group is turned by a constant angle from the last.[17]
A 1994 review of studies by R. Jean, covering 650 species and 12,500 samples, estimated that about 92% of plants with spiral or multijugate phyllotaxis show Fibonacci numbers.[10]
Patterns in design
Repeats in fabric and wallpaper
Printed wallpaper must repeat in two directions. It repeats left to right so strips line up on the wall, and top to bottom so many strips can be cut from one roll.[4] Surface designers set up the repeat in one of a few standard layouts.[18]
- In a full-drop repeat, the motif repeats along straight horizontal and vertical lines, forming a square or rectangular grid.
- In a half-drop repeat, each neighboring column is shifted down by exactly half the vertical repeat.
Artists choose symmetry for practical as well as visual reasons. Most of Escher's drawings that tile the plane use one of the seven wallpaper groups with no mirror lines, since figures meeting on a mirror line must have a straight edge, which living shapes rarely have.[4]
The Nobel committee pointed to medieval Islamic mosaics, such as those of the Darb-i Imam Shrine in Iran, as examples of aperiodic Islamic geometric patterns.[8]
Pattern languages
In architecture, a pattern can also mean a proven solution to a design problem that keeps coming back. In the 1977 book A Pattern Language, Christopher Alexander and his co-authors described 253 such patterns, ranging from regional planning to interior design, which together form a pattern language.[19] In their words, each pattern "describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem".[19]
Software engineers adopted the idea. In 1994, Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides published Design Patterns, a catalog of 23 software design patterns for object-oriented programs.[20] Such programs are organized around objects that combine data with the actions on that data.
Patterns in data and code
Computers search for patterns in many kinds of data.
- Pattern recognition is the automatic discovery of regularities in data by computer algorithms (step-by-step procedures a computer follows), and the use of those regularities to act, for example by sorting data into categories.[21] It overlaps heavily with machine learning.
- A sequence motif is a short pattern in DNA or protein sequences that has a biological role. DNA motifs are usually 5 to 20 base pairs (pairs of DNA building blocks) long and recur in different genes or several times in one gene, often as binding sites for a transcription factor.[22]
- A regular expression is a text pattern that specifies a set of strings, used to check whether a piece of text matches.[23]
References
- Developing concepts of pattern, Cambridge Mathematics Espresso 47, Cambridge Mathematics.
- Repeating patterns, Top Drawer, Australian Association of Mathematics Teachers.
- The Science of Patterns, Lynn Arthur Steen, Science 240, 1988.
- Wallpaper Patterns, EscherMath, Saint Louis University.
- Isometry Groups, EscherMath, Saint Louis University.
- Wallpaper patterns: the mathematics, SingSurf.
- Frieze Patterns, EscherMath, Saint Louis University.
- Press release: The Nobel Prize in Chemistry 2011, NobelPrize.org, 2011.
- See how fractals forever changed math and science, Science News, 2025.
- Fibonacci Numbers - Golden Angle, Smith College Phyllotaxis.
- Crystallography Restriction, Eric W. Weisstein, Wolfram MathWorld.
- The Nobel Prize in Chemistry 2011: Popular information, NobelPrize.org, 2011.
- Fractal Dimension and Measure, Cornell University Department of Mathematics.
- Pattern formation mechanisms of self-organizing reaction-diffusion systems, Developmental Biology, 2020.
- The chemical basis of morphogenesis, Alan M. Turing, Philosophical Transactions of the Royal Society B 237, 1952.
- Reaction-Diffusion Model as a Framework for Understanding Biological Pattern Formation, Shigeru Kondo and Takashi Miura, Science, 2010.
- Classification, Smith College Phyllotaxis.
- Pattern Repeats: Half Drop Repeats vs Full Drop Repeats, Pattern Observer, 2019.
- Christopher Alexander's A Pattern Language: analysing, mapping and classifying the critical response, City, Territory and Architecture, 2017.
- History of patterns, Refactoring.Guru.
- Pattern Recognition and Machine Learning, Christopher M. Bishop, Springer, 2006.
- A survey of DNA motif finding algorithms, BMC Bioinformatics, 2007.
- re: Regular expression operations, Python documentation.
