Focusing Of Acoustic And Electromagnetic Waves: A Mathematical Analysis