Proving A=B if A & B are Subsets

  • Thread starter Thread starter cragar
  • Start date Start date
  • Tags Tags
    Proof Subsets
Click For Summary

Homework Help Overview

The discussion revolves around proving the equality of two sets, A and B, under the condition that A is a subset of B and B is a subset of A. The participants explore the definitions and implications of set equality in a mathematical context.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the need for rigor in the proof, with suggestions for an element-wise approach. There are questions about the definitions of set equality and the requirements to show that two sets have the same elements.

Discussion Status

The conversation is active, with participants providing guidance on the necessary steps to prove the statement. Some participants express uncertainty about the completeness of their reasoning, while others emphasize the importance of justifying each step in the proof.

Contextual Notes

There is an emphasis on the need to prove both directions of the biconditional statement regarding set equality, as well as the importance of adhering to precise definitions in mathematical proofs.

cragar
Messages
2,546
Reaction score
3

Homework Statement


Prove that if A=B if and only if [itex]A \subseteq B[/itex] and [itex]B \subseteq A[/itex]

The Attempt at a Solution



If A is a subset of B then all the elements of A are in B . And if B is a subset of A then all the elements of B are in A . There fore there is a one-to-one correspondence between the 2 sets therefore they are equal. Is this to simple or do I need to be more rigorous.
 
Physics news on Phys.org
You might want to have a little more rigor. Do an element-wise proof.

e.g.

(<-) Fix x in A. Since A is a subset of B, ...

Similarly, ...

So, ...

This only proves the backwards direction.
 
you aren't looking for ANY old 1-1 correspondence, you're looking for EQUALITY.

if x is in A, and A ⊆ B, then x is in B.

so B has every element A does (maybe more).

but since B ⊆ A, there cannot be any element of B that is not in A

(if there was, we quickly get a contradiction).

so B has exactly the same elements as A, thus A = B.

now, if A = B, why is A ⊆ B true?
 
A subset can be equal to the set itself .
 
What's the definition of set equality?
 
they have the same numbers of elements or the same cardinality.
 
So {1,2,3} and {3,4,5} are equal?
 
ok so they have to have the same elements
 
So what specifically do you have to show to prove that two sets have the same elements?
 
  • #10
thanks for you help by the way . I have to show everything in A is in B and everything in B is in A . Ill work on it .
 
  • #11
You just keep saying the same thing with different words, but there's a precise way to say "everything in A is in B" and vice versa. That's one thing you'll need to know to write a proper proof. So start by looking up what the precise definition of set equality is.
 
  • #12
cragar said:
thanks for you help by the way . I have to show everything in A is in B
Which is exactly the same thing as saying [itex]A\subseteq B[/itex].

and everything in B is in A
Which is exactly the same thing as saying [itex]B\subseteq A[/itex].

. Ill work on it .
 
  • #13
if [itex]x \in A[/itex] then [itex]x \in B[/itex]
if [itex]x \in B[/itex] then [itex]x \in A[/itex]
therefore A=B
It seems so simple. But I am not sure if that's good enough.
Or am I going in circles .
 
  • #14
It's not complete. When you have an if and only if, you have to prove both directions. In this case, you need to prove:

(1) If A⊂B and B⊂A, then A=B.
(2) If A=B, then A⊂B and B⊂A.

You've essentially shown (1). Part of your confusion probably comes from thinking you're not really showing anything; that is, it's too obvious. With these really elementary proofs, you want the mindset that you can take nothing for granted and need to justify every little step, no matter how insignificant it may seem. If I were you, I'd add the step in red below to explicitly explain how you can conclude A=B.

Assume A⊂B and B⊂A. By definition,

A⊂B means (x∈A → x∈B)
B⊂A means (x∈B → x∈A)

Hence, we have x∈A ⟺ x∈B. Therefore, by definition of set equality, we can conclude A=B.

[I'm assuming your definition of set equality is: A=B iff (x∈A ⟺ x∈B).]
 
  • #15
ok I see , Thanks you for our help.
 

Similar threads

Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K