This Demonstration illustrates the decomposition of a price change into the income and substitution effects. The utility function has a constant elasticity of substitution, which is represented by the slider for

. The Cobb-Douglas case is the limiting case as

tends to zero. In the Cobb-Douglas case (Snapshot 3), you can see that the income and substitution effects exactly balance each other. Decreasing

makes the goods more complementary and reduces the substitution effect. You can observe the relationship between the Hicksian and Marshallian demand curves for different elasticities of substitution.