A potential function in which the variable is a scalar quantity. The potential functions of gravitation described by Newton’s law of gravitation and of electrostatics are scalar potentials. In the case of a magnetic field the potential function is a vector quantity and is therefore called a vector potential.