Let the prices (per kg) of onion, wheat and rice be Rs. x, Rs. y and Rs. z, respectively then
4x + 3y + 2z = 60, 2x + 4y + 6z = 90, 6x + 2y + 3z = 70
This system of equations can be written as AX = B, where
Thus, A is non-singular. Therefore, its inverse exists. Therefore, the given system is consistent and has a unique solution given by X = A −1B
Cofactors of A are,
A11 = 12 − 12 = 0,
A12 = − (6 − 36) = 30,
A13 = 4 − 24 = − 20,
A21 = − (9 − 4) = − 5,
A22 = 12 − 12 = 0,
A23 = − (8 − 18) = 10,
A31 = (18 − 8) = 10,
A32 = − (24 − 4) = − 20,
A33 = 16 − 6 = 10