Sets in Maths: Definition, Examples & Types - GeeksforGeeks (2025)

Last Updated : 06 Jun, 2025

Comments

Improve

In mathematics, a set is simply a collection of distinct objects, called elements or members, grouped together because they share some property or characteristic. You can think of it like a "basket" where you collect items that fit a certain rule or idea.

For example:

  • A set of all vowels in the English alphabet: {a, e, i, o, u}
  • A set of numbers greater than 5: {6, 7, 8, 9, 10, ...}

Definition of Sets

A setA is written as:

A = {x ∣ propertyofx}

This meansAis the set of allxsuch thatxsatisfies a certain property.

Key characteristics of sets are:

  • Well-defined: The contents of the set are clearly specified and identifiable.
    • Example: The set of natural numbers less than 5 is {1, 2, 3, 4}.
  • Distinct Elements: A set cannot have duplicate elements.
    • Example: {1, 2, 2, 3} is the same as {1, 2, 3}.
  • Order of Elements: The order of elements does not matter.
    • Example: {1, 2, 3} is the same as {3, 2, 1}.

Examples of Sets

Some of the common examples of sets are:

Finite Sets

  • A set of vowels in the English alphabet: A = {a, e, i, o, u}
  • A set of natural numbers less than 6: B = {1, 2, 3, 4, 5}
  • A set of primary colors: C = {red,blue,yellow}

Infinite Sets

  • A set of natural numbers: N = {1, 2, 3, 4, . . .}
  • A set of integers: Z = {. . . , -3, -2, -1, 0, 1, 2, 3, . . . }
  • A set of real numbers greater than 0: R+ = {x∣x > 0}

Empty (Null) Set

  • A set of months with 32 days: ∅ = {}
  • A set of natural numbers less than 1: ∅ = {}

Real-World Examples of Set

  • A set of planets in the Solar System: P = {Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune}

Types of Sets

Sets can be classified based on their properties and characteristics. Some common types of sets are:

  • Singleton Set
  • Empty Set
  • Finite Set
  • Infinite Set
  • Equal Set
  • Equivalent Set

Operations on Sets

Operations on sets are rules that combine, compare, or manipulate sets to create new sets. Some of these operations are:

  • Union: A ∪ B = {x ∣ x∈ Aorx ∈ B}
  • Intersection: A ∩ B = {x ∣ x ∈ Aandx ∈ B}
  • Difference: A − B = {x ∣ x ∈ Aandx ∉ B}
  • Complement: If U is the universal set, the complement of A is: Ac = U − A.

Solved Examples on Sets

Question 1: Given the set A = {1, 2, 3, 4, 5}, identify the type of set.

Solution:

The set A = {1, 2, 3, 4 ,5} is a Finite Set because it contains a definite number of elements (5 elements in this case).

Question 2: Let A = {1, 2, 3} and B = {3, 4, 5}. Find the union of sets A and B.

Solution:

The union of two sets A and B is the set of all elements that are in A, B, or both.

A ∪ B = {1, 2, 3, 4, 5} (Notice the duplicate element 3 is only counted once).

Question 3: Let A = {2, 4, 6, 8} and B = {1, 2, 3, 4}. Find the intersection of sets A and B.

Solution:

The intersection of two sets A and B is the set of all elements that are common to both sets.

A ∩ B = {2, 4}

Question 4: Let A = {1, 2, 3, 4, 5} and B = {3, 4, 5, 6, 7}. Find the difference A − B.

Solution:

The difference A − B consists of elements that are in A but not in B.

A − B = {1, 2}

Question 5: Let U = {1, 2, 3, 4, 5, 6, 7} be the universal set, and A = {2, 4, 6}. Find the complement of A (denoted as Ac).

Solution:

The complement of set A, denoted Ac, consists of all the elements in the universal set U that are not in A.

Ac = U − A = {1, 3, 5, 7}

Unsolved Practice Questions

Question 1: Given the set B = {a, e, i, o, u}, identify the type of set.

Question 2: Let X = {1, 2, 3, 4} and Y = {3, 4, 5, 6}. Find the union of sets X and Y.

Question 3: Let M = {2, 5, 7, 10} and N = {1, 5, 9, 10}. Find the intersection of sets M and N.

Question 4: Let P = {1, 3, 5, 7, 9} and Q = {2, 4, 6, 8, 10}. Find the difference P − Q.

Question 5: Let U = {2, 4, 6, 8, 10, 12, 14} be the universal set, and S = {6, 8, 12}. Find the complement of S (denoted as Sc).

Read More,

  • Set Theory
  • Subsets
  • Supersets
  • Power Set
  • Set Symbols
  • Set Notations in LaTeX

Next Article

What is Sets in Maths?

somesh_barthwal

Improve

Article Tags :

  • Mathematics
  • School Learning
  • Set Theory
  • Maths

Similar Reads

    Subsets in Maths Subsets in Maths are a core concept in the study of Set Theory. It can be defined as a group of elements, objects, or members enclosed in curly braces, such as {x, y, z} is called a Set, where each member of the set is unique and is taken from another set called the Parent Set.This article explores 12 min read What is Superset? Superset is one of the not-so-common topics in set theory, as this is not used as much as its related term, i.e., Subset. A superset is a set that contains all of the items of another set, known as the subset. We know that if B is contained within A, that means A contains B. In other words, if B is 11 min read Relations in Mathematics Relation in Mathematics is defined as the relationship between two sets. If we are given two sets set A and set B and set A has a relation with set B then each value of set A is related to a value of set B through some unique relation. Here, set A is called the domain of the relation, and set B is c 9 min read Finite Sets Finite set is a collection of finite, well-defined elements. For better understanding, imagine you have a bunch of your favourite toys or snacks. You know exactly how many you have, that's the idea of a finite set in math. A finite set is a way to discuss collections of things you can count. In this 10 min read What is the first counting number? The number system includes different types of numbers for example prime numbers, odd numbers, even numbers, rational numbers, whole numbers, etc. These numbers can be expressed in the form of figures as well as words accordingly. For example, the numbers like 40 and 65 expressed in the form of figur 5 min read Function in Maths A function in math is like a machine that takes an input, does something to it, and gives a specific output. For each input, there’s exactly one output. It’s a rule that connects each input to one and only one result. Functions are fundamental in fields like algebra and calculus. They help model rel 4 min read Operations on Sets Sets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this article, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each 15+ min read Set Notations in LaTeX LaTeX is widely used for typesetting mathematics and offers a variety of commands to represent set notation clearly and beautifully. Set notation is frequently used in mathematics, and LaTeX makes it easy to write.Set theory plays a fundamental role in logic, mathematics, and computer science. One c 3 min read What is a Whole Number? Numbers are the mathematical figures or values applicable for counting, measuring, and other arithmetic calculations. Some examples of numbers are integers, whole numbers, natural numbers, rational and irrational numbers, etc.In this article, we will answer the question "What are whole numbers?" alo 5 min read What are the subsets of rational numbers? A number is a fundamental concept in mathematics. Numbers are used to count, measure, maintain things in order, index, and so on. Natural numbers, whole numbers, rational and irrational numbers, integers, real numbers, complex numbers, even and odd numbers, and so on are examples of different sorts 6 min read
Sets in Maths: Definition, Examples & Types - GeeksforGeeks (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Laurine Ryan

Last Updated:

Views: 6138

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.