What Matrix is This? References for Structured Matrix

  • Context: Graduate 
  • Thread starter Thread starter patiobarbecue
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary
SUMMARY

This discussion focuses on the properties and references of structured matrices, specifically matrices A and B, as defined in the homework statement. Matrix A is a 6x5 binary matrix representing combinations of selections from two groups, while matrix B is an 8x8 binary matrix that illustrates a more complex structure. The discussion also explores the invertibility of the matrix product (A'A) and the singularity of (B'B), with Octave 3.2.3 used for calculations. The participants seek to identify whether these matrices are well-known and to derive patterns from their structures.

PREREQUISITES
  • Understanding of linear algebra concepts, specifically matrix operations.
  • Familiarity with matrix invertibility and singularity.
  • Knowledge of binary matrices and their applications in combinatorial problems.
  • Experience using Octave or similar numerical computing tools for matrix calculations.
NEXT STEPS
  • Research the properties of binary matrices in combinatorial optimization.
  • Learn about matrix factorization techniques and their applications in linear systems.
  • Explore the implications of matrix singularity in linear algebra.
  • Investigate the use of Octave for advanced matrix operations and visualizations.
USEFUL FOR

Mathematicians, data scientists, and engineers working with linear algebra, particularly those involved in combinatorial optimization and numerical analysis using tools like Octave.

patiobarbecue
Messages
10
Reaction score
0

Homework Statement



Are there references of the following structured matrix?

A =
1 0 1 0 0
1 0 0 1 0
1 0 0 0 1
0 1 1 0 0
0 1 0 1 0
0 1 0 0 1
;

Say we have group A=1,2; group B=1,2, 3; the rows of above matrix shows all possible selections: one element from each group. Hence A corresponding to the list:
11
12
13
21
22
23
;


B =
1 0 1 0 0 1 0 0
1 0 1 0 0 0 1 0
1 0 1 0 0 0 0 1
1 0 0 1 0 1 0 0
1 0 0 1 0 0 1 0
1 0 0 1 0 0 0 1
1 0 0 0 1 1 0 0
1 0 0 0 1 0 1 0
1 0 0 0 1 0 0 1
0 1 1 0 0 1 0 0
0 1 1 0 0 0 1 0
0 1 1 0 0 0 0 1
0 1 0 1 0 1 0 0
0 1 0 1 0 0 1 0
0 1 0 1 0 0 0 1
0 1 0 0 1 1 0 0
0 1 0 0 1 0 1 0
0 1 0 0 1 0 0 1
;

group A=1,2; B=1,2,3; C=1,2,3; and the above matrix indicating the list:
111
112
113
121
122
123
131
132
133
211
212
213
221
222
223
231
232
233
;


Homework Equations



Say the number of elements in a group and number of groups are arbitrary, then the linear system Ax=b, b not zero sometimes have solution; most time it is over determined, and a least square solution is x = (A'A)^-1A'b if (A'A) is invertible, when it is invertible?


The Attempt at a Solution



(A'A) is invertible and its inverse is visually appealing:

0.25000 0.50000 -0.25000 0.00000
-0.25000 0.00000 0.25000 0.50000
0.50000 -0.25000 0.50000 -0.25000
0.00000 0.25000 0.00000 0.25000

(B'B) is singular from Octave.

It seems that is a pattern, but it is pretty hard to derive it. Is this matrix a well known matrix?
 
Physics news on Phys.org
By rearrange rows of B, I got P, and M=P'*P seems to have a nice pattern, M is singular though. Is it obvious why it is singular?

# Created by Octave 3.2.3, Sat Jul 17 18:31:46 2010 EDT
# name: M
# type: matrix
# rows: 8
# columns: 8
9 0 3 3 3 3 3 3
0 9 3 3 3 3 3 3
3 3 6 0 0 2 2 2
3 3 0 6 0 2 2 2
3 3 0 0 6 2 2 2
3 3 2 2 2 6 0 0
3 3 2 2 2 0 6 0
3 3 2 2 2 0 0 6
# name: A
# type: matrix
# rows: 18
# columns: 8
1 0 1 0 0 1 0 0
1 0 1 0 0 0 1 0
1 0 1 0 0 0 0 1
1 0 0 1 0 1 0 0
1 0 0 1 0 0 1 0
1 0 0 1 0 0 0 1
1 0 0 0 1 1 0 0
1 0 0 0 1 0 1 0
1 0 0 0 1 0 0 1
0 1 1 0 0 1 0 0
0 1 1 0 0 0 1 0
0 1 1 0 0 0 0 1
0 1 0 1 0 1 0 0
0 1 0 1 0 0 1 0
0 1 0 1 0 0 0 1
0 1 0 0 1 1 0 0
0 1 0 0 1 0 1 0
0 1 0 0 1 0 0 1
# name: P
# type: matrix
# rows: 18
# columns: 8
1 0 1 0 0 1 0 0
1 0 1 0 0 0 1 0
1 0 1 0 0 0 0 1
1 0 0 1 0 0 0 1
1 0 0 1 0 0 1 0
1 0 0 1 0 1 0 0
1 0 0 0 1 1 0 0
1 0 0 0 1 0 1 0
1 0 0 0 1 0 0 1
0 1 1 0 0 0 0 1
0 1 1 0 0 0 1 0
0 1 1 0 0 1 0 0
0 1 0 1 0 1 0 0
0 1 0 1 0 0 1 0
0 1 0 1 0 0 0 1
0 1 0 0 1 0 0 1
0 1 0 0 1 0 1 0
0 1 0 0 1 1 0 0
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 4 ·
Replies
4
Views
5K
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K