Skip to content
- Tutorials
- Python
- Java
- Interview Corner
- Programming Languages
- Web Development
- CS Subjects
- DevOps And Linux
- Software and Tools
- School Learning
- Practice Coding Problems
- Courses
- DSA to Development
- Get IBM Certification
- Newly Launched!
- Master Django Framework
- Become AWS Certified
- For Working Professionals
- Data Science Training Program
- JAVA Backend Development (Live)
- DevOps Engineering (LIVE)
- For Students
- Placement Preparation Course
- Data Science (Live)
- Master Competitive Programming (Live)
- Full Stack Development
- Data Science Program
- All Courses
-
- Mathematics
- Number System and Arithmetic
- Algebra
- Trigonometry
- Statistics
- Probability
- Geometry
- Mensuration
- Calculus
- Logarithms
Open In App
Next Article: NCERT Solutions for Class 8 to 12Last Updated : 17 Jun, 2025
Suggest changes
Like Article
Like
Report
Set theory is a branch of mathematics that deals with collections of objects, called sets. A set is simply a collection of distinct elements, such as numbers, letters, or even everyday objects, that share a common property or rule.
Example of Sets
Some examples of sets include:
- A set of fruits:
{apple, banana, orange} - A set of numbers:
{1, 2, 3, 4} A set of even numbers: {2, 4, 6, 8, 10, ....}- A set of months with exactly 6 Sundays: {∅}. This set is empty, as no month has exactly 6 Sundays.
Key Concepts in Set Theory
This section introduces the basics of Set Theory, helping you understand key concepts like types of sets, set operations, and important formulas through clear examples and symbols.
- Sets in Maths
- Representation of Sets: [ Roaster Form] and [ Set Builder Notation ]
- Subsets
- Supersets
- Power Set
- Set Theory Symbols
- Set Theory Formulas
- Types of Sets
- Operations on Sets
- Cardinality of Sets
- Venn Diagrams
- De Morgan's Laws
- Set Notations in LaTeX
Advanced Topics of Set Theory
This part covers advanced Set Theory concepts like Cartesian products, relations, and functions, helping you learn how sets connect and interact in more complex ways.
- Cartesian Product of a Set
- Relation
- Functions: [ Types of Functions ]
Practice for Set Theory
This section offers solved questions, quizzes, and practice problems to help you strengthen your understanding of Set Theory and master set operations.
- Set Theory Solved Questions
- Set Theory - Quiz
- Practice Operation on Set
Programs of Set Theory
This section shows how to work with sets in different programming languages like C++, Python, C#, and JavaScript, using built-in set data structures and operations.
- Set in C++
- Unordered Set in C++
- Multiset in C++
- Set in Python
- Set in C#
- Set in JavaScript
Standard Problems Associated with Set Data Structure
This section covers common set-based problems in data structures, helping you solve tasks like finding unions, intersections, removing duplicates, and more using sets.
- Find the Union and Intersection of two unsorted arrays
- Count distinct elements in an array
- Longest Consecutive Subsequence
- Remove duplicates from a sorted array
- K’th Smallest/Largest Element in Unsorted Array
Commonly Asked Questions on Set Theory
What is the basis of set theory?
Set Theory is the study of a collection of objects which are called sets and the relation between different sets.
How do you define a set?
Set is a well-defined collection of objects. These objects are called the element of sets.
Who Invented Set Theory?
Set Theory was invented by German Mathematician Georg Cantor.
What is the Algebra of Sets?
Algebra of Sets deals with the following laws:
- Commutative Laws
- Associative Law
- Distributive Law
- Identity Law
- Idempotent Law
These laws are covered in the article under Properties of Sets.
What is a Subset?
A subset is a set that has fewer or equal elements of another set. The other set is called a Superset.
What is De Morgan's Law?
De Morgan's Law is a law that deals with the union and intersection of sets with the intersection and union of individual sets respectively. There are two laws under it namely De Morgan's Law of Union and De Morgan's Law of Intersection. These are covered under the section of De Morgan's Law in this article.
Introduction to Set Theory
Visit Course

Introduction to Set Theory

Set Symbols

Set Operations: Union, Intersection, Complement & Difference

