This free interactive perfect competition diagram for Leaving Cert Economics shows how a price-taking firm sets output where MC = MR, and how supernormal profits or losses disappear in the long run as firms enter or leave.
Short-run profit/loss and long-run adjustment. Firms enter when AR > AC and leave when AR < AC until AR = min ATC.