Computerfunda is blog about education in computer science. It provides resources for cometitive examinations like GATE, UGC NET etc. You can get everything related to cs is for free

Responsive Ads Here

Tuesday 9 May 2017

Number of relations possible on a set with N elemets

Let N be the number of elements in the set and below table gives  number of relations possible for respective property


Relation
Number of relations possible
Reflexive
2N^2-N
Symmetric
2N(N+1)/2
Anti-Symmetric
2N  * 3 N(N-1)/2
Asymmetric
3 N(N-1)/2
Irreflexive
2N^2-N

  
For the proofs you can check this url 
http://gateoverflow.in/3123/elements-many-relations-there-irreflexive-antisymmetric

No comments:

Post a Comment

What you need for Analysis of algorithms?

What you need for analysis of algorithms: First of all, you need to understand what is an algorithm is ? an algorithm is involved in eve...