Injective,Surjective and Bijective

Injective one-one

Every input has a unique output, or more correctly :
Every output has a unique original input :
Every consequence has a particular cause

∀x1,x2∈A:f(x1)=f(x2)⟹x1=x2

Surjective onto

Every element of output has been used or called,reffered,utilised by the input set in some way

∀y∈B,∃x∈A:y=f(x)

Bijective

Both.
f is said to be bijective if it is both one-one or onto.

Let f:A→B, since it is onto, ∃!x∈A:y=f(x) as it is one-one as well.

For y∈B,g(y) is the unique element in A : f(g(y))=y

Inversion

You can't have an inverse f−1 of a function f unless f is bijective.

Identity function

Id:S→S,
for x∈S, Id(x)=x