Distance between two functions in term of a third function

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












I am wondering if it is possible to define a distance between two real-valued functions that express the concept of "the space between them that can be filled by a third function", where the third function is fixed.



Consider functions defined on a domain $mathcalDsubseteq mathbbR$, fix a function $s$ (in my mind something gaussian-shapedw with the peak inside $mathcalD$). For simplicity $int_mathcalD s(x) dx=1$. See figure.



sketch



I would define the distance between $f$, $g:mathcalDtomathbbR$ as:



$$
d(f, g) = left|mathrmArgmin_N_s int_mathcalDdx left|f(x) + N_s s(x) - g(x) right|right| = left|mathrmArgmin_N_s d_L1(f+N_s s, g)right|
$$



Is it possible to find a set of hypothesis that makes $d$ a proper distance? I am open also to small changes to the definition of $d$. I am interested when the functions are positive, or when they are as probability density functions, but not necessary normalized to 1.



For sure $d(f, g)geq 0$, I think it is easy to prove $d(g, f)=d(f, g)$:



$$d(g, f) = left|mathrmArgmin_N_s d_L1(g+N_s s, f)right|
=left|mathrmArgmin_N_s d_L1(f-N_s s, g)right|=left|-mathrmArgmin_N_s d_L1(f+N_s s, g)right| = d(f, g)$$



I am not sure about $d(f, g)=0Rightarrow f=g$ and the triangular property.



A less local definition may be:



$$
d(f, g) = left|mathrmArgmin_N_s max_muin C int_mathcalDdx left|f(x) + N_s s(x, mu) - g(x) right|right|
$$



with $mathcalCsubseteq mathcalD$ where $mu$ is something related to the location of $s$, for example the expected value of $s$.







share|cite|improve this question

























    up vote
    2
    down vote

    favorite
    1












    I am wondering if it is possible to define a distance between two real-valued functions that express the concept of "the space between them that can be filled by a third function", where the third function is fixed.



    Consider functions defined on a domain $mathcalDsubseteq mathbbR$, fix a function $s$ (in my mind something gaussian-shapedw with the peak inside $mathcalD$). For simplicity $int_mathcalD s(x) dx=1$. See figure.



    sketch



    I would define the distance between $f$, $g:mathcalDtomathbbR$ as:



    $$
    d(f, g) = left|mathrmArgmin_N_s int_mathcalDdx left|f(x) + N_s s(x) - g(x) right|right| = left|mathrmArgmin_N_s d_L1(f+N_s s, g)right|
    $$



    Is it possible to find a set of hypothesis that makes $d$ a proper distance? I am open also to small changes to the definition of $d$. I am interested when the functions are positive, or when they are as probability density functions, but not necessary normalized to 1.



    For sure $d(f, g)geq 0$, I think it is easy to prove $d(g, f)=d(f, g)$:



    $$d(g, f) = left|mathrmArgmin_N_s d_L1(g+N_s s, f)right|
    =left|mathrmArgmin_N_s d_L1(f-N_s s, g)right|=left|-mathrmArgmin_N_s d_L1(f+N_s s, g)right| = d(f, g)$$



    I am not sure about $d(f, g)=0Rightarrow f=g$ and the triangular property.



    A less local definition may be:



    $$
    d(f, g) = left|mathrmArgmin_N_s max_muin C int_mathcalDdx left|f(x) + N_s s(x, mu) - g(x) right|right|
    $$



    with $mathcalCsubseteq mathcalD$ where $mu$ is something related to the location of $s$, for example the expected value of $s$.







    share|cite|improve this question























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      I am wondering if it is possible to define a distance between two real-valued functions that express the concept of "the space between them that can be filled by a third function", where the third function is fixed.



      Consider functions defined on a domain $mathcalDsubseteq mathbbR$, fix a function $s$ (in my mind something gaussian-shapedw with the peak inside $mathcalD$). For simplicity $int_mathcalD s(x) dx=1$. See figure.



      sketch



      I would define the distance between $f$, $g:mathcalDtomathbbR$ as:



      $$
      d(f, g) = left|mathrmArgmin_N_s int_mathcalDdx left|f(x) + N_s s(x) - g(x) right|right| = left|mathrmArgmin_N_s d_L1(f+N_s s, g)right|
      $$



      Is it possible to find a set of hypothesis that makes $d$ a proper distance? I am open also to small changes to the definition of $d$. I am interested when the functions are positive, or when they are as probability density functions, but not necessary normalized to 1.



      For sure $d(f, g)geq 0$, I think it is easy to prove $d(g, f)=d(f, g)$:



      $$d(g, f) = left|mathrmArgmin_N_s d_L1(g+N_s s, f)right|
      =left|mathrmArgmin_N_s d_L1(f-N_s s, g)right|=left|-mathrmArgmin_N_s d_L1(f+N_s s, g)right| = d(f, g)$$



      I am not sure about $d(f, g)=0Rightarrow f=g$ and the triangular property.



      A less local definition may be:



      $$
      d(f, g) = left|mathrmArgmin_N_s max_muin C int_mathcalDdx left|f(x) + N_s s(x, mu) - g(x) right|right|
      $$



      with $mathcalCsubseteq mathcalD$ where $mu$ is something related to the location of $s$, for example the expected value of $s$.







      share|cite|improve this question













      I am wondering if it is possible to define a distance between two real-valued functions that express the concept of "the space between them that can be filled by a third function", where the third function is fixed.



      Consider functions defined on a domain $mathcalDsubseteq mathbbR$, fix a function $s$ (in my mind something gaussian-shapedw with the peak inside $mathcalD$). For simplicity $int_mathcalD s(x) dx=1$. See figure.



      sketch



      I would define the distance between $f$, $g:mathcalDtomathbbR$ as:



      $$
      d(f, g) = left|mathrmArgmin_N_s int_mathcalDdx left|f(x) + N_s s(x) - g(x) right|right| = left|mathrmArgmin_N_s d_L1(f+N_s s, g)right|
      $$



      Is it possible to find a set of hypothesis that makes $d$ a proper distance? I am open also to small changes to the definition of $d$. I am interested when the functions are positive, or when they are as probability density functions, but not necessary normalized to 1.



      For sure $d(f, g)geq 0$, I think it is easy to prove $d(g, f)=d(f, g)$:



      $$d(g, f) = left|mathrmArgmin_N_s d_L1(g+N_s s, f)right|
      =left|mathrmArgmin_N_s d_L1(f-N_s s, g)right|=left|-mathrmArgmin_N_s d_L1(f+N_s s, g)right| = d(f, g)$$



      I am not sure about $d(f, g)=0Rightarrow f=g$ and the triangular property.



      A less local definition may be:



      $$
      d(f, g) = left|mathrmArgmin_N_s max_muin C int_mathcalDdx left|f(x) + N_s s(x, mu) - g(x) right|right|
      $$



      with $mathcalCsubseteq mathcalD$ where $mu$ is something related to the location of $s$, for example the expected value of $s$.









      share|cite|improve this question












      share|cite|improve this question




      share|cite|improve this question








      edited Jul 24 at 9:09
























      asked Jul 24 at 8:46









      Ruggero Turra

      1386




      1386

























          active

          oldest

          votes











          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2861125%2fdistance-between-two-functions-in-term-of-a-third-function%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2861125%2fdistance-between-two-functions-in-term-of-a-third-function%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?