Giffen Goods
Giffen goods are goods that experience an increase in quantity demanded when price rises or conversely a decrease in quantity demanded when the price falls. That results in an upward sloping demand curve (see also how to calculate a linear demand function), which contradicts the law of demand. Giffen goods are usually staple goods that don’t have any close substitutes. An increase in the price of these goods often means consumers are left with less money to buy more expensive products, so they are forced to buy more of the staple goods (despite the higher price).
Although similar at first glance, Giffen goods should not be confused with Veblen goods. Veblen goods also experience increased demand as their price rises. However, they are luxury products (used mainly as status symbols) and not staple goods. Thus, in the case of Veblen goods the increase in quantity demanded is fueled by the price itself, because they are mainly bought for conspicuous consumption (and not out of necessity).
To give an example, let’s look at the demand for rice in an imaginary rural province in Asia. Most people in this area are farmers with low income. A large part of their diet consists of rice because it is cheap and they cannot afford to buy expensive food. With the money they have left, they supplement their diet with more expensive food such as meat or other animal products. Now when the price of rice increases, the poor farmers have less money left to buy more expensive food, so they may actually be forced to buy more rice instead.
In a Nutshell
The law of demand states that the quantity demanded of a good decreases as its price increases (and vice versa). While this holds true for most goods and services (i.e. ordinary goods), there are some exceptions to the rule (i.e. Giffen goods). Ordinary goods are goods that experience an increase in quantity demanded when the price falls or conversely a decrease in quantity demanded when the price rises. Meanwhile, Giffen goods are goods that experience an increase in quantity demanded when price rises or conversely a decrease in quantity demanded when the price falls.