A one-to-one function, also known as an injective function, is a mathematical relationship between two sets where each element in the domain maps to a unique element in the codomain.

In other words, for every distinct pair of elements in the domain, the function assigns distinct values in the codomain.

What is ONE-to-ONE Function

This ensures that no two different elements in the domain are mapped to the same element in the codomain.

One-to-one functions are valuable in various mathematical and practical contexts, such as in cryptography and data analysis, where uniqueness is crucial.