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 compute the area of a set "B" lying on the surface by computing the integral Here we will find the volume element on the surface that defines area in the usual sense. The Jacobian matrix of the mapping is with index "i" running from 1 to "n", and "j" running from 1 to 2. The Euclidean metric in the "n"-dimensional space induces a metric formula_34 on the set "U", with matrix elements The determinant of the metric is given by For a regular surface, this determinant is non-vanishing; equivalently, the Jacobian matrix has rank 2. Now consider a change of