Step 1: Understanding the Concept:
All four parts are named reactions of amines or of the diazonium salt. We only have to write the balanced equation for each, with the reagents over the arrow. Here R stands for an alkyl group.
Step 2: (i) Gabriel phthalimide synthesis.
This method gives a pure primary aliphatic amine. Phthalimide is first changed into its potassium salt with alcoholic KOH. The salt is heated with an alkyl halide to give N-alkylphthalimide. Alkaline hydrolysis then frees the amine.
\[ \mathrm{C_6H_4(CO)_2NH + KOH \to C_6H_4(CO)_2N^{-}K^{+} + H_2O}\]
\[ \mathrm{C_6H_4(CO)_2N^{-}K^{+} + R{-}X \xrightarrow{\Delta} C_6H_4(CO)_2N{-}R + KX}\]
\[ \mathrm{C_6H_4(CO)_2N{-}R + 2NaOH \xrightarrow{\Delta} C_6H_4(COONa)_2 + R{-}NH_2}\]
Aryl halides do not work in this method, because they do not take part in nucleophilic substitution easily.
Step 3: (ii) Hoffmann bromamide reaction.
A primary amide is treated with bromine and aqueous or ethanolic NaOH. The amine formed has one carbon atom less than the amide.
\[ \mathrm{R{-}CONH_2 + Br_2 + 4NaOH \to R{-}NH_2 + Na_2CO_3 + 2NaBr + 2H_2O}\]
Example: ethanamide gives methanamine. \( \mathrm{CH_3CONH_2 + Br_2 + 4NaOH \to CH_3NH_2 + Na_2CO_3 + 2NaBr + 2H_2O} \)
Step 4: (iii) Carbylamine reaction.
A primary amine (aliphatic or aromatic) is warmed with chloroform and alcoholic KOH. It forms an isocyanide (carbylamine) with a very bad smell. Secondary and tertiary amines do not give this test.
\[ \mathrm{R{-}NH_2 + CHCl_3 + 3KOH \xrightarrow{\Delta} R{-}NC + 3KCl + 3H_2O}\]
Example: \( \mathrm{C_6H_5NH_2 + CHCl_3 + 3KOH \to C_6H_5NC + 3KCl + 3H_2O} \)
Step 5: (iv) Coupling reaction of benzenediazonium chloride.
The diazonium ion is a weak electrophile. It attacks the para position of an activated ring such as phenol or aniline and forms an azo dye (the -N=N- group joins the two rings).
With phenol, in weakly alkaline medium (pH 9 to 10), the product is p-hydroxyazobenzene (orange dye):
\[ \mathrm{C_6H_5N_2^{+}Cl^{-} + C_6H_5OH \xrightarrow{NaOH,\ 273\text{-}278\ K} C_6H_5{-}N{=}N{-}C_6H_4{-}OH\ (p) + HCl}\]
With aniline, in weakly acidic medium (pH 4 to 5), the product is p-aminoazobenzene (yellow dye):
\[ \mathrm{C_6H_5N_2^{+}Cl^{-} + C_6H_5NH_2 \xrightarrow{pH\ 4\text{-}5} C_6H_5{-}N{=}N{-}C_6H_4{-}NH_2\ (p) + HCl}\]
Final Answer:
The four equations are written above: Gabriel synthesis gives \( \mathrm{R{-}NH_2} \), Hoffmann bromamide gives an amine with one carbon less, carbylamine reaction gives \( \mathrm{R{-}NC} \), and coupling gives p-hydroxyazobenzene and p-aminoazobenzene.
\[ \boxed{\text{Gabriel, Hoffmann bromamide, carbylamine and azo coupling equations as written}} \]