The shock of seeing and hearing his father's ghost made him feel almost mad, and for fear that his uncle might notice that he was not himself, he determined to hide his mad longing for revenge under a pretended madness in other matters.
And when he met Ophelia, who loved him--and to whom he had given gifts, and letters, and many loving words--he behaved so wildly to her, that she could not but think him mad. For she loved him so that she could not believe he would be as cruel as this, unless he were quite mad. So she told her father, and showed him a pretty letter from Hamlet. And in the letter was much folly, and this pretty verse--
“Doubt that the stars are fire;
Doubt that the sun doth move;
Doubt truth to be a liar;
But never doubt I love.”
And from that time everyone believed that the cause of Hamlet's supposed madness was love.
Poor Hamlet was very unhappy. He longed to obey his father's ghost--and yet he was too gentle and kindly to wish to kill another man, even his father's murderer. And sometimes he wondered whether, after all, the ghost spoke truly.
Just at this time some actors came to the Court, and Hamlet ordered them to perform a certain play before the King and Queen. Now, this play was the story of a man who had been murdered in his garden by a near relation, who afterwards married the dead man's wife.
You may imagine the feelings of the wicked King, as he sat on his throne, with the Queen beside him and all his Court around, and saw, acted on the stage, the very wickedness that he had himself done. And when, in the play, the wicked relation poured poison into the ear of the sleeping man, the wicked Claudius suddenly rose, and staggered from the room--the Queen and others following.
Then said Hamlet to his friends--
“Now I am sure the ghost spoke true. For if Claudius had not done this murder, he could not have been so distressed to see it in a play.”
Now the Queen sent for Hamlet, by the King's desire, to scold him for his conduct during the play, and for other matters; and Claudius, wishing to know exactly what happened, told old Polonius to hide himself behind the hangings in the Queen's room. And as they talked, the Queen got frightened at Hamlet's rough, strange words, and cried for help, and Polonius behind the curtain cried out too. Hamlet, thinking it was the King who was hidden there, thrust with his sword at the hangings, and killed, not the King, but poor old Polonius.