Class 12 Maths, Worked in Full Past papersGet updates
Chapter 3 · Matrices

Exercise 3.2 · Q20: Bookshop stock value

Exercise 3.2Multiplication of matrices · Section 3.4
The question

The bookshop of a particular school has 10 dozen chemistry books, 8 dozen physics books, 10 dozen economics books. Their selling prices are ₹80, ₹60 and ₹40 each respectively. Find the total amount the bookshop will receive from selling all the books using matrix algebra.

Exam answer

Number of books: chemistry 10×12=12010\times12 = 120⁠, physics 8×12=968\times12 = 96⁠, economics 10×12=12010\times12 = 120⁠.

Let XX be the quantity matrix and PP the price matrix (₹ per book):

X=[12096120]X = \begin{bmatrix} 120 & 96 & 120 \end{bmatrix} P=[806040]P = \begin{bmatrix} 80 \\ 60 \\ 40 \end{bmatrix}

Total amount received =XP= XP⁠.

XP=[120⋅80+96⋅60+120⋅40]=[9600+5760+4800]=[20160]\begin{aligned} XP &= [120\cdot80 + 96\cdot60 \\ &\qquad + 120\cdot40] \\ &= [9600 + 5760 + 4800] \\ &= [20160] \end{aligned}

∴\therefore The bookshop will receive ₹20160.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Total money = (number of chemistry books × price) + (number of physics books × price) + (number of economics books × price). A sum of "quantity times price" over matching items is precisely a 1×31\times3 row matrix of quantities times a 3×13\times1 column matrix of prices, giving a 1×11\times1 matrix: the total in rupees.

Given, to find, and the plan
Given
Stock: 10 dozen chemistry, 8 dozen physics, 10 dozen economics books. Prices: ₹80, ₹60, ₹40 per book, in the same order.
To find
The total amount received when all the books are sold, using matrices.
Plan
(1) Convert dozens to numbers of books. (2) Build the quantity row matrix and the price column matrix, labelled. (3) Check orders and explain the product order. (4) Multiply. (5) Interpret, and check by a second route.

Basics you need

1A table becomes a matrix

List the items in a fixed order; quantities go along a row, prices down a column in the same order. Basics: rows, columns and addresses

2Row times column

A 1×n1\times n row times an n×1n\times1 column is the 1×11\times1 matrix [a1b1+⋯+anbn][a_1b_1 + \dots + a_nb_n]⁠. Basics: pair up, multiply, add

3Units must match

Prices are per book, so quantities must be counted in books, not dozens. One dozen = 12.

4Scalar multiples

kk times a matrix multiplies every entry by kk⁠, and (kX)P=k(XP)(kX)P = k(XP)⁠. Basics: adding only like with like

