Mathematics · High School (9–10), High School (11–12) · 2 courses, 10 worked problems
A relation links the members of one set with the members of another. It is a set of ordered pairs, such as (student, roll number). A function is a special relation in which each input has exactly one output. The domain is the set of inputs, and the range is the set of outputs. A relation can be reflexive, symmetric or transitive. One with all three is an equivalence relation. A function can be one-one, onto or both. A ticket machine that gives one ticket for each coin is a simple picture of a function.
Each one has a hint, the key idea and a full worked solution.