Detecting the elements: Lassaigne's test and others notes
These Detecting the elements: Lassaigne's test and others notes explain the idea step by step, with 4 worked examples and ten questions with solutions. Detect carbon, hydrogen, nitrogen, sulfur, halogens and phosphorus in an organic compound, and explain each test from the ions or molecules it forms.
Before a chemist can find the structure of a new compound, she must know which elements it contains. Every organic compound has carbon, and almost every one has hydrogen. Many also contain oxygen, nitrogen, sulfur, a halogen or phosphorus. This topic shows how to detect each element. The next two topics show how to measure how much of each is present.
There is one problem. You already know that a solution of NaCl gives a white precipitate with AgNO3, because it contains free Cl− ions. Chlorobenzene shaken with AgNO3 solution gives nothing. Its chlorine is held to carbon by a covalent bond, so there is no Cl− ion to react. The idea behind every test in this topic is the same: first turn the covalently bound atom into a simple ion or a simple molecule, then use a test you already know for that ion or molecule.
Carbon and hydrogen: heating with copper(II) oxide
Mix the dry compound with dry copper(II) oxide and heat the mixture strongly in a hard glass tube. CuO gives up its oxygen. Carbon is oxidised to CO2 and hydrogen to water: C+2CuO2Cu+CO2 and 2H+CuOCu+H2O (written per atom, as in NCERT).
Test for carbon and hydrogen: water vapour turns white anhydrous CuSO4 blue, and CO2 turns lime water milky.
The gas is led into lime water. CO2 turns it milky: CO2+Ca(OH)2CaCO3↓+H2O. On the way, the water vapour meets white anhydrous copper(II) sulfate and turns it blue: CuSO4+5H2OCuSO4⋅5H2O. White to blue shows hydrogen; milky lime water shows carbon.
Common mistake
The compound and the CuO must be dry. Moisture already present would turn the CuSO4 blue even if the compound had no hydrogen, and you would wrongly report hydrogen.
Why the compound is fused with sodium
For nitrogen, sulfur and the halogens we need something strong enough to break the covalent bonds. Hot sodium metal does this. It is a powerful reducing agent and pulls these atoms out of the molecule as ionic sodium salts. This method is called Lassaigne's test.
Na+C+NΔNaCN2Na+SΔNa2SNa+XΔNaX
X is Cl, Br or I. Notice that cyanide needs a carbon atom and a nitrogen atom from the same compound.
Sodium fusion extract (Lassaigne's extract)
The solution obtained by heating the compound with sodium in a fusion tube, plunging the red-hot tube into distilled water, boiling and filtering. It holds the ions CN−, S2−, SCN− and X− that the tests detect.
Preparing the sodium fusion extract in three steps.
How to prepare and use the sodium fusion extract
1Put a small piece of dry sodium in a fusion tube and melt it; add a little of the compound.
2Heat to red heat, then plunge the hot tube into distilled water in a china dish. The tube breaks.
3Boil the mixture for a few minutes and filter. The filtrate is the sodium fusion extract.
4Divide the extract into portions and do the test for each element on a separate portion (scheme below).
Lassaigne scheme: one extract, four lines of tests.
Nitrogen: Prussian blue
Boil a portion of the extract with iron(II) sulfate. Each Fe2+ ion collects six cyanide ions: 6CN−+Fe2+[Fe(CN)6]4− (hexacyanidoferrate(II)). Cool and add concentrated sulfuric acid. On heating with the acid, some Fe2+ is oxidised to Fe3+, and these ions join the complex to give a deep blue solid called Prussian blue: 3[Fe(CN)6]4−+4Fe3+Fe4[Fe(CN)6]3⋅xH2O.
In one formula unit of Prussian blue the four iron atoms outside the brackets are Fe3+ and the three inside are Fe2+. Check the charge: 4×(+3)+3×(−4)=0. A blue colour or precipitate shows nitrogen.
Sulfur: black lead sulfide or violet colour
Sulfur is present in the extract as S2−. Two tests are used. (a) Acidify a portion with acetic acid and add lead acetate. A black precipitate of lead sulfide forms: S2−+Pb2+PbS↓. Acetic acid is used, not sulfuric acid, because sulfuric acid would itself give a white precipitate of lead sulfate, PbSO4, with lead acetate. (b) Add sodium nitroprusside, Na2[Fe(CN)5NO], to another portion. A violet colour appears: S2−+[Fe(CN)5NO]2−[Fe(CN)5NOS]4−.
Nitrogen and sulfur together
If the compound has both nitrogen and sulfur, fusion with a small amount of sodium gives sodium thiocyanate: Na+C+N+SNaSCN. With iron(III) chloride the extract turns blood red: Fe3++SCN−[Fe(SCN)]2+. There is no free cyanide, so no Prussian blue forms. NCERT adds that with excess sodium the thiocyanate breaks down, NaSCN+2NaNaCN+Na2S, and then the separate tests for N and S work as usual.
Common mistake
A missing Prussian blue does not prove that nitrogen is absent when sulfur is present: the nitrogen may be locked up as thiocyanate. Always test the extract with FeCl3 as well. How much sodium counts as 'excess' is not the same in every book, so do not draw a firm conclusion from the amount of sodium alone.
Halogens: silver halide precipitates
Acidify a portion of the extract with nitric acid, boil, cool and add silver nitrate. A halide ion gives a silver halide precipitate: X−+Ag+AgX↓. The colour and the behaviour with ammonia solution tell which halogen it is.
Silver halides: colour and solubility in ammonia identify the halogen.
Halogen
Precipitate
Colour
In ammonia solution
Cl
AgCl
white
dissolves (forms [Ag(NH3)2]+)
Br
AgBr
pale yellow
sparingly soluble
I
AgI
yellow
insoluble
F
none
no precipitate
AgF is very soluble in water
Why boil with nitric acid first? If the compound also contains N or S, the extract holds CN− or S2−. With AgNO3 these give white AgCN or black Ag2S, which could be mistaken for a silver halide. Boiling with nitric acid removes them as gases: NaCN+HNO3NaNO3+HCN↑ and Na2S+2HNO32NaNO3+H2S↑. Nitric acid is chosen because nitrate gives no precipitate with Ag+.
Common mistake
Never acidify with hydrochloric acid before this test. HCl itself brings Cl−, so you would always see white AgCl. Fluorine cannot be found by this test at all, because AgF dissolves in water (about 1800 g in one litre of water at 25 C).
Phosphorus: yellow phosphomolybdate
Phosphorus is found as phosphate, its oxidised form. Heat the compound with an oxidising agent, sodium peroxide, so that P becomes phosphate. Boil with nitric acid to make phosphoric acid, then add ammonium molybdate. A yellow precipitate of ammonium phosphomolybdate shows phosphorus: Na3PO4+3HNO3H3PO4+3NaNO3 and H3PO4+12(NH4)2MoO4+21HNO3(NH4)3PO4⋅12MoO3↓+21NH4NO3+12H2O.
Test for phosphorus: oxidise to phosphate, then precipitate with ammonium molybdate.
Beilstein test, in one line
A clean copper wire is heated until coated with CuO, dipped in the compound and heated again. A green or blue-green flame (from a volatile copper halide) suggests a halogen. Its limits: fluorine is not detected, because copper fluoride is not volatile; and some halogen-free nitrogen compounds, for example urea and thiourea, are reported to give a green flame too. So it is only a quick hint; Lassaigne's test confirms.
Beilstein test: a quick hint for Cl, Br or I, never a proof.
Tip
Colour list to remember: N gives blue (Prussian blue); S gives black (PbS) or violet (nitroprusside); N with S gives blood red; Cl gives white, Br pale yellow, I yellow; P gives a yellow precipitate with molybdate.
Worked examples
Four compounds and the elements their extracts reveal. Read the formula first, then predict each test.
Worked example 1: reading three results
The sodium fusion extract of a compound gives Prussian blue with FeSO4 and H2SO4. With acetic acid and lead acetate it gives no black precipitate. After boiling with HNO3 it gives a white precipitate with AgNO3 that dissolves in dilute ammonia. Which elements, besides C and H, are present?
1Prussian blue means CN− was in the extract, so N is present.
2No black PbS means there was no S2−, so S is absent.
3White precipitate soluble in ammonia is AgCl, so Cl is present. The nitric acid boil removed cyanide, so AgCN is ruled out.
Answer: Nitrogen and chlorine; no sulfur.
Worked example 2: sulfanilic acid
Sulfanilic acid contains both N and S. Its extract, made with a small piece of sodium, gives no Prussian blue but turns blood red with FeCl3. Explain.
1With limited sodium, N and S leave the molecule together as SCN−, not as separate CN− and S2−.
2Without free CN−, [Fe(CN)6]4− cannot form, so there is no Prussian blue.
3SCN− with Fe3+ gives blood red [Fe(SCN)]2+.
Answer: The blood red colour shows N and S together, present as thiocyanate.
Worked example 3: nitrogen but no carbon
Hydrazine, H2N−NH2, contains nitrogen. Will its sodium fusion extract give Prussian blue?
1Prussian blue needs CN− in the extract.
2Cyanide forms only from a C atom and an N atom of the same compound: Na+C+NNaCN.
3Hydrazine has no carbon, so no cyanide forms.
Answer: No. A compound with nitrogen but no carbon fails Lassaigne's test for nitrogen.
Worked example 4: a careless student
A student fuses p-nitrotoluene (no halogen) with sodium, acidifies the extract with HCl and adds AgNO3. A white precipitate appears and she reports chlorine. Find two mistakes.
1HCl adds Cl− itself, so white AgCl would form from any extract. Nitric acid should be used.
2The compound contains N, so the extract has CN−. Without boiling with nitric acid, white AgCN can also form.
3Either mistake alone gives a false white precipitate.
Answer: Wrong acid (HCl instead of HNO3) and no boiling to remove cyanide; the report of chlorine is not valid.
Key points
Covalently bound atoms do not give ionic tests; convert them first into ions or simple molecules.
C and H: heat with dry CuO; CO2 turns lime water milky, water turns anhydrous CuSO4 blue.
Lassaigne's test: fusion with Na gives NaCN (needs C and N), Na2S, NaSCN and NaX in the extract.
N: Prussian blue Fe4[Fe(CN)6]3. S: black PbS with lead acetate, violet with nitroprusside. N and S with limited Na: blood red with Fe3+.
Halogens: boil with HNO3 (removes CN− and S2−), then AgNO3; AgCl white, soluble in ammonia; AgBr pale yellow, sparingly soluble; AgI yellow, insoluble. AgF is soluble.
P: oxidise with Na2O2, then ammonium molybdate in nitric acid gives yellow (NH4)3PO4⋅12MoO3.
Beilstein test: green flame suggests a halogen, but some N compounds also give it and F is missed.
Ten Detecting the elements: Lassaigne's test and others questions
Try each one on paper first, then open the answer and the worked solution under it.
1Starter
Compound P, shown below, is tested for elements. Which observation is NOT expected?
APrussian blue with the sodium fusion extract, FeSO4 and concentrated H2SO4
BA white precipitate with AgNO3 (after boiling the extract with HNO3) that dissolves in dilute ammonia
CA black precipitate when the extract is acidified with acetic acid and lead acetate is added
DLime water turns milky when P is heated with dry CuO
Show answer and solution
Answer: C
P is N-(4-chlorophenyl)acetamide, C8H8ClNO: it has C, H, N, O and Cl but no S. N gives Prussian blue; Cl gives white AgCl soluble in dilute ammonia; C gives CO2 and milky lime water. A black PbS precipitate needs S2−, which P cannot give. Answer: the black precipitate with lead acetate.
2Starter
Why is an organic compound fused with sodium metal before it is tested for nitrogen, sulfur and halogens?
ASodium oxidises the carbon of the compound to carbon dioxide
BSodium converts covalently bound N, S and X into ions such as CN−, S2− and X− that give ionic tests
CSodium makes the compound volatile so that it burns completely
DSodium removes oxygen from the compound so that the elements are set free as atoms
Show answer and solution
Answer: B
In an organic compound N, S and halogens are joined to carbon by covalent bonds, so they give no ionic tests. Hot sodium, a strong reducing agent, pulls them out as NaCN, Na2S and NaX, which dissolve in water as ions. Sodium is a reducing agent, not an oxidising agent, so the first option is wrong; it does not set the elements free as atoms. Answer: it converts them into ions.
3Starter
A sodium fusion extract is boiled with nitric acid, cooled and treated with silver nitrate. A pale yellow precipitate forms that dissolves only slightly in ammonia solution. Which halogen is present?
AIodine
BFluorine
CChlorine
DBromine
Show answer and solution
Answer: D
AgCl is white and dissolves readily in ammonia; AgI is yellow and does not dissolve; AgF is soluble and gives no precipitate. A pale yellow precipitate, sparingly soluble in ammonia, is AgBr. Answer: bromine.
4Starter, numerical answer
The Prussian blue formed in Lassaigne's test for nitrogen has the formula Fe4[Fe(CN)6]3. How many iron atoms in one formula unit are in the +3 oxidation state? Give the answer as an integer.
Numerical answer.
Show answer and solution
Answer: 4
Each [Fe(CN)6] unit is [Fe(CN)6]4− with iron(II) inside, made from Fe2+ and six CN− (+2−6=−4). Three such units carry 3×(−4)=−12. The four iron atoms outside must balance this: 4x=+12, so x=+3. They are the Fe3+ ions formed by oxidation of some Fe2+. Answer: 4.
5Exam level
Thioacetamide (shown) is fused with a small piece of sodium. The extract gives no Prussian blue, but it turns blood red with iron(III) chloride. Which ion in the extract causes the red colour?
ACN−
BS2−
CSCN−
D[Fe(CN)6]4−
Show answer and solution
Answer: C
Thioacetamide, C2H5NS, has both N and S. With limited sodium they leave together as NaSCN. SCN− with Fe3+ gives blood red [Fe(SCN)]2+. Free CN− would have given Prussian blue, which was not seen. S2− gives violet with nitroprusside, not red with Fe3+. [Fe(CN)6]4− is made only in the nitrogen test with FeSO4. Answer: SCN−.
6Exam level
4-Methylaniline contains no halogen. A student fuses it with sodium, adds dilute nitric acid to the extract in the cold and at once adds silver nitrate, without boiling. A white precipitate appears. What is it most likely to be?
AAgCl
BAgCN
CAg2S
DAgNO3 crystallising out
Show answer and solution
Answer: B
4-Methylaniline, C7H9N, has C and N, so the extract contains CN−. Without boiling, cyanide is not driven off as HCN, and Ag++CN−AgCN↓ gives a white solid. AgCl is impossible because there is no chlorine. Ag2S is black and needs sulfur. Silver nitrate is very soluble in water. Answer: AgCN. This is exactly why the extract is boiled with nitric acid first.
7Exam level
Which statement about the halogen tests on 4-fluorotoluene, CH3C6H4F, is correct?
AIts sodium fusion extract, boiled with HNO3, gives no precipitate with AgNO3, because AgF is soluble in water
BThe Beilstein test gives a green flame that identifies the halogen as fluorine
CIts extract, boiled with HNO3, gives a white precipitate of AgF that dissolves in ammonia
DIts extract gives a yellow precipitate with AgNO3 that is insoluble in ammonia
Show answer and solution
Answer: A
Fusion turns the F into F−, but AgF is very soluble in water (about 1800 g in one litre of water at 25 C), so no precipitate forms; a white precipitate would be AgCl and a yellow one AgI. The Beilstein test does not detect fluorine, and even for other halogens a green flame cannot say which halogen it is. Answer: no precipitate, because AgF is soluble.
8Exam level, numerical answer
Each compound below is fused with sodium and its extract is boiled with FeSO4 and then acidified with concentrated H2SO4. Count the compounds that give Prussian blue. (Rule: a compound gives Prussian blue when it contains both carbon and nitrogen; no compound in the list contains both nitrogen and sulfur.) Give the answer as an integer.
Numerical answer.
Show answer and solution
Answer: 4
Look for N in each formula. A pyridine (ring N): yes. B chlorobenzene: no N. C nitrobenzene: yes (a nitro group gives cyanide on fusion with sodium). D acetamide: yes. E thiophene: S but no N. F benzonitrile: yes. G ethyl benzoate: only C, H, O. Compounds giving Prussian blue: A, C, D and F. Answer: 4.
9Challenge
An unknown is one of the compounds I to IV. (1) Its sodium fusion extract gives Prussian blue. (2) The extract gives no black precipitate with acetic acid and lead acetate. (3) After boiling with HNO3, the extract gives a yellow precipitate with AgNO3 that does not dissolve even in concentrated ammonia. Which compound is it?
AI
BII
CIII
DIV
Show answer and solution
Answer: D
Clue 1: N present, so II (iodobenzene) and III (4-iodobenzenethiol) are out. Clue 2: no S, which agrees with removing III. Clue 3: a yellow precipitate insoluble in ammonia is AgI, so the halogen is iodine, not bromine. I (4-bromoaniline) would give pale yellow AgBr, sparingly soluble in ammonia. IV (4-iodoaniline, C6H6IN) fits all three clues. Answer: IV.
10Challenge, numerical answer
4-Chlorobenzamide (shown) is put through the eight tests below. How many of them give a positive result? (i) Heated with dry CuO, the gas turns lime water milky. (ii) Water from the same heating turns anhydrous CuSO4 blue. (iii) Extract with FeSO4, then concentrated H2SO4: Prussian blue. (iv) Extract with acetic acid and lead acetate: black precipitate. (v) Extract with sodium nitroprusside: violet colour. (vi) Extract boiled with HNO3, then AgNO3: white precipitate soluble in dilute ammonia. (vii) Compound heated with Na2O2, then boiled with HNO3 and ammonium molybdate: yellow precipitate. (viii) Beilstein test: green flame. Give the answer as an integer.
Numerical answer.
Show answer and solution
Answer: 5
The formula is C7H6ClNO: C, H, N, O and Cl; no S and no P. (i) C present: positive. (ii) H present: positive. (iii) C and N present, so CN− forms: positive. (iv) No S: negative. (v) No S: negative. (vi) Cl gives white AgCl, soluble in dilute ammonia: positive. (vii) No P: negative. (viii) Cl gives a volatile copper halide: positive. Positive tests: i, ii, iii, vi and viii. Answer: 5.