$ R $ and $S$ are two relations.
Given $R$ is transitive and $S$ is reflexive
How can I Prove $(R\ ; S\ ;R)^2 \subseteq (R\ ;S)^3$
$ R $ and $S$ are two relations.
Given $R$ is transitive and $S$ is reflexive
How can I Prove $(R\ ; S\ ;R)^2 \subseteq (R\ ;S)^3$
We have, by associativity, that $$ (R;S;R)^2 = R;S;R;R;S;R = R;S;R^2;S;R $$ Now, as $R$ is transitive, $R^2\subseteq R$, hence $$ (R;S;R)^2 \subseteq R;S;R;S;R $$ As $S$ is reflexive $\operatorname{id}\subseteq S$, giving $$ (R;S;R)^2 \subseteq R;S;R;S;R = R;S;R;S;R;\operatorname{id} \subseteq R;S;R;S;R;S = (R;S)^3 $$