What is the wisdom and purpose behind the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
Among the wisdoms and purposes of the 'aqīqah are the following:
First: Expressing joy at the blessing of Allah the Almighty, rejoicing in the newborn, and giving thanks to Allah for this gift. Allah the Almighty says (what means): "If you are grateful, I will surely increase you." [Ibrāhīm/7]
Second: Proclaiming and publicising the lineage (nasab) of the child — and the 'aqīqah serves as an appropriate and fitting means to this end.
Third: Gladdening the hearts of family members, relatives, friends, and the poor by gathering them together over a shared meal. And Allah Almighty knows best.
What is the ruling on shaving the head of the newborn?
It is desirable to shave the head of the newborn on the seventh day from delivery, and the weight of his/her hair is given in gold , or silver as charity.
Is it permissible for one who sacrifices on behalf of another, with the latter's permission, to eat from the sacrifice?
It is permissible for someone who sacrificed on behalf of another with their permission to eat from it with their permission, and they stand in their place (act as their representative) in distributing it.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.8/P.141): "And he—meaning the one sacrificing on his own behalf, provided he has not apostatized—has the right to eat from a voluntary sacrifice and his sacrificial gift; rather, it is recommended. As for an obligatory sacrifice, it is forbidden for him to eat from it, whether it was designated as such initially or as a liability in his dhimmah. And excluded by what has preceded is if he sacrifices on behalf of another, or if he apostatized, then it is not permissible for him to eat from it, just as it is absolutely impermissible to feed a disbeliever from it."(The text I found indicates the impermissibility of eating) ???
And it is stated in Hashiyat al-Jamal ‘ala Sharh al-Manhaj (Vol.5/P.262): "If a person offers a sacrifice on behalf of a living person with their permission, does he act as their representative in distributing it—on the grounds that permission to sacrifice is permission to distribute it—or does it depend on their explicit permission? This requires consideration, but the first view is not far-fetched." And Allah the Almighty knows best.
What is the ruling on sacrificing a castrated animal or one with a missing tail?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible to sacrifice a castrated sheep; as it has been established that the Prophet (peace be upon him) sacrificed:
"...two large, fat, horned, white-and-black, castrated rams (Mawju'ayn—meaning having crushed testicles)." [Narrated by Ibn Majah in his Sunan].
It is not permissible to sacrifice an animal that is missing its tail, or udder due to being cut off. This is in contrast to an animal that was naturally born without a tail, or udder; such an animal is valid for sacrifice. And Allah the Almighty knows best.