when two goods are complements their cross-price elasticity of demand is
Cross elasticity of demand In economics, the cross elasticity of demand or cross-price elasticity of demand measures the responsiveness of the quantity demanded for a good to a change in the price of another good, ceteris paribus. It is measured as the percentage change in quantity demanded for the first good that occurs in response to a percentage change in price of the second good. For example, if, in response to a 10% increase in the price of fuel, the demand for new cars that are fuel inefficient decreased by 20%, the cross elasticity of demand would be:cross body    − 20 %  10 %  = − 2  {\displaystyle {\frac {-20\%}{10\%}}=-2} . A negative cross elasticity denotes two products that are complements, while a positive cross elasticity denotes two substitute products. Assume products A and B are complements, meaning that an increase in the price for A accompanies a decrease in the quantity demanded for B. Therefore, if the price of product B decreases, the demand curve for product A shifts to the right reflecting an increase in A's demand, resulting in a negative value for the cross elasticity of demand. The exact opposite reasoning holds for substitutes.
Economics Theory and observation set out the conditions such that market prices of outputs and productive inputs select an allocation of factor inputs by comparative advantage, so that (relatively) low-cost inputs go to producing low-cost outputs. In the process, aggregate output may increase as a by-product or by design.[37] Such specialization of production creates opportunities for gains from trade whereby resource owners benefit from trade in the sale of one type of output for other, more highly valued goods. A measure of gains from trade is the increased income levels that trade may facilitate.[38]