Restrictions of compositions
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
Considering two functions, $f,g:Xto X$ s.t. $Ysubseteq X$ is invariant for both $f$ and $g$, that is $f(Y)subseteq Y$ and similar for $g$. Do we then have $f|_Ycirc g|_Y=(fcirc g)|_Y$. It seems trivial, but I'm not sure how to show it formally. It would be nice to see a set theoretic argument via the restrictions of relations.
functions elementary-set-theory function-and-relation-composition
add a comment |Â
up vote
1
down vote
favorite
Considering two functions, $f,g:Xto X$ s.t. $Ysubseteq X$ is invariant for both $f$ and $g$, that is $f(Y)subseteq Y$ and similar for $g$. Do we then have $f|_Ycirc g|_Y=(fcirc g)|_Y$. It seems trivial, but I'm not sure how to show it formally. It would be nice to see a set theoretic argument via the restrictions of relations.
functions elementary-set-theory function-and-relation-composition
What does invariant mean?
– William Elliot
Jul 21 at 21:51
Ah yes, I'm sorry, I've edited my question
– zzuussee
Jul 21 at 21:54
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Considering two functions, $f,g:Xto X$ s.t. $Ysubseteq X$ is invariant for both $f$ and $g$, that is $f(Y)subseteq Y$ and similar for $g$. Do we then have $f|_Ycirc g|_Y=(fcirc g)|_Y$. It seems trivial, but I'm not sure how to show it formally. It would be nice to see a set theoretic argument via the restrictions of relations.
functions elementary-set-theory function-and-relation-composition
Considering two functions, $f,g:Xto X$ s.t. $Ysubseteq X$ is invariant for both $f$ and $g$, that is $f(Y)subseteq Y$ and similar for $g$. Do we then have $f|_Ycirc g|_Y=(fcirc g)|_Y$. It seems trivial, but I'm not sure how to show it formally. It would be nice to see a set theoretic argument via the restrictions of relations.
functions elementary-set-theory function-and-relation-composition
edited Jul 21 at 21:54
asked Jul 21 at 21:38


