The relation between Average revenue and Marginal revenue under perfect competition

The total revenue of a firm is equal to the total output multiplied by price. It is the total receipt of a firm from its sale. From the total receipts or revenues we derive Average and Marginal revenue.