2.7k views
4 votes
ASAP Please answer fast!!!!!!

Describe the difference between a relation and a function. give an example of a real worl function.

1 Answer

1 vote

The difference between relation and function is described

Solution:

Let us first understand about relation and function

A relation is a set of inputs and outputs that are related in some way.

When each input in a relation has exactly one output, the relation is said to be a function.

To determine if a relation is a function, we make sure that no input has more than one output

Every function is a relation ,but every relation doesn't represent a function

Example:

R = {(2, x), (9, y), (2, z)}

It is not function as “2” is input for both x and z

F = {(2, x), (9, y), (5, x)} is a function because all the first elements are different.

Differences:

Relation:

  • A relation is a relationship between sets of values
  • A relation is denoted by “R”
  • Every relation is not a function.

Functions:

  • A function is a relation in which there is only one output for each input.
  • A function is denoted by “F” or “f”
  • Every function is a relation.
User Kpogue
by
3.9k points