Carboxylic Acid Derivatives
Acyl substitution mechanisms, relative reactivity of derivatives, Fischer esterification, saponification, and amide bond formation
1. Introduction to Carboxylic Acid Derivatives
Carboxylic acid derivatives are compounds in which the hydroxyl group of the carboxyl function ($\text{-COOH}$) has been replaced by another leaving group. The four principal classes are acid chlorides ($\text{RCOCl}$), acid anhydrides ($\text{(RCO)}_2\text{O}$), esters ($\text{RCOOR'}$), and amides ($\text{RCONHR'}$).
All carboxylic acid derivatives share a common structural motif: a carbonyl group bonded directly to a heteroatom-bearing leaving group. This structural similarity means they all undergo the same fundamental reaction — nucleophilic acyl substitution — but with dramatically different rates dictated by the nature of the leaving group.
Unlike nucleophilic substitution at a saturated carbon (S$_\text{N}$2), acyl substitution proceeds through a tetrahedral intermediate rather than a concerted backside attack. The sp$^2$ carbonyl carbon can accommodate nucleophilic addition because the $\pi$ electrons are displaced onto the electronegative oxygen, creating a stable alkoxide-like intermediate.
The Four Principal Derivatives
- Acid Chlorides (RCOCl) — Most reactive; leaving group is Cl$^-$; prepared from carboxylic acids with SOCl$_2$ or PCl$_5$
- Anhydrides (RCO)$_2$O — Highly reactive; leaving group is a carboxylate; both symmetric and mixed anhydrides exist
- Esters (RCOOR') — Moderate reactivity; leaving group is an alkoxide; ubiquitous in nature (fats, waxes, flavors)
- Amides (RCONHR') — Least reactive; leaving group is an amine/amide nitrogen; the peptide bond is an amide linkage
The reactivity order — acid chloride $>$ anhydride $>$ ester $>$ amide — is one of the most important organizing principles in organic chemistry. It determines which interconversions are thermodynamically and kinetically feasible: a more reactive derivative can always be converted to a less reactive one, but not vice versa, without special activation.
2. The Nucleophilic Acyl Substitution Mechanism
The General Two-Step Mechanism
Nucleophilic acyl substitution proceeds through an addition-elimination pathway. In the first step, a nucleophile attacks the electrophilic carbonyl carbon, breaking the$\pi$ bond and generating a tetrahedral intermediate. In the second step, the leaving group is expelled, regenerating the carbonyl.
The tetrahedral intermediate is the key species. Its geometry resembles an alkoxide bearing four substituents at carbon: the original R group, the nucleophile, the leaving group, and the oxygen (now bearing a negative charge or a proton). The fate of this intermediate determines the product: the best leaving group departs.
Energetics of the Tetrahedral Intermediate
The overall free energy change for acyl substitution depends on the relative stability of the starting material and product. We can write the thermodynamic cycle:
For the addition step, the barrier depends on the electrophilicity of the carbonyl carbon. Electron-withdrawing leaving groups (Cl, OCOR) make the carbon more electrophilic, lowering $\Delta G^\ddagger_{\text{add}}$. For the elimination step, the barrier depends on leaving group ability. Better leaving groups (weaker bases) are expelled more readily, lowering $\Delta G^\ddagger_{\text{elim}}$.
The rate-determining step varies with the derivative. For reactive substrates like acid chlorides, the addition step is rate-limiting (the tetrahedral intermediate collapses rapidly because Cl$^-$ is an excellent leaving group). For less reactive substrates like amides, the elimination step becomes rate-limiting because NH$_2^-$ is a poor leaving group.
The Rate Law
Under conditions where the nucleophile attacks in the rate-determining step, the reaction follows second-order kinetics:
Applying the steady-state approximation to the tetrahedral intermediate TI:
When $k_2 \gg k_{-1}$ (good leaving group, fast collapse), the observed rate constant approaches $k_1$ and nucleophilic addition is rate-determining. When$k_{-1} \gg k_2$ (poor leaving group), $k_\text{obs} \approx k_1 k_2 / k_{-1} = K_{\text{eq}} \cdot k_2$, and leaving group departure is rate-determining.
3. Relative Reactivity of Carboxylic Acid Derivatives
The reactivity order of carboxylic acid derivatives toward nucleophilic acyl substitution is:
Electronic Basis: Resonance Donation vs. Induction
Two competing electronic effects determine the electrophilicity of the carbonyl carbon in each derivative:
1. Inductive effect (through-bond electron withdrawal): Electronegative leaving groups (Cl, O) withdraw electron density inductively, making the carbonyl carbon more electrophilic. Chlorine is more electronegative than oxygen, which is more electronegative than nitrogen. This effect alone would predict: RCOCl $>$ RCOOR' $>$ RCONH$_2$.
2. Resonance effect (lone pair donation into the carbonyl): Heteroatoms adjacent to the carbonyl can donate a lone pair into the $\pi^*$ system, stabilizing the ground state and reducing the electrophilicity of the carbonyl carbon. The effectiveness of this donation depends on orbital overlap, which correlates with the atom's size and electronegativity.
Nitrogen is the best resonance donor because its 2p orbital overlaps efficiently with the carbon 2p orbital, and it is the least electronegative of the three atoms. This makes amides the least reactive derivatives despite nitrogen being less electronegative than oxygen or chlorine. Chlorine's 3p orbital overlaps poorly with carbon's 2p, making it the worst resonance donor, so acid chlorides are the most reactive.
Quantitative Comparison
The resonance stabilization energy can be estimated from the rotational barrier about the C–L bond (which disrupts conjugation):
- Amides: Rotational barrier $\approx 75$ kJ/mol — substantial double-bond character in C–N bond
- Esters: Rotational barrier $\approx 45$ kJ/mol — moderate resonance donation from oxygen
- Acid chlorides: Rotational barrier $\approx 0$ kJ/mol — negligible 2p–3p overlap
Leaving Group Ability
The second factor determining reactivity is the leaving group ability. The conjugate base of a strong acid is a good leaving group. The relevant p$K_a$ values of the conjugate acids are:
Chloride is by far the best leaving group (conjugate base of a strong acid), while amide ion ($\text{NH}_2^-$) is the worst (conjugate base of ammonia, p$K_a \approx 36$). This ranking perfectly mirrors the reactivity order of the derivatives.
The combination of electrophilicity (how easily the nucleophile adds) and leaving group ability (how easily the tetrahedral intermediate collapses) produces the observed reactivity trend. Both factors reinforce each other: acid chlorides have the most electrophilic carbonyl and the best leaving group; amides have the least electrophilic carbonyl and the worst leaving group.
The Interconversion Principle
A more reactive derivative can be converted to any less reactive derivative by treatment with the appropriate nucleophile. The reverse is generally not possible under standard conditions because it would require expelling a worse leaving group in favor of a better one:
This "downhill" principle is a powerful guide for synthesis: to make an amide, start from an acid chloride (or anhydride) and treat with an amine. Attempting the reverse — converting an amide to an acid chloride — requires forcing conditions (e.g., POCl$_3$at high temperature) or alternative strategies.
4. Fischer Esterification — Mechanism and Derivation
Fischer esterification is the acid-catalyzed condensation of a carboxylic acid with an alcohol to produce an ester and water. The reaction is an equilibrium process:
Step-by-Step Mechanism
The acid catalyst (typically H$_2$SO$_4$ or p-toluenesulfonic acid) protonates the carbonyl oxygen, dramatically increasing the electrophilicity of the carbonyl carbon. The full mechanism proceeds as follows:
Fischer Esterification Mechanism
- Protonation of carbonyl oxygen: The acid catalyst donates H$^+$ to the carbonyl oxygen, forming a resonance-stabilized oxocarbenium ion. This activates the carbonyl toward nucleophilic attack.
- Nucleophilic addition: The alcohol oxygen attacks the activated carbonyl carbon, forming a tetrahedral intermediate with two OH groups and one OR' group.
- Proton transfer: An intramolecular (or solvent-mediated) proton transfer occurs, converting one of the OH groups into a better leaving group (water).
- Elimination of water: The protonated hydroxyl group departs as water, regenerating a carbonyl (now as a protonated ester).
- Deprotonation: Loss of a proton from the protonated ester gives the neutral ester product and regenerates the acid catalyst.
Equilibrium Thermodynamics
The equilibrium constant for Fischer esterification is typically close to unity ($K_\text{eq} \approx 1\text{-}10$ for simple cases). To drive the reaction toward product formation, Le Chatelier's principle is applied:
Strategies to shift the equilibrium include: (i) using a large excess of one reactant (usually the cheaper alcohol), (ii) removing water as it forms (with a Dean–Stark trap or molecular sieves), or (iii) using a dehydrating agent.
The Gibbs free energy of the equilibrium can be expressed as:
At equilibrium ($\Delta G = 0$), $Q = K_\text{eq}$. The reaction proceeds forward when $Q < K_\text{eq}$ and in reverse when $Q > K_\text{eq}$.
Isotope Labeling Evidence
The mechanism was confirmed by $^{18}$O labeling experiments. When the alcohol R'$^{18}$OH is used, the $^{18}$O label appears in the ester product, not in the water. This proves that the C–OH bond of the acid (not the C–O bond of the alcohol) is broken during the reaction:
5. Saponification — Base-Promoted Ester Hydrolysis
Saponification (from the Latin sapo, "soap") is the irreversible base-promoted hydrolysis of an ester to yield a carboxylate salt and an alcohol. Unlike Fischer esterification, saponification is not an equilibrium — it is driven to completion by the thermodynamically favorable deprotonation of the carboxylic acid product.
Mechanism of Saponification
- Nucleophilic addition: Hydroxide ion ($\text{OH}^-$) attacks the carbonyl carbon of the ester, forming a tetrahedral intermediate:$$\text{RCOOR'} + \text{OH}^- \xrightarrow{k_1} \text{RC(OH)(O}^-\text{)(OR')}$$
- Elimination of alkoxide: The tetrahedral intermediate collapses, expelling the alkoxide ion (R'O$^-$) and regenerating the carbonyl as a carboxylic acid:$$\text{RC(OH)(O}^-\text{)(OR')} \xrightarrow{k_2} \text{RCOOH} + \text{R'O}^-$$
- Irreversible proton transfer: The alkoxide ion (strong base, p$K_a \approx 16$) deprotonates the carboxylic acid (p$K_a \approx 5$) in a highly exergonic acid–base reaction:$$\text{RCOOH} + \text{R'O}^- \longrightarrow \text{RCOO}^- + \text{R'OH}$$
This final proton transfer step has an equilibrium constant of approximately:
This enormous equilibrium constant ($\sim 10^{11}$) makes the overall reaction effectively irreversible, which is why saponification goes to completion — in contrast to Fischer esterification's modest equilibrium constant.
Historical and Industrial Significance
Saponification of triglycerides (fats and oils) with NaOH or KOH produces soap (sodium or potassium salts of long-chain fatty acids) and glycerol. The carboxylate anion has a hydrophilic head and a hydrophobic tail, giving it surfactant properties that enable emulsification of grease and oil in water. This reaction has been practiced for thousands of years and remains the basis of the soap-making industry.
6. Amide Bond Formation — The Peptide Bond
The amide (peptide) bond is arguably the most important functional group in biochemistry, linking amino acids together in proteins. Formation of an amide bond by direct condensation of a carboxylic acid and an amine is thermodynamically unfavorable under mild conditions because the amine is a poor leaving group and the reaction is endergonic at room temperature.
Why Direct Condensation Fails
The fundamental problem is that amines are bases. When mixed with a carboxylic acid, the dominant reaction is proton transfer rather than nucleophilic attack:
The resulting carboxylate anion is a poor electrophile (resonance-stabilized, negatively charged), and the ammonium salt is not nucleophilic. To form the amide, we need to activate the carboxylic acid.
Activation Strategies
- Acid chloride method: Convert RCOOH to RCOCl with SOCl$_2$, then treat with R'NH$_2$. Fast and reliable, but acid chlorides are moisture-sensitive and generate HCl (requires a base to scavenge).
- Coupling reagents (DCC, EDC): Dicyclohexylcarbodiimide (DCC) activates the carboxylic acid in situ by forming an O-acylisourea intermediate, which is then attacked by the amine. This is the standard method for peptide synthesis.
- Active ester method: Convert RCOOH to an activated ester (e.g., NHS ester, pentafluorophenyl ester) that is more reactive than a simple ester but more stable than an acid chloride.
- Mixed anhydride method: Form a mixed anhydride with ethyl chloroformate, then react with the amine. The amine preferentially attacks the more electrophilic carbonyl.
DCC Coupling Mechanism
The DCC mechanism illustrates how activation converts a poor electrophile into a good one:
The O-acylisourea is a potent acylating agent because the dicyclohexylurea moiety is an excellent leaving group. The byproduct, dicyclohexylurea (DCU), is insoluble in most solvents and can be removed by filtration.
Amide Resonance and Planarity
Once formed, the amide bond possesses remarkable stability due to resonance delocalization of the nitrogen lone pair into the carbonyl:
This resonance gives the C–N bond approximately 40% double-bond character, resulting in a planar geometry around the amide nitrogen and restricted rotation (barrier $\approx 75$ kJ/mol). The planarity of the peptide bond is fundamental to protein secondary structure ($\alpha$-helices and$\beta$-sheets).
7. Reactions of Acid Chlorides
Acid chlorides are the most versatile carboxylic acid derivatives because their high reactivity allows conversion to all other derivatives and to a variety of other functional groups. The chloride leaving group is expelled readily, making these reactions fast even at low temperatures.
Key Reactions of Acid Chlorides
- Hydrolysis: RCOCl + H$_2$O $\rightarrow$ RCOOH + HCl
- Alcoholysis (ester formation): RCOCl + R'OH $\rightarrow$ RCOOR' + HCl
- Aminolysis (amide formation): RCOCl + 2 R'NH$_2$ $\rightarrow$ RCONHR' + R'NH$_3^+$Cl$^-$
- Friedel–Crafts acylation: RCOCl + ArH $\xrightarrow{\text{AlCl}_3}$ RCOAr + HCl
- Reduction to aldehyde: RCOCl + LiAlH(O-tBu)$_3$ $\rightarrow$ RCHO (Rosenmund reduction variant)
- Reduction to alcohol: RCOCl + LiAlH$_4$ $\rightarrow$ RCH$_2$OH
- Reaction with Grignard: RCOCl + 2 R'MgBr $\rightarrow$ R(R')$_2$COH (tertiary alcohol, via ketone intermediate)
Note that aminolysis requires two equivalents of the amine: one acts as the nucleophile, and the second acts as a base to neutralize the HCl produced. Alternatively, a non-nucleophilic base (e.g., triethylamine or pyridine) can be used as the stoichiometric base, requiring only one equivalent of the amine.
Preparation of Acid Chlorides
Acid chlorides are prepared from carboxylic acids using chlorinating agents:
Thionyl chloride (SOCl$_2$) is preferred because the byproducts (SO$_2$ and HCl) are gases that escape the reaction mixture, driving the equilibrium to completion and simplifying purification.
8. Claisen Condensation and Cross-Ester Reactions
The Claisen condensation is the ester analog of the aldol condensation. It involves nucleophilic acyl substitution by an enolate on another ester molecule, producing a $\beta$-ketoester:
Mechanism
- Enolate formation: Sodium ethoxide deprotonates the $\alpha$-carbon of ethyl acetate, generating the ester enolate.
- Nucleophilic acyl substitution: The enolate attacks the carbonyl of a second ester molecule, forming a tetrahedral intermediate that collapses with loss of ethoxide.
- Deprotonation of product: The $\beta$-ketoester product is more acidic (p$K_a \approx 11$) than the starting ester (p$K_a \approx 25$), so it is deprotonated by ethoxide, driving the equilibrium to completion.
- Acidic workup: Protonation of the stabilized enolate with dilute acid gives the neutral $\beta$-ketoester.
The Claisen condensation requires a full equivalent of base (not catalytic) because the base is consumed in the final deprotonation step. The reaction fails with esters lacking two $\alpha$-hydrogens because the final deprotonation cannot drive the equilibrium.
Dieckmann Cyclization
The intramolecular Claisen condensation (Dieckmann cyclization) is a powerful method for forming five- and six-membered carbocyclic rings:
8b. Lactones and Lactams — Cyclic Esters and Amides
Lactones are cyclic esters formed by intramolecular esterification of hydroxy acids. Lactams are cyclic amides formed from amino acids. Both are important structural motifs in natural products and pharmaceuticals.
Ring Size Preferences
The ease of lactone formation depends strongly on ring size, governed by a balance between entropic factors (probability of end-to-end encounter) and enthalpic factors (ring strain). Five- and six-membered lactones ($\gamma$- and$\delta$-lactones) form readily because they have minimal ring strain and favorable cyclization geometry.
The effective molarity (EM) concept quantifies the tendency toward cyclization:
For $\gamma$-lactones, EM values can exceed $10^4$ M, meaning intramolecular cyclization is vastly preferred over intermolecular esterification even at moderate concentrations. Large-ring lactones (macrolides) require high-dilution conditions to prevent oligomerization.
$\beta$-Lactams: The Penicillin Story
$\beta$-Lactams are four-membered cyclic amides found in penicillins and cephalosporins. Despite the high ring strain ($\sim 115$ kJ/mol), the$\beta$-lactam ring is kinetically stable due to nitrogen resonance donation into the carbonyl. However, this strain makes $\beta$-lactams exceptionally reactive toward ring-opening by nucleophiles — particularly the serine residue in bacterial transpeptidase enzymes. This is the basis of penicillin's antibiotic action: the $\beta$-lactam acylates the enzyme's active-site serine, irreversibly inhibiting cell wall synthesis.
9. Transesterification and Industrial Applications
Transesterification is the exchange of the alkoxy group of an ester with another alcohol. This is an equilibrium process that can be catalyzed by either acid or base:
Industrially, transesterification of triglycerides with methanol produces biodiesel (fatty acid methyl esters, FAMEs) and glycerol. The reaction is typically catalyzed by NaOH or KOH and proceeds through the same addition-elimination mechanism as saponification, but the nucleophile is methoxide (from MeOH + NaOH) rather than hydroxide:
The process requires excess methanol (typically a 6:1 molar ratio) to drive the equilibrium toward complete conversion. Temperature ($\sim 60\,^\circ$C), mixing intensity, and catalyst concentration all affect the rate and yield.
9b. Thiol Esters in Biochemistry
Thiol esters ($\text{RCOSR'}$) occupy an intermediate position in the reactivity scale between esters and anhydrides. In biochemistry, the most important thiol ester is acetyl-CoA (acetyl coenzyme A), which serves as the "activated acetate" in countless metabolic pathways.
The enhanced reactivity of thiol esters relative to oxygen esters arises because sulfur is a poorer resonance donor than oxygen. The larger 3p orbital of sulfur overlaps less effectively with carbon's 2p orbital, reducing the resonance stabilization of the ground state:
This makes the carbonyl carbon of a thiol ester more electrophilic than that of an ordinary ester, facilitating nucleophilic acyl substitution. In the citric acid cycle, acetyl-CoA reacts with oxaloacetate (a nucleophilic enolate attacks the thiol ester carbonyl) to form citrate, releasing CoA-SH.
The thermodynamic "high-energy" character of thiol esters is quantified by their hydrolysis free energy:
This extra free energy of hydrolysis makes acetyl-CoA a thermodynamically competent acylating agent in biosynthesis — it can drive amide bond formation, Claisen condensations (in fatty acid synthesis), and aldol-type reactions that would be unfavorable with ordinary esters.
10. Python Simulation
The following simulation models (i) Fischer esterification equilibrium as a function of alcohol excess, (ii) saponification kinetics (second-order), and (iii) the relative reactivity of carboxylic acid derivatives using Hammett-type linear free energy relationships. Uses numpy only (no scipy).
Click Run to execute the Python code
Code will be executed with Python 3 on the server