Need help with a discrete math problem.
If \(\chi_A \cdot \chi_B=1\), then that means \(\chi_A=1\) and \(\chi_B=1\). If \(\chi_A \cdot \chi_B=0\), then that means one of the following is true: 1. \(\chi_A=0\), \(\chi_B=1\) 2. \(\chi_A=1\), \(\chi_B=0\) 3. \(\chi_A=\chi_B=0\).
Now, if \(\chi_A(x)=1\) and \(\chi_B(x)=1\), then this means \(x \in A\) and \(x \in B\). If \(\chi_A(x)=1\) and \(\chi_B(x)=0\), then \(x\in A\) and \(x \notin B\). If you repeat this for the rest, you should be able to figure out the set with characteristic function \(\chi_A \cdot \chi_B\)
So does this mean XA*XB would only be in subset A?
@phi Do you know how to do this problem? I don't understand the solution =\
Do you have a definition for characteristic function ? I am guessing it means "is a member of " ?
So I just looked it up and found this: I(x) = { 1, if x belongs to B, = { 0, if x doesnot belong to B. where x is a variable, which can take any letter from the alphabets.
ok. then Xa * Xb would be 1 only if the member is in both sets
which sounds like A intersect B
ok
so it asks what subset of S has characteristic function (a), (b), and (c). would that mean a is (a) characteristic function of the set A?
(a) is the characteristic function of \( A \cap B\)
I don't understand how you got that =\
Xa (y) is 1 if y is in set A Xb (y) is 1 if y is in set B Xa (y) * Xb (y) is 1 if y is in set A and in set B by definition, if y is in A and in B it is in \( A \cap B\)
ohhhhhhhh makes sense!
so then then for part (b) if Xa + Xb - Xa(intersects)B = 1
I think this characteristic function is only allowed 0 or 1 as its output values Xa(y) + Xb(y) - \( X_{A \cap B}\)(y) y is in A but not in B = 1 + 0 - 0 = 1 y is in B but not in A = 0 +1 -0 = 1 y is in both A and B, then 1+1 - 1 = 1 y is not in A and not in B= 0 + 0 -0 =0
so I'm thinking something like A\B, B\A and A(union)B
It sure looks like A \( \cup \) B to me the reason the characteristic function is so complicated is that if y is in both A and B, just using Xa(y) + Xb(y) would give 2 , and that is not allowed.
so A\B and B\A wouldn't be answers?
what does A\B mean?
y is in A but not in B = 1 + 0 - 0 = 1 which is the Set A - the set B (A\B)
in A but not in B
oh wait, I don't think I understood it correctly
if you evaluate Xa(y) + Xb(y)-\(X_{A \cap B}\)(y) with y in B, you get a 1 but A\B should give you a 0 ?
ok, I think it makes sense now, so the answer would be AUB
because y is in both A and B
y is in one or the other or both
ah I see. Now it makes sense. :)
so for (c) y is in A but not in B = 1 + 0 - 2 * 0 = 1 y is in B but not in A = 0 + 1 - 2 * 0 = 1 y is in both A and B, then 1 + 1 - 2 * 1 = 0 y is not in A and not in B = 0 + 0 - 2 * 0 = 0
looks good.
So the answer would be A(compliment)(intersects)B(compliment)?
A' means not in A ? but y is in A but not in B = 1 + 0 - 2 * 0 = 1
oh right
hmm, I'm not sure
so when y is in both A and B it equals 0
I am thinking A \( \cup \) B - A \( \cap \) B
that would do it :O
Thank you so much for the help!
and for putting up with my stupidity :D
All makes sense now.
Join our real-time social learning platform and learn together with your friends!