Probability Density Function sign problem when using Call Price

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











up vote
2
down vote

favorite












Given the call price $C_t = e^-int_t^Tr(s)dsint (s-K)^+phi_S_T(T,s)ds $



we know that $$fracdCdK=-e^-int_t^Tr(s)dsint_K^infty phi_S_T(T,s)ds$$



Now when I use dirac delta function property $ int f(t)delta(t-T)dt = f(T) $when taking the second derivative with respect to $K$ I find an akward sign minus which I don't know where my calclulus is wrong :



$$fracd^2dK^2C=-e^-int_t^Tr(s)dsint frac ddK H(s-K) phi_S_T(T,s)ds$$



with $H$ the heavy side function, which gives :
$$fracd^2dK^2C= -e^-int_t^Tr(s)dsint delta(s-K) phi_S_T(T,s)ds $$



$$fracd^2dK^2C= -e^-int_t^Tr(s)dsphi_S_T(T,K)$$



and the right result should be without the minus sign here. Where did I go wrong? I know how to find the right result using just the indicator function, but I wanna use the delta function property here to derive it. Any help?










share|improve this question

























    up vote
    2
    down vote

    favorite












    Given the call price $C_t = e^-int_t^Tr(s)dsint (s-K)^+phi_S_T(T,s)ds $



    we know that $$fracdCdK=-e^-int_t^Tr(s)dsint_K^infty phi_S_T(T,s)ds$$



    Now when I use dirac delta function property $ int f(t)delta(t-T)dt = f(T) $when taking the second derivative with respect to $K$ I find an akward sign minus which I don't know where my calclulus is wrong :



    $$fracd^2dK^2C=-e^-int_t^Tr(s)dsint frac ddK H(s-K) phi_S_T(T,s)ds$$



    with $H$ the heavy side function, which gives :
    $$fracd^2dK^2C= -e^-int_t^Tr(s)dsint delta(s-K) phi_S_T(T,s)ds $$



    $$fracd^2dK^2C= -e^-int_t^Tr(s)dsphi_S_T(T,K)$$



    and the right result should be without the minus sign here. Where did I go wrong? I know how to find the right result using just the indicator function, but I wanna use the delta function property here to derive it. Any help?










    share|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      Given the call price $C_t = e^-int_t^Tr(s)dsint (s-K)^+phi_S_T(T,s)ds $



      we know that $$fracdCdK=-e^-int_t^Tr(s)dsint_K^infty phi_S_T(T,s)ds$$



      Now when I use dirac delta function property $ int f(t)delta(t-T)dt = f(T) $when taking the second derivative with respect to $K$ I find an akward sign minus which I don't know where my calclulus is wrong :



      $$fracd^2dK^2C=-e^-int_t^Tr(s)dsint frac ddK H(s-K) phi_S_T(T,s)ds$$



      with $H$ the heavy side function, which gives :
      $$fracd^2dK^2C= -e^-int_t^Tr(s)dsint delta(s-K) phi_S_T(T,s)ds $$



      $$fracd^2dK^2C= -e^-int_t^Tr(s)dsphi_S_T(T,K)$$



      and the right result should be without the minus sign here. Where did I go wrong? I know how to find the right result using just the indicator function, but I wanna use the delta function property here to derive it. Any help?










      share|improve this question













      Given the call price $C_t = e^-int_t^Tr(s)dsint (s-K)^+phi_S_T(T,s)ds $



      we know that $$fracdCdK=-e^-int_t^Tr(s)dsint_K^infty phi_S_T(T,s)ds$$



      Now when I use dirac delta function property $ int f(t)delta(t-T)dt = f(T) $when taking the second derivative with respect to $K$ I find an akward sign minus which I don't know where my calclulus is wrong :



      $$fracd^2dK^2C=-e^-int_t^Tr(s)dsint frac ddK H(s-K) phi_S_T(T,s)ds$$



      with $H$ the heavy side function, which gives :
      $$fracd^2dK^2C= -e^-int_t^Tr(s)dsint delta(s-K) phi_S_T(T,s)ds $$



      $$fracd^2dK^2C= -e^-int_t^Tr(s)dsphi_S_T(T,K)$$



      and the right result should be without the minus sign here. Where did I go wrong? I know how to find the right result using just the indicator function, but I wanna use the delta function property here to derive it. Any help?







      local-volatility calculation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      user30614

      655




      655




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          Note that with $H(cdot)$ the Heaviside function
          $$fracdds H(s-K) = delta(s-K)$$
          but
          $$fracddK H(s-K) = colorred-delta(s-K)$$



          You can also use the Leibniz integral rule to write that
          $$ fracddK int_K^infty phi_S_T(T,s) ds = -phi(S_T,K) $$






          share|improve this answer



























            up vote
            1
            down vote













            Just the chain rule;



            $fracddK H left (S-Kright)=delta left (S-Kright) fracddK left (S-Kright)=-delta left (S-Kright) $






            share|improve this answer




















              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: "204"
              ;
              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: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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%2fquant.stackexchange.com%2fquestions%2f42124%2fprobability-density-function-sign-problem-when-using-call-price%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              Note that with $H(cdot)$ the Heaviside function
              $$fracdds H(s-K) = delta(s-K)$$
              but
              $$fracddK H(s-K) = colorred-delta(s-K)$$



              You can also use the Leibniz integral rule to write that
              $$ fracddK int_K^infty phi_S_T(T,s) ds = -phi(S_T,K) $$






              share|improve this answer
























                up vote
                1
                down vote













                Note that with $H(cdot)$ the Heaviside function
                $$fracdds H(s-K) = delta(s-K)$$
                but
                $$fracddK H(s-K) = colorred-delta(s-K)$$



                You can also use the Leibniz integral rule to write that
                $$ fracddK int_K^infty phi_S_T(T,s) ds = -phi(S_T,K) $$






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Note that with $H(cdot)$ the Heaviside function
                  $$fracdds H(s-K) = delta(s-K)$$
                  but
                  $$fracddK H(s-K) = colorred-delta(s-K)$$



                  You can also use the Leibniz integral rule to write that
                  $$ fracddK int_K^infty phi_S_T(T,s) ds = -phi(S_T,K) $$






                  share|improve this answer












                  Note that with $H(cdot)$ the Heaviside function
                  $$fracdds H(s-K) = delta(s-K)$$
                  but
                  $$fracddK H(s-K) = colorred-delta(s-K)$$



                  You can also use the Leibniz integral rule to write that
                  $$ fracddK int_K^infty phi_S_T(T,s) ds = -phi(S_T,K) $$







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  Quantuple

                  10.4k11141




                  10.4k11141




















                      up vote
                      1
                      down vote













                      Just the chain rule;



                      $fracddK H left (S-Kright)=delta left (S-Kright) fracddK left (S-Kright)=-delta left (S-Kright) $






                      share|improve this answer
























                        up vote
                        1
                        down vote













                        Just the chain rule;



                        $fracddK H left (S-Kright)=delta left (S-Kright) fracddK left (S-Kright)=-delta left (S-Kright) $






                        share|improve this answer






















                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          Just the chain rule;



                          $fracddK H left (S-Kright)=delta left (S-Kright) fracddK left (S-Kright)=-delta left (S-Kright) $






                          share|improve this answer












                          Just the chain rule;



                          $fracddK H left (S-Kright)=delta left (S-Kright) fracddK left (S-Kright)=-delta left (S-Kright) $







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 1 hour ago









                          Magic is in the chain

                          44915




                          44915



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fquant.stackexchange.com%2fquestions%2f42124%2fprobability-density-function-sign-problem-when-using-call-price%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              What does second last employer means? [closed]

                              List of Gilmore Girls characters

                              Confectionery