How to Formally Describe Various Sets in Mathematics?

  • Thread starter Thread starter spaghetti3451
  • Start date Start date
  • Tags Tags
    Sets
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 10K views
spaghetti3451
Messages
1,311
Reaction score
31

Homework Statement



Write formal descriptions of the following sets.

(a) The set containing the numbers 1, 10, and 100
(b) The set containing all integers that are greater than 5
(c) The set containing all natural numbers that are less than 5
(d) The set containing the string aba
(e) The set containing the empty string
(f) The set containing nothing at all

Homework Equations



The Attempt at a Solution



(a) ## \{1, 10, 100 \} ##
(b) ## \{ i\ |\ i \in \mathbb{N}\ \text{and}\ i \geq 5 \} ##
(c) ## \{ 1, 2, 3, 4 \} ##
(d) ## \{ aba \} ##
(e) ## \{ \epsilon \} ##
(f) ## \{ \} ##

Are my answers correct?
 
Physics news on Phys.org
Ah! I see!

I am fairly confident that ## \{ \}## and ## \emptyset ## mean the same thing.

Since I am new to the representation of strings, I haven't seen the apostrophe's used for strings before, though!
 
failexam said:

Homework Statement



Write formal descriptions of the following sets.

(a) The set containing the numbers 1, 10, and 100
(b) The set containing all integers that are greater than 5
(c) The set containing all natural numbers that are less than 5
(d) The set containing the string aba
(e) The set containing the empty string
(f) The set containing nothing at all

Homework Equations



The Attempt at a Solution



(a) ## \{1, 10, 100 \} ##
(b) ## \{ i\ |\ i \in \mathbb{N}\ \text{and}\ i \geq 5 \} ##
(c) ## \{ 1, 2, 3, 4 \} ##
(d) ## \{ aba \} ##
(e) ## \{ \epsilon \} ##
(f) ## \{ \} ##

Are my answers correct?
To add to what Svein said, the answer to (b) should be (b) ## \{ i\ |\ i \in \mathbb{N}\ \text{and}\ i > 5 \} ##
Do you see the difference?