A shopkeeper has 3 varieties of pens 'A', 'B' and 'C'. Meenu purchased 1 pen of each variety for a total of Rs 21. Jeevan purchased 4 pens of 'A' variety, 3 pens of 'B' variety and 2 pens of 'C' variety for Rs 60. While Shikha purchased 6 pens of 'A' variety. 2 pens of 'B' variety and 3 pens of 'C' variety for Rs 70. Using matrix method, find cost of each variety of pen.
Let the cost of each variety of pen be Rs x, Rs y and Rs z resp. Then,
&
This system of equation can be written in matrix form as follows:
or AX = B
where
Now,
so A-1 exists and the solution of the given system of equation is given by X =A-1B
Let Cij be the cofactor of aij in . Then,
so,
Hence the solution is given by
Hence the cost of each variety of pen are Rs 5, Rs 8 and Rs 8 respectively