Unit 1 of 2 · M.Sc IT Sem 1

Unit 1: Number systems and sets

Mathematics notes · PTU syllabus (PGCA1901)

5 min read9 topics10 exam questions
On this page
  1. Unit summary
  2. The real number system
  3. Sums and products of rational numbers
  4. Integer exponents
  5. Radicals: square and cube roots
  6. Introduction to sets
  7. Representation of sets: roster and set-builder methods
  8. Types of sets
  9. Subsets, power set and universal set
  10. Set operations: union, intersection, difference, symmetric difference and complement
  11. Key terms
  12. Quick revision
  13. Important questions

Unit summary

Numbers and sets are the language of computing mathematics. This unit covers natural numbers, integers, real, rational and irrational numbers, sums and products of rational numbers, integer exponents, radicals and their simplification, the roster and set-builder representation of sets, types of sets and set operations.

After this unit you can

  • Classify numbers and work with rational numbers
  • Apply the laws of integer exponents and simplify radicals
  • Represent sets and identify their types
  • Perform union, intersection, difference, symmetric difference and complement

PTU syllabus topics

  • Natural
  • integer
  • real
  • rational and irrational numbers
  • sums and products of rational numbers
  • integer exponents
  • radicals (square and cube roots and their simplification)
  • set representation (roster and set-builder methods)
  • types of sets (null, singleton, finite, infinite, equal, equivalent, disjoint, subset, power set, universal set)
  • set operations (union, intersection, difference, symmetric difference, complement)
ClassificationThe real number system
Real numbers
  • Rational

    Can be written as p/q: 3/4, −2, 0.5

  • Integers

    …, −2, −1, 0, 1, 2, …

  • Whole numbers

    0, 1, 2, …

  • Natural numbers

    1, 2, 3, …

  • Irrational

    Non-terminating, non-repeating: √2, π

1

Topic 1

The real number system

ClassificationClassification of real numbers
Real numbers (R)
  • Rational numbers (Q)

    p ÷ q with integers p, q and q ≠ 0; terminating or repeating decimals

  • Integers (Z)

    …, −2, −1, 0, 1, 2, …

  • Whole numbers

    0, 1, 2, 3, …

  • Natural numbers (N)

    1, 2, 3, …

  • Irrational numbers

    Non-terminating, non-repeating decimals — √2, √3, π

  • Every natural number is a whole number, every whole number an integer, every integer a rational number, and rational and irrational numbers together form the real numbers.

Example

0.375 = 3/8 (terminating) and 0.333… = 1/3 (repeating) are rational; √5 = 2.2360679… is irrational.

  • Converting a repeating decimal: let x = 0.272727…; then 100x = 27.2727…; subtracting, 99x = 27, so x = 27/99 = 3/11.
2

Topic 2

Sums and products of rational numbers

Key formulasOperations on rational numbers
  • Sum

    a/b + c/d = (ad + bc) ÷ bd

  • Difference

    a/b − c/d = (ad − bc) ÷ bd

  • Product

    a/b × c/d = ac ÷ bd

  • Quotient

    a/b ÷ c/d = ad ÷ bc (c ≠ 0)

Example

2/3 + 5/4 = (8 + 15) ÷ 12 = 23/12; 2/3 × 5/4 = 10/12 = 5/6.

  • Properties: rational numbers are closed under addition, subtraction, multiplication and division (by non-zero numbers); addition and multiplication are commutative and associative; 0 is the additive identity and 1 the multiplicative identity; between any two rational numbers there is another (their average).
  • The sum or product of a rational and an irrational number (non-zero rational for products) is irrational — e.g., 2 + √3 and 3√2.
3

Topic 3

Integer exponents

Key formulasLaws of exponents (a, b ≠ 0)
  • Product

    aᵐ × aⁿ = aᵐ⁺ⁿ

  • Quotient

    aᵐ ÷ aⁿ = aᵐ⁻ⁿ

  • Power of a power

    (aᵐ)ⁿ = aᵐⁿ

  • Power of a product

    (ab)ⁿ = aⁿbⁿ

  • Power of a quotient

    (a/b)ⁿ = aⁿ ÷ bⁿ

  • Zero exponent

    a⁰ = 1

  • Negative exponent

    a⁻ⁿ = 1 ÷ aⁿ

Example

(2³ × 2⁻⁵) ÷ 2⁻⁴ = 2^(3 − 5 + 4) = 2² = 4. (3/2)⁻² = (2/3)² = 4/9.

  • Computing link: 2¹⁰ = 1,024 bytes = 1 KB; 2²⁰ = 1 MB; scientific notation writes 0.000045 as 4.5 × 10⁻⁵.
4

Topic 4

Radicals: square and cube roots

  • Radical: ⁿ√a is the number whose nth power is a; √a is the square root and ∛a the cube root. In exponent form, ⁿ√a = a^(1/n).
Key formulasLaws of radicals
  • Product

    √(ab) = √a × √b

  • Quotient

    √(a/b) = √a ÷ √b

  • Exponent form

    ⁿ√(aᵐ) = a^(m/n)

  • Like radicals

    p√a + q√a = (p + q)√a

ProcessSimplifying a radical
  1. 1Factorise the number into primes
  2. 2Group factors in pairs (square root) or triples (cube root)
  3. 3Take one factor out for each group
  4. 4Leave the rest under the radical

Example

√72 = √(2 × 2 × 2 × 3 × 3) = 2 × 3 × √2 = 6√2. ∛54 = ∛(3 × 3 × 3 × 2) = 3∛2. √50 + √18 = 5√2 + 3√2 = 8√2.

  • Rationalising the denominator: 1/√3 = √3/3; 1/(√5 − √2) = (√5 + √2) ÷ (5 − 2) = (√5 + √2)/3.
5

Topic 5

Introduction to sets

A set is a well-defined collection of distinct objects. "Well-defined" means that for any object we can say clearly whether it belongs to the set or not. "The vowels of English" is a set; "the good students of a class" is not, because "good" is a matter of opinion. The objects in a set are called its elements or members. We write sets with capital letters (A, B, C) and elements with small letters. If a is an element of A, we write a ∈ A; if not, a ∉ A.

  • Order does not matter: {1, 2, 3} and {3, 1, 2} are the same set.
  • Repetition does not matter: {1, 1, 2} is the same as {1, 2}.
  • The number of elements in a finite set A is its cardinality, written n(A).

Example

A = {a, e, i, o, u}. Here e ∈ A, b ∉ A and n(A) = 5.

6

Topic 6

Representation of sets: roster and set-builder methods

There are two standard ways to write a set.

MethodHow it worksExample
Roster (tabular) formList every element inside braces, separated by commasA = {2, 4, 6, 8, 10}
Set-builder (rule) formState the property shared by all elementsA = {x : x is an even natural number, x ≤ 10}

Roster form is best for small sets. Set-builder form is best for large or infinite sets, where listing is impossible.

Example

The set of natural numbers less than 6: roster form {1, 2, 3, 4, 5}; set-builder form {x : x ∈ N, x < 6}.

Exam tip

In the exam, when asked to "convert" a set, always show both forms side by side and mention which is which.

7

Topic 7

Types of sets

ClassificationTypes of sets
Sets
  • Null (empty)

    No elements: { } or φ

  • Singleton

    Exactly one element: {7}

  • Finite

    Countable number of elements

  • Infinite

    Elements never end: N, Z

  • Equal

    Exactly the same elements

  • Equivalent

    Same number of elements

  • Null (empty) set: contains no element, written φ or { }. Example: {x : x is a natural number less than 1}.
  • Singleton set: has exactly one element, such as {0}. Note that {0} is not empty — it contains 0.
  • Finite and infinite sets: a finite set can be counted to an end ({1, 2, 3}); an infinite set cannot (the set of all natural numbers).
  • Equal sets: A = B when they have exactly the same elements, e.g. {1, 2, 3} = {3, 2, 1}.
  • Equivalent sets: have the same number of elements, n(A) = n(B), even if the elements differ: {a, b, c} and {1, 2, 3}.
  • Disjoint sets: have no element in common, so A ∩ B = φ.
  • Universal set (U): the set containing all elements under discussion in a problem.

