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
Volume element formula_25. In coordinates, where formula_27 is the determinant of the metric tensor "g" written in the coordinate system. A simple example of a volume element can be explored by considering a two-dimensional surface embedded in "n"-dimensional Euclidean space. Such a volume element is sometimes called an "area element". Consider a subset formula_28 and a mapping function thus defining a surface embedded in formula_30. In two dimensions, volume is just area, and a volume element gives a way to determine the area of parts of the surface. Thus a volume element is an expression of the form that allows one to