A soap bubble is an extremely thin film of soapy water enclosing air that forms a hollow sphere with an iridescent surface. Soap bubbles usually last for only a few seconds before bursting, either on their own or on contact with another object. They are often used for children’s enjoyment, but they are also used in artistic performances. Assembling several bubbles results in foam.

When light shines onto a bubble it appears to change colour. Unlike those seen in a rainbow, which arise from differential refraction, the colours seen in a soap bubble arise from interference of light reflecting off the front and back surfaces of the thin soap film. Depending on the thickness of the film, different colours interfere constructively and destructively.

Soap bubbles are physical examples of the complex mathematical problem of minimal surface. They will assume the shape of least surface area possible containing a given volume. A true minimal surface is more properly illustrated by a soap film, which has equal pressure on inside as outside, hence is a surface with zero mean curvature. A soap bubble is a closed soap film: due to the difference in outside and inside pressure, it is a surface of constant mean curvature.

While it has been known since 1884 that a spherical soap bubble is the least-area way of enclosing a given volume of air (a theorem of H. A. Schwarz), it was not until 2000 that it was proven that two merged soap bubbles provide the optimum way of enclosing two given volumes of air of different size with the least surface area. This has been dubbed the double bubble conjecture.

Because of these qualities, soap bubbles films have been used with practical problem solving application. Structural engineer Frei Otto used soap bubble films to determine the geometry of a sheet of least surface area that spreads between several points, and translated this geometry into revolutionary tensile roof structures. A famous example is his West German Pavilion at Expo 67 in Montreal.

When two bubbles merge, they adopt a shape which makes the sum of their surface areas as small as possible, compatible with the volume of air each bubble encloses. If the bubbles are of equal size, their common wall is flat. If they aren’t the same size, their common wall bulges into the larger bubble, since the smaller one has a higher internal pressure than the larger one, as predicted by the Young–Laplace equation.

At a point where three or more bubbles meet, they sort themselves out so that only three bubble walls meet along a line. Since the surface tension is the same in each of the three surfaces, the three angles between them must be equal to 120°. Only four bubble walls can meet at a point, with the lines where triplets of bubble walls meet separated by cos−1(−1/3) ≈ 109.47°. All these rules, known as Plateau’s laws, determine how a foam is built from bubbles.