Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

Prove that: A(exclusive or)B = (A\B)U(B\A)

OpenStudy (anonymous):

I know that A(exclusive or)B is true when the elements in A aren't in B, and that (A\B) is saying to subtract anything that A and B share, and that (B\A) is the same, but reversed, and therefore that (A\B)U(B\A) is really just saying to include all of A without the B intersect, or to use all of B without the A intersect, which is essentially saying to cut out all similarities, which is A(exclusive or)B. My problem is how to "prove" this.

OpenStudy (anonymous):

\[ \forall x \in (A\otimes B) \iff \forall x(x\in A\land x\notin B) \lor (x\notin A\land x\in B) \]

OpenStudy (anonymous):

Just so I can make sure I understand this, what this is saying is: For all x that exists in (a XOR b), it is equal to, for all x where x is in A and x is not in B, or where x is not in A and x exists in B)

OpenStudy (anonymous):

it's the definition.

OpenStudy (anonymous):

Ok, thank you!

OpenStudy (anonymous):

\[ \forall x(x\in A\land x\notin B) \lor (x\notin A\land x\in B)\iff \forall x(x\in A\setminus B) \lor ( x\in B\setminus A) \]

OpenStudy (anonymous):

\[ \forall x(x\in A\setminus B) \lor ( x\in B\setminus A) \iff \forall x\in (A\setminus B)\cup (B\setminus A) \]

OpenStudy (anonymous):

When all steps used are bi conditional, then you can go just one way. If one-way conditional steps are used, then you have to prove both ways.

OpenStudy (anonymous):

Maybe you can help with this one real quick too, Let T = {a, b, c} Let S = {1, 2} How many 1-1 functions are possible with: T->S Is this even possible? I thought 1-1 needed to have all of the T values mapped to at most 1 S value?

OpenStudy (anonymous):

The answer is 0.

OpenStudy (anonymous):

Ok, that's what I thought. Thanks for clarification!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!