What Is The Difference Between A Relation And A Function
Camila Farah
Relation is based on the cartesian product of two sets.
As we just saw the difference between a relation that is a function and a relation that is not a function is that a relation that is a function has inputs relating to one and only one output. In mathematics what distinguishes a function from a relation is that each x value in a function has one and only one y value. Just as with members of your own family some members of the family of pairing relationships are better behaved than other. On the other hand relation 2 has two distinct y values a and c for the same x value of 5.
This is the basic factor to differentiate between relation and function. The difference between relation and function is relation shows relationship between input and output whereas function derives one output for each input. This means that while all functions are relations since they pair information not all relations are functions. Functions are a special type of relations.
The difference between a relation and a function is that a relationship can have many outputs for a single input but a function has a single input for a single output. Since relation 1 has only one y value for each x value this relation is a function. What is the difference between function and relation. Function is based on relations with specific properties.
RELATED ARTICLE :
- what is the most reactive element on the periodic table
- what is the name of the old currency in roblox
- what is the purpose of the ark of the covenant
The main difference between a relation and a function is that a relation is a table in a relational database while a function is a set of statements to perform a specific task in a program.
Source : pinterest.com