Is restriction of a function necessarily limited to a subset of the domain?












1












$begingroup$


A pretty basic question but I cannot find it either here or on the net.



The usual definition of restriction of a function $f : X to Y$, to a set $X'$ (denoted by $f{restriction_{X'}}$) assumes that $X' subset X$, i.e. the restricted domain is a subset of the original domain. See for example the Wikipedia definition of restriction.



However, in certain contexts it may be simpler and very natural to extend this concept to any set $X'$, simply by considering $X cap X'$; thus writing $f{restriction_{X'}}$ directly instead of $f{restriction_{X' cap X}}$, because:




  • the intent is clear even if $X'$ is not a subset of the domain;

  • it saves some characters;

  • if the domain of the function has no established name, than this operation requires even more characters, (something like $f{restriction_{X' cap {operatorname {dom} f} }}$);

  • if the function is constructed as an expression (like $gcirc h$), then this becomes even more complex and requires unnecessary repetition
    $(g circ h){restriction_{X' cap operatorname {dom}(g circ h) }}$ .


Naturally, if such expressions become abundant, it is possible to add a short remark on the extended usage. However, I am still curious whether




  • such extension would be considered (even a minor) abuse of notation without any remark?

  • there is some deeper reason why the "usual" definition assumes that the restriction is limited to subsets of the domain? This constraint seems completely unnecessary.


Note:



Despite using the "usual" definition, even the Wikipedia article hints at the possibility of the "extended" one:




Informally, the restriction of $f$ to $A$ is the same function as $f$, but is only defined on $displaystyle Acap operatorname {dom} f$.




because if we had really assumed $A subset operatorname {dom} f$ then it would have been enough to write "... but is only defined on $A$".










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Not sure about the answer, I never used restriction to a non-subset of the domain, but: $operatorname {dom}(g circ h)=operatorname {dom}(h)$,
    $endgroup$
    – Holo
    Jan 8 at 14:39






  • 1




    $begingroup$
    Actually on second thought I did use restriction to a non-subset of the domain, I just defined $overline{X}=X'cap X$
    $endgroup$
    – Holo
    Jan 8 at 14:42












  • $begingroup$
    You are right, the example is not perfect and can be simplified to $(g circ h){restriction_{X' cap operatorname {dom} (h) }}$. Nevertheless, this version still repeats $h$ and the intent is somewhat less clear (to me at least)
    $endgroup$
    – balage
    Jan 8 at 14:42












  • $begingroup$
    And this was just an example, not to be considered the main reason for my question, which is rather theoretical.
    $endgroup$
    – balage
    Jan 8 at 14:46










  • $begingroup$
    The suggested workaround, $f {restriction_overline{X'}}$ with defining $overline{X'}=X'cap X$ is a good idea. However, it assumes that $X$ is already defined and fixed in the context.
    $endgroup$
    – balage
    Jan 8 at 14:51


















1












$begingroup$


A pretty basic question but I cannot find it either here or on the net.



The usual definition of restriction of a function $f : X to Y$, to a set $X'$ (denoted by $f{restriction_{X'}}$) assumes that $X' subset X$, i.e. the restricted domain is a subset of the original domain. See for example the Wikipedia definition of restriction.



However, in certain contexts it may be simpler and very natural to extend this concept to any set $X'$, simply by considering $X cap X'$; thus writing $f{restriction_{X'}}$ directly instead of $f{restriction_{X' cap X}}$, because:




  • the intent is clear even if $X'$ is not a subset of the domain;

  • it saves some characters;

  • if the domain of the function has no established name, than this operation requires even more characters, (something like $f{restriction_{X' cap {operatorname {dom} f} }}$);

  • if the function is constructed as an expression (like $gcirc h$), then this becomes even more complex and requires unnecessary repetition
    $(g circ h){restriction_{X' cap operatorname {dom}(g circ h) }}$ .


Naturally, if such expressions become abundant, it is possible to add a short remark on the extended usage. However, I am still curious whether




  • such extension would be considered (even a minor) abuse of notation without any remark?

  • there is some deeper reason why the "usual" definition assumes that the restriction is limited to subsets of the domain? This constraint seems completely unnecessary.


Note:



Despite using the "usual" definition, even the Wikipedia article hints at the possibility of the "extended" one:




Informally, the restriction of $f$ to $A$ is the same function as $f$, but is only defined on $displaystyle Acap operatorname {dom} f$.




because if we had really assumed $A subset operatorname {dom} f$ then it would have been enough to write "... but is only defined on $A$".










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Not sure about the answer, I never used restriction to a non-subset of the domain, but: $operatorname {dom}(g circ h)=operatorname {dom}(h)$,
    $endgroup$
    – Holo
    Jan 8 at 14:39






  • 1




    $begingroup$
    Actually on second thought I did use restriction to a non-subset of the domain, I just defined $overline{X}=X'cap X$
    $endgroup$
    – Holo
    Jan 8 at 14:42












  • $begingroup$
    You are right, the example is not perfect and can be simplified to $(g circ h){restriction_{X' cap operatorname {dom} (h) }}$. Nevertheless, this version still repeats $h$ and the intent is somewhat less clear (to me at least)
    $endgroup$
    – balage
    Jan 8 at 14:42












  • $begingroup$
    And this was just an example, not to be considered the main reason for my question, which is rather theoretical.
    $endgroup$
    – balage
    Jan 8 at 14:46










  • $begingroup$
    The suggested workaround, $f {restriction_overline{X'}}$ with defining $overline{X'}=X'cap X$ is a good idea. However, it assumes that $X$ is already defined and fixed in the context.
    $endgroup$
    – balage
    Jan 8 at 14:51
















1












1








1





$begingroup$


A pretty basic question but I cannot find it either here or on the net.



The usual definition of restriction of a function $f : X to Y$, to a set $X'$ (denoted by $f{restriction_{X'}}$) assumes that $X' subset X$, i.e. the restricted domain is a subset of the original domain. See for example the Wikipedia definition of restriction.



However, in certain contexts it may be simpler and very natural to extend this concept to any set $X'$, simply by considering $X cap X'$; thus writing $f{restriction_{X'}}$ directly instead of $f{restriction_{X' cap X}}$, because:




  • the intent is clear even if $X'$ is not a subset of the domain;

  • it saves some characters;

  • if the domain of the function has no established name, than this operation requires even more characters, (something like $f{restriction_{X' cap {operatorname {dom} f} }}$);

  • if the function is constructed as an expression (like $gcirc h$), then this becomes even more complex and requires unnecessary repetition
    $(g circ h){restriction_{X' cap operatorname {dom}(g circ h) }}$ .


Naturally, if such expressions become abundant, it is possible to add a short remark on the extended usage. However, I am still curious whether




  • such extension would be considered (even a minor) abuse of notation without any remark?

  • there is some deeper reason why the "usual" definition assumes that the restriction is limited to subsets of the domain? This constraint seems completely unnecessary.


Note:



Despite using the "usual" definition, even the Wikipedia article hints at the possibility of the "extended" one:




Informally, the restriction of $f$ to $A$ is the same function as $f$, but is only defined on $displaystyle Acap operatorname {dom} f$.




because if we had really assumed $A subset operatorname {dom} f$ then it would have been enough to write "... but is only defined on $A$".










share|cite|improve this question











$endgroup$




A pretty basic question but I cannot find it either here or on the net.



The usual definition of restriction of a function $f : X to Y$, to a set $X'$ (denoted by $f{restriction_{X'}}$) assumes that $X' subset X$, i.e. the restricted domain is a subset of the original domain. See for example the Wikipedia definition of restriction.



However, in certain contexts it may be simpler and very natural to extend this concept to any set $X'$, simply by considering $X cap X'$; thus writing $f{restriction_{X'}}$ directly instead of $f{restriction_{X' cap X}}$, because:




  • the intent is clear even if $X'$ is not a subset of the domain;

  • it saves some characters;

  • if the domain of the function has no established name, than this operation requires even more characters, (something like $f{restriction_{X' cap {operatorname {dom} f} }}$);

  • if the function is constructed as an expression (like $gcirc h$), then this becomes even more complex and requires unnecessary repetition
    $(g circ h){restriction_{X' cap operatorname {dom}(g circ h) }}$ .


Naturally, if such expressions become abundant, it is possible to add a short remark on the extended usage. However, I am still curious whether




  • such extension would be considered (even a minor) abuse of notation without any remark?

  • there is some deeper reason why the "usual" definition assumes that the restriction is limited to subsets of the domain? This constraint seems completely unnecessary.


Note:



Despite using the "usual" definition, even the Wikipedia article hints at the possibility of the "extended" one:




Informally, the restriction of $f$ to $A$ is the same function as $f$, but is only defined on $displaystyle Acap operatorname {dom} f$.




because if we had really assumed $A subset operatorname {dom} f$ then it would have been enough to write "... but is only defined on $A$".







functions elementary-set-theory notation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 8 at 14:33







balage

















asked Jan 8 at 14:20









balagebalage

7916




7916








  • 1




    $begingroup$
    Not sure about the answer, I never used restriction to a non-subset of the domain, but: $operatorname {dom}(g circ h)=operatorname {dom}(h)$,
    $endgroup$
    – Holo
    Jan 8 at 14:39






  • 1




    $begingroup$
    Actually on second thought I did use restriction to a non-subset of the domain, I just defined $overline{X}=X'cap X$
    $endgroup$
    – Holo
    Jan 8 at 14:42












  • $begingroup$
    You are right, the example is not perfect and can be simplified to $(g circ h){restriction_{X' cap operatorname {dom} (h) }}$. Nevertheless, this version still repeats $h$ and the intent is somewhat less clear (to me at least)
    $endgroup$
    – balage
    Jan 8 at 14:42












  • $begingroup$
    And this was just an example, not to be considered the main reason for my question, which is rather theoretical.
    $endgroup$
    – balage
    Jan 8 at 14:46










  • $begingroup$
    The suggested workaround, $f {restriction_overline{X'}}$ with defining $overline{X'}=X'cap X$ is a good idea. However, it assumes that $X$ is already defined and fixed in the context.
    $endgroup$
    – balage
    Jan 8 at 14:51
















  • 1




    $begingroup$
    Not sure about the answer, I never used restriction to a non-subset of the domain, but: $operatorname {dom}(g circ h)=operatorname {dom}(h)$,
    $endgroup$
    – Holo
    Jan 8 at 14:39






  • 1




    $begingroup$
    Actually on second thought I did use restriction to a non-subset of the domain, I just defined $overline{X}=X'cap X$
    $endgroup$
    – Holo
    Jan 8 at 14:42












  • $begingroup$
    You are right, the example is not perfect and can be simplified to $(g circ h){restriction_{X' cap operatorname {dom} (h) }}$. Nevertheless, this version still repeats $h$ and the intent is somewhat less clear (to me at least)
    $endgroup$
    – balage
    Jan 8 at 14:42












  • $begingroup$
    And this was just an example, not to be considered the main reason for my question, which is rather theoretical.
    $endgroup$
    – balage
    Jan 8 at 14:46










  • $begingroup$
    The suggested workaround, $f {restriction_overline{X'}}$ with defining $overline{X'}=X'cap X$ is a good idea. However, it assumes that $X$ is already defined and fixed in the context.
    $endgroup$
    – balage
    Jan 8 at 14:51










1




1




$begingroup$
Not sure about the answer, I never used restriction to a non-subset of the domain, but: $operatorname {dom}(g circ h)=operatorname {dom}(h)$,
$endgroup$
– Holo
Jan 8 at 14:39




$begingroup$
Not sure about the answer, I never used restriction to a non-subset of the domain, but: $operatorname {dom}(g circ h)=operatorname {dom}(h)$,
$endgroup$
– Holo
Jan 8 at 14:39




1




1




$begingroup$
Actually on second thought I did use restriction to a non-subset of the domain, I just defined $overline{X}=X'cap X$
$endgroup$
– Holo
Jan 8 at 14:42






$begingroup$
Actually on second thought I did use restriction to a non-subset of the domain, I just defined $overline{X}=X'cap X$
$endgroup$
– Holo
Jan 8 at 14:42














$begingroup$
You are right, the example is not perfect and can be simplified to $(g circ h){restriction_{X' cap operatorname {dom} (h) }}$. Nevertheless, this version still repeats $h$ and the intent is somewhat less clear (to me at least)
$endgroup$
– balage
Jan 8 at 14:42






$begingroup$
You are right, the example is not perfect and can be simplified to $(g circ h){restriction_{X' cap operatorname {dom} (h) }}$. Nevertheless, this version still repeats $h$ and the intent is somewhat less clear (to me at least)
$endgroup$
– balage
Jan 8 at 14:42














$begingroup$
And this was just an example, not to be considered the main reason for my question, which is rather theoretical.
$endgroup$
– balage
Jan 8 at 14:46




$begingroup$
And this was just an example, not to be considered the main reason for my question, which is rather theoretical.
$endgroup$
– balage
Jan 8 at 14:46












$begingroup$
The suggested workaround, $f {restriction_overline{X'}}$ with defining $overline{X'}=X'cap X$ is a good idea. However, it assumes that $X$ is already defined and fixed in the context.
$endgroup$
– balage
Jan 8 at 14:51






$begingroup$
The suggested workaround, $f {restriction_overline{X'}}$ with defining $overline{X'}=X'cap X$ is a good idea. However, it assumes that $X$ is already defined and fixed in the context.
$endgroup$
– balage
Jan 8 at 14:51












1 Answer
1






active

oldest

votes


















0












$begingroup$

It doesn't really matter. Let $f:Xto Y$ be a function and $X'$ be a set. Define the restriction of $f$ to $X'$ as $frestriction_{X'}={(x,y)in f:xin X'}$.



You'll find that it agrees with the usual definition whenever $X'subseteq X$. Else, $X'nsubseteq X$ and you'll find that $frestriction_{X'}=frestriction_{X'cap X}$. FWIW I prefer my definition as the usual one is unnecessarily restrictive, and as you said, shortens notation.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So this answer says that (1) no abuse occurs and (2) there is no reason why all sources assume $X' subset X$, if I understand correctly. I am still a bit unsure about (2). This obvious and easy definition makes me more an more puzzled as to why alll sources I have ever seen use the "unnecessary" (?) constraint.
    $endgroup$
    – balage
    Jan 10 at 13:52










  • $begingroup$
    Because most of the time, the set $X'$ being restricted to is in fact a subset of $X$.
    $endgroup$
    – palmpo
    Jan 10 at 18:19











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3066218%2fis-restriction-of-a-function-necessarily-limited-to-a-subset-of-the-domain%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

It doesn't really matter. Let $f:Xto Y$ be a function and $X'$ be a set. Define the restriction of $f$ to $X'$ as $frestriction_{X'}={(x,y)in f:xin X'}$.



You'll find that it agrees with the usual definition whenever $X'subseteq X$. Else, $X'nsubseteq X$ and you'll find that $frestriction_{X'}=frestriction_{X'cap X}$. FWIW I prefer my definition as the usual one is unnecessarily restrictive, and as you said, shortens notation.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So this answer says that (1) no abuse occurs and (2) there is no reason why all sources assume $X' subset X$, if I understand correctly. I am still a bit unsure about (2). This obvious and easy definition makes me more an more puzzled as to why alll sources I have ever seen use the "unnecessary" (?) constraint.
    $endgroup$
    – balage
    Jan 10 at 13:52










  • $begingroup$
    Because most of the time, the set $X'$ being restricted to is in fact a subset of $X$.
    $endgroup$
    – palmpo
    Jan 10 at 18:19
















0












$begingroup$

It doesn't really matter. Let $f:Xto Y$ be a function and $X'$ be a set. Define the restriction of $f$ to $X'$ as $frestriction_{X'}={(x,y)in f:xin X'}$.



You'll find that it agrees with the usual definition whenever $X'subseteq X$. Else, $X'nsubseteq X$ and you'll find that $frestriction_{X'}=frestriction_{X'cap X}$. FWIW I prefer my definition as the usual one is unnecessarily restrictive, and as you said, shortens notation.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    So this answer says that (1) no abuse occurs and (2) there is no reason why all sources assume $X' subset X$, if I understand correctly. I am still a bit unsure about (2). This obvious and easy definition makes me more an more puzzled as to why alll sources I have ever seen use the "unnecessary" (?) constraint.
    $endgroup$
    – balage
    Jan 10 at 13:52










  • $begingroup$
    Because most of the time, the set $X'$ being restricted to is in fact a subset of $X$.
    $endgroup$
    – palmpo
    Jan 10 at 18:19














0












0








0





$begingroup$

It doesn't really matter. Let $f:Xto Y$ be a function and $X'$ be a set. Define the restriction of $f$ to $X'$ as $frestriction_{X'}={(x,y)in f:xin X'}$.



You'll find that it agrees with the usual definition whenever $X'subseteq X$. Else, $X'nsubseteq X$ and you'll find that $frestriction_{X'}=frestriction_{X'cap X}$. FWIW I prefer my definition as the usual one is unnecessarily restrictive, and as you said, shortens notation.






share|cite|improve this answer









$endgroup$



It doesn't really matter. Let $f:Xto Y$ be a function and $X'$ be a set. Define the restriction of $f$ to $X'$ as $frestriction_{X'}={(x,y)in f:xin X'}$.



You'll find that it agrees with the usual definition whenever $X'subseteq X$. Else, $X'nsubseteq X$ and you'll find that $frestriction_{X'}=frestriction_{X'cap X}$. FWIW I prefer my definition as the usual one is unnecessarily restrictive, and as you said, shortens notation.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 8 at 16:08









palmpopalmpo

3861213




3861213












  • $begingroup$
    So this answer says that (1) no abuse occurs and (2) there is no reason why all sources assume $X' subset X$, if I understand correctly. I am still a bit unsure about (2). This obvious and easy definition makes me more an more puzzled as to why alll sources I have ever seen use the "unnecessary" (?) constraint.
    $endgroup$
    – balage
    Jan 10 at 13:52










  • $begingroup$
    Because most of the time, the set $X'$ being restricted to is in fact a subset of $X$.
    $endgroup$
    – palmpo
    Jan 10 at 18:19


















  • $begingroup$
    So this answer says that (1) no abuse occurs and (2) there is no reason why all sources assume $X' subset X$, if I understand correctly. I am still a bit unsure about (2). This obvious and easy definition makes me more an more puzzled as to why alll sources I have ever seen use the "unnecessary" (?) constraint.
    $endgroup$
    – balage
    Jan 10 at 13:52










  • $begingroup$
    Because most of the time, the set $X'$ being restricted to is in fact a subset of $X$.
    $endgroup$
    – palmpo
    Jan 10 at 18:19
















$begingroup$
So this answer says that (1) no abuse occurs and (2) there is no reason why all sources assume $X' subset X$, if I understand correctly. I am still a bit unsure about (2). This obvious and easy definition makes me more an more puzzled as to why alll sources I have ever seen use the "unnecessary" (?) constraint.
$endgroup$
– balage
Jan 10 at 13:52




$begingroup$
So this answer says that (1) no abuse occurs and (2) there is no reason why all sources assume $X' subset X$, if I understand correctly. I am still a bit unsure about (2). This obvious and easy definition makes me more an more puzzled as to why alll sources I have ever seen use the "unnecessary" (?) constraint.
$endgroup$
– balage
Jan 10 at 13:52












$begingroup$
Because most of the time, the set $X'$ being restricted to is in fact a subset of $X$.
$endgroup$
– palmpo
Jan 10 at 18:19




$begingroup$
Because most of the time, the set $X'$ being restricted to is in fact a subset of $X$.
$endgroup$
– palmpo
Jan 10 at 18:19


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3066218%2fis-restriction-of-a-function-necessarily-limited-to-a-subset-of-the-domain%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

Npm cannot find a required file even through it is in the searched directory

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith