Example
The cookie factory's production function is `q \left( c, s \right) = K L^2`. The marginal rate of technical substitution is
$$ MRTS = - \frac{MP_L\left( K, L\right)}{MP_K \left( K, L \right)} = - \frac{2 K L}{L^2} = -\frac{2 K}{L} $$Question
The production function is `q (K, L) = K^{71} L^{31}`.
Calculate the marginal rate of technical substitution in function of K and L.
The marginal product of labor is
$$
MP_L = \frac{dq(K, L)}{dL} = 31 K^{71} L^{31 - 1} = 31 K^{71} L^{30}
$$
The marginal product of capital is
$$
MP_K = \frac{dq(K,L)}{dK} = 71 K^{71 - 1} L^{31} = 71 K^{70} L^{31}
$$
Therefore, the marginal rate of technical substitution is
$$
MRTS = - \frac{MP_L}{MP_K} = - \frac{31 K^71 L^{30}}{71 K^70 L^31} = - \frac{31 K}{71 L}
$$