Let food needed be x kg of A, y kg of B and z kg of C. Therefore x kg of A contains 1 gram of nutrient P. So, x kg of A will contain x grams of nutrient P. Similarly, the amount of nutrient P in y kg of food B and z kg of food C are 3y and 4z grams respectively. So, total quantity of nutrient P in x kg of food A, y kg of food B and z kg of food C is x + 3y + 4z grams.
x + 3y + 4z = 8
Similarly,
2x + y + 2z = 5 [For Q]
and 5x + y + z = 7 [For R]
The above system of simultaneous linear equations can be written in matrix form as AX = B.
So, A–1 exists and system have unique solution.
Let Cij be the cofactor of aij in A = [aij]. Then,
C11 = –1; C12 = 8; C13 = –3 C21 = 1 ; C22 = –19; C23 = 14 C31 = 2 ; C32 = 6; C33 = –5
Putting value of X, A-1 and B in X = A-1B, we get
Thus, the mixture is formed by mixing 1 kg of each of the food A, B and C.