Shyam went to a shop and bought the following items: 2 kg potatoes at Rs.25 per kg, 2 litres of refined oil at Rs.160 per litre, 3.5 kg of rice at ₹40 per kg ,3 kg sugar at Rs. 45 per kg and 1 packet of toothpaste of Rs. 35 each. Prepare a bill of purchase for Shyam and also find what amount he will get back if he gave Rs.750 to the grocer.
Answers
Step-by-step explanation:
C
12
=(−1)
1+2
∣
∣
∣
∣
∣
∣
2
6
6
3
∣
∣
∣
∣
∣
∣
⇒C
12
=−(6−36)=30
C
13
=(−1)
1+3
∣
∣
∣
∣
∣
∣
2
6
4
2
∣
∣
∣
∣
∣
∣
⇒C
13
=4−24=−20
C
21
=(−1)
2+1
∣
∣
∣
∣
∣
∣
3
2
2
3
∣
∣
∣
∣
∣
∣
⇒C
21
=−(9−4)=−5
C
22
=(−1)
2+2
∣
∣
∣
∣
∣
∣
4
6
2
3
∣
∣
∣
∣
∣
∣
⇒C
22
=12−12=0
C
23
=(−1)
2+3
∣
∣
∣
∣
∣
∣
4
6
3
2
∣
∣
∣
∣
∣
∣
⇒C
23
=−(8−18)=10
C
31
=(−1)
3+1
∣
∣
∣
∣
∣
∣
3
4
2
6
∣
∣
∣
∣
∣
∣
⇒C
31
=18−8=10
C
32
=(−1)
3+2
∣
∣
∣
∣
∣
∣
4
2
2
6
∣
∣
∣
∣
∣
∣
⇒C
32
=−(24−4)=−20
C
33
=(−1)
3+3
∣
∣
∣
∣
∣
∣
4
2
3
4
∣
∣
∣
∣
∣
∣
⇒C
33
=16−6=10
Hence, the co-factor matrix is C=
⎣
⎢
⎢
⎡
0
−5
10
30
0
−20
−20
10
10
⎦
⎥
⎥
⎤
⇒adjA=C
T
=
⎣
⎢
⎢
⎡
0
30
−20
−5
0
10
10
−20
10
⎦
⎥
⎥
⎤
⇒A
−1
=
∣A∣
adjA
=
50
1
⎣
⎢
⎢
⎡
0
30
−20
−5
0
10
10
−20
10
⎦
⎥
⎥
⎤
Solution is given by
⎣
⎢
⎢
⎡
x
y
z
⎦
⎥
⎥
⎤
=
50
1
⎣
⎢
⎢
⎡
0
30
−20
−5
0
10
10
−20
10
⎦
⎥
⎥
⎤
⎣
⎢
⎢
⎡
60
90
70
⎦
⎥
⎥
⎤
⎣
⎢
⎢
⎡
x
y
z
⎦
⎥
⎥
⎤
=
50
1
⎣
⎢
⎢
⎡
0−450+700
1800+0−1400
−1200+900+700
⎦
⎥
⎥
⎤
⎣
⎢
⎢
⎡
x
y
z
⎦
⎥
⎥
⎤
=
50
1
⎣
⎢
⎢
⎡
250
400
400
⎦
⎥
⎥
⎤
⎣
⎢
⎢
⎡
x
y
z
⎦
⎥
⎥
⎤
=
⎣
⎢
⎢
⎡
5
8
8
⎦
⎥
⎥
⎤
Hence, x=5,y=8,z=8
So, the cost of 1 kg onion is Rs 5 , 1 kg wheat is Rs 8 , 1 kg rice is Rs 8.