Regardless of the magnitudes of the shifts, when both the demand and supply curves decrease, the equilibrium quantity of pens must decrease. However, you cannot determine the change in the equilibrium price of pens without more information about the relative magnitudes of the shifts.
A decrease in the supply curve puts upward pressure on price, but a decrease in the demand curve puts downward pressure on price. In the first scenario, the magnitude of the supply shift is greater than that of demand, so the upward pressure on price must overpower the downward pressure on price, causing the equilibrium price to increase in this case. In the second scenario, the magnitude of the demand shift is greater than that of supply, so the downward pressure on price must overpower the upward pressure on price, causing the equilibrium price to decrease.
The lesson here is to be careful when drawing conclusions about changes in the equilibrium outcome when both demand and supply change at the same time. Depending on how large the shifts are relative to one another, changes in the equilibrium price or quantity will differ. The following table illustrates the effects of shifts in demand or supply on the equilibrium price and quantity when the magnitudes of the shifts are unknown:
Effects of Shifts in Demand or Supply on Equilibrium
P and Q unchanged | P ↓, Q ↑ | P ↑, Q ↓ |
P ↑, Q ↑ | P ?, Q ↑ | P ↑, Q ? |
P ↓, Q ↓ | P ↓, Q ? | P ?, Q ↓ |
(Note: The ↑ (up arrow) indicates that the equilibrium object increases; the ↓ (down arrow) indicates that it decreases; and the ? (question mark) indicates that the direction of the change is unknown.)
It's also possible for the undetermined equilibrium object not to change at all. If the magnitudes of the two shifts are equal, then the undetermined equilibrium object will remain constant.