algebra Definition Function A function f is a relation between two sets X and Y where each x∈X is in relation to exactly one y∈Y: ∀x∈X:∃!y∈Y:f(x)=y