Cleaning chemistry – the awesome power of soap

Well, times are interesting at the moment, aren’t they? I’m not going to talk (much) about The Virus (there’s gonna be a movie, mark my words), because everyone else is, and I’m not an epidemiologist, virologist or an immunologist or, in fact, in any way remotely qualified. I am personally of the opinion that it’s not even especially helpful to talk about possibly-relevant drugs at the moment, given that we don’t know enough about possible negative interactions, and we don’t have reliable data about the older medicines being touted.

In short, I think it’s best I shut up and leave the medical side to the experts. But! I DO know about something relevant. What’s that, I hear you ask? Well, it’s… soap! But wait, before you start yawning, soap is amazing. It is fascinating. It both literally and figuratively links loads of bits of cool chemistry with loads of other bits of cool chemistry. Stay with me, and I’ll explain.

First up, some history (also not a historian, but that crowd is cool, they’ll forgive me) soap is old. Really, really, old. Archaeological evidence suggests ancient Babylonians were making soap around 4800 years ago – probably not for personal hygiene, but rather, mainly, to clean cooking pots. It was originally made from fats boiled with ashes, and the theory generally goes that the discovery was a happy accident: ashes left from cooking fires made it much easier to clean pots and, some experimenting later, we arrived at something we might cautiously recognise today as soap.

Soap was first used to clean pots.

The reason this works is that ashes are alkaline. In fact, the very word “alkali” is derived from the Arabic al qalīy, meaning calcined ashes. This is because plants, and especially wood, aren’t just made up of carbon and hydrogen. Potassium and calcium play important roles in tree and plant metabolism, and as a result both are found in moderately significant quantities in wood. When that wood is burnt at high temperatures, alkaline compounds of potassium and calcium form. If the temperature gets high enough, calcium oxide (lime) forms, which is even more alkaline.

You may, in fact, have heard the term potash. This usually refers to salts that contain potassium in a water-soluble form. Potash was first made by taking plant ashes and soaking them in water in a pot, hence, “pot ash”. And, guess where we get the word potassium from? Yep. The pure element, being very reactive, wasn’t discovered until 1870, thousands of years after people first discovered how useful its compounds could be. And, AND, why does the element potassium have the symbol K? It comes from kali, the root of the word alkali.

See what I mean about connections?

butyl ethanoate butyl ethanoate

Why is the fact that the ashes are alkaline relevant? Well, to answer that we need to think about fats. Chemically, fats are esters. Esters are chains of hydrogen and carbon that have, somewhere within them, a cheeky pair of oxygen atoms. Like this (oxygen atoms are shown red):

Now, this is a picture of butyl ethanoate (aka butyl acetate – smells of apples, by the way) and is a short-ish example of an ester. Fats generally contain much longer chains, and there are three of those chains, and the oxygen bit is stuck to a glycerol backbone.

Thus, the thick, oily, greasy stuff that you think of as fat is a triglyceride: an ester made up of three fatty acid molecules and glycerol (aka glycerine, yup, same stuff in baking). But it’s the ester bit we want to focus on for now, because esters react with alkalis (and acids, for that matter) in a process called hydrolysis.

Fats are esters. Three fatty acid chains are attached to a glycerol “backbone”.

The clue here is in the name – “hydro” suggesting water – because what happens is that the ester splits where those (red) oxygens are. On one side of that split, the COO group of atoms gains a metal ion (or a hydrogen, if the reaction was carried out under acidic conditions), while the other chunk of the molecule ends up with an OH on the end. We now have a carboxylate salt (or a carboxylic acid) and an alcohol. Effectively, we’ve split the molecule into two pieces and tidied up the ends with atoms from water.

Still with me? This is where it gets clever. Having mixed our fat with alkali and split our fat molecules up, we have two things: fatty acid salts (hydrocarbon chains with, e.g. COONa+ on the end) and glycerol. Glycerol is extremely useful stuff (and, funnily enough, antiviral) but we’ll put that aside for the moment, because it’s the other part that’s really interesting.

What we’ve done here is produce a molecule that has a polar end (the charged bit, e.g. COONa+) and a non-polar end (the long chain of Cs and Hs). Here’s the thing: polar substances tend to only mix with other polar substances, while non-polar substances only mix with other non-polar substances.

