• Register
1 vote
26 views

Problem:

I am a begginer in progamming language. I have a qusestion which is:
is the empty set an element of every set

Please help me to understand this.

10 7 2
6,060 points

1 Answer

1 vote

Answer:

The set A is a subset of the set B if and only if every element of A is also an element of B.
If A is the empty set then A has no elements and so all of its elements (there are none) belong to B no matter what set B we are dealing with.
That is, the empty set is a subset of every set.Another way of understanding it is to look at intersections. 
The intersection of two sets is a subset of each of the original sets. So if {} is the empty set and A is any set then {} intersect A is {} which means {} is a subset of A and {} is a subset of {}.
You can prove it by contradiction. Let's say that you have the empty set {} and a set A. 
Based on the definition, {} is a subset of A unless there is some element in {} that is not in A. 
So if {} is not a subset of A then there is an element in {}. 
But {} has no elements and hence this is a contradiction, so the set {} must be a subset of A.
An example with an empty set and a non-empty set might be this: the (set of all women who have walked on the moon) and the (set of all astronauts). Examine the three arguments above with this example in mind.

 

11 6 4
34,950 points

Related questions

1 vote
1 answer 553 views
553 views
Problem : I am not completely expert in Python, but still I am willing to learn good practices while I develop my skills. I am trying to remove the high and low values from the list of numbers, I know how to do this , but I want to know the better way to do this. myrawlist = [ ... 2, 3, 4] mytrimmedlist = mylist[1:-1] #[1, 2, 3] I get the required output, but looking for the better way to do this.
asked Dec 14, 2019 alecxe 7.5k points
0 votes
2 answers 1.3K views
1.3K views
Problem : I got following rather cryptic error message: the truth value of an array with more than one element is ambiguous. use a.any() or a.all()
asked Nov 18, 2019 peterlaw 6.9k points
0 votes
1 answer 15 views
15 views
Problem: Hello kodlogs, I am an entry-level programmer in the python I don't know how can we make an empty sets, in the python as if I tried to make it by the following statement. Though this is not that difficult to do I am not able to get it the right way, waiting for ... create the Dictionary and I want an empty set don't know what I am doing wrong what is the way and how can I be able to do it
asked Jun 15 Gavin 15.3k points
1 vote
1 answer 353 views
353 views
Problem: Hello Pal, I have a query regarding the python programming language. The question is, which method will return an empty string when it has attempted to read beyond the end of a file? Do you have any idea about this? Thanks
asked Mar 16 Gavin 15.3k points
1 vote
2 answers 219 views
219 views
Anyone aware of this error. I am facing this issue in this function. It is not going to IF statement where I put my filter condition which is true then simply raise Error and without IF it is working but I want to put the filter condition which checks date between ... "value"]) It is not going to IF statement where I put my filter condition which is true then simply raise Error. Any suggestion?
asked May 8 Kashish