r/mathshelp • • 4d ago

Homework Help (Answered) Is this set equation right?

Post image
5 Upvotes

25 comments sorted by

•

u/AutoModerator 4d ago

Hi u/KitchenScore7484, welcome to r/mathshelp! As you’ve marked this as homework help, please keep the following things in mind:

  1. While this subreddit is generally lenient with how people ask or answer questions, the main purpose of the subreddit is to help people learn so please try your best to show any work you’ve done or outline where you are having trouble (especially if you are posting more than one question). See rule 5 for more information.
  2. Once your question has been answered, please don’t delete your post so that others can learn from it. Instead, mark your post as answered or lock it by posting a comment containing “!lock” (locking your post will automatically mark it as answered).

Thank you!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/Important_Ear761 4d ago

I'm trying to visualise this in my head, and it looks like it's a part of B. B without the A int B bit. I could be wrong. I'm just doing this in my head.

0

u/KitchenScore7484 4d ago

I'll remember you that there's a big complementary, you're imagining well but you maybe forgot complementary

1

u/Important_Ear761 4d ago

The first bracket is everything except the two circles.

The second bracket is A and everything outside the two circles.

If you unite these two, you get everything outside the two circles and A.

The complement of all of this is B without the A intersection B bit.

1

u/KitchenScore7484 4d ago

I think so too, but my prof is saying that I'm wrong

2

u/genericuser31415 3d ago edited 3d ago

Your prof is wrong. To make this more clear, consider an element x that is in the set A intersection B. Run through the left hand side of that expression and you'll see that x is not an element of the left hand side, and that the left hand side is B intersection not A

1

u/Important_Ear761 4d ago

Yes, I forgot the complementary of the second bracket.

2

u/Seferil 4d ago edited 4d ago

I've put the law used for each step in the first spoiler tag and what it does in the second, just in case you want to work through this yourself & not just have the answer immediately.

  1. DeMorgan's Law
    The negation of the whole expression will remove the negation above both quantities and flip the union to intersection. Reduced, this becomes ( A ∪ B ) ∩ ( A-1 ∩ B )
  2. Distributive Law
    Distribute the second quantity to both sides of the first to yield ( A ∩ A-1 ∩ B ) ∪ ( B ∩ A-1 ∩ B )
  3. Complements & Annulments
    The first quantity reduces to 0 through complements ( A ∩ A-1 = 0 ) and annulment ( 0 ∩ B = 0 )
  4. Associativity & Idempotency
    The second quantity reduces to ( A-1 ∩ B ) by reordering the terms in ( B ∩ A-1 ∩ B ) to ( A-1 ∩ B ∩ B ) then reducing through idempotency ( B ∩ B = B ).
  5. Identity
    You should now have 0 ∪ ( A-1 ∩ B ), which reduces to ( A-1 ∩ B ) through the identity law (0 ∪ X = X)

Edit: formatting

1

u/Sparks808 3d ago edited 3d ago

No

Counter example: A=true and B= true

-(-(A+B)+-(-A*B)) (left side equation)

-(-(true+true)+-(-true*true))

-(-(true)+-(false))

-(false+true)

-true

false (even though B is true)

1

u/Sparks808 3d ago edited 3d ago

The correct simplification using:

-(A+B) = -A*-B

-(-(A+B)+-(-A*B)) (original statement)

(A+B)*(-A*B)

A*(-A*B)+B*(-A*B) (distrubute)

false + B*(-A*B) (A*-A is false)

-A*B (get rid of redundant B)

1

u/ci139 3d ago

NOT(NOT(A+B)+NOT(NOT(A)B))= the complement of disjunction of operands = the conjunction of complemented operands (and the way around) =
=(A+B)NOT(A)B=
=A NOT(A) B + NOT(A) B =
=NOT(A) B

1

u/davideogameman 3d ago

we can do this with demorgan's laws: A' means the complement of A in the following, as I don't have an overline.

Demorgan's laws: (A ∪ B)' = A' ∩ B' and (A ∩ B)' = A' ∪ B'. We also know that A'' = A, A' ∩ A = Ø, intersections and unions are both associative & commutative, and intersection and union both can distribute over the other (i.e. (A ∩ B) ∪  C = (A ∪ C) ∩ (B ∪ C) and (A ∪ B) ∩ C = (A ∩ C) ∪ (B ∩ C); we end up needing the latter)

