Showing posts with label relations. Show all posts
Showing posts with label relations. Show all posts

Saturday, December 27, 2008

Partial order

Consider a relation R on a set A, the relation is a partial order for A if R is reflexive, antisymmetric, and transitive.

Examples,

The relation less than or equal to ( < = ) on the Natural numbers.

Friday, December 26, 2008

Antisymmetric

A relation R on a set A is antisymmetric if, for all x, y is an element of A if x R y and y R x then x=y.

Example:
Consider the relation less than or equal ( < = ) to on the real numbers. It is antisymmetric if x < = y and y < = x, so y = x

Tuesday, December 23, 2008

The relation of S and R is not always equal to the relation of R and S

The relation of S and R is not always equal to the relation of R and S

example:

Let R be a set that is equal to y = x + 1
Let S be a set that is equal to y = x^2

Thus the relation of R to S is equal to z=x^2 and y=z+1 so y = x^2 + 1

And the relation of S to R is equal to z= x + 1 and y = z^2 thus y=(x+1)^2

so the relation of R to s is not equal to the relation of S to R

Monday, December 22, 2008

Composites

A composite is a way of relating 3 or more sets.

Let R be a relation from A to B, and let S be a relation from B to C. The composite of R and S is: There is exists a b in B such that (a,b) is in R and (b,c) is in S.

Consider the example:

A={1,2,3,4}
B={1,2,3,4}
C={1,2,3,4}

Let R be a relation from A to B, so

R = {(1,p),(1,q),(2,q),(3,r),(4,s)}

and let S be the relation from B to C:

S = {(p,x),(q,x),(q,y),(s,z)}

Thus the composite of S and R can be seen as the relation of A to C via B.

The composite of S and R = {(1,x),(1,y),(2,x),(2,y),(4,z)}

Sunday, December 21, 2008

The Inverse of a Relation

The inverse of a relation is defined as follows

The inverse of R is equal to {(y,x) : where (x,y) is an element of the set R.}

For example, consider the following set:

{(1,d),(2,y),(5,m)}

the inverse would be

{(d,1),(y,2),(m,5)}

Saturday, December 20, 2008

Relation of Sets

A relation between two sets is a subset of a Cartesian Product.

For example the numbers and letters of a telephone dialpad are an example of a relation. In this case, 2 is related to a,b,c and 3 is related to d,e,f

Relations will come into greater play with different sets of numbers...like the real, integers, and naturals.