The law of supply states that, all else being equal, an increase in the price of a good or service will lead to an increase in the quantity supplied, and conversely, a decrease in price will result in a decrease in quantity supplied. This relationship emphasizes how producers respond to changes in market conditions, influencing their decisions based on potential profit opportunities.