Under perfect competition, price is given to a firm as determined by the market forces of demand and supply in the industry. Constant price implies constant AR. Constant AR implies constant MR under perfect competition.
So, AR= MR as shown in the diagram: