Difference between revisions of "Relation"

From Maths
Jump to: navigation, search
m
m
Line 1: Line 1:
 
A set {{M|R}} is a binary relation if all elements of {{M|R}} are [[Ordered pair|ordered pairs]]. That is for any {{M|z\in R\ \exists x\text{ and }y:(x,y)}}
 
A set {{M|R}} is a binary relation if all elements of {{M|R}} are [[Ordered pair|ordered pairs]]. That is for any {{M|z\in R\ \exists x\text{ and }y:(x,y)}}
  
 +
[[Function|Functions]], [[Equivalence relation|equivalence relations]] and [[Ordering|orderings]] are special kinds of relation
  
 
==Notation==
 
==Notation==

Revision as of 16:42, 5 March 2015

A set R is a binary relation if all elements of R are ordered pairs. That is for any zR x and y:(x,y)

Functions, equivalence relations and orderings are special kinds of relation

Notation

Rather than writing (x,y)R to say x and y are related we can instead say xRy

Basic terms

Proof that domain, range and field exist may be found here

Domain

The set of all x which are related by R to some y is the domain.

Dom(R)={x| y:xRy}

Range

The set of all y which are a relation of some x by R is the range.

Ran(R)={y| x:xRy}

Field

The set Dom(R)Ran(R)=Field(R)

Relation in X

To be a relation in a set X we must have Field(R)X

Images of sets

Image of A under R

This is just the set of things that are related to things in A, denoted R[A]

R[A]={yRan(R)|xA:xRa}

Inverse image of B under R

As you'd expect this is the things that are related to things in B, denoted R1[B]

R1[B]={xDom(R)|yB:xRy}

Important lemma

It is very important to know that the inverse image of B under R is the same as the image under R1


Properties of relations

Symmetric

A relation R in A is symmetric if for all a,bA we have that aRbbRa - a property of equivalence relations

Antisymmetric

A binary relation R in A is antisymmetric if for all a,bA we have aRb and bRAa=b


Symmetric implies elements are related to each other, antisymmetric implies only the same things are related to each other.

Reflexive

For a relation R and for all aA we have aRa - a is related to itself.

Transitive

A relation R in A is transitive if for all a,b,cA we have [aRb and bRcaRc]

Asymmetric

A relation S in A is asymmetric if aSb(b,a)S, for example < has this property, we can have a<b or b<a but not both.