If then remove from
Hey guys i have, A = {1,2,3,4} and B = {2,3,5}, list the following elements:
1. Powerset(A) \ Powerset(B)
Does that mean, find Powerset(A) first then Powerset(B) then if Powerset(A) has subsets the same as Powerser(B), then remove those sets. Then the remaining subsets of Powerset(A) will = Powerset(A) \ Powerset(B) ?
thanks for the help!
Maybe you meant, if P(A) has MEMBERS in common with P(B) then remove those common members from P(A).
S\T = {x | x in S and x not in T}
So:
P(A)\P(B)
=
{x | x in P(A) and x not in P(B)}
=
{x | x subset of A and x not subset of B}
I.e., gather the subsets of A to form P(A), then gather the subsets of B to form P(B), then remove those members of P(A) that are also members of P(B) to form P(A)\P(B).