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
Surface area but not on its position and orientation in space. This means that surface area is invariant under the group of Euclidean motions. These properties uniquely characterize surface area for a wide class of geometric surfaces called "piecewise smooth". Such surfaces consist of finitely many pieces that can be represented in the parametric form with a continuously differentiable function formula_4 The area of an individual piece is defined by the formula Thus the area of "S" is obtained by integrating the length of the normal vector formula_6 to the surface over the appropriate region "D" in the parametric "uv" plane. The