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 tension , which is the angle the tangent to the surface makes with the solid surface. Note that the angle is measured "through the liquid", as shown in the diagrams above. The diagram to the right shows two examples. Tension forces are shown for the liquid–air interface, the liquid–solid interface, and the solid–air interface. The example on the left is where the difference between the liquid–solid and solid–air surface tension, , is less than the liquid–air surface tension, , but is nevertheless positive, that is In the diagram, both the vertical and horizontal forces must cancel exactly at the contact point,