Perfect Competition Econ Question

Does a market that is in perfect competition still have a perfectly elastic aggregate demand curve(horizontal) for the industry or is it just firm specific? Thanks in advance

I think that aggregate demand is not necessarily perfectly elastic. It could be - depending on the good - but that is not the point. In perfect competition, each single firm faces a horizontal demand curve as competition is fierce and competitiors are offering the good at the same price. everyone is a price taker. if one firm increases their prices, buyers will simply go and buy from the other firms. however, think about what would happen, if firms were to illegally set the price higher (collusion)? then, it would be like having only one firm. so, aggregate demand curves do not have to be horizontal even though every single company faces a horizontal curve. that is how I understood it.

Perfect competition has horizontal demand curve for the firm, and downward sloping aggregate demand curve for the industry. The level at which the firm horizontal demand curve hits the price is determined by the where the aggregate demand and aggregate suppy intersect.

Thanks miu that makes sense.