# Marginal rate of substitution

In economics, the marginal rate of substitution is the rate at which a consumer is ready to give up one good in exchange for another good while maintaining the same level of utility. At consumption levels, our marginal rates of substitution are identical.

## Marginal rate of substitution as the slope of indifference curve

Under the standard assumption of neoclassical economics that goods and services are continuously divisible, the marginal rates of substitution will be the same regardless of the direction of exchange, and will correspond to the slope of an indifference curve (more precisely, to the slope multiplied by -1) passing through the consumption bundle in question, at that point: mathematically, it is the implicit derivative. MRS of X for Y is the amount of Y for which a consumer is willing to exchange X locally. The MRS is different at each point along the indifference curve thus it is important to keep locally in the definition. Further on this assumption, or otherwise on the assumption that utility is quantified, the marginal rate of substitution of good or service X for good or service Y (MRSxy) is also equivalent to the marginal utility of X over the marginal utility of Y. Formally,

$MRS_{xy}=-m_\mathrm{indif}=-(dy/dx) \,$
$MRS_{xy}=MU_x/MU_y \,$

It is important to note that when comparing bundles of goods X and Y that give a constant utility (points along an indifference curve), the marginal utility of X is measured in terms of units of Y that is being given up.

For example, if the MRSxy = 2, the consumer will give up 2 units of Y to obtain 1 additional unit of X.

As one moves down a (standardly convex) indifference curve, the marginal rate of substitution decreases (as measured by the absolute value of the slope of the indifference curve, which decreases). This is known as the law of diminishing marginal rate of substitution.

Since the indifference curve is convex with respect to the origin and we have defined the MRS as the negative slope of the indifference curve,

$\ MRS_{xy} \ge 0$

## Simple mathematical analysis

Further information: Implicit differentiation

Assume the consumer utility function is defined by $U(x,y)$, where U is consumer utility, x and y are goods. Then the marginal rate of substitution can be computed via partial differentiation, as follows.

Also, note that:

$\ MU_x=\partial U/\partial x$
$\ MU_y=\partial U/\partial y$

where $\ MU_x$ is the marginal utility with respect to good x and $\ MU_y$ is the marginal utility with respect to good y.

By taking the total differential of the utility function equation, we obtain the following results:

$\ dU=(\partial U/\partial x)dx + (\partial U/\partial y)dy$, or substituting from above,
$\ dU= MU_xdx + MU_ydy$, or, without loss of generality, the total derivative of the utility function with respect to good x,
$\frac{dU}{dx}= MU_x\frac{dx}{dx}+ MU_y\frac{dy}{dx}$, that is,
$\frac{dU}{dx}= MU_x + MU_y\frac{dy}{dx}$.

Through any point on the indifference curve, dU/dx = 0, because U = c, where c is a constant. It follows from the above equation that:

$0 = MU_x + MU_y\frac{dy}{dx}$, or rearranging
$-\frac{dy}{dx} = \frac{MU_x}{MU_y}$

The marginal rate of substitution is defined by minus the slope of the indifference curve at whichever commodity bundle quantities are of interest. That turns out to equal the ratio of the marginal utilities:

$\ MRS_{xy}=MU_x/MU_y.\,$.

When consumers maximize utility with respect to a budget constraint, the indifference curve is tangent to the budget line, therefore, with m representing slope:

$\ m_\mathrm{indif}=m_\mathrm{budget}$
$\ -(MRS_{xy})=-(P_x/P_y)$
$\ MRS_{xy}=P_x/P_y$

Therefore, when the consumer is choosing his utility maximized market basket on his budget line,

$\ MU_x/MU_y=P_x/P_y$
$\ MU_x/P_x=MU_y/P_y$

This important result tells us that utility is maximized when the consumer's budget is allocated so that the marginal utility per unit of money spent is equal for each good. If this equality did not hold, the consumer could increase his/her utility by cutting spending on the good with lower marginal utility per unit of money and increase spending on the other good.