As far as I know, if you have a car, analyzing would imply to separate the different pieces of the car and find out what are they made of. On the other hand, to investigate would be examining how the pieces go together. So, analyzing would be the "what" (the object)and investigating would be the "how" (the process). Sometimes they are synonyms.