Question
Mathematics Question on Determinants
A diet is to contain 30 units of vitamin A, 40 units of vitamin B and 20 units of vitamin C. Three types of foods F1, F2 and F3 are available. 1 unit of food F1 contains 3 units of vitamin A, 2 units of vitamin B, 1 unit of vitamin C. 1 unit of food F2 contains 1 unit of vitamin A, 2 units of vitamin B and 1 unit of vitamin C. 1 unit of food F3 contains 5 units of vitamin A, 3 units of vitamin B and 2 units of vitamin C. Represent the above situation algebraically and find the diet contains each types of food by using matrix method.
5,15,0
5,15,10
5,−15,0
−5,15,0
5,15,0
Solution
Let the diet contains x units of food F1,y units of food F2 and z units of food F3.
According to the given condition, we make the following equations
3x+y+5z=30,2x+2y+3z=40 and x+y+2z=20
These algebraic equations can be written in matrix form as 3 2 1121532x y z=30 40 20 i.e., AX=B...(i)
Now, ∣A∣=3 2 1121532=3(4−3)−1(4−3)+5(2−2)=3−1+0=2=0
∴ There exists a unique solution X=A−1B.
∴adj(A)=1 −1 031−2−714
∴A−1=∣A∣adj(A)=211 −1 031−2−714
⇒x y z=211 −1 031−2−71430 40 20
On solving, we get x=5, y=15 and z=0.