How was this function approximated?

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











up vote
2
down vote

favorite












I found this passage in my book which is not very clear to me as to how it was obtained.
Given $ninmathbbN,,kin(0,1)$, then



$$(1+i)^n+kapprox(1-k)(1+i)^n+k(1+i)^n+1=(1+i)^n(1+ki)$$










share|cite|improve this question

























    up vote
    2
    down vote

    favorite












    I found this passage in my book which is not very clear to me as to how it was obtained.
    Given $ninmathbbN,,kin(0,1)$, then



    $$(1+i)^n+kapprox(1-k)(1+i)^n+k(1+i)^n+1=(1+i)^n(1+ki)$$










    share|cite|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I found this passage in my book which is not very clear to me as to how it was obtained.
      Given $ninmathbbN,,kin(0,1)$, then



      $$(1+i)^n+kapprox(1-k)(1+i)^n+k(1+i)^n+1=(1+i)^n(1+ki)$$










      share|cite|improve this question













      I found this passage in my book which is not very clear to me as to how it was obtained.
      Given $ninmathbbN,,kin(0,1)$, then



      $$(1+i)^n+kapprox(1-k)(1+i)^n+k(1+i)^n+1=(1+i)^n(1+ki)$$







      calculus






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked 58 mins ago









      user372003

      218111




      218111




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          Is $i$ supposed to be small? If so, the derivative of $(1+i)^n$ with respect to $n$ is $(1+i)^nlog(1+i)$. Thus a first order approximation of $(1+i)^n+k$ is
          $$
          (1+i)^n+k(1+i)^nln(1+i).
          $$
          If $0<i<1$ then $iapproxln(1+i)$ (again using a Taylor series approximation), and hence one arrives at the desired approximation of $(1+i)^n+ik(1+i)^n$.






          share|cite|improve this answer
















          • 1




            @user372003 $n$ was a natural number, and I'm comfortable raising something to the power of a natural number. $k$ was assumed to be a small number, so we are essentially raising a number to the power of a natural number, with a small perturbation. This small change of $k$ tells me I should use a derivative to turn something nasty (raising something to the power $n+k$) into something I'm comfortable with (raising something to the power $n$)
            – ThomasGrubb
            34 mins ago










          • but in order to expand shouldn’t you differentiate with respect to $k$ at $k=0$?
            – user372003
            32 mins ago






          • 1




            @user372003 We're basically talking about the same thing; I differentiated the function $(1+i)^n$ with respect to $n$, and taking $k$ to be a constant. You are talking about differentiating the function $(1+i)^n+k$, and taking $n$ to be a constant. You'll arrive at the same destination either way.
            – ThomasGrubb
            27 mins ago

















          up vote
          3
          down vote













          Some intuition to go with ThomasGrubb's thorough answer: for $a>1$, $a^x$ is an increasing function that interpolates between $1$ (at $x=0$) and $a$ (at $x=1$). A secant approximation of $a^x$ is ordinary linear interpolation of these extremes: $(1-x)cdot 1 + xcdot a.$



          As ThomasGrubb notes, this approximation is increasingly poor as $a$ increases.






          share|cite|improve this answer



























            up vote
            1
            down vote













            Notice that $k$ is assumed between $0$ and $1$. With $f(k):=(1+i)^n+k$, the approximation is that $f(k)$ grows roughly linearly as $k$ ranges from $0$ to $1$. Consequently,
            $$
            fracf(k)-f(0)k-0approxfracf(1)-f(0)1-0
            $$
            Rearranging this gives
            $$
            f(k)approx (1-k)f(0) + k f(1).
            $$






            share|cite|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: "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%2f2922382%2fhow-was-this-function-approximated%23new-answer', 'question_page');

              );

              Post as a guest






























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              3
              down vote



              accepted










              Is $i$ supposed to be small? If so, the derivative of $(1+i)^n$ with respect to $n$ is $(1+i)^nlog(1+i)$. Thus a first order approximation of $(1+i)^n+k$ is
              $$
              (1+i)^n+k(1+i)^nln(1+i).
              $$
              If $0<i<1$ then $iapproxln(1+i)$ (again using a Taylor series approximation), and hence one arrives at the desired approximation of $(1+i)^n+ik(1+i)^n$.






              share|cite|improve this answer
















              • 1




                @user372003 $n$ was a natural number, and I'm comfortable raising something to the power of a natural number. $k$ was assumed to be a small number, so we are essentially raising a number to the power of a natural number, with a small perturbation. This small change of $k$ tells me I should use a derivative to turn something nasty (raising something to the power $n+k$) into something I'm comfortable with (raising something to the power $n$)
                – ThomasGrubb
                34 mins ago










              • but in order to expand shouldn’t you differentiate with respect to $k$ at $k=0$?
                – user372003
                32 mins ago






              • 1




                @user372003 We're basically talking about the same thing; I differentiated the function $(1+i)^n$ with respect to $n$, and taking $k$ to be a constant. You are talking about differentiating the function $(1+i)^n+k$, and taking $n$ to be a constant. You'll arrive at the same destination either way.
                – ThomasGrubb
                27 mins ago














              up vote
              3
              down vote



              accepted










              Is $i$ supposed to be small? If so, the derivative of $(1+i)^n$ with respect to $n$ is $(1+i)^nlog(1+i)$. Thus a first order approximation of $(1+i)^n+k$ is
              $$
              (1+i)^n+k(1+i)^nln(1+i).
              $$
              If $0<i<1$ then $iapproxln(1+i)$ (again using a Taylor series approximation), and hence one arrives at the desired approximation of $(1+i)^n+ik(1+i)^n$.






              share|cite|improve this answer
















              • 1




                @user372003 $n$ was a natural number, and I'm comfortable raising something to the power of a natural number. $k$ was assumed to be a small number, so we are essentially raising a number to the power of a natural number, with a small perturbation. This small change of $k$ tells me I should use a derivative to turn something nasty (raising something to the power $n+k$) into something I'm comfortable with (raising something to the power $n$)
                – ThomasGrubb
                34 mins ago










              • but in order to expand shouldn’t you differentiate with respect to $k$ at $k=0$?
                – user372003
                32 mins ago






              • 1




                @user372003 We're basically talking about the same thing; I differentiated the function $(1+i)^n$ with respect to $n$, and taking $k$ to be a constant. You are talking about differentiating the function $(1+i)^n+k$, and taking $n$ to be a constant. You'll arrive at the same destination either way.
                – ThomasGrubb
                27 mins ago












              up vote
              3
              down vote



              accepted







              up vote
              3
              down vote



              accepted






              Is $i$ supposed to be small? If so, the derivative of $(1+i)^n$ with respect to $n$ is $(1+i)^nlog(1+i)$. Thus a first order approximation of $(1+i)^n+k$ is
              $$
              (1+i)^n+k(1+i)^nln(1+i).
              $$
              If $0<i<1$ then $iapproxln(1+i)$ (again using a Taylor series approximation), and hence one arrives at the desired approximation of $(1+i)^n+ik(1+i)^n$.






              share|cite|improve this answer












              Is $i$ supposed to be small? If so, the derivative of $(1+i)^n$ with respect to $n$ is $(1+i)^nlog(1+i)$. Thus a first order approximation of $(1+i)^n+k$ is
              $$
              (1+i)^n+k(1+i)^nln(1+i).
              $$
              If $0<i<1$ then $iapproxln(1+i)$ (again using a Taylor series approximation), and hence one arrives at the desired approximation of $(1+i)^n+ik(1+i)^n$.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered 46 mins ago









              ThomasGrubb

              9,93011335




              9,93011335







              • 1




                @user372003 $n$ was a natural number, and I'm comfortable raising something to the power of a natural number. $k$ was assumed to be a small number, so we are essentially raising a number to the power of a natural number, with a small perturbation. This small change of $k$ tells me I should use a derivative to turn something nasty (raising something to the power $n+k$) into something I'm comfortable with (raising something to the power $n$)
                – ThomasGrubb
                34 mins ago










              • but in order to expand shouldn’t you differentiate with respect to $k$ at $k=0$?
                – user372003
                32 mins ago






              • 1




                @user372003 We're basically talking about the same thing; I differentiated the function $(1+i)^n$ with respect to $n$, and taking $k$ to be a constant. You are talking about differentiating the function $(1+i)^n+k$, and taking $n$ to be a constant. You'll arrive at the same destination either way.
                – ThomasGrubb
                27 mins ago












              • 1




                @user372003 $n$ was a natural number, and I'm comfortable raising something to the power of a natural number. $k$ was assumed to be a small number, so we are essentially raising a number to the power of a natural number, with a small perturbation. This small change of $k$ tells me I should use a derivative to turn something nasty (raising something to the power $n+k$) into something I'm comfortable with (raising something to the power $n$)
                – ThomasGrubb
                34 mins ago










              • but in order to expand shouldn’t you differentiate with respect to $k$ at $k=0$?
                – user372003
                32 mins ago






              • 1




                @user372003 We're basically talking about the same thing; I differentiated the function $(1+i)^n$ with respect to $n$, and taking $k$ to be a constant. You are talking about differentiating the function $(1+i)^n+k$, and taking $n$ to be a constant. You'll arrive at the same destination either way.
                – ThomasGrubb
                27 mins ago







              1




              1




              @user372003 $n$ was a natural number, and I'm comfortable raising something to the power of a natural number. $k$ was assumed to be a small number, so we are essentially raising a number to the power of a natural number, with a small perturbation. This small change of $k$ tells me I should use a derivative to turn something nasty (raising something to the power $n+k$) into something I'm comfortable with (raising something to the power $n$)
              – ThomasGrubb
              34 mins ago




              @user372003 $n$ was a natural number, and I'm comfortable raising something to the power of a natural number. $k$ was assumed to be a small number, so we are essentially raising a number to the power of a natural number, with a small perturbation. This small change of $k$ tells me I should use a derivative to turn something nasty (raising something to the power $n+k$) into something I'm comfortable with (raising something to the power $n$)
              – ThomasGrubb
              34 mins ago












              but in order to expand shouldn’t you differentiate with respect to $k$ at $k=0$?
              – user372003
              32 mins ago




              but in order to expand shouldn’t you differentiate with respect to $k$ at $k=0$?
              – user372003
              32 mins ago




              1




              1




              @user372003 We're basically talking about the same thing; I differentiated the function $(1+i)^n$ with respect to $n$, and taking $k$ to be a constant. You are talking about differentiating the function $(1+i)^n+k$, and taking $n$ to be a constant. You'll arrive at the same destination either way.
              – ThomasGrubb
              27 mins ago




              @user372003 We're basically talking about the same thing; I differentiated the function $(1+i)^n$ with respect to $n$, and taking $k$ to be a constant. You are talking about differentiating the function $(1+i)^n+k$, and taking $n$ to be a constant. You'll arrive at the same destination either way.
              – ThomasGrubb
              27 mins ago










              up vote
              3
              down vote













              Some intuition to go with ThomasGrubb's thorough answer: for $a>1$, $a^x$ is an increasing function that interpolates between $1$ (at $x=0$) and $a$ (at $x=1$). A secant approximation of $a^x$ is ordinary linear interpolation of these extremes: $(1-x)cdot 1 + xcdot a.$



              As ThomasGrubb notes, this approximation is increasingly poor as $a$ increases.






              share|cite|improve this answer
























                up vote
                3
                down vote













                Some intuition to go with ThomasGrubb's thorough answer: for $a>1$, $a^x$ is an increasing function that interpolates between $1$ (at $x=0$) and $a$ (at $x=1$). A secant approximation of $a^x$ is ordinary linear interpolation of these extremes: $(1-x)cdot 1 + xcdot a.$



                As ThomasGrubb notes, this approximation is increasingly poor as $a$ increases.






                share|cite|improve this answer






















                  up vote
                  3
                  down vote










                  up vote
                  3
                  down vote









                  Some intuition to go with ThomasGrubb's thorough answer: for $a>1$, $a^x$ is an increasing function that interpolates between $1$ (at $x=0$) and $a$ (at $x=1$). A secant approximation of $a^x$ is ordinary linear interpolation of these extremes: $(1-x)cdot 1 + xcdot a.$



                  As ThomasGrubb notes, this approximation is increasingly poor as $a$ increases.






                  share|cite|improve this answer












                  Some intuition to go with ThomasGrubb's thorough answer: for $a>1$, $a^x$ is an increasing function that interpolates between $1$ (at $x=0$) and $a$ (at $x=1$). A secant approximation of $a^x$ is ordinary linear interpolation of these extremes: $(1-x)cdot 1 + xcdot a.$



                  As ThomasGrubb notes, this approximation is increasingly poor as $a$ increases.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 42 mins ago









                  user7530

                  33.8k658110




                  33.8k658110




















                      up vote
                      1
                      down vote













                      Notice that $k$ is assumed between $0$ and $1$. With $f(k):=(1+i)^n+k$, the approximation is that $f(k)$ grows roughly linearly as $k$ ranges from $0$ to $1$. Consequently,
                      $$
                      fracf(k)-f(0)k-0approxfracf(1)-f(0)1-0
                      $$
                      Rearranging this gives
                      $$
                      f(k)approx (1-k)f(0) + k f(1).
                      $$






                      share|cite|improve this answer
























                        up vote
                        1
                        down vote













                        Notice that $k$ is assumed between $0$ and $1$. With $f(k):=(1+i)^n+k$, the approximation is that $f(k)$ grows roughly linearly as $k$ ranges from $0$ to $1$. Consequently,
                        $$
                        fracf(k)-f(0)k-0approxfracf(1)-f(0)1-0
                        $$
                        Rearranging this gives
                        $$
                        f(k)approx (1-k)f(0) + k f(1).
                        $$






                        share|cite|improve this answer






















                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          Notice that $k$ is assumed between $0$ and $1$. With $f(k):=(1+i)^n+k$, the approximation is that $f(k)$ grows roughly linearly as $k$ ranges from $0$ to $1$. Consequently,
                          $$
                          fracf(k)-f(0)k-0approxfracf(1)-f(0)1-0
                          $$
                          Rearranging this gives
                          $$
                          f(k)approx (1-k)f(0) + k f(1).
                          $$






                          share|cite|improve this answer












                          Notice that $k$ is assumed between $0$ and $1$. With $f(k):=(1+i)^n+k$, the approximation is that $f(k)$ grows roughly linearly as $k$ ranges from $0$ to $1$. Consequently,
                          $$
                          fracf(k)-f(0)k-0approxfracf(1)-f(0)1-0
                          $$
                          Rearranging this gives
                          $$
                          f(k)approx (1-k)f(0) + k f(1).
                          $$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered 22 mins ago









                          grand_chat

                          18.5k11122




                          18.5k11122



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2922382%2fhow-was-this-function-approximated%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              What does second last employer means? [closed]

                              Installing NextGIS Connect into QGIS 3?

                              One-line joke