Proving A=B if A & B are Subsets

In summary, to prove that A=B if and only if A⊂B and B⊂A, it is necessary to show that (1) if A⊂B and B⊂A, then A=B, and (2) if A=B, then A⊂B and B⊂A. The first direction has been shown by proving that A⊂B and B⊂A imply that there is a one-to-one correspondence between the two sets, thus establishing equality. The second direction can be proven by using the definition of set equality and showing that if A=B, then A⊂B and B⊂A. Additionally, it is important to justify
  • #1
cragar
2,552
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
  • #2
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.
 
  • #3
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?
 
  • #4
A subset can be equal to the set itself .
 
  • #5
What's the definition of set equality?
 
  • #6
they have the same numbers of elements or the same cardinality.
 
  • #7
So {1,2,3} and {3,4,5} are equal?
 
  • #8
ok so they have to have the same elements
 
  • #9
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.
 

FAQ: Proving A=B if A & B are Subsets

How do I prove that two sets are equal?

To prove that two sets are equal, you need to show that they have the same elements. This can be done by showing that every element in set A is also in set B, and vice versa. This can be done through various methods such as using Venn diagrams, algebraic proofs, or set builder notation.

Can I prove that two sets are equal if they have different notations?

Yes, two sets can still be proven to be equal even if they have different notations. This is because the notation used does not change the elements within the set. As long as you can show that the elements in both sets are the same, you can prove that they are equal.

How do I prove that two subsets are equal?

To prove that two subsets are equal, you need to show that they have the same elements. This can be done by using the subset notation and showing that every element in subset A is also in subset B, and vice versa. You can also use the subset theorem, which states that if every element in subset A is in subset B, and every element in subset B is in subset A, then the subsets are equal.

Can I use mathematical operations to prove that two sets are equal?

Yes, mathematical operations can be used to prove that two sets are equal. For example, if you have two sets A and B, you can use algebraic operations such as addition, subtraction, multiplication, and division to show that the elements in both sets are equal.

Are there any special cases when proving that two sets are equal?

Yes, there are special cases when proving that two sets are equal. One example is when dealing with the empty set. The empty set, also known as the null set, is a subset of every set. Therefore, if two sets have the same elements, including the empty set, they are considered equal.

Back
Top