Question
Question: A shopkeeper has three varieties of pens A, B and C. Meenu purchased 1 pen of each variety for a tot...
A shopkeeper has three varieties of pens A, B and C. Meenu purchased 1 pen of each variety for a total of Rs. 21. Jeen 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 the matrix method, find the cost of each pen.
Solution
Here, first we will convert the given three statements into linear equation form. Then, we will convert this equation into matrix form i.e. given as a1 a2 a3 b1b2b3c1c2c3x y x =C1 C2 C3 where x, y, z are variables and C1, C2, C3 are constant terms. Then we will apply the row transformation method in such a way that we will get three equations at the end in which all the 3 variables are there, only 2 variables are there and only one variable is there. Thus, solving those equations we will get an answer.
Complete step-by-step answer:
Here, we will first convert the given statement in linear equation form. It is given that Meenu purchased 1 pen of all the three varieties for Rs. 21. So, we can write it as
1A+1B+1C=21 …………………………..(1)
Similarly, Jeen purchased 4 pens of A variety, 3 pens of B variety and 2 pens of C variety for Rs. 60. So, in equation form we can write it as
4A+3B+2C=60 ……………………………..(2)
Also, Shikha purchased 6 pens of A variety, 2 pens of B variety and 3 pens of C variety for Rs. 70. So, we will write it as
6A+2B+3C=70 ……………………………….(3)
Now, we will write this coefficient of all three equations in matrix form i.e. a1 a2 a3 b1b2b3c1c2c3x y x =C1 C2 C3 where x, y, z are variables and C1, C2, C3 are constant terms.
We will fill the first matrix with coefficients of the variables A, B and C. Second matrix we will fill as A, B and C. Then in the third matrix, we will fill in the constant terms from the equations formed.
From equations 1, 2 and 3, we can write matrix as
1 4 6 132123A B C =21 60 70 ………………………….(4)
Here, we have to find values for A, B and C. So, for this we will use a row transformation method. We have to perform operations like addition, subtraction, multiplication, or division to make any of the coefficients equals to zero so it can be easier to solve.
So, here we are performing operation on Row2 i.e. Row2=Row2−4Row1 . So, here we will multiply row1 with 4 and subtract it from row 2. So, be doing this we will get matrix as
1 4−4 6 13−4212−43A B C =21 60−84 70
1 0 6 1−121−23A B C =21 −24 70
Same way, we are performing operation on Row3 i.e. Row3=Row3−6Row1 . So, here we will multiply row1 with 6 and subtract it from row 3. So, be doing this we will get matrix as
1 0 6−6 1−12−61−23−6A B C =21 −24 70−126