Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2026-27 · Section E · 4 marks

Q38: Case study: fruit baskets, prices by the matrix inverse

The question

To celebrate their child's birthday, a family decided to distribute fruits among children in three orphanages. The fruit vendor packed three different types of baskets, according to the quantity required at each orphanage, details are given as follows:

Basket A contains 5 kg Apples, 10 kg Oranges and 5 kg Pomegranate

Basket B contains 10 kg Apples, 10 kg Oranges and 5kg Pomegranate

Basket C contains 8 kg Apples, 15 kg Oranges and 7kg Pomegranate

Cost of basket A, B and C are respectively ₹2750, ₹3500, and ₹4100.

Based on the given information, answer the following questions:

(i) Write the matrix form of the equations involved in this situation and find the adjoint of the coefficient matrix involved. (2 marks)

(ii) Using inverse of the matrix, calculate the price of each fruit per kg. (2 marks)

Exam answer

(i) Let the prices of 1 kg of apples, oranges and pomegranate be ₹ xx⁠, ₹ yy and ₹ zz respectively. Then

5x+10y+5z=275010x+10y+5z=35008x+15y+7z=4100\begin{aligned} 5x + 10y + 5z &= 2750 \\ 10x + 10y + 5z &= 3500 \\ 8x + 15y + 7z &= 4100 \end{aligned}
Why?

The cost of a basket is the sum of (kilograms of each fruit) ×\times (price per kg). Basket A has 5 kg apples, 10 kg oranges and 5 kg pomegranate, so it costs 5x+10y+5z5x + 10y + 5z⁠, which is ₹ 2750. Baskets B and C give the other two equations.

In the matrix form below, each row of A holds the coefficients of one equation, in the order x,y,zx, y, z⁠.

The matrix form is AX=BAX = B⁠, where

A=[5105101058157],A = \begin{bmatrix} 5 & 10 & 5 \\ 10 & 10 & 5 \\ 8 & 15 & 7 \end{bmatrix}, X=[xyz], B=[275035004100]X = \begin{bmatrix} x \\ y \\ z \end{bmatrix},\ B = \begin{bmatrix} 2750 \\ 3500 \\ 4100 \end{bmatrix} ∣A∣=5(70−75)−10(70−40)+5(150−80)=−25−300+350=25≠0\begin{aligned} |A| &= 5(70 - 75) - 10(70 - 40) \\ &\quad + 5(150 - 80) \\ &= -25 - 300 + 350 = 25 \ne 0 \end{aligned}
Why?

Expand along the first row, with the signs +,−,++, -, +⁠:

∣A∣=5∣105157∣−10∣10587∣+5∣1010815∣\begin{aligned} \lvert A\rvert &= 5\begin{vmatrix} 10 & 5 \\ 15 & 7 \end{vmatrix} - 10\begin{vmatrix} 10 & 5 \\ 8 & 7 \end{vmatrix} \\ &\quad + 5\begin{vmatrix} 10 & 10 \\ 8 & 15 \end{vmatrix} \end{aligned}

Each 2×22 \times 2 determinant is (top left)(bottom right) minus (top right)(bottom left):

∣105157∣=(10)(7)−(5)(15)=70−75=−5∣10587∣=(10)(7)−(5)(8)=70−40=30∣1010815∣=(10)(15)−(10)(8)=150−80=70\begin{aligned} \begin{vmatrix} 10 & 5 \\ 15 & 7 \end{vmatrix} &= (10)(7) - (5)(15) \\ &= 70 - 75 = -5 \\[4pt] \begin{vmatrix} 10 & 5 \\ 8 & 7 \end{vmatrix} &= (10)(7) - (5)(8) \\ &= 70 - 40 = 30 \\[4pt] \begin{vmatrix} 10 & 10 \\ 8 & 15 \end{vmatrix} &= (10)(15) - (10)(8) \\ &= 150 - 80 = 70 \end{aligned}

Multiply by the entries and their signs, then add:

5(−5)=−25−10(30)=−3005(70)=+350−25−300=−325−325+350=25\begin{aligned} 5(-5) &= -25 \\ -10(30) &= -300 \\ 5(70) &= +350 \\[4pt] -25 - 300 &= -325 \\ -325 + 350 &= 25 \end{aligned}

So the system is consistent and has a unique solution. The cofactors of A are

Why?

∣A∣≠0|A| \ne 0 means A−1A^{-1} exists, so X=A−1BX = A^{-1}B is the one and only solution.

A11=70−75=−5A12=−(70−40)=−30A13=150−80=70\begin{aligned} A_{11} &= 70 - 75 = -5 \\ A_{12} &= -(70 - 40) = -30 \\ A_{13} &= 150 - 80 = 70 \end{aligned} A21=−(70−75)=5A22=35−40=−5A23=−(75−80)=5\begin{aligned} A_{21} &= -(70 - 75) = 5 \\ A_{22} &= 35 - 40 = -5 \\ A_{23} &= -(75 - 80) = 5 \end{aligned} A31=50−50=0A32=−(25−50)=25A33=50−100=−50\begin{aligned} A_{31} &= 50 - 50 = 0 \\ A_{32} &= -(25 - 50) = 25 \\ A_{33} &= 50 - 100 = -50 \end{aligned}
Why?

