Iterative method with squared function (edited)












0












$begingroup$


For solving a certain equation I've come up with this iterative method $$x^{n+1}=g^2(x^{n}),$$ where $g$ is given by
$$g(z)=frac{1}{2}left[sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}-Acdottext{erf}(sqrt{z}/2)right],$$ for certain coefficients $A,B>0$. The numerical method seems to work but I would like to prove that it is actually expected to work, using the fix point theorem I guess. I want to prove that $g^2$ is a contraction and I find
begin{align}
|x^{n+2}-x^{n+1}|&=|g^2(x^{n+1})-g^2(x^{n})|\
&<frac{A^2}{2}left|text{erf}left(sqrt{x^{n+1}}/2)right)^2-text{erf}left(sqrt{x^{n}}/2)right)^2right|\
&quad +frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|\
&quad +frac{A}{4}left|F(x^{n+1})-F(x^{n})right|,
end{align}

where $$F(z)=sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}cdottext{erf}(sqrt{z}/2).$$ The second term I can use the mean value theorem and I find, using $x^{n}>0$ $forall n$,
$$frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|<frac{B}{8}|x^{n+1}-x^{n}|.$$ Do I have to proceed the same way with the other two? Or is there a results which can help me out and tell me that the method will converge for sure?



Edit: I have tried another way. It turns out that $g$ satisfies:
begin{align}
&1.qquad g(0)=sqrt{B}/2,\
&2.qquad g(x)>0text{ for }x>0,\
&3.qquad g'(x)<0text{ for }x>0,
end{align}

the equation $x=g^2(x)$ has exactly one solution. Does this mean that the iterative method will converge?










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    For solving a certain equation I've come up with this iterative method $$x^{n+1}=g^2(x^{n}),$$ where $g$ is given by
    $$g(z)=frac{1}{2}left[sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}-Acdottext{erf}(sqrt{z}/2)right],$$ for certain coefficients $A,B>0$. The numerical method seems to work but I would like to prove that it is actually expected to work, using the fix point theorem I guess. I want to prove that $g^2$ is a contraction and I find
    begin{align}
    |x^{n+2}-x^{n+1}|&=|g^2(x^{n+1})-g^2(x^{n})|\
    &<frac{A^2}{2}left|text{erf}left(sqrt{x^{n+1}}/2)right)^2-text{erf}left(sqrt{x^{n}}/2)right)^2right|\
    &quad +frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|\
    &quad +frac{A}{4}left|F(x^{n+1})-F(x^{n})right|,
    end{align}

    where $$F(z)=sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}cdottext{erf}(sqrt{z}/2).$$ The second term I can use the mean value theorem and I find, using $x^{n}>0$ $forall n$,
    $$frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|<frac{B}{8}|x^{n+1}-x^{n}|.$$ Do I have to proceed the same way with the other two? Or is there a results which can help me out and tell me that the method will converge for sure?



    Edit: I have tried another way. It turns out that $g$ satisfies:
    begin{align}
    &1.qquad g(0)=sqrt{B}/2,\
    &2.qquad g(x)>0text{ for }x>0,\
    &3.qquad g'(x)<0text{ for }x>0,
    end{align}

    the equation $x=g^2(x)$ has exactly one solution. Does this mean that the iterative method will converge?










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      For solving a certain equation I've come up with this iterative method $$x^{n+1}=g^2(x^{n}),$$ where $g$ is given by
      $$g(z)=frac{1}{2}left[sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}-Acdottext{erf}(sqrt{z}/2)right],$$ for certain coefficients $A,B>0$. The numerical method seems to work but I would like to prove that it is actually expected to work, using the fix point theorem I guess. I want to prove that $g^2$ is a contraction and I find
      begin{align}
      |x^{n+2}-x^{n+1}|&=|g^2(x^{n+1})-g^2(x^{n})|\
      &<frac{A^2}{2}left|text{erf}left(sqrt{x^{n+1}}/2)right)^2-text{erf}left(sqrt{x^{n}}/2)right)^2right|\
      &quad +frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|\
      &quad +frac{A}{4}left|F(x^{n+1})-F(x^{n})right|,
      end{align}

      where $$F(z)=sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}cdottext{erf}(sqrt{z}/2).$$ The second term I can use the mean value theorem and I find, using $x^{n}>0$ $forall n$,
      $$frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|<frac{B}{8}|x^{n+1}-x^{n}|.$$ Do I have to proceed the same way with the other two? Or is there a results which can help me out and tell me that the method will converge for sure?



      Edit: I have tried another way. It turns out that $g$ satisfies:
      begin{align}
      &1.qquad g(0)=sqrt{B}/2,\
      &2.qquad g(x)>0text{ for }x>0,\
      &3.qquad g'(x)<0text{ for }x>0,
      end{align}

      the equation $x=g^2(x)$ has exactly one solution. Does this mean that the iterative method will converge?










      share|cite|improve this question











      $endgroup$




      For solving a certain equation I've come up with this iterative method $$x^{n+1}=g^2(x^{n}),$$ where $g$ is given by
      $$g(z)=frac{1}{2}left[sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}-Acdottext{erf}(sqrt{z}/2)right],$$ for certain coefficients $A,B>0$. The numerical method seems to work but I would like to prove that it is actually expected to work, using the fix point theorem I guess. I want to prove that $g^2$ is a contraction and I find
      begin{align}
      |x^{n+2}-x^{n+1}|&=|g^2(x^{n+1})-g^2(x^{n})|\
      &<frac{A^2}{2}left|text{erf}left(sqrt{x^{n+1}}/2)right)^2-text{erf}left(sqrt{x^{n}}/2)right)^2right|\
      &quad +frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|\
      &quad +frac{A}{4}left|F(x^{n+1})-F(x^{n})right|,
      end{align}

      where $$F(z)=sqrt{left(Acdottext{erf}(sqrt{z}/2)right)^2+Bcdotexpleft(-z/4right)}cdottext{erf}(sqrt{z}/2).$$ The second term I can use the mean value theorem and I find, using $x^{n}>0$ $forall n$,
      $$frac{B}{4}left|expleft(-x^{n+1}/4right)-expleft(-x^{n}/4right)right|<frac{B}{8}|x^{n+1}-x^{n}|.$$ Do I have to proceed the same way with the other two? Or is there a results which can help me out and tell me that the method will converge for sure?



      Edit: I have tried another way. It turns out that $g$ satisfies:
      begin{align}
      &1.qquad g(0)=sqrt{B}/2,\
      &2.qquad g(x)>0text{ for }x>0,\
      &3.qquad g'(x)<0text{ for }x>0,
      end{align}

      the equation $x=g^2(x)$ has exactly one solution. Does this mean that the iterative method will converge?







      real-analysis calculus fixed-point-theorems






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 31 at 13:43







      Marc

















      asked Jan 31 at 11:00









      MarcMarc

      44139




      44139






















          0






          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',
          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%2f3094762%2fiterative-method-with-squared-function-edited%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f3094762%2fiterative-method-with-squared-function-edited%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

          How to fix TextFormField cause rebuild widget in Flutter

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