Example
Alice buys chocolate (X) for `p_X = $4` and strawberries (Y) for `p_Y = $2`. Her budget is `I = $12`. Her utility is measured by `u \left( X, Y \right) = X Y^2`.
Step 1: MRS = MRT
$$ \begin{align*} MRS &= MRT \\ -\frac{MU_X}{MU_Y} &= -\frac{p_X}{p_Y} \\ -\frac{Y^2}{2XY} &= -\frac{2}{4} \\ - \frac{Y}{2X} &= - \frac{2}{4} \\ Y &= X \end{align*} $$Step 2: Plug back in the budget
$$ \begin{align*} Xp_X + Yp_Y &= I \\ 4X + 2Y &= 12 \\ 4X + 2X &= 12 \\ 6X &= 12 \\ X &= 2 \end{align*} $$Step 3: Conclude
Alice will buy 2 chocolates and 2 strawberries.
Question
Alice's utility function is `u \left( X, Y \right) = 10 X^{{70}} Y^{{8}}`..
.The price of chocolate (X) is `p_X = $7`, and the price of strawberry Y is `p_Y = $1`. Alice has in her pocket `I = $468`.
What quantities X and Y maximizes Alice's utility?
Alice will buy 60 chocolates and 48 strawberries.
Step 1: MRS = MRT
$$
\begin{align*}
MRS &= MRT \\
-\frac{MU_X}{MU_Y} &= -\frac{p_X}{p_Y} \\
\frac{10 \times 70 X^{69} Y^{8}}{10 \times 8 X^{70} Y^{7}} &= \frac{7}{1} \\
\frac{70 Y}{8 X} &= \frac{7}{1} \\
\frac{Y}{X} &= \frac{7 \times 8}{1 \times 70} \\
\frac{Y}{X} &= \frac{4}{5} \\
\frac{Y}{X} &= 0.8 \\
Y &= 0.8 X
\end{align*}
$$
Step 2: Plug back in the budget
$$
\begin{align*}
7 X + 1 Y = 468 \\
7 X + 1 \times 0.8 X = 468 \\
\left( 7 + 1 \times 0.8 \right) X = 468 \\
7.8 X = 468 \\
X = \frac{468}{7.8} \\
X = 60
\end{align*}
$$
Step 3: Conclude
`X=60` and `Y = 0.8 X = 48`