Please read the following:

Chapter 9.1: Perfect Competition: A Model (eText)