At a grocery shop, customer P buys 1 kg rice, 1 kg wheat and 1 kg dal for Rs. 200; customer Q buys 2 kg rice, 1 kg wheat and 3 kg dal for Rs. 460; customer R buys 1 kg rice, 2 kg wheat and 2 kg dal for Rs. 340. Solving these equations by the matrix method, the price of 1 kg of dal is
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → Rs. 100
Let the prices (in Rs. per kg) of rice, wheat and dal be x, y and z. The purchases give
\(x + y + z = 200\)
\(2x + y + 3z = 460\)
\(x + 2y + 2z = 340\)
In matrix form \(AX = B\), with
\( \displaystyle A = \begin{bmatrix} 1 & 1 & 1 \\ 2 & 1 & 3 \\ 1 & 2 & 2 \end{bmatrix}, \quad B = \begin{bmatrix} 200 \\ 460 \\ 340 \end{bmatrix} \)
\(|A| = 1(2 - 6) - 1(4 - 3) + 1(4 - 1) = -4 - 1 + 3 = -2\)
Since \(|A| \ne 0\), there is a unique solution \(X = A^{-1}B\). The adjoint of A (the transpose of its cofactor matrix) is
\( \displaystyle \mathrm{adj}\, A = \begin{bmatrix} -4 & 0 & 2 \\ -1 & 1 & -1 \\ 3 & -1 & -1 \end{bmatrix} \)
\( \displaystyle X = \frac{1}{-2}\begin{bmatrix} -4 & 0 & 2 \\ -1 & 1 & -1 \\ 3 & -1 & -1 \end{bmatrix}\begin{bmatrix} 200 \\ 460 \\ 340 \end{bmatrix} \)
\( \displaystyle X = \frac{1}{-2}\begin{bmatrix} -800 + 0 + 680 \\ -200 + 460 - 340 \\ 600 - 460 - 340 \end{bmatrix} \)
\( \displaystyle X = \frac{1}{-2}\begin{bmatrix} -120 \\ -80 \\ -200 \end{bmatrix} = \begin{bmatrix} 60 \\ 40 \\ 100 \end{bmatrix} \)
So rice costs Rs. 60, wheat Rs. 40 and dal Rs. 100 per kg. Check in the second equation: \(120 + 40 + 300 = 460\).