7J

Soaps and detergents

How soap is made by saponification of fats, the structure of soap and detergent molecules, how surfactants lower surface tension and form micelles to lift grease, why soap fails in hard and acidic water, and anionic, cationic and non-ionic detergents and their uses and environmental effects.

Crush a handful of leaves from the soap tree, Alphitonia excelsa, rub them with water and they foam. Aboriginal people across eastern and northern Australia have long used them to wash. The leaves contain saponins, natural molecules with one end that loves water and another that doesn't. Every soap, shampoo and dishwashing liquid works the same way. Water alone can't remove grease because grease is non-polar; you need a molecule that can hold on to both at once.

Making soap: saponification

Fats and oils are triglycerides: triesters made from glycerol (propane-1,2,3-triol) and three long-chain carboxylic acids called fatty acids. Boiling a fat or oil with sodium hydroxide hydrolyses the three ester links. This base hydrolysis is called saponification ("soap making"):

triglyceride + 3NaOH → glycerol + 3 sodium carboxylates (soap)

Saponification of glyceryl tristearate. Each ester link breaks, giving glycerol and three molecules of sodium stearate.

For a typical animal fat, glyceryl tristearate: (C₁₇H₃₅COO)₃C₃H₅ + 3NaOH → C₃H₅(OH)₃ + 3C₁₇H₃₅COONa. Adding concentrated salt solution afterwards makes the soap less soluble so it separates out as a solid curd ("salting out").

The soap molecule

Sodium stearate: a long non-polar tail and an ionic head.

A soap anion has two very different ends:

  • a long hydrocarbon tail (12–18 carbons), non-polar, which forms dispersion forces with grease and oil: it is hydrophobic (water-fearing) and lipophilic;
  • an ionic carboxylate head, –COO⁻, which forms ion–dipole attractions and hydrogen bonds with water: it is hydrophilic.

A molecule like this is a surfactant (surface-active agent).

How soap cleans

  1. It lowers surface tension. Surfactant molecules crowd the water's surface with their tails pointing out, disrupting the hydrogen bonding between surface water molecules. Water then spreads and soaks into fabric instead of beading.
  2. The tails dissolve in the grease. They burrow into the oily dirt while the heads stay in the water.
  3. Agitation breaks the grease into micelles. Each droplet ends up coated in soap anions, tails in and heads out.
  4. The micelles stay suspended. Every micelle has a negatively charged surface, so they repel each other and don't merge back into a grease layer. The result is an oil-in-water emulsion that is rinsed away.
A micelle: soap tails dissolved in a grease droplet, ionic heads facing the water.
InteractiveWash the grease out
Try this
  • Add soap to the greasy water in soft water. Watch where the tails and heads go. How many micelles form?
  • Switch to hard water (Ca²⁺). What appears, and what happens to the cleaning score?
  • Switch to acidic water (pH 3). Why does the soap stop working this time?
  • Try each detergent in hard water. Which ones still clean, and why?

Why soap fails in hard and acidic water

Hard water contains dissolved Ca²⁺ and Mg²⁺ ions (common in groundwater from limestone areas). These form insoluble salts with soap anions, a grey precipitate called scum:

2C₁₇H₃₅COO⁻(aq) + Ca²⁺(aq) → (C₁₇H₃₅COO)₂Ca(s)

The soap is wasted as scum, so more is needed before any lather forms, and the scum leaves rings on baths and dulls clothes. In acidic water, the carboxylate head is protonated (C₁₇H₃₅COO⁻ + H⁺ → C₁₇H₃₅COOH). The fatty acid has no charge, so it is insoluble and no longer acts as a surfactant.

Synthetic detergents

Detergents are synthetic surfactants, usually made from petrochemicals, designed to work where soap doesn't. They all have a long hydrocarbon tail; they differ in the head.

Anionic, cationic and non-ionic detergents differ only in their hydrophilic heads.
TypeHead groupExamplePropertiesTypical uses
Anionicnegative, usually sulfonate –SO₃⁻ or sulfate –OSO₃⁻sodium dodecylbenzenesulfonate; sodium lauryl sulfatecheap, high foaming; calcium and magnesium salts are soluble, so no scum in hard waterlaundry powders, dishwashing liquid, shampoo, toothpaste
Cationicpositive, quaternary ammonium –N⁺(CH₃)₃cetyltrimethylammonium bromidebind strongly to negatively charged surfaces such as hair and fabric; kill bacteria; poorer cleanersfabric softener, hair conditioner, disinfectants, antiseptic mouthwash
Non-ionicuncharged, a chain of –OCH₂CH₂– units ending in –OH that hydrogen bonds to wateralcohol ethoxylatesno charge, so unaffected by hard water; low foam; milddishwasher detergent, front-loader powders, glass cleaner, emulsifiers in food and cosmetics

Cationic and anionic detergents can't be mixed, because their oppositely charged heads attract and both are neutralised. That is why shampoo (anionic) and conditioner (cationic) come in separate bottles.

Environmental effects

The first detergents of the 1950s had branched tails that bacteria couldn't break down, and rivers and sewage works filled with foam. They were replaced by linear alkylbenzene sulfonates, which are biodegradable. Detergents also used to contain phosphate "builders" to soften water; phosphates fertilise algae and cause algal blooms (eutrophication), so most Australian laundry products are now low-phosphate or phosphate-free. Soap itself is biodegradable, being made from natural fats.

Test yourself

  1. Saponification is

  2. Micelles of soap in water do not join back together because

  3. Which surfactant would be best in a hair conditioner?

  4. Soap forms a scum in water containing

Label the soap molecule.

COO⁻Na⁺hydrophobic tailnon-polar C₁₇ hydrocarbon chain: dissolves in greasehydrophilic headsodium ion

Which kind of detergent fits each description?

A molecule that lowers the surface tension of water is a . The hydrocarbon tail of a soap is . Soap particles surround grease to form . Fats and oils are . Water containing calcium and magnesium ions is called water.

5 marks

Explain how soap removes grease from fabric, and why it is less effective in hard water. Include a relevant equation.