(a) Consider a drop of liquid resting on a solid in air. Three interfaces meet along the line of contact: liquid–air, solid–air and solid–liquid, with surface tensions Sla, Ssa and Ssl. At the line of contact, Sla acts along the tangent to the liquid surface, Ssa pulls along the solid away from the liquid, and Ssl pulls along the solid towards the liquid. For the contact line to be in equilibrium along the solid surface,
Slacosθ+Ssl=Ssa
cosθ=SlaSsa−Ssl

For mercury on glass, Ssl>Ssa, so cosθ is negative and the angle of contact θ is obtuse. For water on glass, Ssl<Ssa, so cosθ is positive and θ is acute.
(b) Water molecules are attracted to glass more strongly than to one another: the adhesive force between water and glass is greater than the cohesive force within water. Replacing glass–air surface by glass–water surface therefore lowers the energy, so water spreads out over the glass (small, acute angle of contact): water wets glass.
Mercury atoms attract one another much more strongly than they are attracted to glass: the cohesive force in mercury is much greater than the adhesive force between mercury and glass. Creating a mercury–glass surface costs a lot of energy, so mercury pulls itself together into drops that touch the glass over as small an area as possible (obtuse angle of contact): mercury does not wet glass.
(c) Surface tension S is the force per unit length acting along any line in the surface, or equivalently the surface energy per unit area. When the surface area is increased, more molecules come up from the interior to form the new surface; the surface is not stretched like a rubber sheet, so the spacing of molecules in the surface stays the same. The energy needed is the same for every unit of new area, so the total surface energy increases in proportion to the area while the energy per unit area, S, stays the same. For example, the force F=2Sl needed to hold a slider on a soap film does not change as the slider is pulled out and the film grows. S depends only on the nature of the liquid (and the medium it is in contact with) and the temperature, not on the area.
(d) Detergent lowers the surface tension Sla of water and also Ssl between water and the fabric (or grease). From
cosθ=SlaSsa−Ssl
decreasing Sla and Ssl makes cosθ larger, so the angle of contact θ becomes small. With a small angle of contact the water wets the cloth well and spreads into the narrow spaces between the fibres, which act like fine capillaries (the rise in a capillary, h=ρga2Scosθ, is larger when cosθ is larger). The detergent solution therefore soaks right into the fabric and reaches the dirt. That is why water used for washing should have a small angle of contact.
(e) A liquid surface has surface energy, S per unit area, and like any system the drop settles into the shape of least energy. With no external force (such as gravity) acting, the only energy that depends on the shape is the surface energy, so the drop takes the shape with the least surface area for its fixed volume. Of all shapes with a given volume, the sphere has the least surface area. Hence a free drop is spherical.