A school canteen manager records the daily purchase of three food items — Sandwich (S), Juice (J) and Salad (L) — over three days. Day 1: 2S + 1J + 1L = ₹170; Day 2: 1S + 2J + 1L = ₹160; Day 3: 1S + 1J + 2L = ₹150.
A school canteen manager records the daily purchase of three food items — Sandwich (S), Juice (J) and Salad (L) — over three days as follows:
• Day 1: 2 Sandwiches, 1 Juice and 1 Salad cost ₹ 170.
• Day 2: 1 Sandwich, 2 Juices and 1 Salad cost ₹ 160.
• Day 3: 1 Sandwich, 1 Juice and 2 Salads cost ₹ 150.
Let the price (in ₹) of one Sandwich, one Juice and one Salad be x, y and z respectively.
(i) Express the above situation as a matrix equation of the form AX = B.
(ii) Find |A|.
(iii) Using the matrix method (A⁻¹), find the price of each food item. OR (iii) If the canteen offers a 'Combo Deal' comprising 1 Sandwich, 1 Juice and 1 Salad, find the total cost of the Combo Deal.
Show answerHide answer
A = [2 1 1 / 1 2 1 / 1 1 2], X = [x / y / z], B = [170 / 160 / 150]
So the system is:
[2 1 1] [x] [170]
[1 2 1] × [y] = [160]
[1 1 2] [z] [150]
∴ AX = B. (1 mark)
(ii) Expanding |A| along R₁:
|A| = 2[(2)(2) − (1)(1)] − 1[(1)(2) − (1)(1)] + 1[(1)(1) − (2)(1)]
= 2[4 − 1] − 1[2 − 1] + 1[1 − 2]
= 2(3) − 1(1) + 1(−1)
= 6 − 1 − 1
∴ |A| = 4 ≠ 0, so A⁻¹ exists. (1 mark)
(iii) Finding A⁻¹:
Cofactors of A:
C₁₁ = +[(2)(2)−(1)(1)] = +3
C₁₂ = −[(1)(2)−(1)(1)] = −1
C₁₃ = +[(1)(1)−(2)(1)] = −1
C₂₁ = −[(1)(2)−(1)(1)] = −1
C₂₂ = +[(2)(2)−(1)(1)] = +3
C₂₃ = −[(2)(1)−(1)(1)] = −1
C₃₁ = +[(1)(1)−(2)(1)] = −1
C₃₂ = −[(2)(1)−(1)(1)] = −1
C₃₃ = +[(2)(2)−(1)(1)] = +3
adj A = (Cofactor matrix)ᵀ =
[ 3 −1 −1]
[−1 3 −1]
[−1 −1 3]
A⁻¹ = (1/|A|) adj A = (1/4) [ 3 −1 −1 / −1 3 −1 / −1 −1 3]
Now, X = A⁻¹B:
x = (1/4)[(3)(170) + (−1)(160) + (−1)(150)]
= (1/4)[510 − 160 − 150]
= (1/4)(200) = 50
y = (1/4)[(−1)(170) + (3)(160) + (−1)(150)]
= (1/4)[−170 + 480 − 150]
= (1/4)(160) = 40
z = (1/4)[(−1)(170) + (−1)(160) + (3)(150)]
= (1/4)[−170 − 160 + 450]
= (1/4)(120) = 30
∴ Price of one Sandwich = ₹ 50, one Juice = ₹ 40, one Salad = ₹ 30. (2 marks)
OR
(iii) From the values obtained above (x = 50, y = 40, z = 30):
Total cost of Combo Deal = x + y + z
= 50 + 40 + 30
∴ Total cost of the Combo Deal = ₹ 120. (2 marks)