Exercise 3.2 · Q20: Bookshop stock value
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.
Number of books: chemistry , physics , economics .
Let be the quantity matrix and the price matrix (₹ per book):
Total amount received .
The bookshop will receive ₹20160.
Want the reason behind every step, the basics and the checks?
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 row matrix of quantities times a column matrix of prices, giving a matrix: the total in rupees.
- 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
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
A row times an column is the matrix . Basics: pair up, multiply, add
Prices are per book, so quantities must be counted in books, not dozens. One dozen = 12.
times a matrix multiplies every entry by , and . Basics: adding only like with like
Solution
Convert dozens to books
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.Build the two matrices
Keep the order chemistry, physics, economics throughout.
Chemistry Physics Economics Number of books 120 96 120 Price per book (₹) 80 60 40 Quantity matrix (one row; columns: chemistry, physics, economics) and price matrix (one column; rows: chemistry, physics, economics):
The -th column of and the -th row of both refer to the same subject. That is what makes the row-times-column product pair each quantity with its own price.Check the orders and choose the product order
is and is . The columns of (3) equal the rows of (3), so is defined and is .
We want one number, the total. gives exactly one entry, the sum of the three "quantity × price" products. The other order, , is and contains meaningless entries such as (chemistry price times number of physics books).Multiply
The single entry is row 1 of times column 1 of :
So .
Row times column: the -th quantity meets the -th price (same colour), the three products are added, and the sum is the single entry of the product. Each product is "books × rupees per book = rupees": rupees from chemistry, from physics, 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, addInterpret, 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
Both routes agree.
Write for the row of dozens, with entries 10, 8, 10, so that . A scalar can be taken outside a product: , because every term of the row-times-column sum carries the same factor . 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.)
The bookshop will receive ₹20160 from selling all the books. (Textbook answer: ₹20160.)
Price per dozen: chemistry , physics , economics . Then , , , and ✓. Number of books in all: ; the average price is , which lies between the lowest price 40 and the highest 80, as it must ✓.
- Forgetting the dozens. Using 10, 8, 10 directly gives ₹1680, which is 12 times too small.
- Mismatched order. If the prices are listed in a different order from the quantities, the products pair the wrong items.
- Computing . It is a matrix, not the total; only the product is the amount received.
- Leaving the answer as a matrix with no units. State it in words: ₹20160.
- "Total = sum of quantity × price" is a row matrix times a column matrix, with the items in the same order in both.
- Get the units consistent (books, not dozens) before multiplying, or carry the factor 12 as a scalar.
- 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
| Fact | Used in | Source |
|---|---|---|
| Row and column matrices | Step 2 | Section 3.3 (i), (ii) (Lesson: types of matrices) |
| product is ; entry = row times column | Steps 3, 4 | Section 3.4.5 (Lesson: multiplication) |
| Step 5 | Follows from the row-times-column rule of Section 3.4.5 (every term gains the factor ) | |
| Quantities times prices as a matrix product | Whole page | Section 3.4.5 (Meera and Nadeem) and Example 19 |
| 1 dozen = 12 | Step 1 | Definition of a dozen |
| All products and the total | Steps 1–5, Check | Recomputed in the site's verification script |
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 →