Leaving Cert Chemistry · Reactions of Organic CompoundsSurfactants and soap
What a surfactant is
- A surfactant (surface-active agent) is a substance whose molecules or ions have a water-attracting (hydrophilic) part and a water-repelling (hydrophobic) part.
- Dissolved in water, a surfactant lowers the surface tension, helping water wet surfaces and mix with oil and grease.
- Soap is a surfactant: the sodium or potassium salt of a long-chain carboxylic acid, called a fatty acid.
- Sodium stearate, C₁₇H₃₅COO⁻Na⁺, is sodium octadecanoate, a typical soap.
- Potassium soaps are softer and are used in liquid soaps.
Structure of a soap ion
- The head, the carboxylate group –COO⁻, is ionic and hydrophilic: it is attracted to polar water molecules by ion–dipole attraction, and so dissolves in water.
- The tail is a long hydrocarbon chain of about 12–18 carbon atoms; it is non-polar and hydrophobic, so it does not mix with water but dissolves in grease and oil through London dispersion forces.
- This dual nature lets one soap ion interact with both water and grease.
- Soap can dissolve the non-polar oils on skin, and through its ionic heads and the water it also removes the salts in sweat.
- Diagram a soap ion drawn as a long zig-zag tail, with a circled –COO⁻ head and a separate Na⁺ ion, labelled hydrophobic tail and hydrophilic head.
How soap removes grease
- In water, soap lowers the surface tension, so the water spreads over and wets the greasy surface or fabric.
- The hydrophobic tails dissolve in the grease or oil, while the hydrophilic heads stay in the water at the surface of the grease.
- Rubbing or agitation breaks the grease into tiny droplets, each surrounded by soap ions.
- Each droplet becomes a micelle: a sphere with the grease and the tails inside, and the negatively charged heads facing out into the water.
- The negative surfaces of the micelles repel one another, so the droplets do not join up again and stay dispersed in the water as an emulsion; this is emulsification.
- Rinsing carries the micelles away, with the dirt and microorganisms trapped in the grease.
- Diagram a micelle, with an oil droplet in the centre, soap tails pointing inward into it, and heads (–COO⁻) on the outside in water.
Soap in hard water and synthetic detergents
- Hard water contains Ca²⁺ and Mg²⁺ ions, for example water from limestone regions.
- These ions react with soap ions to form an insoluble scum: 2C₁₇H₃₅COO⁻(aq) + Ca²⁺(aq) → (C₁₇H₃₅COO)₂Ca(s).
- In hard water, soap forms scum and lathers poorly until all the hardness ions have been precipitated, which wastes soap.
- In deionised, soft water, soap lathers easily.
- Synthetic detergents, also called soapless detergents, have a similar head-and-tail structure but a different head, e.g. a sulfonate group (–SO₃⁻) in alkylbenzene sulfonates.
- Their calcium and magnesium salts are soluble, so synthetic detergents work well in hard water and form no scum.
- Surfactants are grouped by their head: anionic (negative head), e.g. soaps and sulfonates in washing-up liquid and laundry detergent.
- Cationic surfactants have a positive head, e.g. quaternary ammonium compounds in fabric conditioners and some disinfectants.
- Non-ionic surfactants have an uncharged head and are used in many cleaning products.
Applications in everyday life
- Cleaning: bar and liquid soaps, hand wash, shower gel, shampoo, washing-up liquid, laundry detergent, and household and industrial surface cleaners.
- Personal care: toothpaste, where sodium lauryl sulfate is the foaming agent; shampoo; and cosmetics and creams, where surfactants act as emulsifiers that keep oil and water mixed.
- Food: emulsifiers such as lecithin keep oil and water mixed in mayonnaise, chocolate and margarine.
- Other uses: fabric conditioners; wetting agents in paints, inks and agricultural sprays, so that the spray spreads over leaves; firefighting foams; and dispersants that break up oil spills at sea.
Health, sanitation and the environment
- Handwashing with soap removes microorganisms from the skin, trapping them in micelles that are rinsed away.
- Handwashing is one of the most effective ways of preventing the spread of infectious diseases such as diarrhoeal diseases, respiratory infections and influenza.
- Soap destroys enveloped viruses, such as influenza viruses and SARS-CoV-2: the hydrophobic tails insert into the virus's fatty lipid outer membrane and break it apart.
- Public-health advice during the COVID-19 pandemic was to wash hands with soap and water, scrubbing for at least 20 seconds.
- Detergents used in laundry, dishwashing, hospitals and food processing remove the grease that shelters bacteria, improving hygiene in homes, hospitals and the food industry.
- Early synthetic detergents with branched hydrocarbon chains were not biodegradable and caused foam on rivers in the 1950s and 1960s; they were replaced by biodegradable linear-chain detergents.
- Phosphates added to some detergents as builders can cause eutrophication of lakes and rivers, so their use has been restricted, e.g. in laundry detergents in the EU.
Aim and chemistry
- Aim: to make soap on a small scale from household reactants, by base hydrolysis (saponification) of a fat or oil with sodium hydroxide, and to compare the product when sodium hydroxide is limiting with when it is in excess.
- Word equation: fat or oil + sodium hydroxide gives soap (the sodium salts of fatty acids) + glycerol.
- One mole of fat reacts with 3 moles of NaOH.
- Household reactants: a vegetable oil or fat, e.g. olive, sunflower or coconut oil, or lard; sodium hydroxide, sold as caustic soda; water; and table salt for brine.
- A reflux method is not required: the mixture is heated gently in an open container in a water bath.
Method
- Weigh a known mass of oil, e.g. 10 g, into a beaker or evaporating basin.
- Add a measured volume of sodium hydroxide solution of known concentration; a little ethanol, if available, can be added as a solvent in which both the oil and the sodium hydroxide dissolve, so that they mix and react faster.
- Heat gently in a water bath, stirring continuously, for about 20–30 minutes, adding a little water if the mixture dries out; the mixture becomes thick and creamy as soap forms.
- Pour the mixture into a beaker of saturated salt solution (brine) and stir; the soap separates as solid curds, because soap is much less soluble in concentrated salt solution than in water; this is salting out.
- Collect the soap by filtration or by skimming it off, and wash it with a little ice-cold water, because warm water would dissolve the soap.
- Press the soap dry between filter papers, leave it to dry and weigh it.
- Repeat with the same mass of oil but a different amount of sodium hydroxide, so that one batch has NaOH in excess and the other has NaOH limiting; see the calculation block.
- Diagram a beaker of oil and sodium hydroxide solution in a water bath, with a stirring rod and a thermometer, and a filter funnel collecting the soap from the brine.
Testing the soap
- Shake a little soap with deionised water: it forms a lather, and the solution is slightly alkaline, about pH 9–10.
- Shake a little soap with hard water, e.g. mineral water from a limestone region: a scum forms and there is little lather.
- Test a solution of each batch with universal indicator or a pH meter: soap made with excess NaOH has a much higher pH, unless the NaOH has been washed out.
- Look and feel the soap, wearing gloves: soap from a batch with limiting NaOH is greasy and soft, with an oily layer of unreacted oil.
- The glycerol co-product and any excess sodium hydroxide dissolve in the brine filtrate, not in the washed soap.
Why each step is needed
- Heating speeds up the hydrolysis, which is slow at room temperature; a water bath gives gentle, even heat and avoids a flame, because ethanol is flammable.
- Stirring mixes the oil with the aqueous sodium hydroxide, which do not mix by themselves, so they keep reacting.
- Brine separates the soap from glycerol, water and excess NaOH, which all stay in solution.
- Washing with ice-cold water removes NaOH and glycerol from the soap surface without dissolving much soap.
Safety and errors
- Sodium hydroxide is corrosive and especially harmful to the eyes: wear goggles and gloves.
- Add the sodium hydroxide carefully, because dissolving NaOH in water is exothermic.
- Do not use the product on skin, because it may contain unreacted sodium hydroxide.
- Sources of error include soap lost in the brine and washings, wet soap being weighed, which gives too high a mass, and a reaction not completed in the time allowed.
- Household oils are mixtures, so the mass of NaOH needed can only be estimated.
Consequences of limiting or excess sodium hydroxide (Higher Level only)
- If NaOH is limiting, not all the fat is hydrolysed: the yield of soap is set by the moles of NaOH, and unreacted fat or oil remains.
- The soap made with limiting NaOH is greasy and soft, and the leftover oil is wasted and can go rancid.
- If NaOH is in excess, all the fat is converted, giving the maximum yield of soap from the fat.
- The soap made with excess NaOH contains free sodium hydroxide, which is caustic, has a high pH and irritates or burns skin.
- Excess NaOH must be removed, by washing the soap with brine or water, or by neutralisation.
- Excess NaOH is also wasted reagent and makes the waste liquid strongly alkaline.
- Manufacturers calculate the exact amount of NaOH needed for the fat used, then wash the soap with brine to remove any excess.
- Small-scale soap makers often use slightly less NaOH than needed, leaving a little unreacted oil, called superfatting, so that no free NaOH remains and the soap is gentler.
- The amount of NaOH needed follows from the 1 : 3 ratio of fat to NaOH; for a real oil it can only be estimated, because oils are mixtures of different tri-esters.
Sample calculation (Higher Level only)
- Model fat: glyceryl tristearate, M = 890 g mol⁻¹; sodium stearate (soap), M = 306 g mol⁻¹; NaOH, M = 40 g mol⁻¹. Sample data.
- 8.90 g of fat = 8.90 ÷ 890 = 0.0100 mol, which needs 3 × 0.0100 = 0.0300 mol of NaOH = 1.20 g.
- Batch 1, NaOH in excess: 2.00 g of NaOH = 0.0500 mol; 0.0300 mol reacts, leaving 0.0200 mol (0.800 g) over. The fat is limiting, so soap = 3 × 0.0100 = 0.0300 mol × 306 = 9.18 g.
- Batch 2, NaOH limiting: 1.00 g of NaOH = 0.0250 mol, less than the 0.0300 mol needed. Soap = 0.0250 mol × 306 = 7.65 g.
- In batch 2, fat used = 0.0250 ÷ 3 = 0.00833 mol, so fat left unreacted = 0.0100 − 0.00833 = 0.001667 mol; keep the extra figure until the end, then 0.001667 × 890 = 1.48 g.
- Conclusion: batch 1 gives more soap, 9.18 g, but contains 0.800 g of corrosive NaOH that must be washed out; batch 2 gives less soap, 7.65 g, mixed with 1.48 g of unreacted fat.
Key terms
- Surfactant
- A substance whose molecules have a hydrophilic part and a hydrophobic part, which lowers the surface tension of water.
- Soap
- The sodium or potassium salt of a long-chain carboxylic acid, which acts as a surfactant.
- Hydrophilic
- Attracted to water, as in the ionic carboxylate head of a soap ion.
- Hydrophobic
- Repelled by water and attracted to grease, as in the hydrocarbon tail of a soap ion.
- Micelle
- A sphere of surfactant ions with their hydrophobic tails inside, holding grease or oil droplets, with their hydrophilic heads facing the water.
- Emulsion
- A mixture of two liquids that do not mix, in which one liquid is dispersed as tiny droplets in the other.
- Scum
- An insoluble solid formed when soap ions react with Ca²⁺ or Mg²⁺ ions in hard water.
- Synthetic detergent
- A surfactant made from petrochemicals that does not form scum in hard water, because its calcium and magnesium salts are soluble.
- Biodegradable
- Able to be broken down by microorganisms into simple substances.
- Saponification
- The base hydrolysis of a fat or oil by sodium hydroxide, which gives soap and glycerol.
- Salting out
- The separation of soap from its solution by adding concentrated salt solution, in which soap is much less soluble.
- Brine
- Concentrated aqueous sodium chloride solution.
- Caustic soda
- The common name for sodium hydroxide, NaOH.
- Glycerol
- Propane-1,2,3-triol, HOCH₂CH(OH)CH₂OH, the co-product of making soap from a fat.
- Limiting reagent
- The reactant that is used up first and so limits the amount of product that can form.
- Excess reagent
- A reactant present in more than the amount needed, so some of it is left over at the end of the reaction.
- Superfatting
- Making soap with slightly less sodium hydroxide than needed, so that a little unreacted oil remains and no free NaOH is left.
Practice questions
Explain, with the aid of a labelled diagram, how soap removes grease from skin. Use the terms hydrophilic, hydrophobic and micelle.
12 marksExplain why soap forms a scum in hard water, giving an equation, and why synthetic detergents do not. Give two everyday applications of surfactants other than washing hands.
9 marks
Model answers, marking and 6 practice questions for this section are in the app. See the answers