Combinatorics: Examples, Equations, and Practice Problems

Recent questions in Probability and combinatorics
PrecalculusAnswered question
arridsd9 arridsd9 2022-06-28

Let us be given a n × n matrix containing only zeros and ones.Now, the goal is to remove some 'ones' from the matrix (i.e. replace them with zeros) so that in each row and each column there is at most one 'one'. Of course, it is preferable that we leave as much 'ones' as it is possible (maximum is obviously n).
Now, let us define the following algorithm: if there is a 'one' which is all alone in a column or a row, leave it there, and replace all 'ones' in its column and row with zeros. We repeat the process as long as there are single 'ones' in rows or columns. If there are no single 'ones' left, we take the first row or column (first is counted from up (for rows) and from left (for columns)) containing two 'ones' (if there are no pairs, we go for the first triplet and so on). In that pair (or triplet, or ...) we leave the first 'one' intact (first is counted from the left for elements of row, from the top for elements of a column) and change all other 'ones' in the row and column of that first 'one' into zeros. Now, we check are there now any single 'ones' as defined above - if yes, we repeat that part of the algorithm, if no, we look for the first pair, triplet, etc. The algorithm ends when all 'ones' are singles both in their column and row.
Does this algorithm always give the maximum covering, i.e. does it always terminate with maximal number of 'ones' in the final matrix? In other words, can there be a matrix with a possible exclusion of some ones such that it ends up with n ones using some other exclusion scheme, while ending up with less than n 'ones' using the algorithm described above?

PrecalculusAnswered question
Taniyah Estrada Taniyah Estrada 2022-06-27

What are the uses of pascal's triangle in real life?

Even though it is always placed into the field of Precalculus, probability and combinatorics problems are more related to analytics and statistical information that many students implement as they are working with the accuracy of their research data. It is one of the reasons why finding good probability combinatorics examples is both complex and not. It is good to have a look through probability combinatorics questions as these will provide you with the answers and help understand how equations work and why possible outcomes are vital for understanding how the calculation takes place.