You may be thinking this is getting technical, but honestly, it’s not. I guarantee you’ve experienced this: think, for example, what happens if you make a salad dressing with oil and vinegar (which is mostly water). The non-polar oil floats on top of the polar water and the two won’t stay mixed. Even if you give them a really good shake, they separate out after a few minutes.

The dark blue oily layer in this makeup remover doesn’t mix with the watery colourless layer.

There are even toiletries based around this principle. This is an eye and lip makeup remover designed to remove water-resistant mascara and long-stay lipstick. It has an oily layer and a water-based layer. To use it, you give the container a good shake and use it immediately. The oil in the mixture removes any oil-based makeup, while the water part removes anything water-based. If you leave the bottle for a minute or two, it settles back into two layers.

But when we broke up our fat molecules, we formed a molecule which can combine with both types of substance. One end will mix with oily substances, and the other end mixes with water. Imagine it as a sort of bridge, joining two things that otherwise would never be connected (see, literal connections!)

There are a few different names for this type of molecule. When we’re talking about food, we usually use “emulsifier” – a term you’ll have seen on food ingredients lists. The best-known example is probably lecithin, which is found in egg yolks. Lecithin is the reason mayonnaise is the way it is – it allows oil and water to combine to give a nice, creamy product that stays mixed, even if it’s left on a shelf for months.

When we’re talking about soaps and detergents, we call these joiny-up molecules “surfactants“. You’re less likely to have seen that exact term on cosmetic ingredients lists, but you will (if you’ve looked) almost certainly have seen one of the most common examples, which is sodium laureth sulfate (or sodium lauryl sulfate), because it turns up everywhere: in liquid soap, bubble bath, shampoo and even toothpaste.

I won’t get into the chemical makeup of sodium laureth sulfate, as it’s a bit different. I’m going to stick to good old soap bars. A common surfactant molecule that you’ll find in those is sodium stearate, which is just like the examples I was talking about earlier: a long hydrocarbon chain with COONa+ stuck on the end. The hydrocarbon end, or “tail”, is hydrophobic (“water-hating”), and only mixes with oily substances. The COONa+ end, or “head”, is hydrophilic (“water loving”) and only mixes with watery substances.

Bars of soap contain sodium stearate.

This is perfect because dirt is usually oily, or is trapped in oil. Soap allows that oil to mix with the water you’re using to wash, so that both the oil, and anything else it might be harbouring, can be washed away.

Which brings us back to the wretched virus. Sars-CoV-2 has a lipid bilayer, that is, a membrane made of two layers of lipid (fatty) molecules. Virus particles stick to our skin and, because of that membrane, water alone does a really bad job of removing them. However, the water-hating tail ends of surfacant molecules are attracted to the virus’s outer fatty surface, while the water-loving head ends are attracted to the water that’s, say, falling out of your tap. Basically, soap causes the virus’s membrane to dissolve, and it falls apart and is destroyed. Victory is ours – hurrah!

Hand sanitisers also destroy viruses. Check out this excellent Compound Interest graphic (click the image for more).

Who knew a nearly-5000 year-old weapon would be effective against such a modern scourge? (Well, yes, virologists, obviously.) The more modern alcohol hand gels do much the same thing, but not quite as effectively – if you have access to soap and water, use them!

Of course, all this only works if you wash your hands thoroughly. I highly recommend watching this video, which uses black ink to demonstrate what needs to happen with the soap. I thought I was washing my hands properly until I watched it, and now I’m actually washing my hands properly.

You may be thinking at this point (if you’ve made it this far), “hang on, if the ancient Babylonians were making soap nearly 5000 years ago, it must be quite easy to make… ooh, could I make soap?!” And yes, yes it is and yes you can. Believe me, if the apocolypse comes I shall be doing just that. People rarely think about soap in disaster movies, which is a problem, because without a bit of basic hygine it won’t be long before the hero is either puking his guts up or dying from a minor wound infection.

