Oedipus complex the Electra complex to describe a girl's daughter–mother competition for psychosexual possession of the father. In the phallic stage, a girl's Electra complex is her decisive psychodynamic experience in forming a discrete sexual identity (ego). Whereas a boy develops castration anxiety, a girl develops penis envy, for she perceives that she has been castrated previously (and missing the penis), and so forms resentment towards her own kind as inferior, while simultaneously striving to claim her father's penis through bearing a male child of her own. Furthermore, after the phallic stage, the girl's psychosexual development includes transferring her primary erogenous zone
Oedipus and the Sphinx pass. Failure means his own death and that of the besieged Thebans. The riddle was: "What walks on four feet in the morning, two in the afternoon and three at night?". Oedipus answered: "Man: as an infant, he crawls on all fours; as an adult, he walks on two legs and; in old age, he uses a walking stick". Oedipus was the first to answer the riddle correctly and, having heard Oedipus' answer, the Sphinx was astounded and inexplicably killed herself by throwing herself into the sea. Oedipus thereby won the freedom of the Thebans, the kingdom of that city