Exam tip

Every equal pair of sets is equivalent, but equivalent sets need not be equal. This is a favourite short question.

8

Topic 8

Subsets, power set and universal set

A is a subset of B (A ⊆ B) if every element of A is also in B. A is a proper subset of B (A ⊂ B) if A ⊆ B and A ≠ B.

  • Every set is a subset of itself, and φ is a subset of every set.
  • If a set has n elements, it has 2ⁿ subsets and 2ⁿ − 1 proper subsets.
  • The power set P(A) is the set of all subsets of A, so n(P(A)) = 2ⁿ.

Example

A = {1, 2}. Subsets: φ, {1}, {2}, {1, 2}. So P(A) = {φ, {1}, {2}, {1, 2}} and n(P(A)) = 2² = 4.

9

Topic 9

Set operations: union, intersection, difference, symmetric difference and complement

Key termsSet operations at a glance
Union A ∪ B
Elements in A or B or both
Intersection A ∩ B
Elements common to A and B
Difference A − B
Elements in A but not in B
Symmetric difference A Δ B
Elements in exactly one of A and B: (A − B) ∪ (B − A)
Complement A'
Elements of U not in A: U − A

Take U = {1, 2, 3, 4, 5, 6, 7, 8}, A = {1, 2, 3, 4} and B = {3, 4, 5, 6}.

OperationResult
A ∪ B{1, 2, 3, 4, 5, 6}
A ∩ B{3, 4}
A − B{1, 2}
B − A{5, 6}
A Δ B{1, 2, 5, 6}
A'{5, 6, 7, 8}

Useful laws to remember:

  • Commutative: A ∪ B = B ∪ A and A ∩ B = B ∩ A
  • De Morgan's laws: (A ∪ B)' = A' ∩ B' and (A ∩ B)' = A' ∪ B'
  • Counting formula: n(A ∪ B) = n(A) + n(B) − n(A ∩ B)

Example

In a class of 60, 35 study Hindi, 30 study English and 15 study both. Students studying at least one language = 35 + 30 − 15 = 50.

Key formulasCounting with sets
  • Union of two sets

    n(A ∪ B) = n(A) + n(B) − n(A ∩ B)

  • Symmetric difference

    A Δ B = (A − B) ∪ (B − A)

  • De Morgan's laws

    (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′

Example

In a class of 60, 35 study Python and 30 study Java, and 12 study both. Students studying at least one = 35 + 30 − 12 = 53; neither = 7; exactly one = 53 − 12 = 41.

Key terms

Rational number
Number expressible as p ÷ q with q ≠ 0
Irrational number
Real number with a non-terminating, non-repeating decimal
Radical
Root of a number such as a square or cube root
Power set
Set of all subsets of a set
Symmetric difference
Elements in exactly one of two sets

Quick revision

  • N ⊂ W ⊂ Z ⊂ Q ⊂ R; irrationals.
  • Rational sums, products; closure; repeating decimals to fractions.
  • Laws of exponents; zero and negative exponents.
  • Laws of radicals; simplifying; rationalising.
  • Roster and set-builder forms; types of sets; operations; n(A ∪ B); De Morgan's laws.

Important exam questions

Practice questions written to the PTU exam pattern for this unit's syllabus: short answers (Section A style) and long answers (Sections B and C style).

Short-answer questions

  1. Q1.Is 0.121212… rational? Express it as a fraction.
  2. Q2.Simplify 5⁻² × 5⁴.
  3. Q3.Simplify √98.
  4. Q4.Write {2, 4, 6, 8} in set-builder form.
  5. Q5.How many elements are in the power set of a set with 4 elements?
  6. Q6.Find A Δ B for A = {1, 2, 3} and B = {2, 3, 4}.

Long-answer questions

  1. Q1.Explain the classification of real numbers with examples.
  2. Q2.State and illustrate the laws of exponents and radicals.
  3. Q3.Explain the types of sets with examples.
  4. Q4.Explain set operations with Venn diagrams and solve a counting problem.

Stuck on this unit?

Message SBS on WhatsApp for help with Mathematics, or to ask about studying M.Sc IT at Synetic.

WhatsApp us