# Diferences between photoelectric effect and the Compton effect

Could anyone explain the differences between the photoelectric effect and the Compton effect in a complete but perceptible form?

Where as Compton Scattering occurs at high energies on free electrons, where the photon scatters off of an electron imparting some of it's momentum on to an electron, and since $c = f\lambda$ and $E = hf = \frac{hc}{\lambda}$ so after imparting its momentum the photon loses some of its energy since $h$ is a constant its frequency $f$ will decrease thus its wave length $\lambda$ will increase as it is inversely proportional to the frequency.