Intuition The big picture
Both groups contain the same two atoms — carbon and nitrogen joined by a triple bond — yet they behave like distant cousins. The whole secret is: which atom is bonded to the rest of the molecule (R) .
In a cyanide (nitrile) , R is bonded to carbon : R − C ≡ N R-C\equiv N R − C ≡ N
In an isocyanide (isonitrile) , R is bonded to nitrogen : R − N + ≡ C − R-\overset{+}{N}\equiv \overset{-}{C} R − N + ≡ C −
This single difference in connectivity decides the smell, the hydrolysis products, the reduction products, and the bonding picture. Master the connectivity and everything else falls out.
Definition Cyanide (Nitrile)
An organic compound with the functional group − C ≡ N -C\equiv N − C ≡ N in which the carbon atom is attached to R.
General formula: R − C N R-CN R − C N . IUPAC name = alkanenitrile (count the C of CN). Common name = alkyl cyanide .
Example: C H 3 C N CH_3CN C H 3 C N = ethanenitrile (acetonitrile / methyl cyanide).
Definition Isocyanide (Isonitrile / Carbylamine)
An organic compound with the group − N ≡ C -N\equiv C − N ≡ C in which the nitrogen is attached to R.
General formula: R − N C R-NC R − N C . Named as alkyl isocyanide or alkyl carbylamine .
Example: C H 3 N C CH_3NC C H 3 N C = methyl isocyanide.
Note the carbon count trick: In C H 3 − C N CH_3-CN C H 3 − C N , the nitrile carbon counts, so it is ethane nitrile (2 C). But the same C H 3 CH_3 C H 3 in methyl cyanide (common name) names only the alkyl part.
Intuition Why isocyanide carbon is special
Draw the electrons. In R − C ≡ N R-C\equiv N R − C ≡ N both atoms are neutral and happy.
In an isocyanide, to keep the triple bond and an octet, you are forced into a charge-separated structure:
R − N + ≡ C : − ⟷ R − N + = C 2 − ? . . R-\overset{+}{N}\equiv\overset{:-}{C}\quad\longleftrightarrow\quad R-\overset{+}{N}=\overset{..}{\underset{}{C^{2-}}?} R − N + ≡ C : − ⟷ R − N + = C 2 − ? ..
The dominant form is R − N + ≡ C − : R-\overset{+}{N}\equiv \overset{-}{C}: R − N + ≡ C − : — the terminal carbon carries a lone pair and a formal negative charge and is divalent (bivalent carbon, a carbene-like centre) . That lone-pair carbon is the reactive, nucleophilic, smelly heart of an isocyanide.
Formal-charge check for H 3 C − N ≡ C H_3C-N\equiv C H 3 C − N ≡ C :
N: 5 valence − 0 - 0 − 0 lone − 1 2 ( 8 bonding ) = 5 − 4 = + 1 - \tfrac{1}{2}(8 \text{ bonding}) = 5-4 = +1 − 2 1 ( 8 bonding ) = 5 − 4 = + 1 .
C (terminal): 4 valence − 2 - 2 − 2 lone − 1 2 ( 6 ) = 4 − 2 − 3 = − 1 - \tfrac{1}{2}(6) = 4-2-3 = -1 − 2 1 ( 6 ) = 4 − 2 − 3 = − 1 . ✔
Common mistake Steel-man: "KCN and AgCN should give the same product, both are cyanides!"
Why it feels right: both salts contain the C N − CN^- C N − ion, so why differ? The fix: it's about availability of the donor atom . In KCN the ion is essentially free → the softer carbon end attacks the soft carbon of R–X (HSAB) → R–CN. In AgCN, silver is bonded covalently to carbon, caging the C lone pair , so only nitrogen's lone pair is free → R–NC. Same ion, different which-end-is-available .
Worked example Worked — hydrolyse
C H 3 C H 2 C N CH_3CH_2CN C H 3 C H 2 C N
Step 1: Identify: it's a nitrile (C bonded to ethyl). Why? Connectivity C 2 H 5 − C ≡ N C_2H_5-C\equiv N C 2 H 5 − C ≡ N .
Step 2: Apply nitrile rule: R stays on the C, N leaves as N H 3 NH_3 N H 3 . Why? The R–C bond is unbroken in hydrolysis.
Step 3: Product = C H 3 C H 2 C O O H = CH_3CH_2COOH = C H 3 C H 2 C O O H (propanoic acid) + N H 3 + NH_3 + N H 3 . Why named propanoic? Three carbons total including the nitrile C.
Worked example Worked — reduce
C H 3 N C CH_3NC C H 3 N C
Step 1: Isocyanide (R = methyl on N). Why? Written R–NC.
Step 2: Add 4 H. R on N stays; external C becomes C H 3 CH_3 C H 3 on N. Why? The N–R bond survives; the carbon only gains H's.
Step 3: Product = C H 3 − N H − C H 3 = CH_3-NH-CH_3 = C H 3 − N H − C H 3 = dimethylamine (2° amine). Why 2°? Nitrogen now bears two carbon groups.
Worked example Worked — distinguish two unlabeled bottles by smell + carbylamine
Bottle A smells faintly fruity → likely a nitrile . Bottle B smells extremely foul/unbearable → isocyanide .
Why? Isocyanides are notoriously, offensively smelly — this is the basis of the carbylamine test for primary amines (only 1° amines + CHCl₃ + KOH give the foul isocyanide).
Common mistake Steel-man: "Reduction of both should give a primary amine because both have one N."
Why it feels right: reduction usually gives amines, and there's one nitrogen. The fix: the degree of the amine depends on how many R groups end up on N. Nitrile N gets only the new C H 2 CH_2 C H 2 chain leading to R → still primary. Isocyanide N already carries R and gains a C H 3 CH_3 C H 3 → secondary. Count groups on N, not just "is there a nitrogen."
Property
Cyanide R − C ≡ N R-C\equiv N R − C ≡ N
Isocyanide R − N ≡ C R-N\equiv C R − N ≡ C
R attached to
Carbon
Nitrogen
Reagent from R–X
KCN
AgCN
Hydrolysis
R − C O O H + N H 3 R-COOH + NH_3 R − C O O H + N H 3
R − N H 2 + H C O O H R-NH_2 + HCOOH R − N H 2 + H C O O H
Reduction
R − C H 2 N H 2 R-CH_2NH_2 R − C H 2 N H 2 (1°)
R − N H − C H 3 R-NH-CH_3 R − N H − C H 3 (2°)
Smell
mild/pleasant
foul, characteristic
Terminal C
normal
lone pair, − 1 -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!
Mnemonic Remember the reagents & products
"sil-V-er gives isocyanide, K gives cyanide" — AgCN → iso (silver = sneaky N attack), KCN → cyanide (K = Carbon-Kind).
Hydrolysis: "NitR ile → caRboxylic acid" (both have R on C, COOH ending). Iso → amine (R on N → amine).
Reduction degree: C → CH₂ → 1° , iso has extra group on N → 2° .
What distinguishes a cyanide from an isocyanide structurally? In cyanide R is bonded to carbon (
R − C ≡ N R-C\equiv N R − C ≡ N ); in isocyanide R is bonded to nitrogen (
R − N ≡ C R-N\equiv C R − N ≡ 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 R − C ≡ N R-C\equiv N R − C ≡ N ? R − C O O H + N H 3 R-COOH + NH_3 R − C O O H + N H 3 .
Hydrolysis product of R − N ≡ C R-N\equiv C R − N ≡ C ? R − N H 2 + H C O O H R-NH_2 + HCOOH R − N H 2 + H C O O H (a primary amine + formic acid).
Reduction product of a nitrile R − C N R-CN R − C N ? Primary amine
R − C H 2 − N H 2 R-CH_2-NH_2 R − C H 2 − N H 2 .
Reduction product of an isocyanide R − N C R-NC R − N C ? Secondary amine
R − N H − C H 3 R-NH-CH_3 R − N H − C H 3 .
What is the formal charge on the terminal carbon of an isocyanide? − 1 -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 C H 3 C N CH_3CN C H 3 C N ? Ethanenitrile (acetonitrile / methyl cyanide).
Why is C N − CN^- C N − called an ambident nucleophile? It can donate through either carbon or nitrogen, giving cyanides or isocyanides.
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
Charge-separated divalent carbon
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 (R − C ≡ N R-C\equiv N R − C ≡ N ), toh wo cyanide (nitrile) hai. Agar R nitrogen se juda hai (R − N ≡ C R-N\equiv C R − N ≡ 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 C N − CN^- C N − 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 R − C O O H + N H 3 R-COOH + NH_3 R − C O O H + N H 3 (R carbon par tha, isliye carboxylic acid ban gaya). Isocyanide ka hydrolysis karo toh R − N H 2 + H C O O H R-NH_2 + HCOOH R − N H 2 + H C O O H (R nitrogen par tha, isliye amine ban gaya). Reduction me nitrile deta hai 1° amine (R − C H 2 N H 2 R-CH_2NH_2 R − C H 2 N H 2 ) aur isocyanide deta hai 2° amine (R − N H − C H 3 R-NH-CH_3 R − N H − C H 3 ), kyunki isocyanide ke nitrogen par pehle se R tha aur ab extra C H 3 CH_3 C H 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.