Please read the following:
Chapter 9.3: Perfect Competition in the Long Run (eText)