
848 CHAPTER 17 Carboxylic Acids
makes this point with a partial Energy versus Reaction progress diagram.The acetal
and the ortho ester are roughly equivalent in energy, but the ester lies well below
the ketone.The result is that acetals are thermodynamically accessible from ketones,
but ortho esters are disfavored relative to esters.
There are other mechanisms for ester formation, and some of them do not involve
breaking a carbon–oxygen bond in the starting carboxylic acid. Sometimes the car-
boxylate anion is nucleophilic enough to act as the displacing agent in an S
N
2 reac-
tion.The partner in the displacement reaction must be especially reactive.In practice,
this means that a primary halide or even more reactive species such as a methyl halide
must be used (Fig. 17.30).
..
..
..
O
..
..
O
R
I
..
..
..
..
O
O
..
..
O
R
S
N
2
..
..
..
..
..
..
O
–
–
–
R
..
..
..
I
..
..
..
I
dimethyl sulfoxide
24 ⬚C
(91%)
R
..
..
O
..
..
..
O
–
..
..
..
O
..
..
..
..
OCH
3
CH
3
O
..
..
O
H
3
C
+
THE GENERAL CASE
A SPECIFIC EXAMPLE
FIGURE 17.30 Carboxylate
anions can be used to
displace very reactive halides
in an ester-forming S
N
2
reaction.
Another example of a reaction in which the carboxylate acts as a
nucleophile is the ester-forming reaction of acids with diazomethane,
CH
2
N
2
. Diazomethane, though easily made, is quite toxic and a powerful
explosive. So, this method is generally used only when small amounts of
the methyl esters are needed (Fig. 17.31). Don’t try this reaction at home!
The first step in this reaction is deprotonation of the acid by the basic
carbon of the diazo compound (Fig. 17.32). The result is a carboxylate
anion and a diazonium ion, an extraordinarily reactive alkylating agent.
Next, an alkylation step similar to that in Figure 17.30 occurs between
the carboxylate and the diazonium ion. This reaction takes place
because nitrogen (N
2
) is a superb leaving group, perhaps the world’s best.
O
R
..
..
..
..
..
O
+
–
C CH
3
N
2
C
..
..
O
R
CH
3
..
..
O
N
N
S
N
2
..
Methyl ester
..
..
O
R
..
..
..
O
–
–
+
–
C
C
..
..
..
O
R
C
H
2
C
..
..
..
O
R
..
..
O
..
..
O
H
N
N
..
+
CH
2
N
A diazonium ionDiazomethane
Carboxylic
acid
N
..
+
++
H
FIGURE 17.32 In the first step of this methyl ester–forming reaction, diazomethane acts as a Brønsted
base and deprotonates the carboxylic acid. In the second step, the carboxylate does an S
N
2 substitution
on the very reactive methyl diazonium species.
(100%)
+
OH
CH
2
N
2
N
2
NO
2
..
..
OCH
3
C
NO
2
..
..
O
..
..
O
..
..
C
FIGURE 17.31 Diazomethane can be used to
make methyl esters from acids in yields as high
as 100%.