Discrete Math Tutor

Relations / Function Types

Least You Need to Know: Injective, Surjective, and Bijective Functions

A function can fail by hitting two inputs with the same output, by missing outputs in the codomain, or by doing both.

The least you need to know

Key notation

f:A→B function from domain A to codomain B
injective one-to-one
surjective onto

Tiny worked example

  • Let `f:{1,2,3}→{a,b,c}` with `f(1)=a`, `f(2)=b`, `f(3)=c`.\n- Every codomain value is hit and no two inputs share an output.\n- So `f` is bijective.

Common mistakes

How to recognize this kind of problem

Start practice