Surface tension gases. The pressure inside an ideal (one surface) soap bubble can be derived from thermodynamic free energy considerations. At constant temperature and particle number, , the differential Helmholtz energy is given by where is the difference in pressure inside and outside of the bubble, and is the surface tension. In equilibrium, , and so, For a spherical bubble, the volume and surface area are given simply by and Substituting these relations into the previous expression, we find which is equivalent to the Young–Laplace equation when . For real soap bubbles, the pressure is doubled due to the presence of two
Capillary surface and that the most stable configuration can become metastable through mechanical jarring without too much difficulty. On the other hand, a metastable surface can sometimes spontaneously achieve lower energy without any input (seemingly at least) given enough time. Boundary conditions for stress balance describe the capillary surface at the contact line: the line where a solid meets the capillary interface; also, volume constraints can serve as boundary conditions (a suspended drop, for example, has no contact line but clearly must admit a unique solution). For static surfaces, the most common contact line boundary condition is the implementation of the contact