---
title: "Amines and Nitrogen Compounds"
book: "University Chemistry — Year 2"
subject: chemistry
language: en
chapter: 23
exercises: 12
source: https://one-course.com/books/chemistry/3/en/chapter/23-amines-and-nitrogen-compounds
license: CC-BY-NC-SA-4.0
credit: "One Chemistry Book, One Course (one-course.com)"
---

# Chapter 23 — Amines and Nitrogen Compounds

Fish that is no longer fresh smells of trimethylamine, a small volatile amine. A squeeze of lemon takes the smell away: the acid protonates the amine, and the ammonium ion formed, being an ion, cannot evaporate. Nitrogen’s lone pair makes amines bases and nucleophiles; bound to a carbonyl it gives [imines](#def-b2-amines-imine), through which proteins carry their chemistry and chemists make amines; and on an [aromatic](https://one-course.com/books/chemistry/3/en/chapter/16-huckel-theory-and-conjugated-systems#def-b2-huckel-aromatic) ring it opens, through diazonium salts, the way to the azo dyes that coloured the nineteenth century.

**You already know.**

The Year 1 volume: Brønsted acids and bases, $\mathrm pK_a$ and predominance diagrams, nucleophiles and the bimolecular substitution, hemiacetals and acetals, hydride donors, organomagnesium reagents, the class of a carbon. [Chapter 22](https://one-course.com/books/chemistry/3/en/chapter/22-aromaticity-and-electrophilic-aromatic-substitution#ch-b2-aromatic-substitution): nitration, the reduction of nitroarenes. The school volume: amines and amides.

![A fish stall: halved lemons are laid among the fish. Their acid turns the trimethylamine of the fish into its non-volatile ammonium ion.](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/img-09436408f6da.jpg)

*A fish stall: halved lemons are laid among the fish. Their acid turns the trimethylamine of the fish into its non-volatile ammonium ion.*

## 23.1 Structure and basicity

**Definition 23.1 (Classes of amines).**

An amine is a *primary amine* $\ce{RNH2}$, a *secondary amine* $\ce{R2NH}$ or a *tertiary amine* $\ce{R3N}$ according to the number of carbon groups bound to nitrogen. A *quaternary ammonium ion* $\ce{R4N+}$ has four, and no lone pair.

The nitrogen of an amine is roughly tetrahedral, the lone pair occupying the fourth position. A [tertiary amine](#def-b2-amines-class) with three different groups is chiral in principle but cannot be resolved: the molecule inverts through a planar arrangement, like an umbrella in the wind, thousands of millions of times per second at room temperature.

**Proposition 23.2 (Basicity).**

In water, alkylamines are stronger bases than ammonia ($\mathrm pK_a$ of their ammonium ions near 10 to 11, against 9.26), arylamines much weaker (anilinium 4.60), and amides hardly basic at all (protonated ethanamide about $-0.6$).

**Argument.** Alkyl groups push electron density onto nitrogen (inductive effect) and stabilise the positive charge of the ammonium ion. In water, solvation by hydrogen bonds also matters: an ion with more $\ce{N-H}$ bonds is better solvated, which is why trimethylammonium (9.80) is a weaker acid than ammonium but a stronger one than dimethylammonium (10.73). In aniline the lone pair is delocalised into the ring and is lost on protonation; in an amide it is delocalised onto the carbonyl oxygen, and protonation occurs, weakly, on oxygen. ∎

![pK_a of the conjugate acids of some nitrogen bases at 25 C: the higher it is, the stronger the base.](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/fig-a428889a4bed.svg)

*$\mathrm pK_a$ of the conjugate acids of some nitrogen bases at $25{}^{\circ}\mathrm{C}$: the higher it is, the stronger the base.*

## 23.2 Amines as nucleophiles

Amines attack halogenoalkanes by bimolecular substitution. The product, a more substituted amine, is at least as nucleophilic as the starting one and competes for the halogenoalkane: alkylation of ammonia gives a mixture of primary, secondary and [tertiary amines](#def-b2-amines-class) and the quaternary salt.

**Proposition 23.3 (Polyalkylation).**

Direct alkylation of ammonia or of a [primary amine](#def-b2-amines-class) gives mixtures; only exhaustive alkylation to the quaternary ammonium salt is clean.

**Argument.** Each alkylation leaves a lone pair on a nitrogen made more electron-rich by the new alkyl group; the product reacts with the remaining halogenoalkane at a comparable rate. Only when nitrogen has no lone pair left, in $\ce{R4N+}$, does the sequence stop. ∎

[Primary amines](#def-b2-amines-class) free of their over-alkylated relatives are made indirectly: by the Gabriel route (alkylation of the nitrogen of phthalimide, which carries a single acidic hydrogen, then release of the amine), by reduction of a [nitrile](#def-b2-amines-nitrile), of an amide or of a nitro compound, or by [reductive amination](#def-b2-amines-reductive-amination) (below).

## 23.3 Imines and enamines

**Definition 23.4 (Nucleophilic addition).**

A *nucleophilic addition* to a carbonyl group is the attack of a nucleophile on the carbonyl carbon, which becomes tetrahedral, the $\ce{C=O}$ $\pi$ bond becoming a lone pair on oxygen.

**Definition 23.5 (Hemiaminals, imines and enamines).**

A [primary amine](#def-b2-amines-class) adds to an aldehyde or a ketone to give a *hemiaminal* (a carbon bearing $\ce{OH}$ and $\ce{NHR}$); its dehydration gives an *imine* $\mathrm{R_2C{=}NR'}$. A [secondary amine](#def-b2-amines-class), which cannot form a neutral imine, gives after dehydration an *enamine* $\mathrm{R_2C{=}CR{-}NR'_2}$, the double bond moving to the adjacent carbon.

![Formation of an imine: nucleophilic addition of the amine to the carbonyl gives the hemiaminal; acid catalysis turns its OH into a leaving group (-OH2+), water leaves and the nitrogen lone pair forms the C=N double bond. Every step is reversible: water in excess hydrolyses the imine back.](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/fig-4b1e04100966.svg)

*Formation of an [imine](#def-b2-amines-imine): [nucleophilic addition](#def-b2-amines-nucleophilic-addition) of the amine to the carbonyl gives the [hemiaminal](#def-b2-amines-imine); acid catalysis turns its $\ce{OH}$ into a leaving group ($\ce{-OH2+}$), water leaves and the nitrogen lone pair forms the $\ce{C=N}$ double bond. Every step is reversible: water in excess hydrolyses the [imine](#def-b2-amines-imine) back.*

**Proposition 23.6 (pH optimum).**

[Imines](#def-b2-amines-imine) form fastest in mildly acidic solution, near pH 4 to 5.

**Argument.** The first step needs the free amine (its lone pair); too acidic a medium protonates the amine ($\mathrm pK_a$ about 10) and removes the nucleophile. The dehydration needs acid to protonate the hydroxyl group; at high pH it is slow. The rate, the product of the two needs, is largest in between. ∎

**Definition 23.7 (Reductive amination).**

A *reductive amination* converts a carbonyl compound and an amine into a more substituted amine by forming the [imine](#def-b2-amines-imine) (or iminium ion) and reducing it in the same pot, usually with sodium cyanoborohydride $\ce{NaBH3CN}$.

**Proposition 23.8 (Selectivity of reductive amination).**

At pH near 6, $\ce{NaBH3CN}$ reduces the iminium ion much faster than the carbonyl compound, so that the amine is formed without reducing the aldehyde or ketone to an alcohol.

**Argument.** The cyano group makes $\ce{BH3CN-}$ a weak hydride donor, too weak for a neutral carbonyl but sufficient for a protonated, positively charged iminium ion, a much better electrophile. ∎

## 23.4 Diazonium salts

**Definition 23.9 (Diazonium chemistry).**

A *diazonium ion* is a cation $\ce{R-N+ #N}$. *Diazotisation* converts a primary [aromatic](https://one-course.com/books/chemistry/3/en/chapter/16-huckel-theory-and-conjugated-systems#def-b2-huckel-aromatic) amine into an aryl diazonium salt with sodium nitrite and a strong acid at 0–$5{}^{\circ}\mathrm{C}$. In a *Sandmeyer reaction*, a copper(I) salt ($\ce{CuCl}$, $\ce{CuBr}$, $\ce{CuCN}$) replaces the diazonium group by Cl, Br or CN with loss of dinitrogen. In an *azo coupling*, the diazonium ion, a weak electrophile, attacks an activated [aromatic](https://one-course.com/books/chemistry/3/en/chapter/16-huckel-theory-and-conjugated-systems#def-b2-huckel-aromatic) ring to give an azo compound $\mathrm{Ar{-}N{=}N{-}Ar'}$.

**Proposition 23.10 (Stability of diazonium ions).**

Aryl diazonium salts can be kept in cold aqueous solution and used; alkyl [diazonium ions](#def-b2-amines-diazonium) lose dinitrogen at once.

**Argument.** Dinitrogen is an excellent leaving group (a very stable molecule, a large entropy gain). For an alkyl group, loss of $\ce{N2}$ leaves a carbocation, or is attacked directly by water: the ion does not survive. An aryl cation is very unstable (an empty $\sigma$ orbital in the plane of the ring, not stabilised by the $\pi$ system), and the $\ce{C-N}$ bond of the aryl [diazonium ion](#def-b2-amines-diazonium) is strengthened by conjugation with the ring: at low temperature it persists; warmed, it decomposes, water replacing the diazonium group by $\ce{OH}$. ∎

![Reactions of an aryl diazonium salt. The N2+ group is replaced by halogen or cyanide (Sandmeyer, copper(I) salts), by OH (warm water) or by H (hypophosphorous acid), or kept in an azo coupling.](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/fig-1f1a7a1a26a7.svg)

*Reactions of an aryl diazonium salt. The $\ce{N2+}$ group is replaced by halogen or cyanide (Sandmeyer, copper(I) salts), by $\ce{OH}$ (warm water) or by H (hypophosphorous acid), or kept in an [azo coupling](#def-b2-amines-diazonium).*

**Method 23.11 (Routes through a diazonium salt).**

1. Use the amino group (a strong [ortho/para director](https://one-course.com/books/chemistry/3/en/chapter/22-aromaticity-and-electrophilic-aromatic-substitution#def-b2-aromatic-substitution-directing) ) to place other groups, then convert it through the diazonium salt.
2. Replace it by H to obtain patterns that direct substitution cannot give (1,3,5-tribromobenzene from aniline).
3. Replace it by CN, then hydrolyse to a carboxylic acid: a way to $\ce{-COOH}$ on a ring.

**Method 23.12 (Making an amine).**

1. [Primary amine](#def-b2-amines-class) on an alkyl chain: Gabriel route, or reduction of a [nitrile](#def-b2-amines-nitrile) (one carbon more than the halogenoalkane used to make it) or of an amide.
2. Secondary or [tertiary amine](#def-b2-amines-class) : [reductive amination](#def-b2-amines-reductive-amination) of the right carbonyl compound with the right amine.
3. [Aromatic](https://one-course.com/books/chemistry/3/en/chapter/16-huckel-theory-and-conjugated-systems#def-b2-huckel-aromatic) amine: nitration, then reduction (iron or tin with acid, or [catalytic hydrogenation](https://one-course.com/books/chemistry/3/en/chapter/21-oxidation-and-reduction-of-alkenes#def-b2-alkene-redox-hydrogenation) ).

## 23.5 Nitriles

**Definition 23.13 (Nitrile).**

A *nitrile* is a compound $\ce{R-C#N}$, made by substitution of a halogenoalkane by cyanide or by a [Sandmeyer reaction](#def-b2-amines-diazonium).

**Proposition 23.14 (Reactions of nitriles).**

A [nitrile](#def-b2-amines-nitrile) is hydrolysed, in acid or in base, to the amide and then to the carboxylic acid; it is reduced by lithium aluminium hydride to the [primary amine](#def-b2-amines-class) $\ce{RCH2NH2}$; an organomagnesium reagent adds once to it, and hydrolysis of the [imine](#def-b2-amines-imine) formed gives a ketone.

**Argument.** The [nitrile](#def-b2-amines-nitrile) carbon is electrophilic, like a carbonyl carbon: water (activated by acid, or as hydroxide) adds to it, giving after tautomerism an amide, whose hydrolysis is treated in [Chapter 24](https://one-course.com/books/chemistry/3/en/chapter/24-carboxylic-acid-derivatives#ch-b2-acyl-substitution). Hydride adds twice. An organomagnesium reagent adds once, giving an [imine](#def-b2-amines-imine) anion that does not react further; water then hydrolyses the [imine](#def-b2-amines-imine) to the ketone. ∎

**Safety.**

![](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/fig-c07e4913f0e8.svg)

![](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/fig-58320b3f229b.svg)

![](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/fig-748906458fb6.svg)

![](https://one-course.com/images/onecourse/chapters/chemistry-3/b2-amines/fig-76745c6dd418.svg)

Aniline and *N*,*N*-dimethylaniline are toxic by skin contact; sodium nitrite is toxic and oxidising; sodium cyanoborohydride releases hydrogen cyanide in acid and must be used in a fume hood. Dry diazonium salts can explode: they are always kept cold, in solution, and used at once.

## 23.6 Exercises

**Exercise 23.1 ★.**

Give the class of: propan-1-amine, *N*-methylethanamine, triethylamine, tetramethylammonium chloride, aniline.

**Solution of Exercise 23.1.**

Primary; secondary; tertiary; quaternary ammonium salt; primary ([aromatic](https://one-course.com/books/chemistry/3/en/chapter/16-huckel-theory-and-conjugated-systems#def-b2-huckel-aromatic)).

**Exercise 23.2 ★.**

Rank by increasing basicity: ammonia, methylamine, aniline, ethanamide.

**Solution of Exercise 23.2.**

Ethanamide $<$ aniline $<$ ammonia $<$ methylamine ($\mathrm pK_a$ of the conjugate acids $-0.6$, 4.60, 9.26, 10.66).

**Exercise 23.3 ★.**

Give the [imine](#def-b2-amines-imine) formed from cyclohexanone and methylamine, and the conditions.

**Solution of Exercise 23.3.**

*N*-Methylcyclohexanimine, $\ce{C6H10=N-CH3}$: amine and ketone in a weakly acidic medium (pH 4–5), with removal of the water formed (drying agent or azeotropic distillation).

**Exercise 23.4 ★.**

Starting from benzenediazonium chloride, give the products with $\ce{CuBr}$, $\ce{CuCN}$, warm water, and phenol in base.

**Solution of Exercise 23.4.**

Bromobenzene; benzonitrile; phenol; 4-hydroxyazobenzene $\ce{C6H5-N=N-C6H4-OH}$ (coupling para to the $\ce{O-}$ group of the phenoxide).

**Exercise 23.5 ★★.**

Which form of trimethylamine dominates at pH 7, and in what ratio? Explain the lemon, and how an amine can be extracted from an organic solvent into water.

**Solution of Exercise 23.5.**

$\mathrm pK_a = 9.80$: at pH 7 the ratio $[\ce{(CH3)3NH+}]/[\ce{(CH3)3N}] = 10^{2.8} \approx 630$: the protonated form dominates; lemon juice (pH near 2) protonates practically all of it. Shaking an organic solution of an amine with dilute aqueous acid transfers the amine, as its ammonium ion, into the water; base frees it again.

**Exercise 23.6 ★★.**

Give the [enamine](#def-b2-amines-imine) formed from cyclohexanone and pyrrolidine, and explain why a [secondary amine](#def-b2-amines-class) cannot give an [imine](#def-b2-amines-imine).

**Solution of Exercise 23.6.**

1-(Cyclohex-1-en-1-yl)pyrrolidine. After addition and loss of water the nitrogen carries a positive charge (an iminium ion) and no hydrogen to lose; a proton is lost from the adjacent carbon instead, forming the $\ce{C=C}$ bond.

**Exercise 23.7 ★★.**

Prepare *N*-benzylpropan-2-amine $\ce{C6H5CH2NHCH(CH3)2}$ by [reductive amination](#def-b2-amines-reductive-amination): give two possible pairs of reagents.

**Solution of Exercise 23.7.**

Benzaldehyde with propan-2-amine, or propanone with benzylamine, each with $\ce{NaBH3CN}$ at pH about 6.

**Exercise 23.8 ★★.**

Benzonitrile reacts with ethylmagnesium bromide, then with aqueous acid. Give the product.

**Solution of Exercise 23.8.**

Propiophenone (1-phenylpropan-1-one), $\ce{C6H5COCH2CH3}$: one addition gives the [imine](#def-b2-amines-imine) anion, hydrolysed to the ketone.

**Exercise 23.9 ★★.**

Write the Gabriel synthesis of hexan-1-amine and explain why it gives no [secondary amine](#def-b2-amines-class).

**Solution of Exercise 23.9.**

Potassium phthalimide + 1-bromohexane: *N*-hexylphthalimide; then hydrazine (or hydrolysis) frees hexan-1-amine. The alkylated phthalimide nitrogen has no lone pair available (it is delocalised on two carbonyls) and no $\ce{N-H}$ left: it cannot be alkylated a second time.

**Exercise 23.10 ★★★.**

Prepare 1,3,5-tribromobenzene from aniline.

**Solution of Exercise 23.10.**

Bromine water brominates aniline at the three positions ortho and para to the amino group: 2,4,6-tribromoaniline. [Diazotisation](#def-b2-amines-diazonium), then $\ce{H3PO2}$, replaces the amino group by H: the three bromines are now 1,3,5 to each other.

**Exercise 23.11 ★★★.**

Design an azo dye from 4-nitroaniline and phenol: write the [diazotisation](#def-b2-amines-diazonium), the coupling (position and pH), and the product.

**Solution of Exercise 23.11.**

4-Nitroaniline + $\ce{NaNO2}$ + $\ce{HCl}$ at 0–$5{}^{\circ}\mathrm{C}$: 4-nitrobenzenediazonium chloride. Coupling with phenol in weakly basic solution (phenoxide, strongly activated) at the position para to $\ce{O-}$: 4-[(4-nitrophenyl)diazenyl]phenol, $\ce{O2N-C6H4-N=N-C6H4-OH}$, an orange dye.

**Exercise 23.12 ★★★.**

The quaternary ammonium hydroxide of *N*,*N*-dimethylbutan-2-amine, heated, gives mostly but-1-ene. Explain this Hofmann orientation, opposite to the Zaitsev rule of the Year 1 volume.

**Solution of Exercise 23.12.**

The trimethylammonium group is a poor, bulky leaving group and makes the $\beta$ hydrogens on the $\ce{CH3}$ side more acidic and more accessible; the base removes a hydrogen from the less substituted carbon: but-1-ene, the less substituted alkene (Hofmann product).

## 23.7 Problem: Making Methyl Orange

**Problem 23.1.**

Weekend problem — sulfanilic acid and its [diazotisation](#def-b2-amines-diazonium), the [azo coupling](#def-b2-amines-diazonium) with *N*,*N*-dimethylaniline, methyl orange as an indicator, and the yield

Data: sulfanilic acid (4-aminobenzenesulfonic acid) $\ce{C6H7NO3S}$; methyl orange, the sodium salt $\ce{C14H14N3NaO3S}$; $\mathrm pK_a$ of the acid form of methyl orange 3.47. Molar masses ($\mathrm{g}/\mathrm{mol}$): C 12.011, H 1.008, N 14.007, O 15.999, Na 22.990, S 32.06. Run (exercise data): $5.00\,\mathrm{g}$ of sulfanilic acid, yield 80 %.

**Part I — Sulfanilic acid and [diazotisation](#def-b2-amines-diazonium).**

1. Sulfanilic acid exists as a zwitterion. Draw it.
2. Why is it dissolved in sodium carbonate solution first?
3. Write the formation of nitrous acid from sodium nitrite and hydrochloric acid.
4. Write the [diazotisation](#def-b2-amines-diazonium) of the 4-sulfonatoanilinium ion.
5. Why is the reaction run at 0– $5{}^{\circ}\mathrm{C}$ ?
6. What amount of sodium nitrite is needed for $5.00\,\mathrm{g}$ of sulfanilic acid?
7. Why is a slight excess of nitrite tested for, and destroyed?

**Part II — The coupling.**

8. Why is *N* , *N* -dimethylaniline a good partner?
9. At which position of its ring does the [diazonium ion](#def-b2-amines-diazonium) attack, and why?
10. Write the product (as the sulfonate).
11. Why is the coupling run in weakly acidic, not strongly acidic, solution?
12. Why must the solution then be made basic to precipitate the sodium salt?
13. Why is the [diazonium ion](#def-b2-amines-diazonium) a weak electrophile, reacting only with activated rings?

**Part III — An indicator.**

14. What colour is methyl orange in base, and in acid?
15. Where does it take a proton?
16. Over what pH range does its colour change?
17. Why does the extended conjugated system give a visible colour?
18. Why does protonation shift the absorption?

**Part IV — Yield.**

19. Compute the molar mass of sulfanilic acid.
20. Compute that of methyl orange (sodium salt).
21. Compute the amount of sulfanilic acid used.
22. Compute the theoretical mass of methyl orange.
23. What losses explain a yield below 100 %?
24. State the mass of methyl orange obtained from $5.00\,\mathrm{g}$ of sulfanilic acid at 80 % yield.

**Solution of Problem 23.1.**

**1.** $\mathrm{{}^-O_3S{-}C_6H_4{-}NH_3^+}$: the acidic sulfonic group has protonated the amine. **2.** The zwitterion is poorly soluble in water; carbonate deprotonates the ammonium group, giving the soluble sodium sulfanilate. **3.** $\ce{NaNO2 + HCl -> HNO2 + NaCl}$. **4.**

$$
\mathrm{{}^-O_3S{-}C_6H_4{-}NH_2 + HNO_2 + H^+ \to {}^-O_3S{-}C_6H_4{-}N_2^+ + 2\,H_2O} .
$$

**5.** The diazonium salt decomposes (to the phenol and $\ce{N2}$) when warm; nitrous acid decomposes too. **6.** $5.00/173.19 = 28.9\,\mathrm{mmol}$: $28.9\,\mathrm{mmol}$ of $\ce{NaNO2}$, $1.99\,\mathrm{g}$. **7.** Excess nitrous acid would react with the coupling partner; it is detected with starch–iodide paper and destroyed with urea or sulfamic acid. **8.** Its ring is strongly activated by the dimethylamino group, a powerful donor. **9.** Para to $\ce{N(CH3)2}$: ortho/para direction, and the ortho positions are hindered by the methyl groups. **10.** $\mathrm{{}^-O_3S{-}C_6H_4{-}N{=}N{-}C_6H_4{-}N(CH_3)_2}$. **11.** In strong acid the dimethylamino group is protonated: $\ce{-NH(CH3)2+}$ deactivates the ring and the coupling stops. **12.** The product forms as its protonated, partly soluble acid form; in base the sodium sulfonate, less soluble in the salty solution, precipitates. **13.** Its positive charge is delocalised onto the ring and the terminal nitrogen is a poor electrophilic centre; only rings activated by $\ce{-O-}$, $\ce{-OH}$ or $\ce{-NR2}$ react. **14.** Yellow-orange in base, red in acid. **15.** On a nitrogen of the azo group (the protonated form is stabilised by conjugation with the dimethylamino group). **16.** About $\mathrm pK_a \pm 1$: from 3.1 to 4.4 roughly, around $\mathrm pK_a = 3.47$. **17.** Two rings and the azo group form a long conjugated system: the gap between the highest occupied and the lowest empty $\pi$ levels is small ([Proposition 16.15](https://one-course.com/books/chemistry/3/en/chapter/16-huckel-theory-and-conjugated-systems#prop-b2-huckel-gap)) and the absorption lies in the visible. **18.** Protonation changes the distribution of charge in the $\pi$ system and narrows the gap further: the absorption moves to longer wavelengths, the colour from yellow to red. **19.** $173.19\,\mathrm{g}/\mathrm{mol}$. **20.** $327.33\,\mathrm{g}/\mathrm{mol}$. **21.** $28.87\,\mathrm{mmol}$. **22.** $0.02887 \times 327.33 = 9.45\,\mathrm{g}$. **23.** Decomposition of the diazonium salt, incomplete coupling, solubility of the product in the mother liquor and the washings. **24.** $0.80 \times 9.45 = \boldsymbol{7.56\,\mathrm{g}}$ of methyl orange.