Here’s the thing though, it’s potentially dangerous to make soap, because most of the recipes you’ll find (I won’t link to any, but a quick YouTube search will turn up several – try looking for “saponification“) involve lye. Lye is actually a broad term that covers a couple of different chemicals, but most of the time when people say lye these days, they mean pure sodium hydroxide.

Pure sodium hydroxide is usually supplied as pellets.

Pure sodium hydroxide comes in the form of pellets. It’s dangerous for two reasons. Firstly, precisely because it’s so good at breaking down fats and proteins, i.e. the stuff that humans are made of, it’s really, really corrosive and will give you an extremely nasty burn. Remember that scene in the movie Fight Club? Yes, that scene? Well, that. (Follow that link with extreme caution.)

And secondly, when sodium hydroxide pellets are mixed with water, the solution gets really, really hot.

It doesn’t take a lot of imagination to realise that a really hot, highly corrosive, solution is potentially a huge disaster waiting to happen. So, and I cannot stress this enough, DO NOT attempt to make your own soap unless you have done a lot of research AND you have ALL the appropriate safety equipment, especially good eye protection.

And there we are. Soap is ancient and awesome, and full of interesting chemistry. Make sure you appreciate it every time you wash your hands, which ought to be frequently!

Stay safe, everyone. Take care, and look after yourselves.


Want something non-sciency to distract you? Why not check out my fiction blog: the fiction phial. There are loads of short stories, and even (recently) a poem. Enjoy!

If you’re studying from home, have you got your Pocket Chemist yet? Why not grab one? It’s a hugely useful tool, and by buying one you’ll be supporting this site – it’s win-win!

Like the Chronicle Flask’s Facebook page for regular updates, or follow @chronicleflask on Twitter. Content is © Kat Day 2020. You may share or link to anything here, but you must reference this site if you do. If you enjoy reading my blog, please consider buying me a coffee through Ko-fi using the button below.
Buy Me a Coffee at ko-fi.com

 

 

Basic Chemistry

basic

The other end of the pH scale.

When you start writing a blog it’s hard to predict what people will find most interesting. Inevitably, it’s not what you expected. For example, two of The Chronicle Flask’s most-read posts are about rhubarb and lemons. Perhaps people are more interested in fruit than I ever imagined. Or perhaps I’m getting a lot of hits from people mistakenly looking for recipes.

Or maybe it’s because both feature the ever-interesting topic of acids. In which case, I should probably write something else about acids.

So, this is a post about bases.

Just in case this spectacular bit of contrariness isn’t immediately obvious, bases – some of which are called alkalis (I’m coming to that in a minute) – are at the other end of the pH scale to acids. Acids are the things with a pH value of less than 7, and bases have pH values of more than 7. So basically (hoho), they’re the opposites of acids.

whysoblueI’m using the word base deliberately, and not just because of all the brilliant chemistry puns you can make with it. The more familiar word is probably alkali, but while all alkalis are bases, not all bases are alkalis.

Alkalis are often described as soluble bases. More precisely, alkalis are produced from the metals in group 1 (the ‘alkali’ metals) and group 2 (the ‘alkaline earth’ metals) of the periodic table. The more general term, base, applies to anything that can neutralise an acid. Chemists have another definition: a base is a proton (H+ ion) acceptor, while acids are proton donors (actually chemists have yet another definition, but the proton acceptor one is the one that gets trotted out most often).

The distinction between alkalis and bases does matter to chemists and the two types of substance usually look quite different – bases tend to come in solid lumps or powders (baking soda, for example) and alkalis are more likely to arrive as a solution in a bottle – but in terms of chemistry they both get involved in the same type of chemical reaction, which is neutralising acids.

Indigestion tablet advertWe make use of this all the time, whether we realise it or not. For example if you’re suffering from acid indigestion you probably reach for the indigestion tablets. An advertising campaign for a particular brand of these says that they “turn excess acid into water and other natural substances”. Those ‘natural substances’ are salts – presumably it was decided that the word ‘salt’ had too many negative connotations (which is probably true: how many people would pop a pill that promised to turn into salt in their tummy?) The main ingredient in the tablets in question is calcium carbonate; a base that reacts with stomach acid to produce calcium chloride. Which is definitely a salt, if not the one most people think of when they hear the word.

