MO640 - Exercises - Matrix medians, Zanetti, Biller, and Meidanis 2013
Exercises marked with (*) require further reading/search beyond
the suggested texts.
2. Find matrix median approximation MA for:
A =
|
|
0 | 1 | 0 | 0 |
1 | 0 | 0 | 0 |
0 | 0 | 0 | 1 |
0 | 0 | 1 | 0 |
|
|
|
, |
B =
|
|
0 | 0 | 0 | 1 |
0 | 0 | 1 | 0 |
0 | 1 | 0 | 0 |
1 | 0 | 0 | 0 |
|
|
|
, |
C =
|
|
0 | 0 | 1 | 0 |
0 | 0 | 0 | 1 |
1 | 0 | 0 | 0 |
0 | 1 | 0 | 0 |
|
|
|
Is it a matrix median?
Answer:
We have:
Av =
|
|
0 | 1 | 0 | 0 |
1 | 0 | 0 | 0 |
0 | 0 | 0 | 1 |
0 | 0 | 1 | 0 |
|
|
|
|
=
|
|
Bv =
|
|
0 | 0 | 0 | 1 |
0 | 0 | 1 | 0 |
0 | 1 | 0 | 0 |
1 | 0 | 0 | 0 |
|
|
|
|
= |
|
Cv =
|
|
0 | 0 | 1 | 0 |
0 | 0 | 0 | 1 |
1 | 0 | 0 | 0 |
0 | 1 | 0 | 0 |
|
|
|
|
= |
|
V*(.ABC.) = {v | Av = Bv = Cv }; the solution is
v1 = v2 = v3 = v4.
In the same way, we can find the other spaces:
V*(.A.B.C.) = {0}
The median approximation MA can be found by solving:
MA
|
|
1 | 1 | 1 | 1 |
1 | -1 | 1 | -1 |
1 | 1 | -1 | -1 |
1 | -1 | -1 | 1 |
|
|
|
=
|
|
1 | -1 | -1 | -1 |
1 | 1 | -1 | 1 |
1 | -1 | 1 | 1 |
1 | 1 | 1 | -1 |
|
|
|
MA =
|
|
-0.5 | 0.5 | 0.5 | 0.5 |
0.5 | -0.5 | 0.5 | 0.5 |
0.5 | 0.5 | -0.5 | 0.5 |
0.5 | 0.5 | 0.5 | -0.5 |
|
|
|
MA is a median.
d(MA;A,B,C) = d(MA,A) + d(MA,B) + d(MA,C)
d(MA;A,B,C) = 1 + 1 + 1 = 3, which is the minimum value for the total score.
MO640 Home
© 2015 Joao Meidanis