Escolar Documentos
Profissional Documentos
Cultura Documentos
In difference between relation and function, given two sets X and Y (not necessarily
different) a relation from X to Y is any subset
X Y. If (a, b)
R.
We write aRb and say that a is related to b. If a is not related to b, i.e. (a, b)
aNRb.
X X.
Example:
Let A = {a, b, c, d} and B = {x, y, z}.
(a) R1 = {(a, x), (b, z), (d, y), (c, x)} is a relation beginning A to B.
(b) R2 = {(x, d), (y, c)} is a relation from B to A.
(c) R3 = {(x, x), (x, y), (x, z)} is a relation on B.
R, write
The following statements explain the difference between relation and function,
1. Function has a special with output and input.
Relation is a mapping of input and output.
2. In a function all inputs have only one output.
In a relation a input can have as many outputs as it wants as long as all inputs have outputs.
3. In difference between relation and function, the relation is somewhat like a entire function
problem and with input and output.
4. In difference between relation and function, the function is merely a particular relation with
accurately one output for every input.
In difference between relation and function, a relation on a set A can satisfy any of the following
properties:
R is reflexive: for all x A, (x, x) R, i.e.
x : (x, x) R.
R is symmetric: for all x, y A, if (x, y) R then (y, x) R, i.e.
x,
y : ((x, y) R) ((y, x) R) .
Continuous
y,
Discrete
Examples:
The height of a horse (could be any value within
the range of horse heights).
Time to complete a task (which could be
measured to fractions of seconds).
The outdoor temperature at noon (any value
within possible temperatures ranges.)
The speed of a car on Route 3 (assuming legal
speed limits).
Examples:
The number of people in your class (no
fractional parts of a person).
The number of TV sets in a home (no fractional
parts of a TV set).
The number of puppies in a liter (no fractional
puppies).
The number of questions on a math test (no
incomplete questions).
In Plain English: A discrete function allows the xvalues to be only certain points in the interval,
usually only integers or whole numbers.