Cartesian Product of Sets
Next Article
NCERT Solutions for Class 8 to 12
Kkartik
Improve
Article Tags :
- Mathematics
- School Learning
- Set Theory
- Tutorials
Similar Reads
Maths Mathematics, often referred to as "math" for short. It is the study of numbers, quantities, shapes, structures, patterns, and relationships. It is a fundamental subject that explores the logical reasoning and systematic approach to solving problems. Mathematics is used extensively in various fields 5 min readBasic Arithmetic
Algebra
Geometry
Trigonometry & Vector Algebra
Calculus
Probability and Statistics
Basic Concepts of ProbabilityProbability is defined as the likelihood of the occurrence of any event. Probability is expressed as a number between 0 and 1, where 0 is the probability of an impossible event and 1 is the probability of a sure event.Concepts of Probability are used in various real life scenarios : Stock Market : I 6 min read Bayes' TheoremBayes' Theorem is a mathematical formula used to determine the conditional probability of an event based on prior knowledge and new evidence. It adjusts probabilities when new information comes in and helps make better decisions in uncertain situations.Bayes' Theorem helps us update probabilities ba 13 min read Probability Distribution - Function, Formula, TableA probability distribution is a mathematical function or rule that describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment.While a frequency distribution shows 15+ min read Descriptive StatisticStatistics is the foundation of data science. Descriptive statistics are simple tools that help us understand and summarize data. They show the basic features of a dataset, like the average, highest and lowest values and how spread out the numbers are. It's the first step in making sense of informat 5 min read What is Inferential Statistics?Inferential statistics is an important tool that allows us to make predictions and conclusions about a population based on sample data. Unlike descriptive statistics, which only summarizes data, inferential statistics lets us test hypotheses, make estimates and measure the uncertainty about our pred 7 min read Measures of Central Tendency in StatisticsCentral tendencies in statistics are numerical values that represent the middle or typical value of a dataset. Also known as averages, they provide a summary of the entire data, making it easier to understand the overall pattern or behavior. These values are useful because they capture the essence o 11 min read Set TheorySet theory is a branch of mathematics that deals with collections of objects, called sets. A set is simply a collection of distinct elements, such as numbers, letters, or even everyday objects, that share a common property or rule.Example of SetsSome examples of sets include:A set of fruits: {apple, 3 min readPractice
top_of_element && top_of_screen < bottom_of_element) || (bottom_of_screen > articleRecommendedTop && top_of_screen < articleRecommendedBottom) || (top_of_screen > articleRecommendedBottom)) { if (!isfollowingApiCall) { isfollowingApiCall = true; setTimeout(function(){ if (loginData && loginData.isLoggedIn) { if (loginData.userName !== $('#followAuthor').val()) { is_following(); } else { $('.profileCard-profile-picture').css('background-color', '#E7E7E7'); } } else { $('.follow-btn').removeClass('hideIt'); } }, 3000); } } }); } $(".accordion-header").click(function() { var arrowIcon = $(this).find('.bottom-arrow-icon'); arrowIcon.toggleClass('rotate180'); });});window.isReportArticle = false;function report_article(){ if (!loginData || !loginData.isLoggedIn) { const loginModalButton = $('.login-modal-btn') if (loginModalButton.length) { loginModalButton.click(); } return;} if(!window.isReportArticle){ //to add loader $('.report-loader').addClass('spinner'); jQuery('#report_modal_content').load(gfgSiteUrl+'wp-content/themes/iconic-one/report-modal.php', { PRACTICE_API_URL: practiceAPIURL, PRACTICE_URL:practiceURL },function(responseTxt, statusTxt, xhr){ if(statusTxt == "error"){ alert("Error: " + xhr.status + ": " + xhr.statusText); } }); }else{ window.scrollTo({ top: 0, behavior: 'smooth' }); $("#report_modal_content").show(); }} function closeShareModal() { const shareOption = document.querySelector('[data-gfg-action="share-article"]'); shareOption.classList.remove("hover_share_menu"); let shareModal = document.querySelector(".hover__share-modal-container"); shareModal && shareModal.remove();}function openShareModal() { closeShareModal(); // Remove existing modal if any let shareModal = document.querySelector(".three_dot_dropdown_share"); shareModal.appendChild(Object.assign(document.createElement("div"), { className: "hover__share-modal-container" })); document.querySelector(".hover__share-modal-container").append( Object.assign(document.createElement('div'), { className: "share__modal" }), ); document.querySelector(".share__modal").append(Object.assign(document.createElement('h1'), { className: "share__modal-heading" }, { textContent: "Share to" })); const socialOptions = ["LinkedIn", "WhatsApp","Twitter", "Copy Link"]; socialOptions.forEach((socialOption) => { const socialContainer = Object.assign(document.createElement('div'), { className: "social__container" }); const icon = Object.assign(document.createElement("div"), { className: `share__icon share__${socialOption.split(" ").join("")}-icon` }); const socialText = Object.assign(document.createElement("span"), { className: "share__option-text" }, { textContent: `${socialOption}` }); const shareLink = (socialOption === "Copy Link") ? Object.assign(document.createElement('div'), { role: "button", className: "link-container CopyLink" }) : Object.assign(document.createElement('a'), { className: "link-container" }); if (socialOption === "LinkedIn") { shareLink.setAttribute('href', `https://www.linkedin.com/sharing/share-offsite/?url=${window.location.href}`); shareLink.setAttribute('target', '_blank'); } if (socialOption === "WhatsApp") { shareLink.setAttribute('href', `https://api.whatsapp.com/send?text=${window.location.href}`); shareLink.setAttribute('target', "_blank"); } if (socialOption === "Twitter") { shareLink.setAttribute('href', `https://twitter.com/intent/tweet?url=${window.location.href}`); shareLink.setAttribute('target', "_blank"); } shareLink.append(icon, socialText); socialContainer.append(shareLink); document.querySelector(".share__modal").appendChild(socialContainer); //adding copy url functionality if(socialOption === "Copy Link") { shareLink.addEventListener("click", function() { var tempInput = document.createElement("input"); tempInput.value = window.location.href; document.body.appendChild(tempInput); tempInput.select(); tempInput.setSelectionRange(0, 99999); // For mobile devices document.execCommand('copy'); document.body.removeChild(tempInput); this.querySelector(".share__option-text").textContent = "Copied" }) } }); // document.querySelector(".hover__share-modal-container").addEventListener("mouseover", () => document.querySelector('[data-gfg-action="share-article"]').classList.add("hover_share_menu"));}function toggleLikeElementVisibility(selector, show) { document.querySelector(`.${selector}`).style.display = show ? "block" : "none";}function closeKebabMenu(){ document.getElementById("myDropdown").classList.toggle("show");}
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy



