Fats, Oils and Soap
A question to start
Butter and lard are solid in the kitchen, while soybean and olive oil are liquid, yet chemically they belong to the same family. Thousands of years ago people found that boiling animal fat with wood ash made a slippery substance that washes away grease: soap. How can a fat become the very thing that removes fat?
The idea
Fats and oils (chất béo) are triglycerides (triglixerit): esters of glycerol (propane-1,2,3-triol, ) with three long-chain carboxylic acids called fatty acids (axit béo).
| Fatty acid | Formula | C=C bonds | Melting point | Typical source |
|---|---|---|---|---|
| palmitic acid (hexadecanoic) | 0 | palm oil, lard | ||
| stearic acid (octadecanoic) | 0 | beef fat, cocoa butter | ||
| oleic acid | 1 | olive oil | ||
| linoleic acid | 2 | soybean and sunflower oil |
- Saturated fatty acids have only C-C single bonds. Their chains are straight and pack closely, so the forces between molecules are strong: fats rich in them (butter, lard) are solid at room temperature.
- Unsaturated fatty acids have one or more C=C bonds, usually cis, which put a kink in the chain. Kinked chains cannot pack closely, so oils rich in them are liquid.
A triglyceride made only from stearic acid is tristearin, (); from oleic acid, triolein, ().
Hydrogenation. Hydrogen adds to the C=C bonds of an oil over a nickel catalyst at about to , turning a liquid oil into a solid fat (the old way to make margarine):
Partial hydrogenation can also turn some cis C=C into trans C=C. Trans fats raise the "bad" LDL cholesterol in blood, so many countries now limit them; modern margarine is made in other ways.
Rancidity. The C=C bonds of oils slowly react with oxygen from the air, and bacteria hydrolyse the ester links, releasing smelly acids such as butanoic acid. Keeping oil cool, dark and closed, and adding antioxidants such as vitamin E, slows this down.
Saponification: making soap
Like other esters, fats are hydrolysed by hot aqueous alkali, and the reaction goes to completion. The products are glycerol and the sodium salts of the fatty acids: soap (xà phòng). This is saponification (phản ứng xà phòng hóa):
Adding salt to the hot mixture makes the soap separate as a solid layer ("salting out"); glycerol stays in the water and is collected for cosmetics and medicines. Potassium hydroxide gives softer, liquid soaps.
Soap making is never a home activity. Sodium hydroxide (lye, caustic soda) is strongly corrosive: it burns skin and can blind in seconds, and dissolving it in water gets very hot. It is done only in a school lab, by or under a teacher, with goggles and gloves.
How soap cleans
A soap ion, such as the stearate ion , has two very different ends:
- a long hydrocarbon tail that is hydrophobic ("water-hating") and dissolves in grease and oil;
- an ionic head, , that is hydrophilic ("water-loving") and dissolves in water.
In water the tails bury themselves in a grease droplet, and the heads stay outside in the water. The droplet becomes a micelle, coated with negative charges, so micelles repel each other instead of joining up again. The grease is now carried by the water and rinsed away; it has been emulsified.
Hard water. Water that contains and ions is hard. Soap ions form insoluble calcium and magnesium salts with them: a grey scum that wastes soap and sticks to baths and clothes:
Synthetic detergents (such as sodium alkylbenzenesulfonates) have a sulfonate head, , whose calcium salts are soluble, so they lather well even in hard water. Soap, however, is made from renewable fats and is fully biodegradable (more in Detergents and Household Chemicals).
Worked examples
Example 1: masses in saponification. of tristearin is completely saponified with sodium hydroxide. Find the mass of NaOH needed, and the masses of soap (sodium stearate) and glycerol formed.
- Given: ; ; ; ; ratio .
- Find: , , .
- Formula: , then the mole ratio.
- Solve: . , . , . , .
- Answer: NaOH; soap; glycerol.
- Check: mass is conserved: .
Example 2: hydrogen for hardening an oil. What volume of hydrogen at and 1 bar () is needed to turn of triolein completely into tristearin?
- Given: ; each oleic chain has one C=C, so 3 mol per mol of triolein.
- Find: .
- Solve: ; ; .
- Answer: of hydrogen.
- Check: the mass grows by to , which is exactly of tristearin ().
Example 3: soap from a real batch. A teacher saponifies of tristearin; of the theoretical soap is recovered. What mass of soap is that?
- Solve: ; theoretical soap ; actual .
- Answer: about of sodium stearate.
- Check: per mole of fat, of soap, so the soap outweighs the fat by the factor ; .
Try it (safe): oil, water and washing-up liquid
You need: a clean jar with a lid, water, cooking oil, a few drops of food colouring, and a little washing-up liquid. Use washing-up liquid on its own; never mix it with bleach or any other cleaning product.
- Fill the jar one third with water, add a drop of food colouring, then add two tablespoons of oil.
- Close the lid tightly and shake for 20 seconds. Watch for one minute.
- Add three drops of washing-up liquid, shake again and watch.
What you should see: after step 2 the oil and water separate again within a minute, oil on top. After step 3 the mixture stays cloudy for much longer: an emulsion. Why: the detergent molecules sit at the surface of each oil droplet with their tails in the oil and their charged heads in the water, just like the micelle picture, so the droplets cannot join up. Wash your hands afterwards and pour the mixture down the sink with plenty of water.
Common mistakes
- "Fats are acids." Fats are esters (of glycerol). Fatty acids are released only when fats are hydrolysed.
- "Oils are liquid because they have smaller molecules." Oils and fats have similar sizes; oils are liquid because their cis C=C bonds kink the chains so they pack poorly.
- Using a ratio for saponification. One triglyceride has three ester links: it needs three NaOH and gives three soap ions.
- Mixing up hydrogenation and hydrolysis. Hydrogenation adds to C=C bonds (oil to fat); hydrolysis breaks ester links with water or alkali (fat to glycerol + acids or soap).
Practice
- Write the equation for the saponification of tripalmitin, , with NaOH.
Answer
(sodium palmitate and glycerol).
- Find the of tripalmitin and the mass of KOH needed to saponify of it.
Answer
: . , KOH .
- Explain, using the structure of the soap ion, why soap removes an oily stain.
Answer
The hydrocarbon tails dissolve in the oil, the ionic heads stay in the water, so the oil is broken into small micelles coated with negative charge; they repel each other, stay dispersed and are rinsed away.
- Why does soap form scum in hard water but a sulfonate detergent does not?
Answer
Calcium and magnesium carboxylates are insoluble and precipitate (); calcium and magnesium sulfonates are soluble, so the detergent stays in solution and keeps working.
Test yourself
Fats and oils are esters of glycerol with ...
- ethanol
- fatty acids
- amino acids
- glucose
How many moles of NaOH are needed to saponify 0.10 mol of a triglyceride?
- 0.10 mol
- 0.20 mol
- 0.30 mol
- 0.033 mol
Why is olive oil liquid but butter solid at room temperature?
- Olive oil has no ester links
- Olive oil has more unsaturated (kinked) chains that pack poorly
- Butter contains water
- Butter has smaller molecules
In a micelle, the hydrocarbon tails of the soap ions point ...
- out into the water
- into the grease droplet
- towards the sodium ions
- in random directions
Which safety rule applies to making soap with sodium hydroxide?
- It is a fun kitchen activity
- Only in a school lab, by or under a teacher, with goggles and gloves
- It is safe if the water is cold
- Vinegar makes it safe