The cofactor of the entry in row ii⁠, column jj is Aij=(−1)i+jMijA_{ij} = (-1)^{i + j}M_{ij}⁠. The minor MijM_{ij} is the determinant left after deleting that row and column. The sign is −- when i+ji + j is odd.

For example, A23A_{23}⁠: delete row 2 and column 3 of A. The minor is

∣510815∣=75−80=−5\begin{vmatrix} 5 & 10 \\ 8 & 15 \end{vmatrix} = 75 - 80 = -5

and 2+32 + 3 is odd, so A23=−(−5)=5A_{23} = -(-5) = 5⁠.

The signs (−1)i+j(-1)^{i + j} follow the pattern

[+−+−+−+−+]  on  A=[5105101058157]\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}\ \text{ on }\ A = \begin{bmatrix} 5 & 10 & 5 \\ 10 & 10 & 5 \\ 8 & 15 & 7 \end{bmatrix}

Row 1 (cover row 1 and one column each time):

A11=+∣105157∣=+((10)(7)−(5)(15))=+(70−75)=−5A12=−∣10587∣=−((10)(7)−(5)(8))=−(70−40)=−30A13=+∣1010815∣=+((10)(15)−(10)(8))=+(150−80)=70\begin{aligned} A_{11} &= +\begin{vmatrix} 10 & 5 \\ 15 & 7 \end{vmatrix} \\ &= +\big((10)(7) - (5)(15)\big) \\ &= +(70 - 75) = -5 \\[4pt] A_{12} &= -\begin{vmatrix} 10 & 5 \\ 8 & 7 \end{vmatrix} \\ &= -\big((10)(7) - (5)(8)\big) \\ &= -(70 - 40) = -30 \\[4pt] A_{13} &= +\begin{vmatrix} 10 & 10 \\ 8 & 15 \end{vmatrix} \\ &= +\big((10)(15) - (10)(8)\big) \\ &= +(150 - 80) = 70 \end{aligned}

Row 2 (cover row 2):

A21=−∣105157∣=−((10)(7)−(5)(15))=−(70−75)=−(−5)=5A22=+∣5587∣=+((5)(7)−(5)(8))=+(35−40)=−5A23=−∣510815∣=−((5)(15)−(10)(8))=−(75−80)=−(−5)=5\begin{aligned} A_{21} &= -\begin{vmatrix} 10 & 5 \\ 15 & 7 \end{vmatrix} \\ &= -\big((10)(7) - (5)(15)\big) \\ &= -(70 - 75) = -(-5) = 5 \\[4pt] A_{22} &= +\begin{vmatrix} 5 & 5 \\ 8 & 7 \end{vmatrix} \\ &= +\big((5)(7) - (5)(8)\big) \\ &= +(35 - 40) = -5 \\[4pt] A_{23} &= -\begin{vmatrix} 5 & 10 \\ 8 & 15 \end{vmatrix} \\ &= -\big((5)(15) - (10)(8)\big) \\ &= -(75 - 80) = -(-5) = 5 \end{aligned}

Row 3 (cover row 3):

A31=+∣105105∣=+((10)(5)−(5)(10))=+(50−50)=0A32=−∣55105∣=−((5)(5)−(5)(10))=−(25−50)=−(−25)=25A33=+∣5101010∣=+((5)(10)−(10)(10))=+(50−100)=−50\begin{aligned} A_{31} &= +\begin{vmatrix} 10 & 5 \\ 10 & 5 \end{vmatrix} \\ &= +\big((10)(5) - (5)(10)\big) \\ &= +(50 - 50) = 0 \\[4pt] A_{32} &= -\begin{vmatrix} 5 & 5 \\ 10 & 5 \end{vmatrix} \\ &= -\big((5)(5) - (5)(10)\big) \\ &= -(25 - 50) = -(-25) = 25 \\[4pt] A_{33} &= +\begin{vmatrix} 5 & 10 \\ 10 & 10 \end{vmatrix} \\ &= +\big((5)(10) - (10)(10)\big) \\ &= +(50 - 100) = -50 \end{aligned}
adj⁡A=[−550−30−525705−50]\operatorname{adj}A = \begin{bmatrix} -5 & 5 & 0 \\ -30 & -5 & 25 \\ 70 & 5 & -50 \end{bmatrix}
Why?

adj A is the transpose of the matrix of cofactors: the cofactors of row 1 of A, −5,−30,70-5, -30, 70⁠, become column 1 of adj A.

In the same way, the row 2 cofactors 5,−5,55, -5, 5 form column 2, and the row 3 cofactors 0,25,−500, 25, -50 form column 3.

Watch out: forgetting to transpose is the most common slip here.

