A shift in a demand or supply curve occurs when a good's quantity demanded or supplied changes even though price remains the same. For instance, if the price for a bottle of beer was $2 and the quantity of beer demanded increased from Q1 to Q2, then there would be a shift in the demand for beer.