15
Cartesian ProductCartesian Product
Example:Example:
A = {good, bad}, B = {student, prof}A = {good, bad}, B = {student, prof}
AAB = {B = {
(good, student),(good, student), (good, prof),(good, prof), (bad, student),(bad, student), (bad, prof)(bad, prof)}}
(prof, bad)(prof, bad)}} (student, good),(student, good), (prof, good),(prof, good), (student, bad),(student, bad), B A = {
B A = {
Example:Example: A = {x, y}, B = {a, b, c} A = {x, y}, B = {a, b, c}
A B = {(x, a), (x, b), (x, c), (y, a), (y, b), (y, c)}
A B = {(x, a), (x, b), (x, c), (y, a), (y, b), (y, c)}