In real life, relations and function provide a link between two entities. In our daily lives, we encounter a variety of patterns and connections that explain relationships, such as the relationship between a parent and a son, brother, and sister, and so on. In mathematics, we encounter a variety of number relationships, such as x less than y, line l parallel to line m, and so on. Relationships and functions connect elements of one set (domain) to those of another (codomain).
Functions are specialized sorts of relationships that define the exact correspondence between two quantities.
Some terminology that is used in the relation and function
Cartesian product: cartesian product P × Q is the set of all ordered pairs of elements from two non-empty sets P and Q, that is, P × Q = (p, q): p ∈ P, q ∈ Q
Domain: The domain of a relation R from a set A to a set B is the set of all initial elements of the ordered pairs in the relation R. This is known as the input set or pre-images of Relation.
Range: The range of a relation R from a set A to a set B is defined as the set of all second elements of the ordered pairs in the relation R. It’s referred to as a “collection of outputs” or “pictures.”
Relation
The term “relation” refers to the relationship between two items or values. If two sets are investigated, the relationship between them will be established if the elements of two or more non-empty sets are connected.
“A relation R from a set A to a set B is a subset of the cartesian product A B generated by expressing a relationship between the first element x and the second element y that is in the ordered pairs in A × B,” according to the mathematics.
Types of relation
A relation R from A to A is also known as a relation on A, and the relation in a set A can be considered a subset of A A. As a result, both the empty set and A A are extreme relations. The following are the definitions of many sorts of relationships:
Null relation
The relation R in a set A is called empty if no element of A is related to any other element of A, i.e. R = φ ⊂ A × A.
Universal relation
The relation R in set A is said to be universal if each element of A is related to every other element of A, i.e. R = A × A.
The empty relation and the universal connection are sometimes referred to as the same things known as trivial relations.
R is a relation in a set. A is referred to as-
If (a, a) ∈ R, for every element a ∈ A then the relation is said to be reflexive.
If (a1, a2) ∈ R is true, then (a2, a1) ∈ R is true for all a1, a2 ∈ A then the relation is said to be symmetric.
If (a1, a2) ∈ R and (a2, a3) ∈ R then (a1, a3) ∈ R for any a1, a2, a3 ∈ A then the relation is said to be transitive.
Equivalence Relation- If R is reflexive, symmetric, and transitive then it is an equivalence relation in a set A.
Function
A function is a connection that states that each input should have just one output. It’s a type of relation (a set of ordered pairings) that follows a set of rules, such as every y-value should be connected to just one other y-value.
“A relation from a set A to a set B is said to be a function if each element of set A has one and only one image in set B,” according to mathematics.
A function f is a relation from a set A to a set B where the domain of f is A and no two separate ordered pairs in f have the same first element. A and B are also two sets that aren’t empty.
Key points
- Relations and functions define a mapping between two sets of data (inputs and outputs) that results in ordered pairs of the form (Input, Output)
- The arrow representation, algebraic form, set-builder form, visually, roster form, and tabular form are all examples of how relations and functions can be expressed
- All relations are functions, but not all functions are relations
Conclusion
Relations and functions serve as a link between two entities in real life. In our daily lives, we encounter a variety of patterns and links that describe relationships, such as the relationship between a parent and a son, brother and sister, and so on. In mathematics, we encounter a variety of number relationships, such as x is less than y, line l is parallel to line m, and so on. Relationships and functions link components from one set (domain) to others (codomain).