The classical scenario, just described, in which particles and waves are distinct phenomena, had to be significantly modified in the early decades of the 20th century (Gasiorowicz 1996). During this time period, physicists discovered, much to their surprise, that, under certain circumstances, waves act as particles, and particles act as waves. This bizarre behavior is known as wave-particle duality. For instance, the photoelectric effect (see Section 11.2) shows that electromagnetic waves sometimes act like swarms of massless particles called photons. Moreover, the phenomenon of electron diffraction by atomic lattices (see Section 11.3) implies that electrons sometimes possess wave-like properties. Wave-particle duality usually only manifests itself on atomic and sub-atomic lengthscales [i.e., on lengthscales less than, or of order, ; see Section 11.3.] The classical picture remains valid on significantly longer lengthscales. Thus, on macroscopic lengthscales, waves only act like waves, particles only act like particles, and there is no wave-particle duality. However, on atomic lengthscales, classical mechanics, which governs the macroscopic behavior of massive particles, and classical electrodynamics, which governs the macroscopic behavior of electromagnetic fields—neither of which take wave-particle duality into account—must be replaced by new theories (Dirac 1982). The theories in question are called quantum mechanics and quantum electrodynamics, respectively. In this chapter, we shall discuss a simple version of quantum mechanics in which the microscopic dynamics of massive particles (i.e., particles with finite mass) is described entirely in terms of wavefunctions. This particular version of quantum mechanics is known as wave mechanics.