Demand is "the willingness and ability of consumers to purchase a quantity of a good or service." Substitutes are "goods which can be used in place of each other," such as bus travel and taxi rides. Complements are goods that "are used in combination with each other," such as a bus journey and the snack or drink a passenger buys at the bus station. A decrease in the price of bus travel causes a movement along the demand curve for bus travel, ceteris paribus, meaning "other things being equal." Because bus travel is related to other goods, however, its lower price also changes how much of those goods consumers want to buy at every price, so it shifts their demand curves. This in turn changes their equilibrium price and output.
When the price of bus travel falls, the law of demand states that its quantity demanded will normally increase. Bus journeys are now cheaper compared with other ways of travelling, and passengers' real incomes rise slightly, so more people choose to travel by bus, and existing passengers make more journeys. This is a movement down the demand curve for bus travel, not a shift, because only the price of bus travel itself has changed. The greater number of bus journeys is what affects the markets for related goods.
Taxi rides are a substitute for bus travel, because passengers can use either to make the same journey. When bus fares fall, taxis become relatively more expensive, so some passengers switch from taxis to buses. At every taxi fare, consumers now want fewer taxi rides, so the demand for taxi rides decreases. In the left panel of Figure 1, demand shifts to the left, from D1 to D2. At the original price P1, there is now excess supply: taxi drivers are willing to provide more rides than passengers want. Drivers compete for the fewer passengers, so the price of taxi rides falls, and the market moves to a new equilibrium where D2 meets supply. The price falls from P1 to P2, and the quantity of taxi rides, the output of the taxi market, falls from Q1 to Q2. A fall in the price of bus travel therefore reduces both the price and the output of its substitutes.
Snacks and drinks sold at bus stations are a complement to bus travel, because passengers often buy them as part of their journey. When bus fares fall and more people travel by bus, more passengers pass through bus stations, so at every price the demand for snacks and drinks there increases. In the right panel of Figure 1, demand shifts to the right, from D1 to D2. At the original price P1, there is now excess demand, because sellers cannot meet all the extra purchases at that price. The shortage pushes the price up, which encourages sellers to supply more, until the market reaches a new equilibrium where D2 meets supply. The price rises from P1 to P2, and output rises from Q1 to Q2. A fall in the price of bus travel therefore increases both the price and the output of its complements, while it reduces the price and output of its substitutes.