The following derivation is based on chapter 14 of Simon's The Oxford Solid State Basics and on the report Atomic Displacement Parameter Nomenclature by Trueblood et al. (available under #External links). It is recommended to consult these sources for a more explicit discussion. Background on the quantum mechanics involved may be found in Sakurai and Napolitano's Modern Quantum Mechanics.