Generating functions and counting symmetric (0,1) matrices

Authors

DOI:

https://doi.org/10.14393/BEJOM-v7-2026-77771

Keywords:

Combinatorics, generating function, matrices, counting, number theory

Abstract

In this work we will present an original solution to the problem: how many symmetric (0,1) matrices (whose entries are all equal to 0 or 1) of order n can be constructed with the additional constraint that the sum of the elements of any row is fixed for each integer 0, 1, 2, . . . , n as for example:

How many symmetric (0,1) matrices of order 5 can be constructed such that the sum of the elements in any row is equal to 2?
• How many symmetric (0,1) matrices of order 4 can be constructed such that s(1) = 2, s(2) =(3) = 3 and s(4) = 4, where s(i) indicates the sum of the elements of row i?
The strategy for solving this problem involves the use of generating functions, an extremely important tool with diverse applications, but little studied in undergraduate courses in mathematics and exact sciences. In this sense, this text aims to offer an introduction to this tool through several examples, including the problem of symmetric matrices, whose solution can be modeled by a generating function of n variables with polynomial expansion in which the coefficient of x1^{t1}...xn^{tn}, ti ∈ {0, 1, 2, . . . , n} expresses the number of matrices in which the sum of row i is equal to ti. This work was presented in the form of a minicourse, without publication in the proceedings, at the XI Bienal de Matem´atica, held in S˜ao Carlos-SP, between July 29 and August 2, 2024.

Downloads

Download data is not yet available.

Author Biographies

  • Carlos Eduardo de Oliveira, Federal Institute of São Paulo

    He works as a Mathematics professor at the Federal Institute of Education, Science, and Technology of São Paulo, Hortolândia campus, and currently holds the position of Coordinator of the Mathematics Degree Program. He holds a Bachelor's degree in Mathematics (2006), a Master's degree in Mathematics (2014), and a PhD in Applied Mathematics (2021), all from the State University of Campinas (UNICAMP). He has experience teaching Mathematics from elementary school to higher education and college preparatory courses. He also has experience developing technical materials and forming teams for Mathematics Olympiads.

  • José Plínio Oliveira Santos, State University of Campinas (UNICAMP)

    He holds a Bachelor's Degree in Mathematics from the State University of Campinas (1975), a Master's Degree in Mathematics from the State University of Campinas (1979), a PhD in Mathematics from the Pennsylvania State University (1991), a postdoctoral degree from the Pennsylvania State University (2008), a postdoctoral degree from the Pennsylvania State University (2000), and a postdoctoral degree from the Pennsylvania State University (2012). He is currently an Associate Professor at the State University of Campinas, a journal reviewer for Discrete Mathematics, a journal reviewer for Annals of Combinatorics, and a journal reviewer for the Journal of Combinatorial Theory. Series A. He has experience in Mathematics, with an emphasis on Combinatorics. Working mainly on the following topics: Partitions, Additive Number Theory.

References

Santos, J. P. O., Mello, M. P. e Murari, I. T. C. Introdução `a an´alise combinat´oria. 4ª ed. Ciˆencia Moderna, 2008. ISBN: 978-8-57-393634-6.

Grimaldi, R. P. Discrete and combinatorial Mathematics: an applied introduction. Cambridge University Press, 1976.

Stanley, R. P. Enumerative combinatorics. Vol. 1. Cambridge University Press, 1997.

Wilf, H. S. Generatingfunctionology. 3ª ed. A K Peters, Ltd., 2006.

Barvinok, A. “Matrices with prescribed row and column sums”. Em: Linear Algebra and its Applications 436 (2012), pp. 820–844.

Greenhill, C. e McKay, B. D. “Asymptotic enumeration of sparse nonnegative integer matrices with specified row and column sums”. Em: Advances in Applied Mathematics 41 (2008), pp. 459–481.

Mcleod, J. C. e McKay, B. D. “Asymptotic enumeration of symmetric integer matrices with uniform row sums”. Em: Journal of the Australian Mathematical Society 92 (2012), pp. 367–384.

Andrews, G. E. The theory of partitions. Cambridge University Press, 1998.

Santos, J. P. O. Introdução `a teoria dos n´umeros. 3ª ed. Rio de Janeiro: IMPA, 2020. ISBN: 978-8-52-440496-2.

Published

2026-03-31

How to Cite

DE OLIVEIRA, Carlos Eduardo; OLIVEIRA SANTOS, José Plínio. Generating functions and counting symmetric (0,1) matrices. BRAZILIAN ELECTRONIC JOURNAL OF MATHEMATICS, Uberlândia, Minas Gerais, v. 7, p. 1–15, 2026. DOI: 10.14393/BEJOM-v7-2026-77771. Disponível em: https://seer.ufu.br/index.php/BEJOM/article/view/77771. Acesso em: 5 apr. 2026.

Similar Articles

1-10 of 84

You may also start an advanced similarity search for this article.