zzuussee
1,512419
1,512419
What does invariant mean?
– William Elliot
Jul 21 at 21:51
Ah yes, I'm sorry, I've edited my question
– zzuussee
Jul 21 at 21:54
add a comment |Â
What does invariant mean?
– William Elliot
Jul 21 at 21:51
Ah yes, I'm sorry, I've edited my question
– zzuussee
Jul 21 at 21:54
What does invariant mean?
– William Elliot
Jul 21 at 21:51
What does invariant mean?
– William Elliot
Jul 21 at 21:51
Ah yes, I'm sorry, I've edited my question
– zzuussee
Jul 21 at 21:54
Ah yes, I'm sorry, I've edited my question
– zzuussee
Jul 21 at 21:54
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
The composition $fmid_Ycirc gmid_Y$ is well defined if and only if $g(Y)subset Y$. If that is given, the equation is true as you can see below.
By definition of the restriction, you get $f(x)=fmid_Y(x)$, $g(x)=gmid_Y(x)$ and $fcirc g(x)=(fcirc g)mid_Y(x)$ for all $xin Y$.
For all $xin Y$ this yields
$$
(fmid_Ycirc gmid_Y)(x)=fmid_Y(gmid_Y(x))=fmid_Y(g(x))=f(g(x))=fcirc g(x)=(fcirc g)mid_Y(x).
$$
(At the third equation you use $g(x)in Y$.) Hence, $fmid_Ycirc gmid_Y=(fcirc g)mid_Y$ holds.
add a comment |Â
up vote
0
down vote
It does look trivial: $text lhs=f(g(y))=textrhs forall yin Y$.
That is, we have $bigcup_yin Y(y,f(g(y)))$ for both functions.
Note: $fmid _Y=fcirc i:Yrightarrow Y$, where $i:Yhookrightarrow X$ is the inclusion of $Y$ into $X$. I have written $Y$ for the codomain by invariance...
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
The composition $fmid_Ycirc gmid_Y$ is well defined if and only if $g(Y)subset Y$. If that is given, the equation is true as you can see below.
By definition of the restriction, you get $f(x)=fmid_Y(x)$, $g(x)=gmid_Y(x)$ and $fcirc g(x)=(fcirc g)mid_Y(x)$ for all $xin Y$.
For all $xin Y$ this yields
$$
(fmid_Ycirc gmid_Y)(x)=fmid_Y(gmid_Y(x))=fmid_Y(g(x))=f(g(x))=fcirc g(x)=(fcirc g)mid_Y(x).
$$
(At the third equation you use $g(x)in Y$.) Hence, $fmid_Ycirc gmid_Y=(fcirc g)mid_Y$ holds.
add a comment |Â
up vote
2
down vote
accepted
The composition $fmid_Ycirc gmid_Y$ is well defined if and only if $g(Y)subset Y$. If that is given, the equation is true as you can see below.
By definition of the restriction, you get $f(x)=fmid_Y(x)$, $g(x)=gmid_Y(x)$ and $fcirc g(x)=(fcirc g)mid_Y(x)$ for all $xin Y$.
For all $xin Y$ this yields
$$
(fmid_Ycirc gmid_Y)(x)=fmid_Y(gmid_Y(x))=fmid_Y(g(x))=f(g(x))=fcirc g(x)=(fcirc g)mid_Y(x).
$$
(At the third equation you use $g(x)in Y$.) Hence, $fmid_Ycirc gmid_Y=(fcirc g)mid_Y$ holds.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
The composition $fmid_Ycirc gmid_Y$ is well defined if and only if $g(Y)subset Y$. If that is given, the equation is true as you can see below.
By definition of the restriction, you get $f(x)=fmid_Y(x)$, $g(x)=gmid_Y(x)$ and $fcirc g(x)=(fcirc g)mid_Y(x)$ for all $xin Y$.
For all $xin Y$ this yields
$$
(fmid_Ycirc gmid_Y)(x)=fmid_Y(gmid_Y(x))=fmid_Y(g(x))=f(g(x))=fcirc g(x)=(fcirc g)mid_Y(x).
$$
(At the third equation you use $g(x)in Y$.) Hence, $fmid_Ycirc gmid_Y=(fcirc g)mid_Y$ holds.
The composition $fmid_Ycirc gmid_Y$ is well defined if and only if $g(Y)subset Y$. If that is given, the equation is true as you can see below.
By definition of the restriction, you get $f(x)=fmid_Y(x)$, $g(x)=gmid_Y(x)$ and $fcirc g(x)=(fcirc g)mid_Y(x)$ for all $xin Y$.
For all $xin Y$ this yields
$$
(fmid_Ycirc gmid_Y)(x)=fmid_Y(gmid_Y(x))=fmid_Y(g(x))=f(g(x))=fcirc g(x)=(fcirc g)mid_Y(x).
$$
(At the third equation you use $g(x)in Y$.) Hence, $fmid_Ycirc gmid_Y=(fcirc g)mid_Y$ holds.
answered Jul 21 at 21:57
Mundron Schmidt
7,1162727
7,1162727
add a comment |Â
add a comment |Â
up vote
0
down vote
It does look trivial: $text lhs=f(g(y))=textrhs forall yin Y$.
That is, we have $bigcup_yin Y(y,f(g(y)))$ for both functions.
Note: $fmid _Y=fcirc i:Yrightarrow Y$, where $i:Yhookrightarrow X$ is the inclusion of $Y$ into $X$. I have written $Y$ for the codomain by invariance...
add a comment |Â
up vote
0
down vote
It does look trivial: $text lhs=f(g(y))=textrhs forall yin Y$.
That is, we have $bigcup_yin Y(y,f(g(y)))$ for both functions.
Note: $fmid _Y=fcirc i:Yrightarrow Y$, where $i:Yhookrightarrow X$ is the inclusion of $Y$ into $X$. I have written $Y$ for the codomain by invariance...
add a comment |Â
up vote
0
down vote
up vote
0
down vote
It does look trivial: $text lhs=f(g(y))=textrhs forall yin Y$.
That is, we have $bigcup_yin Y(y,f(g(y)))$ for both functions.
Note: $fmid _Y=fcirc i:Yrightarrow Y$, where $i:Yhookrightarrow X$ is the inclusion of $Y$ into $X$. I have written $Y$ for the codomain by invariance...
It does look trivial: $text lhs=f(g(y))=textrhs forall yin Y$.
That is, we have $bigcup_yin Y(y,f(g(y)))$ for both functions.
Note: $fmid _Y=fcirc i:Yrightarrow Y$, where $i:Yhookrightarrow X$ is the inclusion of $Y$ into $X$. I have written $Y$ for the codomain by invariance...
edited Jul 22 at 0:41
answered Jul 21 at 22:41
Chris Custer
5,4082622
5,4082622
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858906%2frestrictions-of-compositions%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What does invariant mean?
– William Elliot
Jul 21 at 21:51
Ah yes, I'm sorry, I've edited my question
– zzuussee
Jul 21 at 21:54