A detailed analysis of how pentatonic scales are derived from the modes of major, melodic, harmonic, and harmonic major scales.