Deprecated: Implicit conversion from float-string "1531740340.718" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1531740340.718" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1531740340.718" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1531740340.718" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1531740340.718" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1548988913.240" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1548988913.240" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1548988913.240" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1548988913.240" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1548988913.240" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1603230839.284" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1603230839.284" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1603230839.284" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1603230839.284" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1603230839.284" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1634054871.843" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1634054871.843" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1634054871.843" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1634054871.843" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1634054871.843" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1650695642.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1650695642.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1650695642.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1650695642.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1650695642.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1658000308.472" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1658000308.472" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1658000308.472" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1658000308.472" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1658000308.472" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1659787867.898" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1659787867.898" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1659787867.898" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1659787867.898" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1659787867.898" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1659812316.086" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1659812316.086" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1659812316.086" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1659812316.086" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1659812316.086" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1711284070.801" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1711284070.801" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1711284070.801" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1711284070.801" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1711284070.801" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1703679104.937" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1703679104.937" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1703679104.937" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1703679104.937" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1703679104.937" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
GATE CSE 1989 | Question: 1-v / GATE Overflow for GATE CSE
edited by
6,577 views
43 votes
43 votes
The number of possible commutative binary operations that can be defined on a set of $n$ elements (for a given $n$) is ___________.
edited by

2 Answers

Best answer
60 votes
60 votes

Given the cardinality of the set $= n.$

Therefore the no: of entries in operation table (Cayley table)  $=n^{2}.$

And hence if we consider lower triangular or upper triangular half , we have : $\dfrac{(n^{2} + n)}{2}.$

And in an operation table , each entry can be filled in $n$ ways by any one element out of given $n$ elements of the set.

So no. of ways we can fill the upper or lower triangular half  $=\large n^{\frac{(n^{2} + n)}{2}}$

Each of these is nothing but an instance of operation table of commutative operation as say $(i,j)$ entry is filled in the table so $(j,i)$ entry will also be the same hence the choice for $(j,i)$ entry is constrained to $1$ as we are concerned about commutative operation table here.

$\therefore$ No of possible binary operations which are commutative  $=\large n^{\frac{(n^{2} + n)}{2}}$

edited by
0 votes
0 votes
cardinality of given set = $n$.

binary operation is like a function defined on base set $S$ like this, $f: S \times S → S$

where, domain = $S \times S$ and co-domain = $S$

total no. of possible pairs in domain = $n^2$

total no. of possible $(a, a)$ pairs in domain = $n$.

these $n$ pairs will have $n$ possiblities in co-domain, each.

so, total no. of ways in which every $(a, a)$ element of domain is connected with exactly one element of co-domain ( satisfying definition of function ) = $n^n$

now, total no. of possible $(a, b)$ pairs where a and b are different = $n^2 - n$.

we can think like this from here:

every pair of $(a, b)$ in $n^2 - n$ pairs will form a small bubble of 2 pairs namely $(a, b)$ and $(b, a)$. we will call them a couple and only 1 pair of the 2 will need to choose for both of them.

total no. of such possible couples = $\frac{n^2 - n}{2}$

now each couple will choose an element out of $n$ elements from co-domain.

so, total no. of ways in which a couple can choose exactly one element from co-domain = $n^{\frac{n^2 - n}{2}}$

now, on combining both the results:

total no. of possible commutative functions (binary operations) = $n^n \times n^{\frac{n^2 - n}{2}} = n^{\frac{n^2 + n}{2}}$

Related questions

7.1k
views
6 answers
21 votes
makhdoom ghaya asked Nov 27, 2016
7,113 views
The transitive closure of the relation $\left\{(1, 2), (2, 3), (3, 4), (5, 4)\right\}$ on the set $\left\{1, 2, 3, 4, 5\right\}$ is ___________.
2.8k
views
4 answers
25 votes
makhdoom ghaya asked Dec 15, 2016
2,841 views
Find the number of single valued functions from set $A$ to another set $B,$ given that the cardinalities of the sets $A$ and $B$ are $m$ and $n$ respectively.
1.9k
views
2 answers
5 votes
makhdoom ghaya asked Nov 29, 2016
1,864 views
Is the following code template for the if-then-else statement correct? if not, correct it.$\text{if} \text{ expression then statement } 1$$\text{else statement }2$Templat...
3.7k
views
7 answers
18 votes
makhdoom ghaya asked Nov 27, 2016
3,673 views
Which of the following well-formed formulas are equivalent?$P \rightarrow Q$$\neg Q \rightarrow \neg P$$\neg P \vee Q$$\neg Q \rightarrow P$
Total PHP MySQL Other RAM
Time (ms) % Time (ms) % File count Time (ms) % Query count Time (ms) % Amount %
Setup 3.8 2% 2.4 1% 72 1.4 1% 2 0.0 0% 569k 40%
Control 16.9 11% 1.9 1% 5 15.2 10% 12 0.0 0% 566k 40%
View 2.8 2% 2.8 2% 12 0.0 0% 0 0.0 0% 0k 0%
Theme 113.5 79% 4.7 3% 15 108.8 76% 3 0.0 0% 347k 24%
Stats 5.3 3% 0.1 0% 0 5.3 3% 1 0.0 0% 0k 0%
Total 142.4 100% 11.9 8% 104 130.8 91% 18 0.0 0% 1398k 100%