Solution

  1. Convert dozens to books

    Chemistry:10×12=120Physics:8×12=96Economics:10×12=120\begin{aligned} \text{Chemistry}&: 10 \times 12 = 120\\ \text{Physics}&: 8 \times 12 = 96\\ \text{Economics}&: 10 \times 12 = 120 \end{aligned}
    The prices are "each", that is, per book. Multiplying a number of dozens by a price per book would give an answer 12 times too small. So first count books.
  2. Build the two matrices

    Keep the order chemistry, physics, economics throughout.

    ChemistryPhysicsEconomics
    Number of books12096120
    Price per book (₹)806040

    Quantity matrix XX (one row; columns: chemistry, physics, economics) and price matrix PP (one column; rows: chemistry, physics, economics):

    X=[  12096120  ],P=[806040]X = \left[\;120 \quad 96 \quad 120\;\right], \quad P = \begin{bmatrix} 80 \\ 60 \\ 40 \end{bmatrix}
    The jj-th column of XX and the jj-th row of PP both refer to the same subject. That is what makes the row-times-column product pair each quantity with its own price.
    Row matrix 1×n1\times n⁠, column matrix n×1n\times1⁠. Lesson: types of matrices
  3. Check the orders and choose the product order

    XX is 1×31\times3 and PP is 3×13\times1⁠. The columns of XX (3) equal the rows of PP (3), so XPXP is defined and is 1×11\times1⁠.

    We want one number, the total. XPXP gives exactly one entry, the sum of the three "quantity × price" products. The other order, PXPX⁠, is 3×33\times3 and contains meaningless entries such as 80×9680 \times 96 (chemistry price times number of physics books).
    (1×3)(3×1)=1×1(1\times3)(3\times1) = 1\times1⁠. Lesson: matrix multiplication
  4. Multiply

    XP=[  12096120  ][806040]XP = \left[\;120 \quad 96 \quad 120\;\right]\begin{bmatrix} 80 \\ 60 \\ 40 \end{bmatrix}

    The single entry is row 1 of XX times column 1 of PP⁠:

    c11=120⋅80+96⋅60+120⋅40=9600+5760+4800=20160\begin{aligned} c_{11} &= 120\cdot80 + 96\cdot60 + 120\cdot40\\ &= 9600 + 5760 + 4800\\ &= 20160 \end{aligned}

    So XP=[20160]XP = [20160]⁠.

    chem. phys. econ. 120 96 120 books (1 × 3) ₹ each (3 × 1) 80 60 40 120 × 80 = 9600 96 × 60 = 5760 120 × 40 = 4800 sum = 20160
    Row times column: the jj-th quantity meets the jj-th price (same colour), the three products are added, and the sum is the single entry of the 1×11\times1 product.
    Each product is "books × rupees per book = rupees": 120×80=9600120 \times 80 = 9600 rupees from chemistry, 96×60=576096 \times 60 = 5760 from physics, 120×40=4800120 \times 40 = 4800 from economics. Adding them gives the total in rupees.
    Entry of a row-times-column product: multiply matching entries and add. Basics: pair up, multiply, add
  5. Interpret, and check by a second route

    In words: selling all the books brings in ₹20160.

    Second route, keeping dozens: the quantity matrix in books is 12 times the matrix in dozens, so

    XP=12[  10810  ][806040]XP = 12\left[\;10 \quad 8 \quad 10\;\right]\begin{bmatrix} 80 \\ 60 \\ 40 \end{bmatrix} =12 [10⋅80+8⋅60+10⋅40]=12 [800+480+400]=12 [1680]=[20160]\begin{aligned} &= 12\,[10\cdot80 + 8\cdot60 + 10\cdot40]\\ &= 12\,[800 + 480 + 400]\\ &= 12\,[1680] = [20160] \end{aligned}

    Both routes agree.

    Write DD for the row of dozens, with entries 10, 8, 10, so that X=12DX = 12D⁠. A scalar can be taken outside a product: (kD)P=k(DP)(kD)P = k(DP)⁠, because every term kdjpjk d_j p_j of the row-times-column sum carries the same factor kk⁠. The second route reaches the same answer, which confirms the dozen conversion. (₹1680 is what the shop would receive if it had only 10, 8 and 10 single books.)
Result

The bookshop will receive ₹20160 from selling all the books. (Textbook answer: ₹20160.)

Check it with numbers

Price per dozen: chemistry 12×80=96012 \times 80 = 960⁠, physics 12×60=72012 \times 60 = 720⁠, economics 12×40=48012 \times 40 = 480⁠. Then 10×960=960010 \times 960 = 9600⁠, 8×720=57608 \times 720 = 5760⁠, 10×480=480010 \times 480 = 4800⁠, and 9600+5760+4800=201609600 + 5760 + 4800 = 20160 ✓. Number of books in all: 120+96+120=336120 + 96 + 120 = 336⁠; the average price is 20160/336=6020160 / 336 = 60⁠, which lies between the lowest price 40 and the highest 80, as it must ✓.

Common mistakes
  1. Forgetting the dozens. Using 10, 8, 10 directly gives ₹1680, which is 12 times too small.
  2. Mismatched order. If the prices are listed in a different order from the quantities, the products pair the wrong items.
  3. Computing PXPX⁠. It is a 3×33\times3 matrix, not the total; only the 1×11\times1 product XPXP is the amount received.
  4. Leaving the answer as a matrix with no units. State it in words: ₹20160.
What to take away
  1. "Total = sum of quantity × price" is a row matrix times a column matrix, with the items in the same order in both.
  2. Get the units consistent (books, not dozens) before multiplying, or carry the factor 12 as a scalar.
  3. Say which product order you use and why: the order whose result has the size and meaning you want.

Every fact used, and where it comes from

FactUsed inSource
Row and column matricesStep 2Section 3.3 (i), (ii) (Lesson: types of matrices)
(1×3)(3×1)(1\times3)(3\times1) product is 1×11\times1⁠; entry = row times columnSteps 3, 4Section 3.4.5 (Lesson: multiplication)
(kD)P=k(DP)(kD)P = k(DP)Step 5Follows from the row-times-column rule of Section 3.4.5 (every term gains the factor kk⁠)
Quantities times prices as a matrix productWhole pageSection 3.4.5 (Meera and Nadeem) and Example 19
1 dozen = 12Step 1Definition of a dozen
All products and the totalSteps 1–5, CheckRecomputed in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →