Week 1: Functions and Sets

859 words
4 min read
View

Week 1: Functions, Sets, and Relations

Course: Jan 2026 - Mathematics I Difficulty: Foundational Focus: Set notation, relation properties, function behavior, and quick proof habits.

1. Set Theory Fundamentals

A set is a well-defined collection of distinct objects.

1.1 Core symbols

  • Union ABA \cup B: in AA or BB or both.
  • Intersection ABA \cap B: in both AA and BB.
  • Difference ABA - B: in AA but not in BB.
  • Complement AA': everything in the universe UU but not in AA.

1.2 De Morgan's Laws

  • (AB)=AB(A \cup B)' = A' \cap B'
  • (AB)=AB(A \cap B)' = A' \cup B'
If you see a complement outside a union/intersection, flip the operator and complement each piece.

1.3 Common traps

  • Do not confuse \in with \subseteq.
  • The empty set is a subset of every set.
  • A set can contain another set as an element.

2. Cartesian Product and Relations

A relation from AA to BB is any subset of A×BA \times B.
For a relation RR on a set AA:
  • Reflexive: (a,a)R(a,a) \in R for every aAa \in A
  • Symmetric: (a,b)R(b,a)R(a,b) \in R \Rightarrow (b,a) \in R
  • Transitive: (a,b)R(a,b) \in R and (b,c)R(a,c)R(b,c) \in R \Rightarrow (a,c) \in R
An equivalence relation must be reflexive, symmetric, and transitive together.

3. Functions

A function f:ABf: A \to B assigns exactly one output in BB to each input in AA.
  • Domain: where inputs come from
  • Codomain: declared target set
  • Range: actual outputs produced
  • Injective: different inputs never share the same output
  • Surjective: every codomain element is hit
  • Bijective: both injective and surjective

2. Pattern A — Show a function is bijective

What to recognize: A question asking to prove or disprove a mapping is one-to-one or onto.

Abstract Solution (Strategy)

  1. [Key concept]: To prove bijection, you must prove injectivity and surjectivity independently.
  2. [Formula to use]: f(x1)=f(x2)x1=x2f(x_1) = f(x_2) \Rightarrow x_1 = x_2 (Injectivity). For any yy, x,f(x)=y\exists x, f(x) = y (Surjectivity).
  3. [Watch for]: Forgetting the horizontal line test or incorrectly handling y=x2y = x^2 style mapping in domains over all Reals.

Procedure

  • Step 1: Write down the assumption f(x1)=f(x2)f(x_1) = f(x_2) and algebraically solve down to x1=x2x_1 = x_2.
  • Step 2: Write y=f(x)y = f(x), solve for xx in terms of yy. Check if the resulting xx is always within the given Domain.
  • Step 3: Conclude bijection if both hold.
Worked Example:
Question: Prove f(x)=2x+3f(x) = 2x + 3 from R\mathbb{R} to R\mathbb{R} is bijective.
  • Step 1: Injectivity. Let 2x1+3=2x2+32x_1 + 3 = 2x_2 + 3, thus 2x1=2x2x1=x22x_1 = 2x_2 \Rightarrow x_1 = x_2.
  • Step 2: Surjectivity. Let y=2x+3x=y32y = 2x + 3 \Rightarrow x = \frac{y-3}{2}. For any Real yy, xx is Real.
  • Answer: Yes, f(x)f(x) is bijective.

3. Pattern B — Evaluate relations on a Set

What to recognize: A question asking whether relation RR is reflexive, symmetric, or transitive.

Abstract Solution (Strategy)

  1. [Key concept]: Break the relation definition down into conditions on xx and yy.
  2. [Formula to use]: Reflexive (xRxxRx), Symmetric (xRyyRxxRy \Rightarrow yRx), Transitive (xRy,yRzxRzxRy, yRz \Rightarrow xRz).
  3. [Watch for]: Vacuous truth when testing properties or incorrectly mapping y=x2y=x^2 when symmetry is asked.

Procedure

  • Step 1: Test (x,x)(x, x) for reflexivity.
  • Step 2: Swap xx and yy and test symmetry constraint.
  • Step 3: Plug into transitive property.
  • Answer: Output the set of valid properties.
Worked Example:
Question: Is R={(1,1),(1,2),(3,1)}R = \{(1,1),(1,2),(3,1)\} a function on {1,2,3}\{1,2,3\}?
  • Step 1: An input can only produce one independent output.
  • Step 2: Look at input 11: It produces 11 and 22.
  • Answer: No.

4. Common Mistakes

MistakeWhy it happensCorrect approach
Thinking an Empty Set is not a subsetMisunderstanding the definition of a subset and vacuous truthThe empty set is a subset of every set by default
Confusing \in with \subseteqElement vs Subset definitionsElements belong to sets (\in). Subsets contain elements (\subseteq).
Assuming onto for quadratic functions mapping to R\mathbb{R}Assuming the range is the same as the codomainFind the range explicitly. x20x^2 \geq 0, so negative reals in the codomain are missed.

5. Flashcards

<Flashcard front="What is the one-line test for a function?" back="Each input must have exactly one output." /> <Flashcard front="When is a function invertible?" back="When it is bijective." /> <Flashcard front="What does De Morgan's law do?" back="It swaps union/intersection under complement." />

6. Practice Matrix

  • Prove or disprove bijection for a linear map.
  • Classify a relation as reflexive, symmetric, transitive, or none.
  • Expand a 2-set or 3-set expression using De Morgan's laws.

7. Quick Recall

  • Relation = subset of a Cartesian product.
  • Function = relation with one output per input.
  • Bijection = perfect matching between domain and codomain.

Backlinks

0 References

No inbound references detected.

Document Outline
Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.