MatheramaMatherama
← Basic Maths
Basic Maths·Section 1·44 min read

Concept of Sets, Notation and Operation

Why should one learn about Sets?§

Sets serve as a foundational concept in mathematics, providing a framework for understanding and formalizing the notion of collections of objects. Knowledge of set theory is crucial because it forms the basis for various branches of mathematics, including algebra, geometry, and calculus.

For instance, consider the equation:

(x(x−1)(x−2)(x−3)(x−4))2+((x−3)(x−4)(x−5))2=0.(x(x - 1)(x - 2)(x - 3)(x - 4))^2 + ((x - 3)(x - 4)(x - 5))^2 = 0.

To find all real values of xx that satisfy this equation, we apply the principle that if p2+q2=0p^2 + q^2 = 0, then both pp and qq must be zero because the square of a real number is non-negative. Consequently, each term must independently equal zero.

Term 1: (x(x−1)(x−2)(x−3)(x−4))2=0(x(x - 1)(x - 2)(x - 3)(x - 4))^2 = 0 yields solutions 0,1,2,3,40, 1, 2, 3, 4.

Term 2: ((x−3)(x−4)(x−5))2=0((x - 3)(x - 4)(x - 5))^2 = 0 yields solutions 3,4,53, 4, 5.

The comprehensive list of possible solutions is 0,1,2,3,4,50, 1, 2, 3, 4, 5 when combining all solutions. However, not all these values are actual solutions to the original equation; only x=3x = 3 and x=4x = 4 satisfy both terms simultaneously, thus making the entire expression equal to zero.

Using set theory, we can concisely express these findings. Let A={0,1,2,3,4}A = \{0, 1, 2, 3, 4\} represent the solutions from the first term, and B={3,4,5}B = \{3, 4, 5\} for the second term. The set containing all the potential solutions is A∪BA \cup B, which is {0,1,2,3,4,5}\{0, 1, 2, 3, 4, 5\}. Nevertheless, the actual solution set, corresponding to values that satisfy both terms, is A∩B={3,4}A \cap B = \{3, 4\}. This illustrates the power of set theory in providing clear and succinct representations of complex concepts, highlighting its importance in mathematical problem-solving.

Definition of a Set§

A set is an unordered collection of distinct, well-defined objects.

Unordered: The elements of a set do not have a specific sequence; their arrangement within the set does not matter. For example, if we consider a bag filled with colored balls, the order in which the balls are placed in the bag is irrelevant. Whether a red ball is added before a blue ball or vice versa, it does not change the contents of the bag.

Distinct: Sets contain unique elements, with no repetitions. Continuing with the bag analogy, even if we place several balls of the same color into the bag, within the context of set theory, we only acknowledge the presence of one ball of each color. If we were to list the contents, we would mention each color only once.

Well-Defined: The elements of a set must be clearly defined, allowing for unambiguous determination of whether an object belongs to the set or not. In terms of the bag analogy, this would be akin to having a rule that states only balls of certain colors can be included. If a ball's color is on the accepted list, it belongs in the bag; if not, it does not. This rule precisely determines the composition of the bag's contents.

Set Notation§

In set notation, sets are usually denoted by capital letters, and when there is a series of related sets, subscripts are employed to differentiate them. For example, A1,A2,A3,…A_1, A_2, A_3, \ldots might represent different sets in a sequence.

The curly braces {}\{ \} signify the collection of elements that constitute the set. These elements are written between the braces, separated by commas, and can include numbers, variables, or other types of objects.

Here are some examples of sets:

  1. A={1,2,3,4,5,6,7}A = \{1, 2, 3, 4, 5, 6, 7\} is a set containing the first seven natural numbers.

  2. Bodd={1,3,5,7,9}B_{\text{odd}} = \{1, 3, 5, 7, 9\} represents a set of the first five odd numbers.

  3. Cprime={2,3,5,7,11,13,17,19,23,…}C_{\text{prime}} = \{2, 3, 5, 7, 11, 13, 17, 19, 23, \ldots\} represents the set of all prime numbers, which is infinite.

  4. Di={0,i,2i,3i,4i}D_i = \{0, i, 2i, 3i, 4i\} where ii is an integer and the set consists of the first five non-negative multiples of ii.

  5. Evowels={′a′,′e′,′i′,′o′,′u′}E_{\text{vowels}} = \{'a', 'e', 'i', 'o', 'u'\} is the set of lowercase vowels in the English alphabet.

Types of sets§

  • Null Set (Void Set or Empty Set): This is a set that contains no elements. It is denoted by ∅\emptyset or {}\{\}. The empty set is a subset of every set, including itself.

  • Singleton Set: A singleton set contains exactly one element. For example, the set {a}\{a\} is a singleton set because it contains only the element aa.

  • Finite Set: A set is finite if it contains a limited number of elements. The number of elements in a finite set is a non-negative integer. For example, the set {1,2,3,4,5}\{1, 2, 3, 4, 5\} is finite because it contains five elements.

  • Infinite Set: A set is infinite if it contains an unlimited number of elements. In other words, an infinite set is not finite. The set of all natural numbers N={1,2,3,…}\mathbb{N} = \{1, 2, 3, \ldots\} is an example of an infinite set, as there is no limit to the counting numbers.

Special Symbols for some sets§

Special sets in mathematics often represent collections of numbers with specific properties. YOu will be using this set throughout this course in every chapter.Here are descriptions of some of these sets:

  1. R\mathbb{R}: Represents the set of all real numbers, which includes all rational and irrational numbers. Real numbers can be thought of as any point along an infinitely long line. This set encompasses all possible magnitudes and includes both positive and negative numbers, as well as zero.

  2. Z\mathbb{Z}: Denotes the set of all integers. Integers include all whole numbers and their negative counterparts, as well as zero. This set does not include fractions or decimal numbers.

  3. N\mathbb{N}: Stands for the set of all natural numbers. Traditionally, natural numbers are the set of positive integers starting from 1, used for counting and ordering. Some definitions include zero in this set.

  4. Q\mathbb{Q}: Represents the set of all rational numbers. A rational number can be expressed as the quotient or fraction pq\frac{p}{q} of two integers, where pp is the numerator, qq is the denominator, and q≠0q \neq 0. This set includes numbers such as 12\frac{1}{2}, 33, and −45-\frac{4}{5}.

  5. W\mathbb{W}: Sometimes used to denote the set of whole numbers, though this notation is not as standardized as others. Whole numbers are similar to natural numbers but include zero, i.e., {0,1,2,3,…}\{0, 1, 2, 3, \ldots\}.

  6. R−Q\mathbb{R} - \mathbb{Q}: Represents the set of irrational numbers, which are real numbers that cannot be expressed as a ratio of two integers. These numbers have non-repeating, non-terminating decimal expansions. Examples include 2\sqrt{2} and π\pi.

  7. R+\mathbb{R}^+: Denotes the set of all positive real numbers. This set includes all real numbers greater than zero, covering both rational and irrational numbers, but excludes zero itself.

  8. Z+\mathbb{Z}^+: Represents the set of all positive integers, also known as the set of natural numbers by some definitions. This includes numbers like 1,2,3,…1, 2, 3, \ldots, excluding zero and any negative numbers.

These sets play crucial roles in various branches of mathematics, providing a foundation for defining numbers, operations, and mathematical concepts.

Set Membership Symbol§

The set membership symbol ∈\in denotes "is a member of" or "is an element of." Conversely, the symbol ∉\notin indicates "does not belong to" or "is not an element of."

For example, using the set of prime numbers P={2,3,5,7,11,…}P = \{2, 3, 5, 7, 11, \ldots\}:

  • 3∈P3 \in P means 3 is a member of the set of prime numbers.
  • 4∉P4 \notin P means 4 is not a member of the set of prime numbers.

Subset and Superset§

Subset§

A subset is defined as follows: Given two sets AA and BB, if every element of set AA is also an element of set BB, then AA is a subset of BB, denoted as A⊆BA \subseteq B.

For example, consider the set of prime numbers less than 10, P={2,3,5,7}P = \{2, 3, 5, 7\}, and the set of natural numbers N={1,2,3,4,5,…}\mathbb{N} = \{1, 2, 3, 4, 5, \ldots\}. Since every element of PP is also an element of N\mathbb{N}, we can say that PP is a subset of N\mathbb{N}, or P⊆NP \subseteq \mathbb{N}.

Superset§

A superset is defined in relation to the concept of a subset. Given two sets AA and BB, if every element of AA is also an element of BB, then AA is a subset of BB, denoted as A⊆BA \subseteq B. Conversely, BB is said to be a superset of AA, which means that BB contains all elements of AA along with possibly more elements not in AA. The notation for BB being a superset of AA is B⊇AB \supseteq A.

How to prove a set is subset of another set§

To prove theoretically that a set AA is a subset of another set BB, one typically follows these steps:

  1. Assume an Arbitrary Element: Take an arbitrary element xx from set AA. The choice of xx is arbitrary to ensure that the argument applies to every element of AA without exception.

  2. Demonstrate Membership in BB: Then, using definitions, properties, or other logical arguments, demonstrate that this arbitrary element xx also belongs to set BB, i.e., show that x∈Bx \in B.

  3. Apply Universal Generalization: Since the element xx was chosen arbitrarily from AA and it was shown that x∈Bx \in B, by the principle of universal generalization, one can conclude that this argument holds for all elements of AA. Therefore, every element of AA is also an element of BB, which means A⊆BA \subseteq B.

This method relies on the foundational logic that if a property holds for any arbitrary element of a set, then it holds for all elements of that set.

Equality of Sets§

Equality of two sets occurs when they contain exactly the same elements. A more precise definition is that two sets AA and BB are equal, denoted as A=BA = B, if every element of AA is in BB and every element of BB is in AA. This condition implies that AA is a subset of BB (A⊆BA \subseteq B) and BB is a subset of AA (B⊆AB \subseteq A). The mutual subset relationship establishes that AA and BB have identical membership, hence are equal.

Let's consider two sets A={1,2,3}A = \{1, 2, 3\} and B={3,2,1}B = \{3, 2, 1\}.

To demonstrate A=BA = B:

  1. Show A⊆BA \subseteq B: Every element of AA (which are 1, 2, and 3) is also found in BB. There is no element in AA that is not in BB.

  2. Show B⊆AB \subseteq A: Similarly, every element of BB (which are 3, 2, and 1, noting the order does not matter in a set) is also found in AA. There is no element in BB that is not in AA.

Since both A⊆BA \subseteq B and B⊆AB \subseteq A are true, by definition, A=BA = B. This demonstrates that despite the difference in how the elements are listed, the sets are equal because they contain the exact same elements.

Proper Subset§

A proper subset is defined when set AA is a subset of set BB, and there exists at least one element in BB that is not in AA. This relationship is denoted as A⊊BA \subsetneq B or simply A⊂BA \subset B, indicating that while all elements of AA are in BB, AA does not contain every element of BB, making AA strictly smaller than BB in terms of its composition. The distinction here is that AA cannot be equal to BB; there must be at least one element that is unique to BB, which is not found in AA.

Let A={1,2}A = \{1, 2\} and B={1,2,3}B = \{1, 2, 3\}.

In this case, AA is a proper subset of BB because:

  • Every element of AA (which are 1 and 2) is also in BB.
  • There is at least one element in BB (which is 3) that is not in AA.

Thus, A⊊BA \subsetneq B or A⊂BA \subset B, demonstrating that AA is a proper subset of BB.

Operations on Sets§

Union§

The union of two sets AA and BB, denoted by A∪BA \cup B, is the process of merging the elements of AA and BB into a single set where each distinct element appears only once. This operation does not consider the repetition of elements; if an element is present in both AA and BB, it is included only once in the union.

Precisely defined, the union A∪BA \cup B can be represented as:

A∪B={x:x∈A or x∈B}A \cup B = \{x : x \in A \text{ or } x \in B\}

This means the set A∪BA \cup B consists of all elements xx such that xx is an element of AA, an element of BB, or an element of both.

Intersection of two sets§

The intersection of two sets AA and BB, denoted by A∩BA \cap B, is defined as the set containing all elements that are common to both AA and BB. In other words, an element xx is in A∩BA \cap B if and only if xx is in both AA and BB.

Formally, the intersection is represented as:

A∩B={x:x∈A and x∈B}A \cap B = \{x : x \in A \text{ and } x \in B\}

This definition implies that for an element to be included in the intersection set, it must satisfy the membership criteria for both of the original sets.

The intersection of two sets can indeed be the null set, also known as the empty set ∅\emptyset, when the two sets have no elements in common. Sets with this property are referred to as disjoint sets.

Formally, two sets AA and BB are disjoint if their intersection is the empty set:

A∩B=∅A \cap B = \emptyset

This means there are no elements that both AA and BB share.

Complement of a Set§

The complement of a set AA, denoted by AcA^c (or sometimes Aˉ\bar{A}), consists of all elements that are in the universal set UU but not in AA. The concept of the complement relies on the existence of a universal set UU, which contains all objects or elements under consideration.

Formally, the complement of AA is defined as:

Ac={x∈U:x∉A}A^c = \{x \in U : x \notin A\}

This means that AcA^c includes every element that is part of UU but is excluded from AA. It's important to note that the complement of AA is relative to UU; changing UU can change AcA^c.

Set Difference§

The difference of two sets AA and BB, denoted by A−BA - B or A∖BA \setminus B, consists of all elements that are in AA but not in BB. This operation effectively "subtracts" the elements of BB from AA.

Formally, the difference is defined as:

A−B={x:x∈A and x∉B}A - B = \{x : x \in A \text{ and } x \notin B\}

This means that A−BA - B includes every element that is a member of AA but excludes any member that is also in BB. The difference of sets highlights the elements that are unique to the first set when compared to the second.

Intervals§

A brief history of real numbers§

The history of numbers encompasses the evolution from counting numbers (natural numbers N\mathbb{N}) to a more comprehensive understanding that includes whole numbers, fractions (rational numbers Q\mathbb{Q}), and the realization of irrational numbers. Initially, natural numbers (1,2,3,…1, 2, 3, \ldots) were used for counting. The concept of zero was later introduced, expanding the set to whole numbers (0,1,2,3,…0, 1, 2, 3, \ldots). Fractions led to the development of rational numbers, which can be expressed as the quotient ab\frac{a}{b}, where aa and bb are integers, and b≠0b \neq 0.

The Greeks, using ropes to measure lengths, could represent any rational number. For instance, if a rope is one unit long and divided into three parts, then two parts represent 23\frac{2}{3}. However, the discovery that not all numbers are rational marked a significant advancement in mathematics. It was Hippasus of the Pythagorean school who first suggested that the square root of 2 (2\sqrt{2}) could not be expressed as a fraction, implying its irrationality. He did that by showing that the diagonal of a square with side length 1 unit cannot be expressed as a rational number, though it clearly exists as a geometric length. This was a shocking revelation, as it contradicted the Pythagorean belief in the universality of rational numbers.

The formal proof of the irrationality of 2\sqrt{2} is due to Euclid, who showed that if 2\sqrt{2} were rational, it would lead to a contradiction, thereby establishing its irrational nature. This proof is a milestone in the history of mathematics, highlighting the existence of numbers beyond the rational spectrum, and leading to the broader concept of real numbers (R\mathbb{R}), which includes both rational and irrational numbers.

Thus, the set of rational numbers (Q\mathbb{Q}) has "gaps," which are points on the number line that cannot be represented by any rational number. These gaps correspond to irrational numbers—numbers that cannot be expressed as the ratio of two integers. The existence of these gaps highlights the incompleteness of the rational numbers as a number system when compared to the real numbers (R\mathbb{R}).

The real numbers include both rational numbers and irrational numbers, thereby "completing" the number line without gaps. This completeness is a fundamental property of the real numbers, essential for the development of calculus, analysis, and much of modern mathematics.

In foundational mathematics, real numbers are often introduced through intuitive concepts or as an axiom set, especially at elementary levels, allowing for an immediate application in calculus and analysis. However, in higher mathematics, the construction and properties of real numbers are treated with rigorous formalism, based on set theory and axiomatic frameworks.

In the higher mathematics framework, particularly in real analysis, the real numbers (R\mathbb{R}) are constructed and understood through rigorous axiomatic approaches. Beyond considering real numbers as an intuitive or axiomatic set, advanced mathematical treatments often involve principles like the Nested Interval Property (NIP), and the Axiom of Completeness, to systematically construct and analyze real numbers. One foundational approach to constructing the real numbers (R\mathbb{R}) is through the completion of the rational numbers (Q\mathbb{Q}), using techniques like Dedekind cuts or Cauchy sequences.

Negative Numbers§

Negative numbers were initially met with skepticism due to their abstract nature. Their early use can be traced back to ancient China and India, where they were used for practical purposes like accounting and solving equations. Chinese mathematicians during the Han Dynasty and Indian mathematicians like Brahmagupta in the 7th century AD were among the first to formally recognize and use negative numbers.

In Europe, the acceptance of negative numbers evolved slowly, gaining traction in the 15th and 16th centuries with their utility in solving quadratic equations and bookkeeping. It wasn't until the 17th century, with mathematicians such as John Wallis and Isaac Newton, and the advent of coordinate geometry by René Descartes, that negative numbers became widely accepted. By the 18th and 19th centuries, with the formalization of mathematical concepts, negative numbers were fully integrated into mathematics, becoming indispensable across various fields.

Definition of an Interval§

An interval is a set of real numbers lying between two specific real numbers, serving as the set's endpoints. This concept closely parallels the geometric idea of segments or cuts on the real line, where an interval represents a continuous stretch or segment between two points on this line. Just as a segment in geometry connects two points on a plane or in space, an interval connects two points on the number line, encompassing all the real numbers that lie between these two points.

Why is an interval a set?§

An interval is a set because it meets the definition of a set: a collection of distinct objects considered as a whole. In the context of intervals within the real numbers, these "objects" are the real numbers that fall within specified boundaries (endpoints). Like any set, an interval can be described by its members' properties, specifically those real numbers that lie between its endpoints, whether or not including the endpoints themselves. This collection of numbers, defined by a common property of lying within certain bounds on the real number line, thus forms a set according to the principles of set theory.

Closed Interval§

A closed interval is a set of real numbers that includes all the numbers between two specified endpoints, and importantly, it also includes the endpoints themselves. If aa and bb are the endpoints, the closed interval is denoted by [a,b][a, b], where a≤x≤ba \leq x \leq b for any xx in the interval. This means every number greater than or equal to aa and less than or equal to bb is part of the interval, making it "closed" because it contains its boundary points.

A closed interval [a,b][a, b] can be written in set-builder form as:

{x∈R∣a≤x≤b}\{x \in \mathbb{R} \mid a \leq x \leq b\}

This denotes the set of all real numbers xx such that xx is greater than or equal to aa and less than or equal to bb.

Open Interval§

An open interval is a set of real numbers that includes all the numbers between two specified endpoints but does not include the endpoints themselves. If aa and bb are the endpoints, the open interval is denoted by (a,b)(a, b), where a<x<ba < x < b for any xx in the interval. This means every number that is strictly greater than aa and strictly less than bb is part of the interval, making it "open" because it excludes its boundary points. In set-builder notation, an open interval is written as:

{x∈R∣a<x<b}\{ x \in \mathbb{R} \mid a < x < b \}

This denotes the set of all real numbers xx such that xx is greater than aa and less than bb, without including aa and bb themselves.

Maximum and Minimum of a set§

The maximum of a set is an element belonging to the set such that it is greater than or equal to every other element in the set. Conversely, the minimum of a set is an element belonging to the set such that it is less than or equal to every other element in the set.

For the set {1,2,3,4,5}\{1, 2, 3, 4, 5\}:

  • The maximum is 5, because it is the element in the set that is greater than or equal to all other elements.
  • The minimum is 1, because it is the element in the set that is less than or equal to all other elements.

An important difference between closed and open intervals§

For the closed interval [−2,3][-2, 3]:

  • The maximum is 3, because 3 is included in the interval and there is no other number in the interval that is greater than 3.
  • The minimum is -2, because -2 is included in the interval and there is no other number in the interval that is less than -2.

Since the interval is closed, both endpoints -2 and 3 are included in the interval, and they serve as the minimum and maximum, respectively.

For the open interval (−2,3)(-2, 3):

  • The maximum does not exist because, although numbers in the interval can get arbitrarily close to 3, there is no largest number since 3 itself is not included.
  • Similarly, the minimum does not exist because numbers can get arbitrarily close to -2 from above, but -2 is not an element of the interval.

In the open interval, for any number you choose that you might think is the greatest, you can always find another number closer to 3 but still not equal to 3. This means there is no "last" number before 3, so no maximum exists in the set. The same reasoning applies for not having a minimum value in the set. The numbers can always get closer to -2 from the right without ever reaching -2, so there is no "first" number after -2. For example:

2.9<2.99<2.999<2.9999<…2.9 < 2.99 < 2.999 < 2.9999 < \ldots

This sequence can continue indefinitely with more 9s being added, getting increasingly closer to 3, but never actually reaching 3. Since the interval is open, 3 itself is not included, and hence, we can never actually arrive at the maximum. Similarly, approaching the lower bound, we find:

−1.9>−1.99>−1.999>−1.9999>…-1.9 > -1.99 > -1.999 > -1.9999 > \ldots

This shows how you can always choose a number closer to -2 from the right, yet never include -2 itself, thus the interval does not have a minimum either.

In general, a closed interval includes its endpoints, meaning it has both a maximum and a minimum element. An open interval, on the other hand, does not include its endpoints, and therefore does not have a maximum or a minimum element.

Semi-closed Interval§

A semi-closed interval, or half-open interval, is an interval that includes one of its endpoints but leaves the other endpoint excluded. This leads to two main types of semi-closed intervals:

  1. Left-Closed, Right-Open Interval [a,b)[a, b): This type includes the left endpoint aa but excludes the right endpoint bb, covering all real numbers xx where a≤x<ba \leq x < b. The inclusion of aa is indicated by a square bracket, while the exclusion of bb is denoted by a parenthesis.

    Set-builder notation for this interval is {x∈R∣a≤x<b}\{x \in \mathbb{R} \mid a \leq x < b\}.

    Left closed right open interval

  2. Left-Open, Right-Closed Interval (a,b](a, b]: This interval excludes the left endpoint aa but includes the right endpoint bb, and it consists of all real numbers xx where a<x≤ba < x \leq b.

    Set-builder notation for this interval is {x∈R∣a<x≤b}\{x \in \mathbb{R} \mid a < x \leq b\}.

    Left Open and right closed interval

When involving infinity, semi-closed intervals extend without a bound in one direction, which impacts the existence of a maximum or minimum:

  • Extending to Positive Infinity [a,∞)[a, \infty): Includes all real numbers xx greater than or equal to aa and extends without limit towards positive infinity. Here, the interval includes its left endpoint aa, but since it extends towards infinity, there is no maximum value, reflecting the interval's open nature on the right.

    Set-builder notation: {x∈R∣x≥a}\{x \in \mathbb{R} \mid x \geq a\}.

  • Extending to Negative Infinity (−∞,b](-\infty, b]: Includes all real numbers xx less than or equal to bb and extends without limit towards negative infinity. The interval includes its right endpoint bb, but due to its extension towards negative infinity, there is no minimum value, making the interval open on the left.

    Set-builder notation: {x∈R∣x≤b}\{x \in \mathbb{R} \mid x \leq b\}.

One end extending to inifinity

In such intervals that extend towards infinity, the absence of a bound on one side means that there is no maximum (for intervals extending to positive infinity) or no minimum (for intervals extending to negative infinity), thus maintaining their open characteristic on the respective infinite end.

Degenerate Intervals§

Degenerate intervals refer to intervals that consist of a single point or no points at all:

  • The closed interval [a,a][a, a] represents a degenerate interval that includes exactly one point, aa. This can be equivalently written as the singleton set {a}\{a\}, indicating that the interval spans no distance on the number line but contains the point aa.

  • The open interval (a,a)(a, a) is another form of a degenerate interval, equivalent to the empty set ∅\emptyset. This interval spans no distance and includes no points, as the open nature excludes both endpoints, even though they are the same.

Operations on Intervals§

Since intervals are sets, all standard set operations such as union, intersection, and difference are valid for intervals as well. These operations on intervals follow the same principles as they do for any other sets.

Union§

The union of two intervals is a set that contains all the elements that are in either interval or in both. This operation combines the ranges covered by the intervals into a single set, which may consist of a single continuous interval or multiple disjoint intervals, depending on the overlap between the original intervals.

The union of two intervals results in either a single continuous interval or two disjoint intervals, depending on the relationship between the intervals:

  1. Single Continuous Interval: The union forms a single continuous interval if the intervals overlap, directly meet at a boundary point, or one interval includes a boundary point that the other interval approaches but does not include. This encompasses cases where intervals share common elements or if the end of one interval coincides with the start of another, with at least one of the intervals including this common endpoint.

    • Overlap Example: For intervals A=[1,4]A = [1, 4] and B=[3,6]B = [3, 6], the union A∪B=[1,6]A \cup B = [1, 6] because they have ana overlap from 3 to 4, creating a single continuous interval from 1 to 6.

    Union of two Intervals with Overlap

    • Meeting at a Boundary Example: For intervals A=(−1,3)A = (-1, 3) and B=[3,7)B = [3, 7), although AA does not include 3 and BB does, the union A∪B=(−1,7)A \cup B = (-1, 7) forms a single continuous interval because BB includes the boundary point where AA ends, bridging the potential gap.

    Intervals Touching

  2. Two Disjoint Intervals: The union results in two disjoint intervals if there's a gap between the intervals, meaning they neither overlap nor touch at any point. In this case, the union reflects a set comprising two separate intervals with no common elements.

    • Disjoint Example: For intervals A=[1,2]A = [1, 2] and B=[3,4]B = [3, 4], there's a clear gap between them. The union A∪BA \cup B cannot be simplified to a single interval due to the absence of shared or touching elements, resulting in two disjoint intervals: [1,2]∪[3,4][1, 2] \cup [3, 4].

      Disjoint

      Consider union of (−1,3)(-1, 3) and (3,5](3, 5]. For the intervals (−1,3)(-1, 3) and (3,5](3, 5], both intervals approach the point 3 but neither includes it; (−1,3)(-1, 3) is open at 3, and (3,5](3, 5] is also open at 3. Since there is no shared endpoint included in either interval, they do not directly meet or overlap at any point. In this case, the union (−1,3)∪(3,5](-1, 3) \cup (3, 5] does not form a single continuous interval because there is no common element to connect them seamlessly. Instead, the union represents a set comprising two disjoint intervals: one stretching from -1 to just below 3, and the other from just above 3 to 5, inclusive of 5. So, despite their proximity, the absence of a shared, included boundary point keeps (−1,3)(-1, 3) and (3,5](3, 5] as distinct, separate intervals within their union.

      Gap of a single point

In summary, whether the union of two intervals forms a single continuous interval or remains as two disjoint intervals hinges on their overlap or direct connection at a boundary point (with at least one interval including it) versus a complete separation without shared or adjacent points.

Intersection of Intervals§

The intersection of intervals refers to the set of all elements that are common to both intervals. Mathematically, if there are two intervals AA and BB, their intersection is denoted by A∩BA \cap B, and it includes all points that lie within both AA and BB. The result of an intersection can be:

  • A non-empty interval, if AA and BB share a common range of points. This interval could be open, closed, or semi-closed, depending on the specific endpoints of AA and BB that fall within the intersection.
  • An empty set, denoted by ∅\emptyset, if AA and BB do not share any points, indicating that there is no overlap between the two intervals. This is still considered an interval, albeit a degenerate one, as it represents the set of all real numbers that are in both intervals, of which there are none.

Difference of Intervals§

The difference of two intervals AA and BB, denoted as A−BA - B or A∖BA \setminus B, consists of all elements that are in AA but not in BB. This operation effectively "subtracts" the elements of BB from AA, and the result can vary widely depending on the specific intervals involved:

  • It could result in a single interval if BB only partially overlaps with AA or does not overlap at all.
  • It might produce two disjoint intervals if BB is contained within AA, creating a gap in the middle of AA.
  • The difference could also be an empty set if AA is entirely contained within BB, meaning all elements of AA are also in BB.
Section 1 of 7 · Basic Maths

Mark this section complete when you have worked through its proofs.