A Better Approximation at Lower Input Values

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











up vote
0
down vote

favorite












I'm doing some research on an algorithm and to give an upper bound I wanted to simplify the term, call it $T$, below.



beginequation
T(i)=sum_k=1^i-1secBig(big(frac34big)^k-1big(45^circbig)Big),
textrm for igeq 2endequation



I've been able to come up with the approximation $T leq i$, and this approximation is good enough after the first few values of $i$, but the lower the value of $i$, the more accurate I need $T$ to be. Is there a more accurate approximation at lower values of $i$ for this?







share|cite|improve this question





















  • Additional term as i increases tend to 1. Does that help? What lower values of i do you want? The minimum is 2.
    – herb steinberg
    Jul 27 at 15:00











  • @herbsteinberg If I had to give an example then I would say $T leq i$ is a good approximation for $i > 10$, but the lower the value of $i$, the more important that $T(i)$ be accurate
    – RoryHector
    Jul 27 at 15:08










  • Noe that sec > 1 for each k in you series. My only suggestion is try using the exponential representation $sec(x)=frac2e^ix+e^-ix$, although it might be clumsy.
    – herb steinberg
    Jul 27 at 15:26











  • The statement "$Tle i$" is a little confusing, since T is a function of i.
    – herb steinberg
    Jul 27 at 15:29











  • It's just saying that the output of the function, $T$, is less than the input of the function, $i$.
    – RoryHector
    Jul 27 at 16:11














up vote
0
down vote

favorite












I'm doing some research on an algorithm and to give an upper bound I wanted to simplify the term, call it $T$, below.



beginequation
T(i)=sum_k=1^i-1secBig(big(frac34big)^k-1big(45^circbig)Big),
textrm for igeq 2endequation



I've been able to come up with the approximation $T leq i$, and this approximation is good enough after the first few values of $i$, but the lower the value of $i$, the more accurate I need $T$ to be. Is there a more accurate approximation at lower values of $i$ for this?







share|cite|improve this question





















  • Additional term as i increases tend to 1. Does that help? What lower values of i do you want? The minimum is 2.
    – herb steinberg
    Jul 27 at 15:00











  • @herbsteinberg If I had to give an example then I would say $T leq i$ is a good approximation for $i > 10$, but the lower the value of $i$, the more important that $T(i)$ be accurate
    – RoryHector
    Jul 27 at 15:08










  • Noe that sec > 1 for each k in you series. My only suggestion is try using the exponential representation $sec(x)=frac2e^ix+e^-ix$, although it might be clumsy.
    – herb steinberg
    Jul 27 at 15:26











  • The statement "$Tle i$" is a little confusing, since T is a function of i.
    – herb steinberg
    Jul 27 at 15:29











  • It's just saying that the output of the function, $T$, is less than the input of the function, $i$.
    – RoryHector
    Jul 27 at 16:11












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm doing some research on an algorithm and to give an upper bound I wanted to simplify the term, call it $T$, below.



beginequation
T(i)=sum_k=1^i-1secBig(big(frac34big)^k-1big(45^circbig)Big),
textrm for igeq 2endequation



I've been able to come up with the approximation $T leq i$, and this approximation is good enough after the first few values of $i$, but the lower the value of $i$, the more accurate I need $T$ to be. Is there a more accurate approximation at lower values of $i$ for this?







share|cite|improve this question













I'm doing some research on an algorithm and to give an upper bound I wanted to simplify the term, call it $T$, below.



beginequation
T(i)=sum_k=1^i-1secBig(big(frac34big)^k-1big(45^circbig)Big),
textrm for igeq 2endequation



I've been able to come up with the approximation $T leq i$, and this approximation is good enough after the first few values of $i$, but the lower the value of $i$, the more accurate I need $T$ to be. Is there a more accurate approximation at lower values of $i$ for this?









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 27 at 16:42
























asked Jul 27 at 14:55









RoryHector

9012




