Relations and Functions
Introduction
In mathematics, the concept of relation and function helps us understand how two sets of objects are connected through specific rules or correspondences. These are fundamental ideas in algebra and calculus, widely used in computer science, economics, and data analysis.
Relations
A relation R from a non-empty set A to a non-empty set B is a subset of the Cartesian product A × B. That means a relation is any collection of ordered pairs (a, b), where a ∈ A and b ∈ B. The subset is derived by describing a relationship between the first element and the second element of the ordered pairs in A × B.
The set of all first elements in a relation R, is called the domain of the relation R, and the set of all second elements called images, is called the range of R.
Mathematically:
If R ⊆ A×B, then R is a relation from A to B.
Example:
Let:
• Set A = {1,4,5}
• Set B = {2,3}
Let R= {(1,2), (4,3), (5,3)}
• Domain of R = Set of all first elements = {1,4,5}
• Range of R = Set of all second elements = {2,3}
Comments
Post a Comment