Q.
The cost of 4kg onion, 3kg wheat and 2kg rice is ₹ 60 . The cost of 2kg onion, 4kg wheat and 6kg rice is ₹ 90 . The cost of 6kg onion, 2kg wheat and 3kg rice is ₹70. The costs (in ₹ ) of onion, wheat and rice per kilogram are respectively
Let the prices (per kg ) of onion, wheat and rice be ₹x, ₹y and ₹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 A=⎣⎡426342263⎦⎤,X=⎣⎡xyz⎦⎤ and B=⎣⎡609070⎦⎤
Here, ∣A∣=∣∣426342263∣∣ =4(12−12)−3(6−36)+2(4−24). =0+90−40=50=0
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 adj(A)=⎣⎡0−510300−20−201010⎦⎤′=⎣⎡030−20−501010−2010⎦⎤ ∴A−1=∣A∣1(adj(A)=501⎣⎡030−20−501010−2010⎦⎤
Now,X=A−1B⇒⎣⎡xyz⎦⎤=501⎣⎡30−200−450+700−51010−20⎦⎤⎣⎡609070⎦⎤ =501⎣⎡0−450+7001800+0−1400−1200+900+700⎦⎤ ⇒⎣⎡xyz⎦⎤=501⎣⎡250400400⎦⎤=⎣⎡588⎦⎤ ⇒⎣⎡xyz⎦⎤=⎣⎡588⎦⎤ ∴x=5,y=8 and z=8.
Hence, price of onion per kg is ₹5, price of wheat per kg is ₹ 8 and price of rice per kg is ₹8.