4.4.4Nitrogen-Containing Compounds

Cyanides and isocyanides

1,919 words9 min readdifficulty · medium

WHAT are they?

Note the carbon count trick: In CH3CNCH_3-CN, the nitrile carbon counts, so it is ethanenitrile (2 C). But the same CH3CH_3 in methyl cyanide (common name) names only the alkyl part.


WHY do they differ — the bonding

Formal-charge check for H3CNCH_3C-N\equiv C:

  • N: 5 valence 0- 0 lone 12(8 bonding)=54=+1- \tfrac{1}{2}(8 \text{ bonding}) = 5-4 = +1.
  • C (terminal): 4 valence 2- 2 lone 12(6)=423=1- \tfrac{1}{2}(6) = 4-2-3 = -1. ✔
Figure — Cyanides and isocyanides

HOW are they made?


HOW they react (the payoff)


Comparison table (80/20 — learn this)

Property Cyanide RCNR-C\equiv N Isocyanide RNCR-N\equiv C
R attached to Carbon Nitrogen
Reagent from R–X KCN AgCN
Hydrolysis RCOOH+NH3R-COOH + NH_3 RNH2+HCOOHR-NH_2 + HCOOH
Reduction RCH2NH2R-CH_2NH_2 (1°) RNHCH3R-NH-CH_3 (2°)
Smell mild/pleasant foul, characteristic
Terminal C normal lone pair, 1-1, divalent

Recall Feynman: explain to a 12-year-old

Imagine a two-kid see-saw (carbon and nitrogen holding hands tightly = triple bond). You, the big group R, can hold hands with either kid. If you hold the carbon kid's free hand, that's a cyanide. If you hold the nitrogen kid's hand, that's an isocyanide. When you later dunk them in water (hydrolysis) or feed them snacks (hydrogen), whoever was holding your hand stays attached to you — so you get totally different final friends. Also, the nitrogen-holding version stinks horribly!


Flashcards

What distinguishes a cyanide from an isocyanide structurally?
In cyanide R is bonded to carbon (RCNR-C\equiv N); in isocyanide R is bonded to nitrogen (RNCR-N\equiv C).
Which reagent converts R–X to a cyanide, and which to an isocyanide?
KCN → cyanide (C-attack); AgCN → isocyanide (N-attack).
Why does AgCN give the isocyanide?
Ag is covalently bonded to carbon, blocking the C lone pair, so nitrogen's lone pair attacks.
Hydrolysis product of RCNR-C\equiv N?
RCOOH+NH3R-COOH + NH_3.
Hydrolysis product of RNCR-N\equiv C?
RNH2+HCOOHR-NH_2 + HCOOH (a primary amine + formic acid).
Reduction product of a nitrile RCNR-CN?
Primary amine RCH2NH2R-CH_2-NH_2.
Reduction product of an isocyanide RNCR-NC?
Secondary amine RNHCH3R-NH-CH_3.
What is the formal charge on the terminal carbon of an isocyanide?
1-1 (it carries a lone pair and is divalent/carbene-like).
Name the test that uses isocyanide formation to detect primary amines.
The carbylamine (isocyanide) test: 1° amine + CHCl₃ + alc. KOH → foul-smelling isocyanide.
IUPAC name of CH3CNCH_3CN?
Ethanenitrile (acetonitrile / methyl cyanide).
Why is CNCN^- called an ambident nucleophile?
It can donate through either carbon or nitrogen, giving cyanides or isocyanides.

Connections

  • Alkyl halides and SN2 substitution — ambident nucleophile attack
  • Amines preparation and properties — reduction products
  • Carboxylic acids — nitrile hydrolysis route
  • Carbylamine reaction — test for primary amines
  • HSAB principle — why soft C vs hard N attacks
  • Amides and dehydration — alternative nitrile synthesis

Concept Map

R on carbon

R on nitrogen

soft C softer

Ag blocks C

gives

gives

amine + CHCl3 + KOH

P2O5 removes water

forced structure

explains

C and N triple bond

Cyanide R-C≡N

Isocyanide R-N≡C

CN- ambident nucleophile

KCN attack via C

AgCN attack via N

Carbylamine reaction

Amide dehydration

Charge-separated divalent carbon

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, cyanide aur isocyanide me sirf ek hi farak hai: R group kis atom se juda hai. Agar R carbon se juda hai (RCNR-C\equiv N), toh wo cyanide (nitrile) hai. Agar R nitrogen se juda hai (RNCR-N\equiv C), toh wo isocyanide hai. Bas yahi ek baat samajh lo, baaki sab kuch automatically nikal jaata hai — kyunki reactions me jo bond R ke saath hai wahi survive karta hai.

Banane me trick simple hai: KCN lagao toh free CNCN^- ka carbon attack karta hai → cyanide milta hai. AgCN lagao toh silver carbon ko pakad ke baith jaata hai, isliye sirf nitrogen ka lone pair attack karta hai → isocyanide. Isko HSAB se bhi justify kar sakte ho.

Reactions yaad rakhne ka shortcut: Nitrile ka hydrolysis karo toh RCOOH+NH3R-COOH + NH_3 (R carbon par tha, isliye carboxylic acid ban gaya). Isocyanide ka hydrolysis karo toh RNH2+HCOOHR-NH_2 + HCOOH (R nitrogen par tha, isliye amine ban gaya). Reduction me nitrile deta hai 1° amine (RCH2NH2R-CH_2NH_2) aur isocyanide deta hai 2° amine (RNHCH3R-NH-CH_3), kyunki isocyanide ke nitrogen par pehle se R tha aur ab extra CH3CH_3 aa gaya.

Ek mazedaar baat: isocyanide ki smell bahut hi ganda hoti hai — yahi carbylamine test ka base hai jo primary amines ko detect karta hai. Exam me table yaad kar lo (KCN/AgCN, hydrolysis, reduction) — 80/20 me yahi sab kuch puchha jaata hai.

Go deeper — visual, from zero

Test yourself — Nitrogen-Containing Compounds

Connections