The f-block elements are the two rows placed below the main body of the periodic table. The lanthanoids (Ce–Lu, following lanthanum) involve the filling of the $4f$ orbitals, and the actinoids (Th–Lr, following actinium) involve the filling of the $5f$ orbitals. They are also called the inner transition elements because the differentiating electron enters an inner $(n-2)f$ subshell.
Electronic configuration
The lanthanoids have the general configuration $[\text{Xe}]4f^{1-14}\,5d^{0-1}\,6s^2$, and the actinoids $[\text{Rn}]5f^{1-14}\,6d^{0-1}\,7s^2$. Because the $4f$ and $5d$ (or $5f$ and $6d$) levels are very close in energy, minor irregularities occur, but the dominant change along each row is the filling of the f subshell.
Oxidation states
The characteristic and most stable oxidation state of the lanthanoids is +3. A few show +2 or +4 when these lead to empty, half-filled or full f subshells (e.g. $\text{Ce}^{4+}$ is $4f^0$; $\text{Eu}^{2+}$ is $4f^7$). Actinoids show a much wider range of oxidation states (+3 to +6 and even +7), because the $5f$, $6d$ and $7s$ levels are similar in energy and the $5f$ electrons are more loosely held.
Lanthanoid contraction
Across the lanthanoid series the atomic and ionic radii steadily decrease. This is the lanthanoid contraction. As each electron is added to the inner $4f$ subshell, it shields the outer electrons from the nucleus very poorly (f orbitals are diffuse and non-penetrating). The effective nuclear charge felt by the outer electrons therefore rises steadily, pulling them inward.
Consequences of lanthanoid contraction
Its effects extend beyond the f-block: (i) the second (4d) and third (5d) transition series have almost the same atomic radii (e.g. Zr ≈ Hf, Nb ≈ Ta), which makes separating these pairs very difficult; (ii) the basicity of $\text{Ln(OH)}_3$ decreases from La to Lu as the cation gets smaller; (iii) the third-row transition metals have unusually high densities.
Colour and magnetic behaviour
Many lanthanoid ions are coloured, owing to f–f transitions; ions with $f^0$ ($\text{La}^{3+}$, $\text{Ce}^{4+}$) and $f^{14}$ ($\text{Lu}^{3+}$) are colourless. Most $\text{Ln}^{3+}$ ions with unpaired f electrons are paramagnetic, though the spin-only formula does not apply well because the orbital angular momentum of f electrons contributes significantly.
Lanthanoids versus actinoids
Both are mostly +3, electropositive and show contraction (the actinoid contraction is even more pronounced). But actinoids show a far greater variety of oxidation states, are all radioactive, and the elements beyond uranium are man-made (transuranium elements). Actinoid chemistry is more complex because the $5f$ electrons are less effectively shielded and more available for bonding than the $4f$ electrons of lanthanoids.