The wave-particle duality of matter is dealt with in quantum mechanics by considering that, rather than a particle traveling along a definite path, it is distributed through space like a wave. The classical idea of a trajectory is thus replaced in quantum mechanics by a wave, which is defined by a wavefunction represented by ψ.

i.e. the  spatial distribution of a particle is represented by a wave, and the wavefunction is the mathematical function that describes this wave. The wavefunction contains all the information that would be available from the trajectory.

From this, it follows that it must be possible to write a function that describes the complete state of a system (as it is possible to write a wavefunction for all the individual particles that make up the system). A function that completely describes a system is also called a wavefunction. (By "completely describes" we mean that the function contains information about all the properties of the system that may be experimentally determined, for example at the simplest level the position and momentum of particles.)

It is a fundamental principle in quantum mechanics that the wavefunction of a system contains all the information about measurable physical properties of the system.

The wavefunction is the function ψ described as "a function that precisely describes the system of interest " in the section on principles of quantum mechanics on the previous page.

In general, a wavefunction is a function of the spatial coordinates of the particles that make up the system and of the time. If the way the system changes with time is not of interest, then this part of the wavefunction may usually be neglected. (It commonly proves possible to write the wavefunction as a product of a solely time-dependent part and a time-independent part.)

 The wavefunction may also depend upon a property of the particles themselves known as their spin, but discussion of this will be left till later.

Although, as we have said, it is theoretically possible to write a wavefunction for any system, the function rapidly becomes exceedingly complicated. It will thus normally be the case that a fully written out wavefunction will only be encountered for very simple systems.

One very important use of the wavefunction comes from the Born interpretation, which derives information about the location of a particle from its wavefunction.

Quite simply, it states that the square modulus of the wavefunction, |Ψ|2 , at any given point is proportional to the probability of finding the particle at that point.  (The quantity |ψ|2 is thus a probability density.)

This is simply illustrated in a 1-dimensional situation, when we can state that if the wavefunction of a particle has a value ψ at the point x, then the probability of finding the particle between x and x + dx is proportional to |ψ|2 dx . Thus the probability of finding the particle between two points a and b is proportional to the integral of the square modulus of the wavefunction, evaluated between limits of a and b: