Skip to content
Sahithyan's S1
Sahithyan's S1 — Mathematics

Composition

Composition of relations

Let R:ABR:A\rightarrow{B} and S:BCS:B\rightarrow{C} are 2 relations. Composition can be defined when ran(R)=preran(S)\text{ran}(R)=\text{preran}(S).

Say ran(R)=preran(S)=D\text{ran}(R)=\text{preran}(S)=D. Composition of the 2 relations is written as:

SR={(a,c)(a,b)R,(b,c)S,bD}S\circ{R}=\set{(a,c)\,|\,(a,b)\in{R},\,(b,c)\in{S},\,b\in{D}}

Identity relation

From the properties of the inverse relation, RR1,R1RR\circ R^{-1}, R^{-1}\circ R are both defined always. This relation is called the identity relation and denoted by II.

Composition of functions

Let f:ABf:A\rightarrow{B} and g:BCg:B\rightarrow{C} be 2 functions where ff is onto.

gf={(x,z)(x,y)f,(y,z)g,yB}=g(f(x))g\circ{f}=\set{(x,z)\,|\,(x,y)\in{f},\,(y,z)\in{g},\,y\in{B}}=g(f(x))

The notation gfg\circ f can be written as g(f(x))g(f(x)).