Tangentially, calcium chloride is also a food additive with the E number E509. It falls into the category of anti-caking agents, which is sort of funny when you think about it.

Anyhoo, that’s one place you use a base (rhyming now as well as punning, sorry). You’re actually making one yourself every time you eat, because your liver produces a substance called bile (bloggers love bile) which helpfully neutralises the acid your stomach produces. If it didn’t, your intestines would get damaged by that acid, so it’s important stuff.

Interestingly, in a lot of the older medical traditions (you know, swallow three leeches with meals, turn around three times under a full moon and bury a toad under a horseradish in a mock turtle) the body’s health depended on the balance of four ‘humors’, or vital fluids: blood, phlegm, ‘yellow bile‘ (choler), and ‘black bile‘. If you had too much of the last two, it was supposed to cause aggression and depression, and in fact the Greek names for them are the root of the words cholera and melancholia.

It’s interesting that in the 21st century many people are obsessed with ‘alkalinizing‘ the body (just check out the comments on that lemons post) when for thousands of years people have understood that too much alkali is probably a bad thing. Public understanding of science has really moved on hasn’t it?

soapBile does something else that’s really quite important in the body, it helps you to digest fats. Bases are generally really good at breaking down fats. This is another thing that’s been known for quite a while, ever since soap was first discovered about (sources vary quite considerably on this) six thousand years ago. Soap is made by a process of saponification, in which fats react with a strong base, usually sodium hydroxide (otherwise known as caustic soda, or sometimes lye). This breaks apart the fat molecules to make glycerol and carboxylate salts (they’re the soap bit). Because of this use, sodium hydroxide features in a famous, and rather gruesome scene, in the film Fight Club.

firediamondNaOH

The fire diamond for NaOH

Because bases are so good at breaking down fats they’re actually surprisingly (or not, if you’ve just watched that Fight Club clip)dangerous, especially because they’re also quite good at breaking down proteins. Your skin is mostly fat and protein, so they can do quite a bit of damage. Remember fire diamonds? The one for sodium hydroxide has a 3 in the blue box, which means that short exposure could cause ‘serious temporary’ or ‘moderate residual’ injury – yikes.

Corrosive hazard symbol

Corrosive hazard symbol

The European hazard symbol is even more alarming, featuring a hand with holes being burned through it. Of course, acids have symbols like these too, but people sort of expect acids to do this kind of stuff. Whereas they’re often (unless they’re chemists) strangely unaware of the dangers of alkalis. For example there’s the a famous, and gruesome, story of the serial killer John George Haigh, who famously dissolved the bodies of his victims in oil drums full of concentrated sulfuric acid. It worked quite well, but he was caught eventually when the police searched his workshop and found sludge containing three human gallstones and part of a denture.

Sulfuric acid is a particularly powerful acid, and is undoubtedly incredibly dangerous stuff, but sodium hydroxide is not much safer. It will cause instantaneous and serious burns, and solid sodium hydroxide gets incredibly hot if it’s added to water. In fact, the water will quickly boil if you’re not careful.

In May last year American Carmen Blandin Tarleton was in the news because she had just received a face transplant. She needed it because her estranged husband had doused her with concentrated sodium hydroxide six years previously. She had undergone fifty-five operations before she made the decision to get the transplant. The pictures are really quite horrific. I won’t reproduce one here; you can see the result of the attack if you follow the link above. Tarleton has also written a book about her experiences. She was left blind and horribly disfigured, with burns to 80% of her body. Doctors described it as “the most horrific injury a human being could suffer”. Sodium hydroxide is not nice stuff.

It’s surprisingly, shockingly, easy to buy sodium hydroxide. Because it’s used in soap-making, you can get it quite easily. It’s even available on Amazon. And of course it’s an ingredient in lots of drain cleaners available in supermarkets. When they say you should wear gloves to handle this stuff, it’s definitely not health and safety gone mad. You really should. Even I would (and I’m really bad about wearing gloves).

So spare a thought for bases. They’re just as interesting, and certainly no nicer or safer than their acidic cousins. In fact, they’re so good at breaking down fat and protein that they could arguably be more dangerous. And next time you’re cleaning out your oven, do remember to wear your gloves.

