The relation S on the set of real numbers R is defined by S={(x,y)|y=x^2+1} Find the composition relations s^2.... ITS URGENT BRO
Answers
Answer:
We assume that the reader is already familiar with the basic operations on binary relations such as the union or intersection of relations. Now we consider one more important operation called the composition of relations.
Definition
Let
A
,
B
and
C
be three sets. Suppose that
R
is a relation from
A
to
B
,
and
S
is a relation from
B
to
C
.
Step-by-step explanation:
The composition of
R
and
S
,
denoted by
S
∘
R
,
is a binary relation from
A
to
C
,
if and only if there is a
b
∈
B
such that
a
R
b
and
b
S
c
.
Formally the composition
S
∘
R
can be written as
S
∘
R
=
{
(
a
,
c
)
∣
∃
b
∈
B
:
a
R
b
∧
b
S
c
}
,
where
a
∈
A
and
c
∈
C
.
The composition of binary relations is associative, but not commutative.
To denote the composition of relations
R
and
S
,
some authors use the notation
R
∘
S
instead of
S
∘
R
.
This is, however, inconsistent with the composition of functions where the resulting function is denoted by
y
=
f
(
g
(
x
)
)
=
(
f
∘
g
)
(
x
)
.
The composition of relations
R
and
S
is often thought as their multiplication and is written as
S
∘
R
=
R
S
.
Powers of Binary Relations
If a relation
R
is defined on a set
A
,
it can always be composed with itself. So, we may have
R
∘
R
=
R
2
,
R
∘
R
∘
R
=
R
3
,
R
∘
R
∘
…
∘
R
n
=
R
n
.
Composition of Relations in Matrix Form
Suppose the relations
R
and
S
are defined by their matrices
M
R
and
M
S
.
Then the composition of relations
S
∘
R
=
R
S
is represented by the matrix product of
M
R
and
M
S
:
M
S
∘
R
=
M
R
S
=
M
R
×
M
S
.
Recall that
M
R
and
M
S
are logical (Boolean) matrices consisting of the elements
0
and
1.
The multiplication of logical matrices is performed as usual, except Boolean arithmetic is used, which implies the following rules:
0
+
0
=
0
,
1
+
0
=
0
+
1
=
1
,
1
+
1
=
1
;
0
×
0
=
0
,
1
×
0
=
0
×
1
=
0
,
1
×
1
=
1.
Example:
Consider the sets
A
=
{
a
,
b
}
,
B
=
{
0
,
1
,
2
}
,
and
C
=
{
x
,
y
}
.
The relation
R
between sets
A
and
B
is given by
R
=
{
(
a
,
0
)
,
(
a
,
2
)
,
(
b
,
1
)
}
.
The relation
S
between sets
B
and
C
is defined as
S
=
{
(
0
,
x
)
,
(
0
,
y
)
,
(
1
,
y
)
,
(
2
,
y
)
}
.
To determine the composition of the relations
R
and
S
,
we represent the relations by their matrices:
M
R
=
[
1
0
1
0
1
0
]
,
M
S
=
⎡
⎢
⎣
1
1
0
1
0
1
⎤
⎥
⎦
.
The matrix of the composition of relations
M
S
∘
R
is calculated as the product of matrices
M
R
and
M
S
:
M
S
∘
R
=
M
R
×
M
S
=
[
1
0
1
0
1
0
]
×
⎡
⎢
⎣
1
1
0
1
0
1
⎤
⎥
⎦
=
[
1
+
0
+
0
1
+
0
+
1
0
+
0
+
0
0
+
1
+
0
]
=
[
1
1
0
1
]
.
In roster form, the composition of relations
S
∘
R
is written as
S
∘
R
=
{
(
a
,
x
)
,
(
a
,
y
)
,
(
b
,
y
)
}
.