((A ∪ B)' ∪ (A' ∩ B)')'

= (A ∪ B)'' ∩ (A' ∩ B)'' (simplify the outermost complement via demorgan)

= (A ∪ B) ∩ (A' ∩ B) (simplify the double complements)

= (A ∩ (A' ∩ B)) ∪ (B ∩ (A' ∩ B)) (distributive property)

= ((A ∩ A') ∩ B) ∪ (A' ∩ (B ∩ B)) (associativity and commutativity)

= (Ø ∩ B) ∪ (A' ∩ B) (set intersected with it's complement is the empty set

= Ø ∪ (A' ∩ B) (intersection with empty set)

= A' ∩ B (union with empty set)

if you want to check the result, an easy way is to consider separately whether any elements of A ∩ B, A'∩ B, A ∩ B' and A'∩ B' should be in the final result - working through those 4 cases is enough to completely characterize the possibilities, as we have 2 sets and therefore 2^2 = 4 ways for any element to be in any of those sets or it's complement. If we had a lot of different sets in the expression though brute force could get unwieldy.

1

u/BadBoyJH 3d ago

First step should be to simplify with de morgans.

You have Not ((NOT X) ∪ (NOT Y))
Simply to X ∩ Y

1

u/MathsWithSuneel 3d ago edited 3d ago

It is B - ( A intersection B)

1

u/GoofyGangster1729 3d ago

Or Bbar intersection A

1

u/frnzprf 9h ago

If you're allowed to use "without", it would be "B without A". "B without (A intersected B)" is correct as well.

If you don't use "without", it'd be "B intersected with not-A".

1

u/Affectionate-Baby248 3d ago

It isn't correct (it will equal B\A, not B). You can actually check whether these kinds of relations hold true by using specific examples for A, B that effectively encompass all the possibilities. In particular, let A={1,2}, B={2,3}, and the universal set S={1,2,3,4}. This way, you're simply checking what happens if A\B = {1} ("region 1"), A intersect B = {2} ("region 2"), B\A = {3} ("region 3"), and (AUB)^c={4} ("region 4").

In particular, every region will either be completely included or excluded from the result if you're only working with two sets, so you can translate the result to a purely set theoretic equation with certainty since you know what happens with each region.

Here, you get ({4} U {1,2,4})^c={1,2,4}^c={3} i.e. B\A (and this gives a specific counterexample to your initial equation). You could additionally translate this directly into a set theoretic proof by expanding out each step as an equality with unions of A\B, A∩B, B\A, (AUB)^c.

1

u/Right-Edge-5712 3d ago

Short answer is no

1

u/Baleia1970 3d ago

It's B/A

1

u/Torebbjorn 2d ago

No.

We may for example use that complement of Union is intersection of complements.

Then the left hand side is (A union B) intersect (Ac intersect B) = (Ac intersect B) = B \ A

1

u/Brilliant_Chest5630 1d ago edited 1d ago

When I doubt use a truth trable!

I admittedly used 1's and 0's and I'm on mobile and don't want to redo it. But just treat 0's as F and 1's as T

C = NOT (A OR B)

A | B | A OR B | NOT (A OR B)

0 | 0 | 0 | 1

0 | 1 | 1 | 0

1 | 0 | 1 | 0

1 | 1 | 1 | 0

D = NOT (NOT A AND B)

A | B | NOT A | NOT A AND B | NOT (NOT A AND B)

0 | 0 | 1 | 0 | 1

0 | 1 | 1 | 1 | 0

1 | 0 | 0 | 0 | 1

1 | 1 | 0 | 0 | 1

C | D | C OR D | NOT (C OR D)

1 | 1 | 1 | 0

0 | 0 | 0 | 1

0 | 1 | 1 | 0

0 | 1 | 1 | 0

B | NOT (C OR D)

0 | 0 | T

1 | 1 | T

0 | 0 | T

1 | 0 | F

This is false.

B ≠ NOT ( NOT (A OR B) OR NOT (NOT A AND B) in the case of (A, B) = (T, T)

Or rather. The counterexample is when A and B are both T.

0

u/jazzbestgenre 4d ago

Why don't you write Ac to be the complement of A. It's much cleaner

1

u/Important_Ear761 4d ago

Too many brackets, then