
Doug C. answered 08/21/23
Math Tutor with Reputation to make difficult concepts understandable
A-B represents the elements that are in A, but not in B.
Iterate through the elements of A, then check to see that the element is not in B. If that is the case, then the element is in A-B.
A - B = {2, 6, 9}.
(A-B)' is the set of elements in U that are not in A-B.
Iterate through the elements of U, but check to see the element is not in {2,6,9}, or just select the elements from U that are not 2, 6 or 9.
(A-B)' = {1,3,4,5,7,8,10}