(ii) A−1=1∣A∣adj⁡A=125adj⁡AA^{-1} = \frac{1}{|A|}\operatorname{adj}A = \frac{1}{25}\operatorname{adj}A⁠, so

Why?

From AX=BAX = B⁠, multiply both sides on the left by A−1A^{-1}⁠: A−1AX=A−1BA^{-1}AX = A^{-1}B⁠, and A−1A=IA^{-1}A = I⁠, so X=A−1BX = A^{-1}B⁠.

X=A−1B=125[−550−30−525705−50]×[275035004100]\begin{aligned} X &= A^{-1}B \\ &= \frac{1}{25}\begin{bmatrix} -5 & 5 & 0 \\ -30 & -5 & 25 \\ 70 & 5 & -50 \end{bmatrix} \\ &\qquad \times \begin{bmatrix} 2750 \\ 3500 \\ 4100 \end{bmatrix} \end{aligned}

Here (adj⁡A)B(\operatorname{adj}A)B is

[−13750+17500+0−82500−17500+102500192500+17500−205000]\begin{bmatrix} -13750 + 17500 + 0 \\ -82500 - 17500 + 102500 \\ 192500 + 17500 - 205000 \end{bmatrix} =[375025005000]= \begin{bmatrix} 3750 \\ 2500 \\ 5000 \end{bmatrix} ∴ X=125[375025005000]=[150100200]\therefore\ X = \frac{1}{25}\begin{bmatrix} 3750 \\ 2500 \\ 5000 \end{bmatrix} = \begin{bmatrix} 150 \\ 100 \\ 200 \end{bmatrix}
Why?

Each entry is a row of adj A times the column B. For example, row 1:

(−5)(2750)+5(3500)+0(4100)=−13750+17500=3750\begin{aligned} &(-5)(2750) + 5(3500) \\ &\quad + 0(4100) \\ &= -13750 + 17500 \\ &= 3750 \end{aligned}

Row 2, products first, then add two at a time:

(−30)(2750)=−82500(−5)(3500)=−17500(25)(4100)=102500−82500−17500=−100000−100000+102500=2500\begin{aligned} &(-30)(2750) = -82500 \\ &(-5)(3500) = -17500 \\ &(25)(4100) = 102500 \\[4pt] &-82500 - 17500 = -100000 \\ &-100000 + 102500 = 2500 \end{aligned}

Row 3:

(70)(2750)=192500(5)(3500)=17500(−50)(4100)=−205000192500+17500=210000210000−205000=5000\begin{aligned} &(70)(2750) = 192500 \\ &(5)(3500) = 17500 \\ &(-50)(4100) = -205000 \\[4pt] &192500 + 17500 = 210000 \\ &210000 - 205000 = 5000 \end{aligned}

Then divide each entry by 25: 3750÷25=1503750 \div 25 = 150⁠, 2500÷25=1002500 \div 25 = 100⁠, 5000÷25=2005000 \div 25 = 200⁠.

375025=150(25×150=3750)250025=100(25×100=2500)500025=200(25×200=5000)\begin{aligned} \frac{3750}{25} &= 150 \quad (25 \times 150 = 3750) \\ \frac{2500}{25} &= 100 \quad (25 \times 100 = 2500) \\ \frac{5000}{25} &= 200 \quad (25 \times 200 = 5000) \end{aligned}

⇒x=150\Rightarrow x = 150⁠, y=100y = 100⁠, z=200z = 200

Why?

Check in the first equation:

5(150)+10(100)+5(200)=750+1000+1000=2750\begin{aligned} &5(150) + 10(100) + 5(200) \\ &= 750 + 1000 + 1000 \\ &= 2750 \end{aligned}

It matches the cost of basket A.

The other two baskets check out too:

10(150)+10(100)+5(200)=1500+1000+1000=35008(150)+15(100)+7(200)=1200+1500+1400=4100\begin{aligned} &10(150) + 10(100) + 5(200) \\ &= 1500 + 1000 + 1000 = 3500 \\[4pt] &8(150) + 15(100) + 7(200) \\ &= 1200 + 1500 + 1400 = 4100 \end{aligned}

∴\therefore The prices of apples, oranges and pomegranate are ₹ 150 per kg, ₹ 100 per kg and ₹ 200 per kg respectively.

Where this comes from

Chapter 4, Determinants: System of equations by the matrix inverse.

Question type: Solve equations by the matrix method

How to spot it: click to see

Type 9. Solve equations by the matrix method

Spot it: "solve, using the matrix method", with two or three equations. A word problem (prices, three numbers) is the same: write the equations first.

Here: (i) Each basket gives one equation in the prices x,y,zx, y, z⁠: write AX=BAX = B⁠, find ∣A∣=25|A| = 25⁠, and the nine cofactors give adj⁡A\operatorname{adj}A⁠. (ii) Then X=125(adj⁡A)BX = \frac{1}{25}(\operatorname{adj}A)B gives ₹150, ₹100 and ₹200.

Also uses Chapter 3, Matrices.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →