Question

Let M be an n x n matrix with each entry equal to either 0 or 1. Let mij denote the entry in row i and column j. A diago...

Let M be an n x n matrix with each entry equal to either 0 or 1. Let mij denote the entry in row i and column j. A diagonal entry is one of the form mii for some i.

Swapping rows i and j of the matrix M denotes the following action: we swap the values mik and mjk for k = 1,2, ... , n. Swapping two columns is defined analogously.
We say that M is rearrangeable if it is possible to swap some of the pairs of rows and some of the pairs of columns (in any sequence) so that, after all the swapping, all the diagonal entries of M are equal to 1.

(a) Give an example of a matrix M that is not rearrangeable, but for wbich at least one entry in each row and each column is equal to 1.
(b) Give a polynomial-time algorithm that determines whether a matrix M with 0-1 entries is rearrangeable.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

triawhose fst elemunt eovidur Ca) Lut anel the lent eaeh loment amel the they Yos re eaeh o ooO, 1 aeh elemant ard the lot elordite graph CP, a) f etieseamspming C) We drao bi wilk Lothe s P be the Let ties comadp ond.ing thu mntria the column of u mgrape hopert if y Nt that, wtry eonne tod to a tty Une* Please provide feedback if it clarifies your doubt.

Add a comment
Know the answer?
Add Answer to:
Let M be an n x n matrix with each entry equal to either 0 or 1. Let mij denote the entry in row i and column j. A diago...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT