The Magic of Lassaigne's Test
When we want to detect the presence of extra elements like nitrogen, sulphur, or halogens in an organic compound, we can't just dissolve the compound in water and test it. Why? Because organic compounds are covalent! The elements are tightly bound and won't ionize.
To solve this, we perform Lassaigne's test. We fuse the organic compound with sodium metal. This violent, fiery reaction converts the covalent bonds into ionic sodium salts. Nitrogen becomes sodium cyanide (NaCN), sulphur becomes sodium sulphide (Na2S), and halogens become sodium halides (NaX). We extract these salts in water, creating what we call the Sodium Extract.
The Interference Problem
Now, imagine you want to test specifically for halogens. The standard test is to add silver nitrate (AgNO3). If halogens are present, they form beautiful precipitates: white for AgCl, pale yellow for AgBr, and yellow for AgI.
But there is a massive catch! What if your organic compound also contained nitrogen and sulphur? Your sodium extract will now contain CN− and S2− ions alongside the halide ions.
If you directly add AgNO3, the cyanide ions will react to form a white precipitate of silver cyanide (AgCN). The sulphide ions will react to form a thick black precipitate of silver sulphide (Ag2S). These unwanted precipitates will completely mask the colors of your silver halides, ruining the test.
The Nitric Acid Solution
To clear the path for our halogen test, we must eliminate the cyanide and sulphide ions. We do this by adding concentrated Nitric Acid (HNO3) and boiling the solution.
Nitric acid is a strong acid that attacks these interfering salts, converting them into volatile gases:
Na2S+2HNO3→2NaNO3+H2S↑
Because we are boiling the mixture, the hydrogen cyanide (HCN) and hydrogen sulphide (H2S) gases escape into the atmosphere. The interfering ions are literally boiled away!
Why Not Other Acids?
You might wonder, why specifically nitric acid? Why not hydrochloric acid (HCl)?
Think about it. If you add HCl to remove the impurities, you are intentionally dumping chloride (Cl−) ions into your test tube! When you subsequently add AgNO3, it will react with the Cl− you just added, giving a massive white precipitate of AgCl. You would get a false positive for chlorine every single time.
Therefore, nitric acid is the perfect, non-interfering choice to prepare the sodium extract for a flawless halogen test.