4.4.4 · D4Nitrogen-Containing Compounds

Exercises — Cyanides and isocyanides

2,351 words11 min readBack to topic

Before we begin, one picture we will lean on repeatedly — the two connectivities and which bond survives water.

Figure — Cyanides and isocyanides

Read it like this: the thick coloured bond is the one that does not break in hydrolysis. On the left (nitrile) R stays glued to carbon; on the right (isocyanide) R stays glued to nitrogen. That single surviving bond is the whole answer key.


Level 1 — Recognition

Recall Solution L1-Q1

What to look at: which atom touches R.

  • (a) R (methyl) touches carbonnitrile. Count carbons including the CN carbon: 2 C → ethanenitrile (acetonitrile / methyl cyanide).
  • (b) R (methyl) touches nitrogenisocyanidemethyl isocyanide (methyl carbylamine).
  • (c) R (phenyl) touches carbonnitrilebenzonitrile (phenyl cyanide).
Recall Solution L1-Q2

Formula: formal charge .

  • Nitrogen: it has one bond to C (of ) and a triple bond to the terminal C = 4 bonds = 8 bonding electrons, and 0 lone electrons.
  • Terminal C: it has the triple bond (6 bonding electrons) and one lone pair (2 lone electrons). So the picture is — the lone-pair, divalent, carbene-like carbon is the reactive heart.
Recall Solution L1-Q3

(i) foul (ii) R-on-N (iii) AgCN. Mnemonic: silVer → iso, K → cyanide (Carbon-Kind).


Level 2 — Application

Recall Solution L2-Q1

Rule (nitrile): R stays on the carbon; N departs as ; that carbon picks up oxygen to become . Count carbons including the old CN carbon: 4 C → butanoic acid (+ ammonia).

Recall Solution L2-Q2

Both add 4 H, but connectivity decides the skeleton.

  • (a) Nitrile: the triple-bond carbon becomes a sitting between R and N: Nitrogen carries only one carbon chain → primary (1°) amine (propan-1-amine).
  • (b) Isocyanide: R stays on N, and the external carbon just collects H's to become a on that same N: Nitrogen carries two carbon groups → secondary (2°) amine (N-methylethanamine).
Recall Solution L2-Q3

The ion is ambident — it can donate from carbon or nitrogen. See Alkyl halides and SN2 substitution for the backside-attack mechanism.

  • cyanide (free ionic ; softer carbon attacks, HSAB principle).
  • isocyanide (Ag covalently caps carbon; only nitrogen lone pair is free).

Level 3 — Analysis

Recall Solution L3-Q1

Follow the surviving bond (thick bond in the s01 figure, right panel).

  • The bond is not broken by water → R stays attached to nitrogen. Nitrogen ends up as (a primary amine).
  • The terminal carbon was only bonded to N. When water attacks that electrophilic-ish external carbon and the C=N part cleaves, the lone carbon collects two oxygens and an H, becoming (formic acid). Contrast with nitrile: there the bond survives, so R stays on the carbon, that carbon becomes , and it is the nitrogen that leaves (as ). Same input atoms (C, N, R), mirror-image outputs — purely because a different bond survived.
Recall Solution L3-Q2

What differs is which donor atom is available, not which ion is present.

  • In KCN, the K–CN bond is essentially ionic → the cyanide floats free as . Its two donor ends are carbon (soft, more polarizable) and nitrogen (harder). The carbon of R–X is a soft electrophilic centre; soft prefers soft → carbon attacks.
  • In AgCN, Ag(I) is a soft cation that forms a strong covalent Ag–C bond → the carbon lone pair is caged. The only free donor left is the nitrogen lone pair → nitrogen attacks. Same ion; availability of the donor atom flips the outcome.
Recall Solution L3-Q3
  • Y (foul) = isocyanide , made with AgCN. Isocyanides are notoriously offensive — this is the basis of the Carbylamine reaction test for 1° amines.
  • X (pleasant/mild) = nitrile , made with KCN. The odour difference is a real, examinable diagnostic.

Level 4 — Synthesis

Recall Solution L4-Q1

We must grow the chain by one carbon and finish with . The nitrile route does exactly that (the CN carbon becomes the acid carbon — see Carboxylic acids). Step 1 — introduce CN via SN2: Why KCN (not AgCN)? We want R on carbon so hydrolysis gives an acid; KCN gives the nitrile. Step 2 — acidic hydrolysis: Product = propanoic acid (3 C). Chain grew from 2 C (ethyl) to 3 C. ✔

Recall Solution L4-Q2

A 2° amine with two methyls on N is the fingerprint of an isocyanide reduction (R on N stays, external C becomes ). Step 1 — make the isocyanide (need R on N → use AgCN): Step 2 — reduce (add ): Product = dimethylamine, a 2° amine. ✔ (Compare: KCN then reduction would give , a 1° amine — wrong target.)

Recall Solution L4-Q3

A primary amine + chloroform + alcoholic KOH gives the isocyanide — this is the Carbylamine reaction. Product = ethyl isocyanide (ethyl carbylamine), intensely foul. The test is the carbylamine (isocyanide) test; only 1° amines respond, so it distinguishes 1° from 2° and 3° amines.


Level 5 — Mastery

Recall Solution L5-Q1

Step 1 — dehydration (amide loses water, see Amides and dehydration): Step 2 — hydrolysis of the nitrile: Net: . The amide and the acid have the same 3 carbons; the round trip removed 's nitrogen (as ) and swapped it for . Dehydration then rehydration looks circular but it does change the functional group because the intermediate nitrile lets nitrogen leave.

Recall Solution L5-Q2

Reasoning: a secondary amine from reduction is the signature of an isocyanide (R on N + external C → ).

  • Molecular formula with the pattern means contributes (ethyl): . ✔ (2 C in ethyl + 1 terminal C = 3 C; 5 H on ethyl.)
  • So the unknown is ethyl isocyanide, .
  • Check by reduction: = N-methylethanamine, a 2° amine. ✔
Recall Solution L5-Q3

Same molecular formula , opposite connectivity → opposite products.

  • Methyl isocyanide : R (methyl) stays on N → Nitrogen product = methylamine, a primary amine (an organic base, stays basic even after neutralising acid conditions on workup).
  • Acetonitrile : R stays on C, N leaves → Nitrogen product = ammonia (also basic, but it is a small volatile gas, not an organic amine). Telling them apart: methylamine is a fishy-smelling organic amine that remains in solution as ; ammonia escapes as a pungent gas. More cleanly: the isocyanide route also yields formic acid (, reduces Tollens'/Fehling's), while the nitrile route yields acetic acid (, which does not). Detecting a reducing acid flags the isocyanide.

Recall One-line master key

Whoever is holding R's hand keeps holding it ::: R-on-C (nitrile) → acid + , reduces to 1° amine; R-on-N (isocyanide) → amine + , reduces to 2° amine.