Substitute and Complementary Goods

This Demonstration shows the dependence of market demand for a given good (indexed "0") as a reaction to price changes on the other market (indexed "1"), which can be a market for either substitute or complementary goods. Substitute goods are competitive, so an increase in the price of substitutes leads to an increase in demand, and a decrease in their prices reduces demand. The opposite holds true for complementary goods that are, by definition, consumed in conjunction with the given product. This topic is often explained using the cross-price elasticity concept, but it lacks an intuitive dynamic visualization and also hides the difference between demand and quantity of demand.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Substitute goods are those whose cross-price elasticity is positive:
where is the demand function for some good , and stands for the price of another good , which has some relation to good . Price and demand are both non-negative quantities by definition, so the sign of the expression is determined by the term [1].
On the contrary, for complementary goods the sign of the expression above is negative.
Set the price of some good (in the left plot) with the slider. Notice that a change in price does not influence the demand curve on the left market itself. (From the right-market point of view, one observes price change on the left market, perhaps without knowing the reason).
Depending on the mode chosen by the "goods" setter bar ("substitute" or "complementary"), the results are reflected in the right plot. Relevant shifts may be seen in the demand curve.
The other slider changes the slope of demand on the left market, so it does not affect the price (i.e. supply occasionally adjusts). If the price stays unchanged, we may not expect any change in demand on the right market due to the effect in question. In this rather artificial case, cross-price elasticity is undefined (because of the term ), and we observe no relationship between the markets. Nonetheless, in general, shift in demand should affect current prices.
[1] Wikipedia. "Substitute Good." (Dec 21, 2017) en.wikipedia.org/wiki/Substitute_good.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+