Was the Virgin Mary a Virgin?

This ancient question boils down to the origin of the word 'virgin' in biblical texts, and the evolution of belief.

Christians widely believe that Jesus was born of Mary without sexual intercourse, and some believe she remained a virgin to her death. Where do these beliefs come from?