Study Atlas › Mathematics › Foundations

Sets, relations and functions

A function assigns each input in a domain exactly one output in a codomain.

Edited by Alex C, EduAlx · Sources cited below

Explanation

Relations are subsets of A × B; equivalence relations are reflexive, symmetric and transitive and partition a set. Functions can be injective (one-to-one), surjective (onto) or bijective (both, invertible). Composition (f∘g)(x) = f(g(x)).

Example

f(x) = 2x + 3 on the reals is bijective with inverse f⁻¹(y) = (y – 3)/2; f(x) = x² on the reals is neither injective nor surjective.

How it works, step by step

  1. Specify domain and codomain
  2. Check every input has one output
  3. Test injectivity: f(a) = f(b) ⇒ a = b
  4. Test surjectivity: every y has a preimage
  5. Find the inverse if bijective

Open the interactive page with diagrams →

Sets, relations and functions in exams

Sets, relations and functions is part of Mathematics, which is tested in JEE Main, JEE Advanced, CUET-UG, CAT, SAT, ACT, GRE, GMAT. Practise it in the exam format:

People behind it

References

  1. P. R. Halmos, Naive Set Theory, Van Nostrand, 1960.

Textbooks

Related topics

Set theory and Cantor's infinitiesMathematical inductionVector calculusPermutations and combinationsChaos theory and fractalsBinomial theoremCoordinate geometry (analytic geometry)Sequences and series: arithmetic and geometricTrigonometryLimits and continuity