TheLucidSTEM‹ Chemistry simulationsChemistry · AS Level 9701 · 19 Nitrogen compounds
9701 AS Chemistry/ Topic 19 Nitrogen compounds/ 5 interactive simulations/ drag to rotate 3D scenes

Nitrogen compounds, made interactive

Five simulations covering Topic 19: ammonia attacking a halogenoalkane to make a primary amine, with the inversion at carbon and the reason for using excess ammonia; why amines are bases and how strong they are; the cyanide ion adding a carbon to the chain; HCN adding across a carbonyl group to make a hydroxynitrile; and what nitriles turn into when they are hydrolysed or reduced.

1. Making a primary amine 3D · 19.1

Ammonia has a lone pair, and a halogenoalkane has a carbon that is short of electrons because the halogen pulls them away. Put the two together, warm them in ethanol in a sealed tube, and the lone pair attacks the carbon while the halogen leaves as an ion. Step through it and watch the carbon turn inside out.

drag to rotate · wheel to zoom

Halogenoalkane

STEP
EQUATION
Conditions: an excess of concentrated ammonia in ethanol, heated in a sealed tube. The ethanol dissolves both reagents; the sealed tube keeps the ammonia from escaping as a gas. The excess matters, and the last step shows why.

2. Amines as bases 2D · 19.1

The same lone pair that attacks a halogenoalkane will also pick up a proton, which makes every amine a base. An alkyl group pushes electron density onto the nitrogen and makes the lone pair more available, so ethylamine is a stronger base than ammonia. Compare them, then add an acid.

Base

pKb
Kb / mol dm−3
pH of 0.100 mol dm−3
fraction protonated

Add to it

PRODUCT
pick an acid

3. Making a nitrile 3D · 19.2

The cyanide ion is a nucleophile too, and it is the one organic chemists reach for when they need the carbon chain to grow. Heat a halogenoalkane with potassium cyanide in ethanol and the CN group takes the place of the halogen. Count the carbons before and after.

drag to rotate · wheel to zoom

Halogenoalkane

STEP
EQUATION
CARBONS BEFORE
CARBONS AFTER
Conditions: potassium cyanide in ethanol, heated under reflux. The ethanol dissolves the halogenoalkane; water would compete as a nucleophile and give the alcohol instead. Name the nitrile by counting every carbon, including the one in the C≡N group.

4. HCN adds across a carbonyl 3D · 19.2

A carbonyl carbon is electron-poor because the oxygen pulls the shared electrons towards itself. The cyanide ion attacks it from above or below the flat molecule, the double bond opens, and a proton finishes the job. The product is a hydroxynitrile, with one more carbon than the aldehyde or ketone you started with.

drag to rotate · wheel to zoom

Carbonyl compound

STEP
PRODUCT
Conditions: sodium or potassium cyanide with a little dilute acid, or HCN with a trace of base, at room temperature. The cyanide ion is the nucleophile; the acid supplies the proton at the end. This is nucleophilic addition, not substitution: nothing leaves.

5. What nitriles become 3D · 19.2

A nitrile is rarely the final target. Its triple bond can be hydrolysed to a carboxylic acid, or reduced to a primary amine, so making the nitrile first is a way of reaching those compounds with an extra carbon in the chain. Pick a nitrile and a reaction and see the product beside it.

drag to rotate · wheel to zoom

Nitrile

Reaction

PRODUCT
REAGENTS AND CONDITIONS
EQUATION
TheLucidSTEM · Cambridge International AS Chemistry 9701 · Topic 19 Nitrogen compounds. Every scene runs in the browser; drag to rotate 3D scenes, wheel to zoom. Values are standard textbook data rounded for teaching.

About this lab: Nitrogen compounds

Five interactive simulations for Cambridge AS Level Chemistry 9701 topic 19 Nitrogen compounds: nucleophilic substitution of a halogenoalkane by ammonia stepped through in 3D with the lone pair, the curly arrows and the umbrella inversion at carbon, a base-strength comparison of ammonia, methylamine and ethylamine with the pH of a tenth-molar solution worked out and the salt formed with hydrochloric acid, the cyanide ion lengthening the carbon chain by one, nucleophilic addition of HCN to ethanal and propanone to give hydroxynitriles, and the hydrolysis and reduction of nitriles to carboxylic acids and primary amines.

Five simulations covering Topic 19: ammonia attacking a halogenoalkane to make a primary amine, with the inversion at carbon and the reason for using excess ammonia; why amines are bases and how strong they are; the cyanide ion adding a carbon to the chain; HCN adding across a carbonyl group to make a hydroxynitrile; and what nitriles turn into when they are hydrolysed or reduced.

Nitrogen compounds is a free, browser-based simulation for Cambridge International AS & A Level Chemistry 9701 (topic 19 Nitrogen compounds). The course is assessed in Paper 1 (Multiple Choice (AS)), Paper 2 (AS Structured), Paper 3 (Advanced Practical), Paper 4 (A Level Structured), Paper 5 (Planning, Analysis, Evaluation). Syllabus for examination in 2025-2027. There are 5 tabs, each a self-contained experiment with its own controls and live readings, and nothing to install: it runs on a laptop, tablet or classroom projector.

Syllabus coverage

Full syllabus map: AS Level Chemistry 9701 topic 19.

How to use this simulation

  1. 1. Making a primary amine. Ammonia has a lone pair, and a halogenoalkane has a carbon that is short of electrons because the halogen pulls them...
  2. 2. Amines as bases. The same lone pair that attacks a halogenoalkane will also pick up a proton, which makes every amine a base.
  3. 3. Making a nitrile. The cyanide ion is a nucleophile too, and it is the one organic chemists reach for when they need the carbon chain to...
  4. 4. HCN adds across a carbonyl. A carbonyl carbon is electron-poor because the oxygen pulls the shared electrons towards itself.
  5. 5. What nitriles become. A nitrile is rarely the final target.
  6. The buttons at the end of the tab strip give the scene the whole window (Full screen, Hide controls) and, on a dark stage, a projector-friendly palette (Light scene). Many scenes also have drag handles: drag them to change the set-up directly.

All simulation labs · AS Level Chemistry 9701 · TheLucidSTEM home