Step 1: Understanding the Concept:
Aniline is a primary aromatic amine. The NH\(_2\) group has an active lone pair and N-H bonds, so it takes part in the carbylamine reaction, reacts with a Grignard reagent, brominates in the ring and undergoes diazotisation.
Step 2: Preparation of aniline:
Aniline is made by reducing nitrobenzene with Sn and HCl, or with H\(_2\) over Pd or Ni.
\[ \mathrm{C_6H_5NO_2 + 6[H] \xrightarrow{Sn/HCl} C_6H_5NH_2 + 2H_2O} \]
Step 3: (i) With CHCl\(_3\) and KOH:
This is the carbylamine reaction, given by primary amines. It forms phenyl isocyanide (foul smell).
\[ \mathrm{C_6H_5NH_2 + CHCl_3 + 3KOH \xrightarrow{\Delta} C_6H_5NC + 3KCl + 3H_2O} \]
Step 4: (ii) With C\(_2\)H\(_5\)MgBr:
The N-H hydrogen is acidic enough to be taken by the strongly basic Grignard reagent, which gives ethane.
\[ \mathrm{C_6H_5NH_2 + C_2H_5MgBr \rightarrow C_6H_5NHMgBr + C_2H_6} \]
Step 5: (iii) With bromine water:
The NH\(_2\) group strongly activates the ring at the ortho and para positions. All three positions are brominated and a white precipitate forms.
\[ \mathrm{C_6H_5NH_2 + 3Br_2 \rightarrow 2,4,6\text{-}Br_3C_6H_2NH_2 + 3HBr} \]
Step 6: (iv) With NaNO\(_2\) and HCl at 273-278 K:
This is diazotisation. Nitrous acid forms in situ and converts the amine into benzene diazonium chloride. The temperature must stay low, otherwise the salt decomposes.
\[ \mathrm{C_6H_5NH_2 + NaNO_2 + 2HCl \xrightarrow{273-278\ K} C_6H_5N_2^+Cl^- + NaCl + 2H_2O} \]
Final Answer:
Products: phenyl isocyanide, ethane with the magnesium salt, 2,4,6-tribromoaniline and benzene diazonium chloride.
\[ \boxed{\mathrm{C_6H_5NC;\ C_6H_5NHMgBr + C_2H_6;\ 2,4,6\text{-}Br_3C_6H_2NH_2;\ C_6H_5N_2^+Cl^-}} \]