CAMT104 Mathematics I

Mathematics IUnit 111 min read

Sets, Relations, Functions: Definitions, Operations, and Graphs

Unit 1 of Mathematics I covers the foundational concepts of sets (operations, types, and Venn diagrams), relations (ordered pairs, properties, and matrices), and functions (types, domain/range, and graphs), with real-world applications in algorithms, databases, and optimization problems.

TAKEAWAYS

  • Sets are collections of distinct objects, and operations like union, intersection, and complement are visualized using Venn diagrams.
  • Relations are mappings between two sets, classified as reflexive, symmetric, transitive, or equivalence relations.
  • Functions are special relations where each input has exactly one output, with domain and range defining their scope.
  • Cartesian products and ordered pairs form the basis for relations and functions, often represented as matrices or graphs.
  • Real-world applications include database queries (sets), pathfinding algorithms (relations), and financial modeling (functions).
  • Exam focus: Prove properties, solve domain/range problems, and match relations/functions to their graphical representations.

1. Sets: Definitions, Types, and Operations

1.1 What is a Set?

A set is a well-defined collection of distinct objects, called elements. Sets are denoted by capital letters (e.g., ), and elements by lowercase letters (e.g., ).

UAB1, 23, 45, 6
Example of two sets A and B with intersection A ∩ B = {3, 4}

Example:

  • (finite set)
  • (descriptive notation)
  • = set of all real numbers (infinite set)

1.2 Types of Sets

Type Definition Example
Finite Set Has a limited number of elements.
Infinite Set Has unlimited elements.
Singleton Set Contains exactly one element.
Empty Set (∅) Contains no elements.
Universal Set (U) Contains all objects under consideration.
Subset (⊆) All elements of are in .
Proper Subset (⊂) but .
Power Set (P(A)) Set of all subsets of .

1.3 Set Operations

Operation Symbol Definition Venn Diagram
Union (A ∪ B) All elements in or .
Intersection (A ∩ B) Elements common to both and .
Complement (A') Elements in not in .
Difference (A \ B) Elements in but not in .
Symmetric Difference (A Δ B) Elements in either or but not both.

Worked Example 1: Given:

Find:

Solution:


2. Relations: Ordered Pairs and Properties

2.1 Cartesian Product (A × B)

The Cartesian product of sets and is the set of all ordered pairs where and .

UABa, b1, 2
Cartesian product A × B = {(a,1), (a,2), (b,1), (b,2)}

Example: If and , then:

2.2 Relations as Sets of Ordered Pairs

A relation from set to set is a subset of .

Example: Let and . Define .

2.3 Properties of Relations

Property Definition Example
Reflexive for all . on
Symmetric If , then .
Transitive If and , then .
Equivalence Reflexive, symmetric, and transitive.

Worked Example 2: Let and . Check if is:

  1. Reflexive
  2. Symmetric
  3. Transitive

Solution:

  1. Reflexive: Yes, because .
  2. Symmetric: Yes, because implies , and vice versa.
  3. Transitive: Yes, because there are no cases where and are in but is not.
graph LR
    A["(1,1)"] --> B["(1,2)"]
    B --> C["(2,1)"]
    C --> D["(2,2)"]
    D --> E["(3,3)"]
    title: "Relation R as a Directed Graph"

3. Functions: Definitions and Types

3.1 Definition of a Function

A function from set (domain) to set (codomain) assigns exactly one element in to each element in . Notation: .

-3-2-11230.511.522.533.54xyf(0) = 0f(1) = 1f(-2) = 4
Graph of a function f(x) = x² showing vertical line test

Example: is a function from to .

3.2 Types of Functions

Type Definition Example
Injective (One-to-One) Different inputs map to different outputs.
Surjective (Onto) Every element in is mapped by some . where
Bijective Both injective and surjective. where
Constant All inputs map to the same output.
Identity for all .

3.3 Domain and Range

  • Domain: All possible input values (-values).
  • Range: All possible output values (-values).

Worked Example 3: Find the domain and range of .

Solution:

  1. Domain: The expression under the square root must be non-negative: Solve : Roots: and . The parabola opens upwards, so the inequality holds between the roots:

  2. Range: The maximum value of occurs at the vertex of the parabola . Vertex -coordinate: . So, the maximum value of the square root is . At and , .


## In the Real World

  1. eSewa and Khalti (Digital Payments):

    • Sets: Transactions are processed as sets of unique IDs (e.g., user IDs, merchant IDs).
    • Relations: The "pays-to" relation maps users to merchants (e.g., ).
    • Functions: The payment amount is a function of the user’s input (e.g., ).
  2. Pathao (Ride-Hailing):

    • Sets: Drivers and passengers are two distinct sets.
    • Relations: A matching algorithm creates a relation where pairs are formed based on location and time.
    • Functions: The fare is a function of distance and time (e.g., ).
  3. NTC (Network Traffic Routing):

    • Relations: Network nodes are connected via directed edges representing data flow (e.g., ).
    • Functions: The delay in data transmission is a function of the path taken (e.g., ).
  4. Bank Loan Interest (Geometric Progression):

    • Example: A loan of Rs. 10,000 at 10% annual interest compounded yearly.
      • After 1 year:
      • After 2 years:
      • This forms a geometric sequence where each term is multiplied by 1.10.

## Exam Tip

  1. For Sets:

    • Always draw Venn diagrams for union, intersection, and complement questions.
    • Remember: .
  2. For Relations:

    • Check properties (reflexive, symmetric, transitive) systematically.
    • Use matrices to represent relations if asked to prove equivalence.
  3. For Functions:

    • Domain: Solve inequalities for square roots, denominators, and logarithms.
    • Range: Find the maximum/minimum values of the function (e.g., vertex of a parabola).
    • Bijective Proofs: Show both injective (unique outputs) and surjective (covers codomain).
  4. Common Mistakes:

    • Forgetting to check the domain for square roots or denominators.
    • Misapplying set operations (e.g., confusing with ).
    • Not verifying all conditions for relation properties.

Visual Summary:

Based on the TU BCA syllabus for Mathematics I (CAMT104), unit 1.

Discussion

Loading…