
According to your question, a Relation R is defined from set A to set A.
Therefore,
p=q=3
The total number of Relations that can be defined from a set A to set A is,

Written on March 13, 2017, 1:10 a.m.
 
            
        

Written on March 13, 2017, 1:10 a.m.