Food Chemistry & Microbiology

What changes food and what spoils it. Learn key reactions (Maillard browning, caramelisation, lipid oxidation, enzymatic browning, starch gelatinisation and retrogradation, protein denaturation), food microorganisms (bacteria, yeasts, moulds, viruses), growth factors (FAT TOM: food, acidity, temperature, time, oxygen, moisture), the bacterial growth curve, generation time and specific growth rate, pathogens (Salmonella, Listeria, E. coli O157, C. botulinum, B. cereus), spoilage, beneficial fermentation and indicator organisms — with Python for exponential growth and temperature effects.

Food chemistry explains colour, flavour and texture changes during processing and storage; food microbiology explains spoilage, foodborne illness and fermentation. Together they tell us how to process and preserve food safely.

Microbes multiply exponentially: a single bacterium doubling every 20 minutes becomes millions in a few hours at room temperature. Controlling time and temperature is therefore the core of food safety.

An analogy

Bacteria in food are like a population boom in a city with free food: given warmth, water and nutrients, numbers double at a steady rate until the food or space runs out. Refrigeration is like turning down the city's heating — life slows dramatically.

What microbes need (FAT TOM)

Growth factors:

Growth curve and pathogens

Batch growth has lag, exponential (log), stationary and death phases. Key pathogens: Salmonella (poultry, eggs), Listeria monocytogenes (grows at fridge temperatures, ready-to-eat foods), E. coli O157:H7, Staphylococcus aureus (heat-stable toxin), Bacillus cereus (rice), Clostridium botulinum (low-acid canned foods, deadly toxin), Norovirus and Hepatitis A. Indicator organisms (coliforms, E. coli) signal hygiene failures.

Food chemistry reactions

Maillard reaction (reducing sugars + amino acids → brown colour, roasted flavour; also acrylamide), caramelisation of sugars, lipid oxidation (rancidity; controlled by antioxidants, oxygen exclusion), enzymatic browning of cut fruits (polyphenol oxidase; blanching, acids), starch gelatinisation during cooking and retrogradation (staling), protein denaturation and gelation, emulsions and foams stabilised by proteins and emulsifiers.

Fermentation and predictive microbiology

Beneficial microbes make curd, yoghurt, cheese, idli/dosa batter, bread, beer, vinegar, kimchi — producing acids, alcohol and flavours that also preserve. Predictive microbiology models (Baranyi, square-root/Ratkowsky, ComBase) forecast growth under changing conditions, supporting shelf-life and risk assessment. Quantitative microbial risk assessment (QMRA) links contamination levels to illness probability.

Formulas

Worked example: Number of generations

Given: 4 h at g = 30 min

Find: Generations and increase.

Answer: 256-fold

Worked example: Growth rate

Given: g = 45 min

Find: µ.

Answer: 0.92 h⁻¹

Worked example: Time to reach limit

Given: N₀ 10² CFU/g, limit 10⁶, g 30 min

Find: Time.

Answer: ≈ 6.6 h

Bacterial growth and refrigeration

import math
# Microbial growth: generation time and exponential growth in the lag-free phase
N0, g_min = 1e3, 20.0                     # initial CFU/g, doubling time at 37 C
for hours in (2, 4, 6):
    N = N0 * 2 ** (hours * 60 / g_min)
    print(f"after {hours} h: {N:.2e} CFU/g (log {math.log10(N):.1f})")
# Specific growth rate
mu = math.log(2) / (g_min / 60)
print(f"specific growth rate mu = {mu:.2f} per hour")
# Temperature effect: Q10 = 2 -> doubling time at 7 C (fridge) vs 37 C
g7 = g_min * 2 ** ((37 - 7) / 10)
print(f"doubling time at 7 C ~ {g7:.0f} min ({g7/60:.1f} h)")
# after 2 h: 6.40e+04 CFU/g (log 4.8)
# after 4 h: 4.10e+06 CFU/g (log 6.6)
# after 6 h: 2.62e+08 CFU/g (log 8.4)
# specific growth rate mu = 2.08 per hour
# doubling time at 7 C ~ 160 min (2.7 h)

A food left for 6 hours in warm conditions goes from 1000 to 260 million bacteria per gram — well above spoilage and infective levels. With a simple Q₁₀ = 2 model, refrigeration slows doubling 8-fold (real psychrotrophs like Listeria can still grow slowly in the fridge; many mesophiles stop almost completely).

Common mistakes

Applications

Key takeaways

Going further