According to the law of supply, when the price of a commodity rises, its quantity supplied in the market increases, and when the price of a commodity falls, its quantity supplied decreases, other factors determining supply remaining the same. Thus, the quantity supplied of a commodity is directly or positively related to price. It is due to this direct relationship between price of a commodity and its quantity supplied that the supply curve of a commodity slopes upward to the right.