Towards the end of the 19th century, it had been experimentally observed that when ultraviolet light was shone on a negativelycharged electroscope, the charged leaves fell closer together; the electroscope discharged. This was the beginnings of the path to understanding what we now call the photoelectric effect. When light shines on any metal surface, the surface can release electrons. If light were composed of waves, then eventually any wavelength of light should be able to build up enough energy to knock an electron free. However, scientists had discovered that only certain wavelengths worked with each metal and that electrons were either emitted instantaneously, or never emitted. They had also noticed that shorter wavelengths worked better than longer wavelengths. The equation for the photoelectric effect was first explained by Albert Einstein in 1905.
E_{photon} = Φ + KE_{max}
where

E_{photon} = hf
is the energy present in the incident photon,

Φ is the work function
of the metal surface off of which the photoelectrons are escaping (PE), and

KE_{max} is the maximum KE of the ejected photoelectrons
.
Notice that this equation is actually just a restatement of conservation of energy. There are two other patterns that also occurred:

The intensity of the light source affected the number of photoelectrons ejected from the surface since higher intensities permit more photons to strike the surface.

The frequency of the light source affected the kinetic energy of each photoelectron.
Since each photon can be absorbed by only ONE photoelectron (that is, there is a onetoone correspondence), the energy of the photons directly affects the kinetic energy of the released photoelectrons. The Experiment
The electrons with the maximum KE can be stopped from completing their journey across the photoelectric tube if there is a stopping potential setup to impede their progress. The formula that relates the KE of these photoelectrons to this stopping potential is
KE_{max} = qV_{stopping}
_{
}
where

V_{stopping} is the stopping potential, and

q is the magnitude of the charge of an electron, 1.6 x 10^{19} coulombs.
Often the photoelectric equation is illustrated on a graph of KE vs frequency. On this graph, the slope ALWAYS equals Planck's constant, 6.63 x 10^{34} J sec. It NEVER changes. All lines on this type of graph will be parallel, only differing in their yaxis intercept (f) and their xaxis intercept (the threshold frequency).
The threshold frequency is the lowest frequency, or longest wavelength, that permits photoelectrons to be ejected from the surface. At this frequency the photoelectrons have no extra KE (KE = 0) resulting in
0 =

hf  Φ

hf =

Φ

E_{photon} =

Φ

Note that red light has such a low frequency (energy) that it will never eject photoelectrons  that is, the energy of a red photon is less than the work function of the metal.
Since KE = qV_{s} (the stopping potential), we often rearrange the equation KE = hf  Φ producing a second alternative presentation of the results of a photoelectric experiment in the form of the
graph of V_{s} vs 1/λ
KE =

hf  Φ

qV_{s} =

hf  Φ

qV_{s} =

h(c/λ)  Φ

V_{s} =

hc/q (1/λ)  Φ/q

In this form,

the xaxis intercept would represent the reciprocal of the threshold wavelength,

the slope would equal the expression (hc/q), and

the yaxis intercept would represent the work function divided by the fundamental charge of an electron.
Albert Einstein received the Nobel Prize for Physics in 1921 for his discovery of the Law of the Photoelectric Effect, but he was unable to attend the Stockholm ceremonies. His work ended the controversy as to whether light had particle properties; that is, by invoking the quantum nature of light he was able to explain experimental results that his predecessors could not explain with just a wave model of light.
