We look at the typical firm making economic profits or losses in a market. Supply shifts in the long run when firms enter, attracted to the profits, or leave the market, discouraged by losses.