Are you (still) a chemist and you didn’t know it?

I recently wrote a post listing five bits of chemistry you (probably) do every day.  It was surprisingly popular and so, just like the big movie companies, here’s the sequel!

Picture 0151.  Make fresh coffee (or at least drink one someone else made)
Espresso (the basis of most coffee drinks) is made by forcing a small amount of very-nearly boiling water through ground coffee beans.  This handily extracts a number of chemicals including all the ones that produce the lovely coffee flavours and aromas but also, crucially, our friend caffeine, without which many of us simply wouldn’t function on a daily basis.  What you (or your favourite barista) have done here is a form of chemical extraction.  Extraction techniques are extremely important in chemistry, because nature has an annoying habit of stirring up the stuff we want with lots of other things.  Chemists, especially the organic ones (produced with all-natural fertilisers) spend most of their lives carefully and painstakingly extracting things from other things. Some of them probably earn less than baristas, too.

2.  Make toast
You know when you make the perfect slice, and it goes that lovely brown colour, just before black?  That’s the Maillard reaction in action.  It’s the same thing that happens when you brown meat, chips, onions or, well, anything else that goes brown when you cook it.  It’s a reaction between amino acids (the stuff proteins are made of) and sugars.  It’s also responsible for those lovely toasted-biscuity smells and favours.  The surface of the food has to be in contact with dry heat for this reaction to happen, which is why boiled and microwaved food doesn’t brown.  And alkaline conditions help it along, which is the main reason lye is traditionally used on the surface of pretzels and other German breads (that’s always made me a bit nervous).

Haemoglobin3.  Breathe
I mentioned respiration in my previous post but as any 13 year-old pupil will tell you, and most adults have long since forgotten, respiration is not the same as breathing.  Here I’m actually thinking of oxygen exchange (which is also not, technically, the breathing bit but bear with me).  You’re probably aware that you blood has iron in it: in fact that iron is tied up in rather beautifully complicated haemoglobin molecules.  Oxygen molecules bond to four iron atoms in the haemoglobin with something called coordinate, or dative covalent, bonds.  If it weren’t for this nifty bit of chemical bonding, there’s no way our blood could carry enough oxygen around our bodies, delivering it safely to our cells, to keep us going from one minute to the next.

251840969_6404.  Neutralised some excess acid
Taken an indigestion tablet recently?  Did you realise you were doing a chemistry experiment in your very own stomach?  Well you were!  Indigestion tablets contain a variety of substances, but some of the most common ingredients are magnesium hydroxide (also known, when suspended in water, as ‘milk of magnesia’), calcium carbonate, sodium bicarbonate and magnesium carbonate.  These are all bases: they react with acids to form a salt and water and, in the case of the carbonates, carbon dioxide as well.  The acid in your stomach is hydrochloric acid, so for example:

sodium bicarbonate + hydrochloric acid –> sodium chloride + water + carbon dioxide

Now, is that Rennie advert that claims to “turn acid into water and other natural substances” starting to make sense?  They don’t want to use the word salt for some reason…

5.  Used drain cleaner
This is one of my favouritist little bits of chemistry.  Really.  It’s lovely.  Well apart from the horribly caustic chemicals involved obviously.  Drain cleaner is dangerous concoction nasty stuff but it’s main ingredient is often a strong alkali, like sodium hydroxide (there are also acidic drain cleaners; it’s quite important that you don’t mix them).  The stuff that blocks up your plughole is, largely, protein (hair, skin cells, yuck) and and oily dirt.  The strong alkali reacts with these things in a reaction called hydrolysis.  Now this is clever, because soap is made by (virtually) the exact same reaction.  Soap is produced by saponification, where fats are mixed with a strong alkali.  So what are you doing when you put drain cleaner in your stuffed-up plug hole?  You’re not only breaking down the gunk, you’re also effectively making soap in situ, which helps to wash away the remaining dirt.  How brilliant is that?

With thanks to Andrew (@_byronmiller) for his suggestions.

Are you a chemist and you didn’t know it?