9012











  • Additional term as i increases tend to 1. Does that help? What lower values of i do you want? The minimum is 2.
    – herb steinberg
    Jul 27 at 15:00











  • @herbsteinberg If I had to give an example then I would say $T leq i$ is a good approximation for $i > 10$, but the lower the value of $i$, the more important that $T(i)$ be accurate
    – RoryHector
    Jul 27 at 15:08










  • Noe that sec > 1 for each k in you series. My only suggestion is try using the exponential representation $sec(x)=frac2e^ix+e^-ix$, although it might be clumsy.
    – herb steinberg
    Jul 27 at 15:26











  • The statement "$Tle i$" is a little confusing, since T is a function of i.
    – herb steinberg
    Jul 27 at 15:29











  • It's just saying that the output of the function, $T$, is less than the input of the function, $i$.
    – RoryHector
    Jul 27 at 16:11
















  • Additional term as i increases tend to 1. Does that help? What lower values of i do you want? The minimum is 2.
    – herb steinberg
    Jul 27 at 15:00











  • @herbsteinberg If I had to give an example then I would say $T leq i$ is a good approximation for $i > 10$, but the lower the value of $i$, the more important that $T(i)$ be accurate
    – RoryHector
    Jul 27 at 15:08










  • Noe that sec > 1 for each k in you series. My only suggestion is try using the exponential representation $sec(x)=frac2e^ix+e^-ix$, although it might be clumsy.
    – herb steinberg
    Jul 27 at 15:26











  • The statement "$Tle i$" is a little confusing, since T is a function of i.
    – herb steinberg
    Jul 27 at 15:29











  • It's just saying that the output of the function, $T$, is less than the input of the function, $i$.
    – RoryHector
    Jul 27 at 16:11















Additional term as i increases tend to 1. Does that help? What lower values of i do you want? The minimum is 2.
– herb steinberg
Jul 27 at 15:00





Additional term as i increases tend to 1. Does that help? What lower values of i do you want? The minimum is 2.
– herb steinberg
Jul 27 at 15:00













@herbsteinberg If I had to give an example then I would say $T leq i$ is a good approximation for $i > 10$, but the lower the value of $i$, the more important that $T(i)$ be accurate
– RoryHector
Jul 27 at 15:08




@herbsteinberg If I had to give an example then I would say $T leq i$ is a good approximation for $i > 10$, but the lower the value of $i$, the more important that $T(i)$ be accurate
– RoryHector
Jul 27 at 15:08












Noe that sec > 1 for each k in you series. My only suggestion is try using the exponential representation $sec(x)=frac2e^ix+e^-ix$, although it might be clumsy.
– herb steinberg
Jul 27 at 15:26





Noe that sec > 1 for each k in you series. My only suggestion is try using the exponential representation $sec(x)=frac2e^ix+e^-ix$, although it might be clumsy.
– herb steinberg
Jul 27 at 15:26













The statement "$Tle i$" is a little confusing, since T is a function of i.
– herb steinberg
Jul 27 at 15:29





The statement "$Tle i$" is a little confusing, since T is a function of i.
– herb steinberg
Jul 27 at 15:29













It's just saying that the output of the function, $T$, is less than the input of the function, $i$.
– RoryHector
Jul 27 at 16:11




It's just saying that the output of the function, $T$, is less than the input of the function, $i$.
– RoryHector
Jul 27 at 16:11










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Using that $sec x<1+x^2/2$ you can get
$$
T(i)<i-1+fracpi^2126Bigl(9-16Bigl(frac916Bigr)^iBigr)=i-0.709042-1.25328Bigl(frac916Bigr)^i.
$$
This can be improved using more terms in the Taylor series of $sec x$ around $x=0$.






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%2f2864460%2fa-better-approximation-at-lower-input-values%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Using that $sec x<1+x^2/2$ you can get
    $$
    T(i)<i-1+fracpi^2126Bigl(9-16Bigl(frac916Bigr)^iBigr)=i-0.709042-1.25328Bigl(frac916Bigr)^i.
    $$
    This can be improved using more terms in the Taylor series of $sec x$ around $x=0$.






    share|cite|improve this answer

























      up vote
      0
      down vote













      Using that $sec x<1+x^2/2$ you can get
      $$
      T(i)<i-1+fracpi^2126Bigl(9-16Bigl(frac916Bigr)^iBigr)=i-0.709042-1.25328Bigl(frac916Bigr)^i.
      $$
      This can be improved using more terms in the Taylor series of $sec x$ around $x=0$.






      share|cite|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Using that $sec x<1+x^2/2$ you can get
        $$
        T(i)<i-1+fracpi^2126Bigl(9-16Bigl(frac916Bigr)^iBigr)=i-0.709042-1.25328Bigl(frac916Bigr)^i.
        $$
        This can be improved using more terms in the Taylor series of $sec x$ around $x=0$.






        share|cite|improve this answer













        Using that $sec x<1+x^2/2$ you can get
        $$
        T(i)<i-1+fracpi^2126Bigl(9-16Bigl(frac916Bigr)^iBigr)=i-0.709042-1.25328Bigl(frac916Bigr)^i.
        $$
        This can be improved using more terms in the Taylor series of $sec x$ around $x=0$.







        share|cite|improve this answer













        share|cite|improve this answer



        share|cite|improve this answer











        answered Jul 27 at 18:13









        Julián Aguirre

        64.5k23894




        64.5k23894






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2864460%2fa-better-approximation-at-lower-input-values%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?