Identity Relation and Function

In summary, a function is a subset of a relation, and every relation is a function. A function can be represented by a set of ordered pairs (x,y), where x corresponds to the input and y corresponds to the output. Functions can be represented in many ways, but one way is to use an equation. If we have a relation R between two sets A and B, then R is a subset of AxB if and only if the following two conditions are met:1) x is in A and y is in B2) x2+y2=1
  • #1
FourierX
73
0

Homework Statement



I am reading a book on relations on function and I am very confused with identity relation and function. Any help on understanding I relation and I function will be appreciated.

Homework Equations



A function from A to B is a relation f from A to B such that
a) the domain of F is A
b) if (x,y) [tex]\in[/tex] to F and (x,z) [tex]\in[/tex] f, then y = z

The Attempt at a Solution



x [tex]\in[/tex] A , IA(x)= x
 
Physics news on Phys.org
  • #2
I am very confused by your question. What are f and F?
A relation f from A to B is a subset of AxB
A function f is a relation from A to B such that
a)The domain of f is A.
b)If (x,y) and (x,z) are elementa of f, then y=z.

So a relation is a special type of function. All functions are relations, but not all relations are functions.

Say we have a relation R from A to B.
R is a subset of AxB.
This means if we chose x in A and y in B it makes sense to ask questions like
Is (x,y) in R?
Is (x,z) in R?
Is x in the domain of R?
Any combination of answers is possible, but say we have a relation f from A to B.
and ask
1)Is (x,y) in R?
2)Is (x,z) in R?
3)Is (x,y)=(x,z)?
4)Is x (x is in A) in the domain of R?
4 is always true
If at least 2 of 1,2,3 are true then they all are

Say we have a relation marrage from men to women
we can have
(Bob,Jill) and (Bob,Beth) in marrage

We might have Bob is not married

Say we have a function marrage from men to women
we cannot have
(Bob,Jill) and (Bob,Beth) in marrage unless Jill=Beth
but we can have
(Bob,Jill) and (Sam,Jill) with Bob!=Sam
We cannot have Bob is not married.
We can have Jill is not married.
 
  • #3
In other words, don't use "f" and "F" to mean the same thing!

Perhaps what is confusing you is that a "function" is a special type of "relation".

Every function is a relation but the other way is not true: the relation {(x,y)|x2+ y2= 1} is not a function.

The identity function {(x,x)} for all x in the base set is also the identity relation- there is no difference.
 

What is the identity relation?

The identity relation is a binary relation that holds between an object and itself. In other words, it is a relation where an object is related to itself and no other objects.

What is the difference between identity relation and equivalence relation?

The main difference between identity relation and equivalence relation is that identity relation only holds between an object and itself, while equivalence relation holds between two or more objects that share a certain property or properties.

What is the function of identity relation in mathematics?

In mathematics, the identity relation serves as the foundation for many other important concepts, such as equality, congruence, and similarity. It allows us to define and understand these concepts in a precise and rigorous manner.

Can identity relation be reflexive, symmetric, or transitive?

Yes, identity relation is reflexive, symmetric, and transitive. It is reflexive because every object is related to itself. It is symmetric because if object A is related to object B, then object B is also related to object A. It is transitive because if object A is related to object B, and object B is related to object C, then object A is also related to object C.

How is identity relation used in computer science?

In computer science, identity relation is often used to compare objects and determine if they are identical or not. It is also used in data structures and algorithms, such as hash tables and sorting algorithms, to efficiently store and manipulate data.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
467
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
27
Views
733
  • Calculus and Beyond Homework Help
Replies
1
Views
277
  • Calculus and Beyond Homework Help
Replies
17
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
319
  • Calculus and Beyond Homework Help
Replies
23
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
387
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
21
Views
2K
Back
Top