When I tell people that I’m a chemist, I often get an “oooh, I was really bad at that at school” type response. It’s surprising the number of people that think chemistry has nothing whatsoever to do with their daily lives. Memorably, one acquaintance of an acquaintance (I wouldn’t go so far as to say friend of a friend) once even proclaimed, quite proudly, that the whole of science had nothing to do with her, and she lived her life entirely without it. I was so gobsmacked I didn’t really know where to start, and trust me, that doesn’t happen often.

washing-hands--soap-jpgSo with that in mind, here are five bits of chemistry you do every day. Or at least regularly. You’re a chemist and you didn’t know it!

1. Wash your hands.
Well, we all hope you do this one every day anyway. Soap is very clever stuff. It’s one of the oldest bits of chemistry there is, going back thousands of years, when people first discovered that if they washed their pots with the ashes of cooking fires they got a better result. Soap is made by a process called saponification, where fats are mixed with strong alkalis (traditionally lye: sodium or potassium hydroxide). The fats break apart and form fatty acid salts. What’s clever about those, is that they have a water-loving end (the salt bit) and a water-hating end (the fatty acid bit). So they can grab onto both, and hold the water and oil together. That’s what you do every time you use soap: the dirt ingrained in oil on your skin (nice) can, with the help of those lovely soap molecules, mix with water and so be washed away. Brilliant!

2. Drink a pH indicator.
‘What’ I hear you cry, ‘I do no such thing!’ Ah but do you drink tea (the black kind)? If so, then you do, even if you’ve never noticed. Have you ever put lemon in your tea instead of milk? If not, and you have tea and lemon juice (bottled is fine) in your house, go and try it now. The colour change is really quite lovely to watch. Lemon juice is a source of ascorbic and citric acids, and has a pH of roughly 2-3. You’ll see the same effect with vinegar too, although that mixture wouldn’t be quite so nice to drink. (If you’re feeling adventurous, try some common alkalis such as baking soda or bleach, but DEFINITELY don’t drink those concoctions afterwards…)

3. Carry out combustion.
Ever lit a match? Or a lighter? Started your gas cooker? Turned on your gas boiler? Started your petrol or diesel car? Of course you have. Every single time you do any of those things, the carbon atoms in their molecules are reacting with oxygen to produce carbon dioxide and water. And even if you live under a damp and fireless rock, you’re still doing it – respiration, the process by which all your cells obtain energy – is a form of combustion.

4. Watch some ice float.
Ice floats. Stop press!
We take that for granted, but it’s amazing really. This is a brilliant bit of chemistry that has its tendrils in physics and biology too. Solids don’t generally float on their liquids. Solids are usually more dense than their liquid form, so they sink. But if water behaved like that we wouldn’t have life on this planet, because every time any body of water got really cold it would freeze from the bottom up, taking out all the life swimming in its depths in the process. Since we’re fairly sure that life began in the oceans, evolution would have come to a full stop. But water doesn’t behave like that; water expands when it freezes. Why? Because water has something called hydrogen bonds between its molecules, and as it solidifies these bonds increasingly force the crystalline structure to be very ‘open’. As a result, ice is actually less dense than water, so it floats. This is also why ice is so brilliant at cooling liquids; the warm stuff rises, hits the cold ice and sinks again, creating a sort of cycle called a convection current. Who knew there was so much sciency stuff in your spritzer?

5. Bake a cake.
Food is a rich source of chemistry, just ask Heston. In this case, I’m thinking of baking soda, otherwise known as sodium hydrogencarbonate, or sodium bicarbonate (NaHCO3). When it’s heated above about 70 oC it undergoes a chemical reaction called decomposition. In other words, its molecules break apart without actually needing to react with any other substance. When you put baking soda into your recipe, or use ‘self-raising’ flour (which has it already added), you’re setting it up for this chemical reaction. As the cake cooks, the mixture heats up, and the baking soda does this:
2NaHCO3 –> CO2 + H2O + Na2CO3
The carbon dioxide, CO2, is a gas and it pushes your mixture up and out, causing it to rise. No baking soda chemistry, no lovely, fluffy cake.

So, next time someone tells you they’re rubbish at chemistry, you can point out that they’re doing it every day!