Definition: A function f:A→B is surjective if every element of B has at least one preimage in A.
Formally:∀y∈B,∃x∈Asuchthatf(x)=y
Translation: “For every element y in the codomain B, there exists at least one element x in the domain A such that f(x)=y.”
Meaning: The function “covers” the entire codomain.