HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Mathematics
  2. /Functions and Calculus
  3. /Sets and Intervals

Sets and Intervals

Mathematics · High School (11–12), High School (9–10) · 1 course, 12 worked problems, 39 practice questions

A set is a well-defined collection of objects, such as the prime numbers less than 202020. We list its members in braces or describe them by a rule. Two sets can be joined (union), overlap (intersection) or have one taken from the other (difference). A Venn diagram shows these at a glance. For two sets, n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)n(A∪B)=n(A)+n(B)−n(A∩B). An interval is a set of real numbers between two ends, such as [2,5)[2, 5)[2,5), which includes 222 but not 555. Surveys of who likes what are often solved with Venn diagrams.

With practice you will be able to

  • Find the union, intersection and complement of sets
  • Solve survey problems with a Venn diagram
  • Write a set of real numbers in interval notation

On the syllabus of

  • JEE Main
  • JEE Advanced
  • BITSAT
  • KCET
  • WBJEE
  • VITEEE
  • KEAM
  • COMEDK UGET
  • and 11 more

Lessons

  • Sets, Relations and Functions46 students like football, 38 like cricket, 20 like both. How many of 80 like neither?High School (11–12)

Practice questions

Choose an answer, then check it. Each one shows a full explanation.

The universal set is ξ={1,2,3,4,5,6,7,8,9}\xi = \{1, 2, 3, 4, 5, 6, 7, 8, 9\}ξ={1,2,3,4,5,6,7,8,9} and A={1,3,5,7,9}A = \{1, 3, 5, 7, 9\}A={1,3,5,7,9}. Which set is A′A'A′?

Set AAA holds the first five even numbers {2,4,6,8,10}\{2, 4, 6, 8, 10\}{2,4,6,8,10} and set B={4,8,12}B = \{4, 8, 12\}B={4,8,12}. How many elements are in A∪BA \cup BA∪B?

Of 363636 cyclists, 202020 ride on roads, 151515 ride on tracks and 777 ride on both. How many ride on neither?

Extended. A={2,4,6}A = \{2, 4, 6\}A={2,4,6}. Which statement is true?

Worked problems

Each one has a hint, the key idea and a full worked solution.

  • A teacher writes the whole numbers from 1 to 20 on the board…Easy
  • Extended. The universal set is ξ = {1, 2, 3, …, 30}…Medium
  • Extended. Three straight roads are drawn on a map with a coordinate grid, in kilometres…Hard
  • In a class of 35 pupils, 18 have a dog, 14 have a cat and 6 have both a dog and a cat…Easy

Python labs

  • Count a class with sets

Related topics

  • Functions and Calculus
  • Relations and Functions
  • Graphs of Functions
  • Composite and Inverse Functions
  • Functions as Models of Data
  • Functional Equations
  • Counting Functions
  • Limits and Derivatives
  • Continuity and Differentiability
  • Application of Derivatives
  • Integrals
  • Application of Integrals
  • Differential Equations

The Venn diagram shows the number of elements in each region of two sets AAA and BBB. How many elements are in A′A'A′?

Extended. Of 303030 learners, 141414 study Spanish (PPP), 111111 study Italian (QQQ) and 999 study Latin (RRR). Also n(P∩Q)=5n(P \cap Q) = 5n(P∩Q)=5, n(P∩R)=4n(P \cap R) = 4n(P∩R)=4, n(Q∩R)=3n(Q \cap R) = 3n(Q∩R)=3 and n(P∩Q∩R)=2n(P \cap Q \cap R) = 2n(P∩Q∩R)=2. How many study none of the three?

Extended. In a universal set of 404040 elements, A⊆BA \subseteq BA⊆B, n(A)=10n(A) = 10n(A)=10 and n(B′)=18n(B') = 18n(B′)=18. How many elements are in B∩A′B \cap A'B∩A′?

A club has 606060 members. Of these, 383838 play chess and 303030 play draughts. The number of members who play both games is twice the number who play neither game. How many members play exactly one of the two games?

A fishing authority models a stock PPP, in tonnes, by dPdt=0.45P(1−P1000)−90\dfrac{dP}{dt} = 0.45P\left(1 - \dfrac{P}{1000}\right) - 90dtdP​=0.45P(1−1000P​)−90, where ttt is in years and 909090 tonnes are caught each year. The stock settles at a steady value if it starts high enough. What is that steady value, to the nearest 0.10.10.1 tonne?

A radio receiver produces the signal g(x)=sin⁡xsin⁡x+cos⁡xg(x) = \dfrac{\sin x}{\sin x + \cos x}g(x)=sinx+cosxsinx​, where xxx is the phase of the input in radians, for 0≤x≤π20 \le x \le \dfrac{\pi}{2}0≤x≤2π​. A smoothing circuit passes on the mean of the signal over this whole quarter cycle, and a fixed reference level is compared with it. What is the mean value of ggg over this interval?

All 39 practice questions on Sets and Intervals →

In a year group of 60 students, each student may study French (set F) and German (set G)…
Medium
  • Extended. A school has 50 students who may join drama (set D), music (set M) and art (set A)…Hard
  • A survey asks 31 people whether they drink tea (set T) or coffee (set C)…Medium
  • Three sets of real numbers are defined by A = {x : |2x - 3| < 7}, B = {x : x² - 9x + 8 ≤ 0}, C = {x…Medium
  • Write A = {x : x ∈ ℤ, -4 < x ≤ 3} in roster form…Easy
  • In a group of 80 students, 46 like football, 38 like cricket and 20 like both…Medium
  • Let A = {a, b, {c, d}}. Say which of these are true…Medium
  • Let U = {1, 2, …, 12}, A = {2, 4, 6, 8, 10, 12} and B = {3, 6, 9, 12}…Medium