Question: what is the relationship between frequency and energy inverse or direct?
Answer: Since the energy goes up as the frequency increases, the energy is directly proportional to the frequency. Because frequency and wavelength are related by a constant (c) the energy can also be written in terms of wavelength: E = h · c / λ. When the energy increases the wavelength decreases and vice versa.