Solutions — Examples and Applications (Part 1)

Worked answers to every example in the list. Specific sets/numbers can vary in the real exam, but the method stays the same. Where a question says “give an example”, any correct example works — one valid choice is shown.


Logic

Predicates : ” is a mouse”, : ” likes cheese”.

  • “Every mouse likes cheese.”

  • “Some mice like cheese.”

Watch the connective: “every … ” uses , “some …” uses . Writing would be wrong (it’s true even if no mice exist).


Sets

Subset of . Any of these works, e.g.

Operations on and .

OperationResult
Union
Intersection
Difference
Difference
Symmetric difference
Cartesian product

Complement. , :

Power set of (all subsets):

Number of subsets of . A set with elements has subsets:


Relations

Partition of . A partition splits into non‑empty, pairwise disjoint blocks whose union is . One example:

Binary relation from to . Any subset of , e.g.

Domain, range, inverse of .

  • Domain (first coordinates):
  • Range (second coordinates):
  • Inverse (reverse every pair):

Restriction / image / inverse image. , .

  • Restriction = pairs of whose first coordinate is in :
  • Image = second coordinates of pairs whose first coordinate is in :
  • Inverse image = first coordinates of pairs whose second coordinate is in : pairs with second coord in are , so

Extension / restriction of .

  • An extension (add at least one pair), e.g.
  • A restriction (drop at least one pair), e.g.

Relations on with a given property. (One example each.)

  • Reflexive (contains every ):
  • Irreflexive (contains no ):
  • Symmetric (if then ):
  • Antisymmetric (if and then ):
  • Strictly antisymmetric (if then never — so it must be irreflexive too):
  • Transitive (if and then ):

The empty relation satisfies irreflexive, symmetric, antisymmetric, strictly antisymmetric and transitive simultaneously — handy if you ever get stuck, though it’s good to show a non‑trivial example.

Equivalence relation on a set (reflexive, symmetric, transitive). Example: (Finite alternative: , .)

Partial order on a set (reflexive, antisymmetric, transitive). Example: (Or: for any set , with .)

Function from to (each element of assigned exactly one value). Example:

Injective / surjective / bijective, , .

  • Injective (distinct inputs → distinct outputs):
  • Surjective (every element of is hit). Since , the same map works:
  • Bijective (both injective and surjective):

Because , the simplest injection is already a bijection. If no surjection exists; if no injection exists.

Composition , where , .

Convention: apply first, then .

  • and
  • , but no pair nothing
  • and


Complex numbers

, .

.

, .

Multiply moduli, add arguments; divide moduli, subtract arguments:

.

  • Power (De Moivre):

  • Cube roots: , :

argumentroot

Combinatorics

First four rows of Pascal’s triangle (rows ):

        1
      1   1
    1   2   1
  1   3   3   1

Counts for , (factorials may be left un‑evaluated):

TypeFormulaValue
Permutations without repetition
‑variations without repetition
‑variations with repetition
‑combinations without repetition
‑combinations with repetition

Permutations with repetition, repetition numbers (total ):

Binomial expansion of (coefficients are row 5: ):

Inclusion–exclusion principle for four sets:


Graphs

Edge count from degrees. A ‑vertex graph with degrees .

By the handshake lemma, the sum of all vertex degrees equals twice the number of edges:

Note: a simple graph on vertices can have max degree , so degree means has multiple edges and/or loops (a multigraph). The handshake lemma still applies regardless.


End of answer key.