Switchable mirrors(1-3) made of thin films of the hydrides of yttrium
(YHx), lanthanum (LaHx) or rare-earth metals exhibit spectacular chang
es in their optical properties as xis varied from 0 to 3. For example,
alpha-YHx<0.23 is a shiny, hexagonally close-packed metal, beta-YH2+/
-delta is a face-centred cubic metal with a blue tint in reflection an
d a small transparency window at red wavelengths, whereas hexagonally
close-packed gamma-YHx>2.85 is a yellowish transparent semiconductor.
Here we show that this concentration dependence of the optical propert
ies, coupled with the high mobility of hydrogen in metals, offers the
possibility of realtime visual observation of hydrogen migration in so
lids. We explore changes in the optical properties of yttrium films in
which hydrogen diffuses laterally owing to a large concentration grad
ient. The optical transmission profiles along the length of the film v
ary in such a way as to show that the formation of the various hydride
phases is diffusion-controlled We can also induce electromigration of
hydrogen, which diffuses towards the anode when a current flows throu
gh the film. Consequently hydrogen in insulating YH3-delta behaves as
a negative ion, in agreement with recent strong-electron-correlation t
heories(4,5). This ability to manipulate the hydrogen distribution (an
d thus the optical properties) electrically might be useful for practi
cal applications of these switchable mirrors.