I need some examples of dramatic irony in Act 1 and Act 2 of Hamlet.
Who are the characters involved in the irony? Is it sympathy or antipathy?
In the final scene of Act I, the Ghost appears to Hamlet and tells him that his uncle, Claudius, murdered Hamlet's father. Because the audience knows this, and no other character other than Hamlet knows it, this dramatic irony creates suspense and conflict.
In Act II, scene 1, Ophelia tells her father that Hamlet came to see her and acted very strangely. The audience knows from the previous scene that Hamlet is pretending to be insane, but Ophelia is unaware. This is another example of dramatic irony.
Sympathy and antipathy are opposite emotions. An audience that feels sympathy for a character likes him or her. When the character elicits feelings of antipathy in the audience, they dislike the character.
The absolute best example of dramatic irony in the first two acts of Hamlet is that the audience knows of Hamlet's desire to feign lunacy, while the other characters do not know of this. Dramatic irony, of course, is when the reader or audience knows something to be true that one or more of the other characters do not know to be true. In this case, Hamlet has made it expressly clear to us his desires:
As I perchance hereafter shall think meet / To put an antic disposition on. (1.5.171-172)
He has, therefore, told us that Hamlet himself will appear mentally disturbed even though he is most certainly not. Claudius, Polonius, Gertrude, and even Ophelia (not to mention Rozencrantz and Guildenstern) then spend Act 2 trying to spy on Hamlet in order to find out his true disposition. Hamlet and his audience know something significant that the above mentioned characters do not know. Although I have never heard dramatic irony delineated in the way you mention in your footnote, I would suggest that this is done out of antipathy here (as it is certainly not done out of sympathy).
give me a 3 sentence of dramatic