The Theory of Firm Under Perfect Competition

In economics, we deal with some theoretical concepts that require us to make some unrealistic assumption. One question that we need to ask is how much should a firm produce? And the assumption we make is that the firm only cares about profit maximization and that the market has perfect competition. Let us see how this is done.