Diethyl malonate

Diethyl malonate, also known as DEM, is the diethyl ester of malonic acid. It occurs naturally in grapes and strawberries as a colourless liquid with an apple-like odour, and is used in perfumes. It is also used to synthesize other compounds such as barbiturates, artificial flavourings, vitamin B1, and vitamin B6.

Structure and properties
Malonic acid is a rather simple dicarboxylic acid, with two carboxyl groups close together. In forming diethyl malonate from malonic acid, the hydroxyl group (−OH) on both of the carboxyl groups is replaced by an ethoxy group (−OEt; −OCH2CH3). The methylene group (−CH2−) in the middle of the malonic part of the diethyl malonate molecule is neighboured by two carbonyl groups (−C(=O)−).

The hydrogen atoms on the carbon adjacent to the carbonyl group in a molecule is significantly more acidic than hydrogen atoms on a carbon adjacent to alkyl groups (up to 30 orders of magnitude). (This is known as the α position with respect to the carbonyl.) The hydrogen atoms on a carbon adjacent to two carbonyl groups are even more acidic because the carbonyl groups help stabilize the carbanion resulting from the removal of a proton from the methylene group between them. The extent of resonance stabilization of this compound's conjugate base is suggested by the three resonance forms below:


 * [[Image:Diethyl malonate resonance.svg|400px]]

Preparation
Diethyl malonate is produced from the reaction of the sodium salt of chloroacetic acid with sodium cyanide, which produces the nitrile. This intermediate is then treated with ethanol in the presence of acid catalyst:
 * ClCH2CO2Na + NaCN  ->  NCCH2CO2Na  +  NaCl
 * NCCH2CO2Na + 2 C2H5OH  +  2 HCl  ->    C2H5O2CCH2CO2C2H5  +  NH4Cl  +  NaCl

Alternatively, sodium chloroacetate undergoes carboxyesterification by treatment with carbon monoxide and ethanol:
 * ClCH2CO2Na + CO   +  2 C2H5OH  ->  C2H5O2CCH2CO2C2H5  +  NaCl

Dicobalt octacarbonyl is employed as the catalyst.

Malonic ester synthesis
One of the principal uses of this compound is in the malonic ester synthesis. The carbanion (2) formed by reacting diethyl malonate (1) with a suitable base can be alkylated with a suitable electrophile. This alkylated 1,3-dicarbonyl compound (3) readily undergoes decarboxylation with loss of carbon dioxide, to give a substituted acetic acid (4):


 * [[Image:Malonic synthesis.png|600px|Malonic synthesis]]

In general, salts of the alkoxide anion whose alkyl part corresponds to the one used in the above alkylation are preferred as the base. The use of a conventional base may give base hydrolysis products – for example, sodium hydroxide would simply produce sodium malonate and the alcohol, while other alkoxide salts will cause scrambling by transesterification. Only the "same" alkoxide anion as the one that one used to alkylate the deprotonated active methylenic site will prevent both base hydrolysis and transesterification.

Other reactions
Like many other esters, this compound undergoes the Claisen ester condensations. The advantage of using this compound is that unwanted self-condensation reactions are avoided. Like other esters, this compound undergoes bromination at the alpha position.

Diethyl malonate can be nitrosated with excess sodium nitrite in acetic acid to afford diethyl oximinomalonate, catalytic hydrogenolysis of which in ethanol over Pd/C affords diethyl aminomalonate (DEAM). DEAM can be acetylated to produce diethyl acetamidomalonate (useful in amino-acid synthesis), or can be added with 3-substituted 2,4-diketones to boiling acetic acid to afford in maximal yield variously substituted ethyl pyrrole-2-carboxylates of interest for porphyrin synthesis.

Applications
Diethyl malonate is used in the preparation of several medicinally useful compounds including vigabatrin, phenylbutazone, nalidixic acid, and rebamipide. Several pesticides are also produced from diethylmalonate, including sethoxydim and the derivatives of 2-amino-4-chloro-6-methoxypyrimidine.