Let the cost of 1 dozen pencils, 1 dozen pens and 1 dozen erasers be Rs. x, Rs. y and Rs. z respectively.
According to the given conditions,
4x + 3y + 2z = 60
2x + 4y + 6z = 90 i.e. x + 2y + 3z = 45
6x + 2y + 3z = 70
Matrix form of the given system of equations is,
Applying R1 ↔ R2,
Applying R2 → R2 → 4R1, R3 → R3 → 6R1,
Applying R3 → R3 → 2R2,
Hence, the original matrix is reduced to an upper triangular matrix.
∴ By equality of matrices, we get
Substituting z = 8 in equation (ii), we get
y + 2(8) = 24
∴ y = 8
Substituting z = 8 and y = 8 in equation (i), we get
x + 2(8) + 3(8) = 45
∴ x + 16 + 24 = 45
∴ x = 5
∴ x = 5, y = 8, z = 8
Thus, the cost of pencils is Rs. 5 per dozen, that of pens is Rs. 8 per dozen and that of erasers is Rs. 8 per dozen.