Note that 2 different input can have same output as well, eg for F( x) = x 2, both-5 & 5 gives output as 5.
But one input can’ t have multiple outputs. E. g.: Input 3 will always give 9 in this case as output; it can’ t give any other output.
Cartesian product of Set Cartesian product of sets is the product of two sets.
Given two non-empty sets P and Q. The cartesian product P × Q is the set of all ordered pairs whose first component is a member of P & second component is a member of Q. i. e., P × Q = {( p, q): p ∈ P, q ∈ Q }
If either P or Q is null set, then P × Q will also be empty set, i. e., P × Q = φ Let’ s assume 2 sets o Man ={ Ram, Shyam } o Woman { Sita, Gita, Rita }.
Now Man wants to marry Woman. The Cartesian product of set Man X Woman is
= { Ajay, Bijay } X { Carol, Dancy, Ellyn }
= {( Ajay, Carol),( Ajay, Dancy),( Ajay, Ellyn),( Bijay, Carol),( Bijay, Dancy),( Bijay, Ellyn)}