Elementary or "naive" set theory is used to define basic mathematical structures. A set is an arbitrary collection of elements, which may be real or imaginary, physical or abstract. In mathematics, sets are usually composed of abstract things like numbers and points, but one can also talk about sets of apples, oranges, people, or canaries. In computer science, sets are composed of bits, bytes, pointers, and blocks of storage. In many applications, the elements are never defined, but are left as abstractions that could be represented in many different ways in the human brain, on a piece of paper, or in computer storage.
Curly braces are used to enclose a set specification. For small, finite sets, the specification of a set can be an exhaustive list of all its elements:
{1, 97, 63, 12}.
{1, 97, 63, 12}.
This specifies a set consisting of the four integers 1, 97, 63, and 12. Since the order of listing the elements is immaterial, the following specification is equivalent to the one above:
{12, 63, 97, 1}.
If the set is very large, like the set of all mammals, a complete listing is impossible. It is hard enough to enumerate all the people in a single city, let alone all the cats, dogs, mice, deer, sheep, and kangaroos in the entire world. For such sets, the specification must state some rule or property that determines which elements are in the set:
{x | vertebrate(x) and warmBlooded(x) and hasHair(x) and lactiferous(x)}
This specification may be read the set of all x such that x is vertebrate, x is warm blooded, x has hair, and x is lactiferous. A given set may be specified in more than one way. The following four specifications all determine the same set:{1, 2, 3}
{x | x is an integer and 0<x<4}{x | x is a positive integer, x divides 6, and x6}{x | x=1 or x=2 or x=3}
A set specification that lists all elements explicitly is called a definition by extension. A specification that states a property that must be true of each element is called a definition by intension. Only finite sets can be defined by extension. Infinite sets must always be defined by intension or by some operations upon other infinite sets that were previously defined by intension.
In any theory using sets, there are two privileged sets: the empty set {}, which contains no elements at all, and the universal set U, which contains every element that is being considered. In mathematical discussions, for example, the universal set may be the set of all integers Z or the set of all real numbers R. In most discussions, the universal set is usually defined at the beginning of the presentation. Thereafter, other sets are built up from U: subsets of U, pairs of elements of U, sets of sets of elements from U, etc.
Of all the operators that deal with sets, the most basic is , which states whether a particular element is in a set: the notation xS means that x is an element of the set S; it may also be read x is a member of the set S or simply x is in S. All other operators on sets can be defined in terms of . Let A and B be any two sets. Following are the common operators of set theory; listed for each one is its name, standard symbol, informal English definition, and formal definition in terms of :
- Union. AB is the set that contains all the elements in either A or B or both:
AB = {x | xA or xB}.
- Intersection. AB is the set that contains all the elements that are in both A and B:
AB = {x | xA and xB}.
- Complement. -A is the set that contains everything in the universal set that is not in A:
-A = {x | xU and not xA}.
- Difference. A-B is the set that contains all the elements that are in A but not in B:
A-B = {x | xA and not xB}.
- Subset. AB means that every element of A is also an element of B:
If xA, then xB.
In particular, every set is a subset of itself: AA.
- Proper subset. A is a proper subset of B if AB and there is at least one element of B that is not in A:If xA,then xB and there exists some bwhere bB and not bA.
- Superset. A is a superset of B if B is a subset of A.
- Empty set. The empty set has no elements: for every x, it is false that x{}. The empty set is a subset of every set, including itself: for every set A, {}A.
- Disjoint sets. Two sets A and B are said to be disjoint if they have no common elements; i.e., their intersection is the empty set: AB={}.
The operators for union, intersection, and complement satisfy several standard identities. Some of the identities listed below are similar to the rules of ordinary arithmetic. Addition and multiplication, for example, obey the rules of commutativity and associativity, and the minus sign obeys the rule of double complementation. Idempotency, absorption, and De Morgan's laws, however, do not hold for ordinary arithmetic. Distributivity holds for multiplication over addition, but addition does not distribute over multiplication.
- Idempotency. AA is identical to A, and AA is also identical to A.
- Commutativity. AB is identical to BA, and AB is identical to BA.
- Associativity. A(BC) is identical to (AB)C, and A(BC) is identical to (AB)C.
- Distributivity. A(BC) is identical to (AB)(AC), and A(BC) is identical to (AB)(AC).
- Absorption. A(AB) is identical to A, and A(AB) is also identical to A.
- Double complementation. - -A is identical to A.
- De Morgan's laws. -(AB) is identical to -A-B. and -(AB) is identical to -A-B.
For complex sets, the rule for determining which elements are in the set may be too complex to state in a single expression. An example is the set of all grammatical sentences in some language, natural or artificial. Such sets are typically specified by a recursive definition:
- First a finite starting set of elements is given.
- Then some operations are specified for generating new elements of the set from old elements.
- Finally, the set is defined to be the smallest set containing the starting elements and all others that can be derived from them by repeated application of the generating operations.
The set resulting from these operations is said to be the closure of the starting set under the given generating operations. As an example of a recursive definition, the set S of all positive integers not divisible by 3 could be specified by intension:
S = {x | x is an integer, x>0, and 3 does not divide x}.
But the property x is an integer depends on some prior definition of the set of all integers. The following recursive definition depends only on the operation of adding 3:- Let the set {1, 2} be a subset of S.
- If x is any element of S, then x+3 is also an element of S.
- S is the smallest set that has the above two properties; i.e., S is a proper subset of any other set that has those properties.
All elements of S may be enumerated by starting with {1, 2}. The first stage of adding 3 generates the new elements 4 and 5, adding 3 to them gives 7 and 8, then 10 and 11, and so on. The set S is the closure of the set {1, 2} under the operation of adding 3. A recursive definition is a special kind of definition by intension. Formal grammars define languages by a recursive definition in which the generating operations are specified by a set of production rules.
A set has no duplicate elements. Since all duplicates are discarded in computing the union of two sets, the union operator is idempotent: AA=A. In some cases, one may want to allow duplicates; therefore, a bag is a collection of things with possible duplicates. Since there may be more than one occurrence of a given element x, the count operator @ is a generalization of the element operator . The expression x@A is the number of times the element x occurs in the bag A. Bags are useful for many purposes, such as taking averages: if four men have heights of 178cm, 184cm, 178cm, and 181cm, then the set of those numbers is {178, 181, 184} with the average 181; but the bag of the numbers is {178, 178, 181, 184} with average 180.25.
A sequence is an ordered bag. To distinguish ordered sequences from unordered sets and bags, the elements of a sequence are enclosed in angle brackets: 178, 184, 178, 181; the empty sequence is written . If a sequence has n elements, the elements are numbered from 1 to n (or alternatively from 0 to n-1). A sequence of two elements is sometimes called an ordered pair; a sequence of three elements, a triple; a sequence of four, aquadruple; a sequence of five, a quintuple; and a sequence of n elements, an n-tuple. Historically, the theory of sets was first defined without considering order. On a piece of paper or in computer storage, however, the elements of a set must be listed in some order. Sequences are therefore easier to represent than bags, and bags are easier to represent than sets: a bag is a sequence with the ordering ignored, and a set is a sequence with both order and duplicates ignored.
New sets may be created by combining elements from the universe U in various ways. The cross product of two sets A and B, written A×B, is the set of all possible ordered pairs with the first element of each pair taken from Aand the second element from B. If A is the set {1,2} and B is the set {x,y,z}, then A×B is the set,
{1,x, 1,y, 1,z, 2,x, 2,y, 2,z}.
With the notation for defining a set by a property or rule, it is possible to give a general definition for the cross product A×B:
{x,y | xA and yB}.
The cross product can also be extended to three or more sets. The product A×B×C is defined as
{x,y,z | xA, yB, and zC}.
Since René Descartes introduced pairs of numbers for identifying points on a plane, the cross product is also called the Cartesian product in his honor.
Inside a computer or the human brain, all sets that are explicitly stored must be finite. But mathematical definitions and proofs are generally simpler if there is no upper limit on the size of sets. Therefore, definitions in computer science often permit infinite sets, but with the understanding that any implementation will only choose a finite subset. Most infinite sets discussed in computer science are assumed to be countable: a countably infinite set is one whose elements can be put in a one-to-one correspondence with the integers. The set of all real numbers is uncountable, but such sets are far beyond anything that can be implemented in computer systems.
The terminology for sets is quite standard, although some authors use the word class for set and others make a distinction between classes and sets. Bags are not used as commonly as sets, and the terminology is less standard. Some authors use the word multiset for a bag. Sequences are sometimes called lists or vectors, but some authors draw distinctions between them. Some authors use the symbol ∅ for the empty set, but the notation {} is more consistent with the notation for the empty sequence.
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.
ReplyDeletewomen's designer handbags
Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks from every one of us.
ReplyDeleteBest AWS Training in Chennai | Amazon Web Services Training in Chennai
This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me..
ReplyDeleteangularjs Training in chennai
angularjs Training in chennai
angularjs-Training in tambaram
angularjs-Training in sholinganallur
angularjs-Training in velachery
This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
ReplyDeletepython training in pune | python training institute in chennai | python training in Bangalore
After reading this web site I am very satisfied simply because this site is providing comprehensive knowledge for you to audience. Thank you to the perform as well as discuss anything incredibly important in my opinion. We loose time waiting for your next article writing in addition to I beg one to get back to pay a visit to our website in
ReplyDeleteJava training in Marathahalli | Java training in Btm layout
Java training in Jaya nagar | Java training in Electronic city
Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
ReplyDeleteData Science course in kalyan nagar | Data Science course in OMR
Data Science course in chennai | Data science course in velachery
Data science course in jaya nagar | Data science training in tambaram
Excellent blog, keep sharing more like this.
ReplyDeleteDevOps certification Chennai
DevOps Training in Chennai
DevOps Training near me
AWS Training in Chennai
AWS Training institute in Chennai
RPA Training in Chennai
Informative blog! it was very useful for me.Thanks for sharing. Do share more ideas regularly.
ReplyDeleteFrench classes in chennai
French language classes in chennai
French courses in Chennai
Spanish Institute near me
Spanish Institute in Chennai
Japanese Training in Chennai
Japanese Language in Chennai
Really the blog which you have shared is more informative to us. Thanks for your information.
ReplyDeleteTally Classes in Coimbatore
Tally Course in Coimbatore
Tally Training Institute
Best Tally Course
Tally Training Coimbatore
Nice informative post...Thanks for sharing..
ReplyDeletembatalks
Guest posting sites
Really you have enclosed very good information's. it will educates lot of young students and please furnish more information's in future.
ReplyDeleteJava Courses in Sholinganallur
Java Training in Guindy
Java Training in Thirumangalam
Java Training in Bangalore
Thanks for sharing this valuable information to our vision. You have posted a worthy blog keep sharing.
ReplyDeletehadoop training in bangalore
hadoop training in bangalore
Best Java Coaching in Bangalore
Java Certification Course in Bangalore
Best Java Classes in Bangalore
Thank you for with sharing. These is very useful for enhance my knowledge. Keep posting....
ReplyDeleteBlue Prism Training in Annanagar
Blue Prism Training in Ambattur
Blue Prism Course in Perambur
Blue Prism Training in Perambur
Blue Prism Training in Chennai Adyar
Blue Prism Course in Annanagar
Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
ReplyDeleteGood discussion.
DevOps certification course
DevOps Training institute
DevOps Training near me
Angularjs Training in Chennai
Angularjs Training
Angularjs Training near me
This is really too useful and have more ideas and keep sharing many techniques. Eagerly waiting for your new blog keep doing more.
ReplyDeletehadoop classes in bangalore
hadoop institute in bangalore
Aws Training Institutes in Bangalore
Aws Certification Training in Bangalore
Aws Training Center in Bangalore
The blog which you have shared is more informative. thanks for your sharing...
ReplyDeleteGerman Classes in Bangalore
German coaching classes in Coimbatore
German Classes in Coimbatore
Java Training in Bangalore
Python Training in Bangalore
IELTS Coaching in Madurai
IELTS Coaching in Coimbatore
Java Training in Coimbatore
Thank you for awesome writeup. It if truth be told used to be an amusement account it. Glance complex to more brought agreeable from you! Also Check: YoWhatsApp Apk & WhatsApp Groups.
ReplyDeleteAwesome Post. Great way of sharing the thoughts. Waiting for your future updates.
ReplyDeleteNode JS Training in Chennai
Node JS Course in Chennai
Node JS Training Institutes in chennai
Node JS Course
Node JS Training in T Nagar
Node JS Training in Anna Nagar
Node JS Training in Porur
Node JS Training in Adyar
Wonderful blog!!! the article which you have shared is informative for us... thanks for it...
ReplyDeleteDigital Marketing Training in Coimbatore
digital marketing classes in coimbatore
digital marketing courses in bangalore
digital marketing institute in bangalore
PHP Course in Madurai
Spoken English Class in Madurai
Selenium Training in Coimbatore
SEO Training in Coimbatore
Web Designing Course in Madurai
Informative blog! it was very useful for me.Thanks for sharing. Do share more ideas regularly.
ReplyDeleteJava Interview Questions and Answers
ReplyDeleteThis is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me..
Core Java Online Training
Advanced Java Online Training
i have learn into some informations
ReplyDeletebest python training in chennai
best python training in sholinganallur
best python training institute in omr
python training in omr
selenium training in chennai
selenium training in omr
selenium training in sholinganallur
Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
ReplyDeletetiming tablets price in pakistan
timing tablets for man
timing tablets name
timing medicine in pakistan
best timing tablets in pakistan
Excellent information, I like your blog.
ReplyDeletesnafi
snafi tablets
snafi tablet
snafi 20 mg
bestapkdownloads
ReplyDeletehttps://bestapkdownloads.com/
king root app download
best whatsapp mod app web store.topapkmods
ReplyDeleteThis comment has been removed by the author.
ReplyDeletevidmate download
ReplyDeletevidmate apk
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. purple amethyst ring
ReplyDeleteGreat job here on _______ I read a lot of blog posts, but I never heard a topic like this. I Love this topic you made about the blogger's bucket list. Very resourceful. unique garnet rings
ReplyDeleteThanks for sharing this valuable information to our vision. You have posted a worthy blog keep sharing. share som emore info we need it.
ReplyDeleteAngular JS Training in Chennai | Certification | Online Training Course | Angular JS Training in Bangalore | Certification | Online Training Course | Angular JS Training in Hyderabad | Certification | Online Training Course | Angular JS Training in Coimbatore | Certification | Online Training Course | Angular JS Training | Certification | Angular JS Online Training Course
Aroma Indian Cuisine is the best Indian Restaurant Epping. We have the best Indian food around and an atmosphere to match. Our recipes are authentic and time-tested on http://aromaindian.com.au/
ReplyDeleteBest Shayari
ReplyDeletePyar Bhari Shayari
Thanks for posting such an blog it is really very informative. And useful for the freshers Keep posting the
ReplyDeletetiming tablets
nice blog about timing tablets in pakistan
ReplyDeleteBest Prices In Pakistan
ReplyDeletePlease VISIT MY Website biggest shopping website 50% off sale Contact NUmber +923000023915
Top Saling Product
EtsayDaraz Click hare visit Website
Cash on Delivery all over Pakistan Online etsaydaraz.com biggest shopping website, Call & SmS Whatsapp 03000023915
Hot Lin call girls Best Pakistan
He is a French actor and businessman. He is known as one of Europe’s most prominent actors and screen sex symbols from the 1960s and 1970s.
ReplyDeleteAlain Delon Personal Information
Best collection of shayari ,qoutes and status.
ReplyDeleteSorry Status
badmashi status
whatsapp Bio
Rajput Status
Gussa Status
Bhaigiri Status
army Status
Best Jaat Status in hindi and jaat shayari for whatsapp and facebook.
ReplyDeleteMahadev Quotes
कम्पटीशन शायरी इन हिंदी
लड़कियों को जलाने वाली शायरी
दमदार स्टेटस इन हिंदी
ताने मारने वाले स्टेटस
वजनदार स्टेटस
Ludo King is Indian Board Game That Played By Anyone Who Want, Here Some Vip features of Ludo King Apk That User Want to Use Then Here Download Link of Ludo King Modified Application
ReplyDeleteLudo King Apk Ludo King Apk Ludo King Apk
ReplyDelete
ReplyDeleteNew Gujarati ringtone
krishna flute ringtone
Rajasthani ringtone
New Gujarati ringtone
Download Telugu Ringtone Mp3 Telugu Ringtones Download New Mp3 Ringtone Download
ReplyDeleteSuch as great information, and the thing is this you share with others that's very nice.
ReplyDeleteCyberpunk podcast episodes
Tabletop Role Playing Game
Cyberpunk Podcast Videos
Game Master Round Table
Game Master Tips
Cyberpunk Game Play
Thanks for sharing this Check the uk thunderball lottery result.check set for life
ReplyDeleteTrade FX At Home On Your PC: roboforex login Is A Forex Trading Company. The Company States That You Can Make On Average 80 – 300 Pips Per Trade. roboforex login States That It Is Simple And Easy To Get Started.
ReplyDelete
ReplyDeleteThanks For this great content. Really Enjoyed.Keep It up.We are a group of content writing services and running a community in the same niche.If anyone want content writing services then hire content writer and increase conversions for your online store. viagra price in pakistan You have done a extraordinary job!
Amazing Artical im very happy to read it.
ReplyDeleteAmazing Artical im very happy to read it.
Live Seacoin Price from all markets and SEA coin market Capitalization. Stay up to date with the latest SEA price movements and forum discussion. Check out our snapshot charts and see when there is an opportunity to buy or sell.
ReplyDeleteOur stock alerts provide you with the latest Truff Stock market trends so that you can stay up-to-date on all of the latest Truff Stock market moves.
ReplyDeleteWe understand that standing on the sidelines of the stock market can be frustrating. Our live, real stock market overview will help you stay up to date on Truff Stock . With our simple interface and real time quotes, staying on top of your stocks is now easier than ever!
ReplyDeleteHow To Start A Forex Broker is a comprehensive guide to deciding on the best Forex Brokers, Trading Costs and Fees. Find out which brokers offer the best value for money?
ReplyDeleteBfarf stock Real-Time Overview Of A Stock, Including Recent And Historical Price Charts, News, Events, Analyst Rating Changes And Other Key Stock Information.
ReplyDeleteTrack your stocks in all major markets instantly with our unique live stock overview. See Mmatf Stock live prices changes as they occur and view change details, including volume and share changes.
ReplyDeleteThe Mmatf Stock Overview offers real time stock price updates. All you need to do is open the application and you can view Streaming stock prices of your favorite stocks.
ReplyDelete
ReplyDeleteFudxcoin deals in selling and purchasing of crypto currency. It deals in blockchain technology.
Crypto currency is the digital currency or virtual currency with is used as a medium of exchange where individual ownership records are stored in computer.There are many types of Crypto currency like Bitcoin,Ethereum,Ripple Etc
The rate of crypto current going in market varies day to day.Crypto currency can be purchased from coin base and different sites like Fudxcoin(www.Fudxcoin.com)
Block Chain Technology is the method of keeping record of sale and purchase of crypto currency.
contact@fudxcoin.com
+1 209-921-6581
Read our honest broker review of TD Ameritrade Review , one of the best online trading companies. Find out about the advantages of using a broker like TD Ameritrade Review, and learn more about the stock market and the best ways to invest in it. Read more here.
ReplyDeletei'm honest natured you take conveyance of to selfishness in your message. It makes you stand dependancy out from numerous helper essayists that can't uphold over the top climate content remembering you. Fifa 19 Pc Free Download
ReplyDeleteBrandMedic.pk is an online store well-known Pakistan. This online pharmacy pakistan online pharmacy pakistanoffers a All Over The Pakistan delivery of generic medications
ReplyDeletecialis tablets in Pakistan
viagra in pakistan
panadol advance in pakistan
levitra 20mg price in Pakistan
cialis 5mg in pakistan
cialis 5mg price in Pakistan
vigrx plus in pakistan
penegra tablet
timing tablets in pakistan
vega tablet
cialis tablets in Pakistan
ReplyDeleteviagra in pakistan
panadol advance in pakistan
levitra 20mg price in Pakistan
cialis 5mg in pakistan
cialis 5mg price in Pakistan
vigrx plus in pakistan
penegra tablet
timing tablets in pakistan
vega tablet