You are on page 1of 2

Problem #1:

A= matrix indicating cost price for terry at 3 different restaurants.


10 7 10

[
A= 10 6 5
8 5 8 ]
B= matrix showing cost price for steve at 3 different restaurants
6 14 15
B= [ 5 12 15
4 10 12 ]
AB= matrix showing cost for both terry and steve at all places.

10 7 10 6 14 15
AB= [ 10 6 5
8 5 8 ][
* 5 12 15
4 10 12 ]
=
10∗6 +7∗5+10∗4 10∗14 +7∗12+ 10∗10 10∗15+ 7∗15+ 10∗12

[ 10∗6+ 6∗5+5∗4 10∗14 +6∗12+ 5∗10 10∗15+ 6∗15+ 5∗12


8∗6+5∗5+ 8∗4 8∗14 +5∗12+ 8∗10 8∗15+ 5∗15+ 8∗12 ]
135 324 375
AB=
[ 110 262 300
105 252 291 ]
Note: all prices are given in $
INFORMATION:
1- By looking at combined cost matrix it is clear that hotel Moe is
cheapest of all as well terry and steve eat almost 22 chicken
burritos, 45 steak and 75 veggie burritos in each hotel.

PROBLEM #2
A)SOLUTION:
IF A=[aij]m*n
AT= [bij]p*q

Where p= n
q=m
and bij= aji

b) solution:

dimension of A = m*n
T
dimension of A=p*q

dimension of AAT = m*q

c): solution
Cii can be any entry of principal diagonals where i=j

You might also like