How does one transform a sum into a telescoping sum?Telescoping series- find a closed formula for $a_k$Terminology for generalization(?) of telescopic seriesHow to compute: $S_q,p =sumlimits_n=1^inftyfrac1(n+q)(n+q+1)…(n+p)$Sylvester's sequence, and a similar sumTelescoping Series - Summation korean problemSeries involving Fibonacci Numbers: $sum_k=1^infty frac1F_kF_k+1$Find the closed form of $u_n+1=a_nu_n+b_n$Formula for the nth partial sum of a telescoping seriesWhich partial sum should be considered to find $sum_n=1^infty c_1x_n+1+c_2x_n+2+…+c_kx_n+k$

How should character arrays be used as strings?

Puzzling phrases

How can I manage my team to maintain a reasonable productivity when my employer doesn't treat employees well?

How can I use Charisma instead of Strength or Dexterity for weapon attacks without being a Hexblade warlock?

Tourist / simple city maps to print

How offensive is Fachidiot?

Multithreading program stuck in optimized mode but runs normally in -O0

Should I pay closing cost and replace HVAC for buyer

Why is English not a regular language?

Practically, how does an 'observer' collapse a wave function?

(Would be) teammate called me privately to tell me he does not wish to work with me

Simple n-body class in C++

Trading stock more quickly vs. holding it

Can a Horizon Walker ranger use the Distant Strike feature to teleport out of the Forcecage spell?

Can only rich people become president?

"bees" -> "hive" in 5 letter changes or fewer

180W Laptop charged with 45W charger, is it dead?

What helped Einstein to provide a more accurate description of gravity than Newton?

What is the name for a placename that contains what the thing is in a different language?

Convert Unix timestamp to human-readable time

Possible ambiguities when using "home" as an adverb? (study home, write home...)

Internals of backup compression with TDE (SQL Server)

Why do some PCBs have the courtyard in the silkscreen layer?

Black hole as a storage device?



How does one transform a sum into a telescoping sum?


Telescoping series- find a closed formula for $a_k$Terminology for generalization(?) of telescopic seriesHow to compute: $S_q,p =sumlimits_n=1^inftyfrac1(n+q)(n+q+1)…(n+p)$Sylvester's sequence, and a similar sumTelescoping Series - Summation korean problemSeries involving Fibonacci Numbers: $sum_k=1^infty frac1F_kF_k+1$Find the closed form of $u_n+1=a_nu_n+b_n$Formula for the nth partial sum of a telescoping seriesWhich partial sum should be considered to find $sum_n=1^infty c_1x_n+1+c_2x_n+2+…+c_kx_n+k$






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;

.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;








7














$begingroup$


Very possibly this has been asked before, but as I couldn't find it:



Let $(a_n)_ninmathbb N$ be a sequence, and
$$sum_n= 0^infty a_n $$
an infinite sum.



I'm looking for general methods of transforming this sum into a telescoping sum, i.e. finding a solution to the recurrence formula
$$a_n= r(n) - r(n-1) $$



This can be seen as an inhomogenous recurrence equation:
$$r(n)= r(n-1)+a_n $$



One failed attempt would be this:



Using the methods of discrete math, we can show that the generating function of $r(n)$ has the closed form:
$$ sum_i=0^infty r(i)x^i = fracr(0) - sum_n=d^infty a_n x^n1-x$$



However, to make use of this, we would first need to find a closed form for
$$ sum_n=d^infty a_n x^n$$
However, if we find a closed form for that, we might as well find a closed form for
$$sum_n=0^infty a_n x^n$$
, substitute $x=1$ and be done with it.



TL, DR: In this form, my approach either is missing something, or plain pointless. What are other possible ways of going about solving this recurrence equation, or other general ways to transform sums into telescopic-sum-form?










share|cite|improve this question












$endgroup$














  • $begingroup$
    Do you mean $x=1$ instead of $x=0$? $x=0$ is a pretty boring substitution there.
    $endgroup$
    – Yakk
    Jun 14 at 19:28











  • $begingroup$
    @Yakk You're of cause correct
    $endgroup$
    – Sudix
    Jun 14 at 20:13

















7














$begingroup$


Very possibly this has been asked before, but as I couldn't find it:



Let $(a_n)_ninmathbb N$ be a sequence, and
$$sum_n= 0^infty a_n $$
an infinite sum.



I'm looking for general methods of transforming this sum into a telescoping sum, i.e. finding a solution to the recurrence formula
$$a_n= r(n) - r(n-1) $$



This can be seen as an inhomogenous recurrence equation:
$$r(n)= r(n-1)+a_n $$



One failed attempt would be this:



Using the methods of discrete math, we can show that the generating function of $r(n)$ has the closed form:
$$ sum_i=0^infty r(i)x^i = fracr(0) - sum_n=d^infty a_n x^n1-x$$



However, to make use of this, we would first need to find a closed form for
$$ sum_n=d^infty a_n x^n$$
However, if we find a closed form for that, we might as well find a closed form for
$$sum_n=0^infty a_n x^n$$
, substitute $x=1$ and be done with it.



TL, DR: In this form, my approach either is missing something, or plain pointless. What are other possible ways of going about solving this recurrence equation, or other general ways to transform sums into telescopic-sum-form?










share|cite|improve this question












$endgroup$














  • $begingroup$
    Do you mean $x=1$ instead of $x=0$? $x=0$ is a pretty boring substitution there.
    $endgroup$
    – Yakk
    Jun 14 at 19:28











  • $begingroup$
    @Yakk You're of cause correct
    $endgroup$
    – Sudix
    Jun 14 at 20:13













7












7








7


3



$begingroup$


Very possibly this has been asked before, but as I couldn't find it:



Let $(a_n)_ninmathbb N$ be a sequence, and
$$sum_n= 0^infty a_n $$
an infinite sum.



I'm looking for general methods of transforming this sum into a telescoping sum, i.e. finding a solution to the recurrence formula
$$a_n= r(n) - r(n-1) $$



This can be seen as an inhomogenous recurrence equation:
$$r(n)= r(n-1)+a_n $$



One failed attempt would be this:



Using the methods of discrete math, we can show that the generating function of $r(n)$ has the closed form:
$$ sum_i=0^infty r(i)x^i = fracr(0) - sum_n=d^infty a_n x^n1-x$$



However, to make use of this, we would first need to find a closed form for
$$ sum_n=d^infty a_n x^n$$
However, if we find a closed form for that, we might as well find a closed form for
$$sum_n=0^infty a_n x^n$$
, substitute $x=1$ and be done with it.



TL, DR: In this form, my approach either is missing something, or plain pointless. What are other possible ways of going about solving this recurrence equation, or other general ways to transform sums into telescopic-sum-form?










share|cite|improve this question












$endgroup$




Very possibly this has been asked before, but as I couldn't find it:



Let $(a_n)_ninmathbb N$ be a sequence, and
$$sum_n= 0^infty a_n $$
an infinite sum.



I'm looking for general methods of transforming this sum into a telescoping sum, i.e. finding a solution to the recurrence formula
$$a_n= r(n) - r(n-1) $$



This can be seen as an inhomogenous recurrence equation:
$$r(n)= r(n-1)+a_n $$



One failed attempt would be this:



Using the methods of discrete math, we can show that the generating function of $r(n)$ has the closed form:
$$ sum_i=0^infty r(i)x^i = fracr(0) - sum_n=d^infty a_n x^n1-x$$



However, to make use of this, we would first need to find a closed form for
$$ sum_n=d^infty a_n x^n$$
However, if we find a closed form for that, we might as well find a closed form for
$$sum_n=0^infty a_n x^n$$
, substitute $x=1$ and be done with it.



TL, DR: In this form, my approach either is missing something, or plain pointless. What are other possible ways of going about solving this recurrence equation, or other general ways to transform sums into telescopic-sum-form?







telescopic-series






share|cite|improve this question
















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jun 14 at 20:13







Sudix

















asked Jun 14 at 2:28









SudixSudix

1,7001 gold badge6 silver badges19 bronze badges




1,7001 gold badge6 silver badges19 bronze badges














  • $begingroup$
    Do you mean $x=1$ instead of $x=0$? $x=0$ is a pretty boring substitution there.
    $endgroup$
    – Yakk
    Jun 14 at 19:28











  • $begingroup$
    @Yakk You're of cause correct
    $endgroup$
    – Sudix
    Jun 14 at 20:13
















  • $begingroup$
    Do you mean $x=1$ instead of $x=0$? $x=0$ is a pretty boring substitution there.
    $endgroup$
    – Yakk
    Jun 14 at 19:28











  • $begingroup$
    @Yakk You're of cause correct
    $endgroup$
    – Sudix
    Jun 14 at 20:13















$begingroup$
Do you mean $x=1$ instead of $x=0$? $x=0$ is a pretty boring substitution there.
$endgroup$
– Yakk
Jun 14 at 19:28





$begingroup$
Do you mean $x=1$ instead of $x=0$? $x=0$ is a pretty boring substitution there.
$endgroup$
– Yakk
Jun 14 at 19:28













$begingroup$
@Yakk You're of cause correct
$endgroup$
– Sudix
Jun 14 at 20:13




$begingroup$
@Yakk You're of cause correct
$endgroup$
– Sudix
Jun 14 at 20:13










3 Answers
3






active

oldest

votes


















4
















$begingroup$

In general, there is no suitable technique for all cases. Some series don't exactly have telescoping components that are easy to track. One example of types of series that may have a telescoping component are hypergeometric series, whre we wish to sum anything of the form



$$sum_k=0^nfrac(a_1)_k...(a_p)_k(b_1)_k...(b_q)_k$$



where the notation $(a)_k$ denotes the ascending factorial function. Hypergeometric functions are any functions that can be written in such a fashion, along with the term $x^k/k!$ and the upper limit is taken as infinite. Finding the telescoping series for these requires the use of Gosper's Algorithm, or its modified version Zielberger's Algorithm. Here is an example of how to use Gosper's algorithm.



Suppose that we want a closed form for the sum



$$S_m=sum_k=0^m(-1)^kbinomnk$$



where $mleq n$. To evaluate



$$S_m=sum_k=0^ma_k$$



we notice that $S_m-S_m-1=a_m$. This, the sum $S_m$ is a sort of antiderivative of the discrete sum. As such, $S_m$ is sometimes called the indefinite sum of $a_k$. Without going into detail, we wish to write the ratio of the terms such that



$$fraca_k+1a_k=fracp_k+1p_kfracq_kr_k$$



for some polynomials $p_k,q_k$, and $r_k$. One condition that we must enforce (for complicated reasons) is that if $(k+alpha)$ divides $q_k$ and $(k+beta)$ divides $r_k$, then $alpha-beta-1$ cannot be a positive integer. This is always possible by multiplying appropriate terms to the polynomial $p_k$ until this is true. For our problem, we have



$$fraca_k+1a_k=frac(-1)^k+1binomnk+1(-1)^kbinomnk=frack-nk+1$$



Here, $p_k=1$, $q_k=k-n$, and $r_k=k+1$, which satisfy our hypotheses. Gosper's Algorithm states that if a hypergeometric telescoping term exists, then it must take the form



$$S_k-1=fracr_k-1a_ks_kp_k$$



for some polynomial $s_k$ (again, the reasoning is complicated). The polynomial $s_k$ is the solution to



$$p_k=q_ks_k+1-r_k-1s_k$$



Throwing in our equations, we have



$$1=(k-n)s_k+1-ks_k$$



If we assign $s_k=-1/n$, which is a polynomial in $k$ of degree $0$, then this satisfies the polynomial condition. Thus, we have



$$S_k-1=(-1)^k+1frackbinomnkn=(-1)^k+1binomn-1k-1,;;;;S_k-S_k-1=a_k$$



An important rule when dealing with hypergeometric terms is if a factorial ever becomes negative, we simply regard it as $0$. Our final answer is



$$sum_k=0^m(-1)^kbinomnk=S_m-S_-1=(-1)^mbinomn-1m$$



Plenty of other hypergeometric sums and series can be established, such as $k!$, $1/(k^2-1)$, etc. More generally, however, we can't always use this, but we can find recursion relations between similar series. For example, Let's consider the sum



$$S=sum_k=0^nbinomnk^2$$



Gosper's Algorithm will yield no polynomial $s_k$ that we need. Instead, we seek to use Gosper's Algorithm on the modified sum



$$S=b_0sum_k=0^nbinomnk^2+b_1sum_k=0^n+1binomn+1k^2$$



for some coefficients $b_n$ to be specified later. Applying the term ratio gives



$$fraca_k+1a_k=fracb_0binomnk+1^2+b_1binomn+1k+1^2b_0binomnk^2+b_1binomn+1k^2=fracb_0(k-n)^2+b_1(n+1)^2b_0(k-n-1)^2+b_1(n+1)^2frac(k-n-1)^2(k+1)^2$$



We assign $p_k=b_0(k-n-1)^2+b_1(n+1)^2$, $q_k=(k-n-1)^2$, and $r_k=(k+1)^2$. The polynomial $s_k$ satisfies



$$b_0(k-n-1)^2+b_1(n+1)^2=(k-n-1)^2s_k+1-k^2s_k$$



Without going into detail, the quantity $s_k=2k-3(n+1)$ satisfies the equation with $b_0=-2(2n+1)$ and $b_1=n+1$. We now have



$$S_k-1=frack^2(-2(2n+1)binomnk^2+(n+1)binomn+1k^2)(2k-3(n+1))-2(2n+1)(k-n-1)^2+(n+1)^3$$



We then have partial sums of



$$-2(2n+1)sum_k=0^mbinomnk^2+(n+1)sum_k=0^mbinomn+1k^2=frac(m+1)^2(-2(2n+1)binomnm+1^2+(n+1)binomn+1m+1^2)(2(m+1)-3(n+1))-2(2n+1)(m-n)^2+(n+1)^3$$



Letting $m$ be large enough such that the factorial terms vanish, we have that the indefinite sum vanishes, and



$$sum_k=0^n+1binomn+1k^2=frac2(2n+1)n+1sum_k=0^nbinomnk^2$$



This yields a recursion relation for the sum in question. For $n=0$, the sum is $1$. Using the recursion, we get the next sums are $2,6,20,$ etc. These are precisely the central binomial coefficiants, so we finally have



$$sum_k=0^nbinomnk^2=binom2nn$$.



This algorithm may be employed many times over on many different sums, where the sums may also be infinite.






share|cite|improve this answer










$endgroup$






















    11
















    $begingroup$

    You are essentially asking for a general method to sum any finite or infinite series
    (or indefinite sum). Correct? There is no such method. For certain special families of series, there do exist methods. For instance, summing of polynomial sequences, that is, $sum_n n^k$ using Bernoulli numbers. An important special case similar to telescoping series is using Wilf–Zeilberger pairs which requires a computer algorithm.






    share|cite|improve this answer












    $endgroup$














    • $begingroup$
      Well, a general method of cause would have its limits, i.e. lead in particular cases to uncomputable functions or simply fail. Both would be acceptable outcomes though.
      $endgroup$
      – Sudix
      Jun 14 at 3:29










    • $begingroup$
      If you could list the families of functions for which methods are known (or you know well enough), and the general method, it'd help me a lot!
      $endgroup$
      – Sudix
      Jun 14 at 3:31



















    3
















    $begingroup$

    You are looking for
    $$
    a(n) = r(n) - r(n - 1)
    $$

    or, what is more standardly adopted
    $$
    a(n) = s(n + 1) - s(n) = Delta s(n)
    $$



    Then $s(n)$ is called the Antidelta or Indefinite Sum of $a(n)$, and same as for integrals
    some functions have a closed form for the Antidelta, and some don't.



    You can find more details in the indicated link.






    share|cite|improve this answer










    $endgroup$
















      Your Answer








      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/4.0/"u003ecc by-sa 4.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%2f3261711%2fhow-does-one-transform-a-sum-into-a-telescoping-sum%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown


























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4
















      $begingroup$

      In general, there is no suitable technique for all cases. Some series don't exactly have telescoping components that are easy to track. One example of types of series that may have a telescoping component are hypergeometric series, whre we wish to sum anything of the form



      $$sum_k=0^nfrac(a_1)_k...(a_p)_k(b_1)_k...(b_q)_k$$



      where the notation $(a)_k$ denotes the ascending factorial function. Hypergeometric functions are any functions that can be written in such a fashion, along with the term $x^k/k!$ and the upper limit is taken as infinite. Finding the telescoping series for these requires the use of Gosper's Algorithm, or its modified version Zielberger's Algorithm. Here is an example of how to use Gosper's algorithm.



      Suppose that we want a closed form for the sum



      $$S_m=sum_k=0^m(-1)^kbinomnk$$



      where $mleq n$. To evaluate



      $$S_m=sum_k=0^ma_k$$



      we notice that $S_m-S_m-1=a_m$. This, the sum $S_m$ is a sort of antiderivative of the discrete sum. As such, $S_m$ is sometimes called the indefinite sum of $a_k$. Without going into detail, we wish to write the ratio of the terms such that



      $$fraca_k+1a_k=fracp_k+1p_kfracq_kr_k$$



      for some polynomials $p_k,q_k$, and $r_k$. One condition that we must enforce (for complicated reasons) is that if $(k+alpha)$ divides $q_k$ and $(k+beta)$ divides $r_k$, then $alpha-beta-1$ cannot be a positive integer. This is always possible by multiplying appropriate terms to the polynomial $p_k$ until this is true. For our problem, we have



      $$fraca_k+1a_k=frac(-1)^k+1binomnk+1(-1)^kbinomnk=frack-nk+1$$



      Here, $p_k=1$, $q_k=k-n$, and $r_k=k+1$, which satisfy our hypotheses. Gosper's Algorithm states that if a hypergeometric telescoping term exists, then it must take the form



      $$S_k-1=fracr_k-1a_ks_kp_k$$



      for some polynomial $s_k$ (again, the reasoning is complicated). The polynomial $s_k$ is the solution to



      $$p_k=q_ks_k+1-r_k-1s_k$$



      Throwing in our equations, we have



      $$1=(k-n)s_k+1-ks_k$$



      If we assign $s_k=-1/n$, which is a polynomial in $k$ of degree $0$, then this satisfies the polynomial condition. Thus, we have



      $$S_k-1=(-1)^k+1frackbinomnkn=(-1)^k+1binomn-1k-1,;;;;S_k-S_k-1=a_k$$



      An important rule when dealing with hypergeometric terms is if a factorial ever becomes negative, we simply regard it as $0$. Our final answer is



      $$sum_k=0^m(-1)^kbinomnk=S_m-S_-1=(-1)^mbinomn-1m$$



      Plenty of other hypergeometric sums and series can be established, such as $k!$, $1/(k^2-1)$, etc. More generally, however, we can't always use this, but we can find recursion relations between similar series. For example, Let's consider the sum



      $$S=sum_k=0^nbinomnk^2$$



      Gosper's Algorithm will yield no polynomial $s_k$ that we need. Instead, we seek to use Gosper's Algorithm on the modified sum



      $$S=b_0sum_k=0^nbinomnk^2+b_1sum_k=0^n+1binomn+1k^2$$



      for some coefficients $b_n$ to be specified later. Applying the term ratio gives



      $$fraca_k+1a_k=fracb_0binomnk+1^2+b_1binomn+1k+1^2b_0binomnk^2+b_1binomn+1k^2=fracb_0(k-n)^2+b_1(n+1)^2b_0(k-n-1)^2+b_1(n+1)^2frac(k-n-1)^2(k+1)^2$$



      We assign $p_k=b_0(k-n-1)^2+b_1(n+1)^2$, $q_k=(k-n-1)^2$, and $r_k=(k+1)^2$. The polynomial $s_k$ satisfies



      $$b_0(k-n-1)^2+b_1(n+1)^2=(k-n-1)^2s_k+1-k^2s_k$$



      Without going into detail, the quantity $s_k=2k-3(n+1)$ satisfies the equation with $b_0=-2(2n+1)$ and $b_1=n+1$. We now have



      $$S_k-1=frack^2(-2(2n+1)binomnk^2+(n+1)binomn+1k^2)(2k-3(n+1))-2(2n+1)(k-n-1)^2+(n+1)^3$$



      We then have partial sums of



      $$-2(2n+1)sum_k=0^mbinomnk^2+(n+1)sum_k=0^mbinomn+1k^2=frac(m+1)^2(-2(2n+1)binomnm+1^2+(n+1)binomn+1m+1^2)(2(m+1)-3(n+1))-2(2n+1)(m-n)^2+(n+1)^3$$



      Letting $m$ be large enough such that the factorial terms vanish, we have that the indefinite sum vanishes, and



      $$sum_k=0^n+1binomn+1k^2=frac2(2n+1)n+1sum_k=0^nbinomnk^2$$



      This yields a recursion relation for the sum in question. For $n=0$, the sum is $1$. Using the recursion, we get the next sums are $2,6,20,$ etc. These are precisely the central binomial coefficiants, so we finally have



      $$sum_k=0^nbinomnk^2=binom2nn$$.



      This algorithm may be employed many times over on many different sums, where the sums may also be infinite.






      share|cite|improve this answer










      $endgroup$



















        4
















        $begingroup$

        In general, there is no suitable technique for all cases. Some series don't exactly have telescoping components that are easy to track. One example of types of series that may have a telescoping component are hypergeometric series, whre we wish to sum anything of the form



        $$sum_k=0^nfrac(a_1)_k...(a_p)_k(b_1)_k...(b_q)_k$$



        where the notation $(a)_k$ denotes the ascending factorial function. Hypergeometric functions are any functions that can be written in such a fashion, along with the term $x^k/k!$ and the upper limit is taken as infinite. Finding the telescoping series for these requires the use of Gosper's Algorithm, or its modified version Zielberger's Algorithm. Here is an example of how to use Gosper's algorithm.



        Suppose that we want a closed form for the sum



        $$S_m=sum_k=0^m(-1)^kbinomnk$$



        where $mleq n$. To evaluate



        $$S_m=sum_k=0^ma_k$$



        we notice that $S_m-S_m-1=a_m$. This, the sum $S_m$ is a sort of antiderivative of the discrete sum. As such, $S_m$ is sometimes called the indefinite sum of $a_k$. Without going into detail, we wish to write the ratio of the terms such that



        $$fraca_k+1a_k=fracp_k+1p_kfracq_kr_k$$



        for some polynomials $p_k,q_k$, and $r_k$. One condition that we must enforce (for complicated reasons) is that if $(k+alpha)$ divides $q_k$ and $(k+beta)$ divides $r_k$, then $alpha-beta-1$ cannot be a positive integer. This is always possible by multiplying appropriate terms to the polynomial $p_k$ until this is true. For our problem, we have



        $$fraca_k+1a_k=frac(-1)^k+1binomnk+1(-1)^kbinomnk=frack-nk+1$$



        Here, $p_k=1$, $q_k=k-n$, and $r_k=k+1$, which satisfy our hypotheses. Gosper's Algorithm states that if a hypergeometric telescoping term exists, then it must take the form



        $$S_k-1=fracr_k-1a_ks_kp_k$$



        for some polynomial $s_k$ (again, the reasoning is complicated). The polynomial $s_k$ is the solution to



        $$p_k=q_ks_k+1-r_k-1s_k$$



        Throwing in our equations, we have



        $$1=(k-n)s_k+1-ks_k$$



        If we assign $s_k=-1/n$, which is a polynomial in $k$ of degree $0$, then this satisfies the polynomial condition. Thus, we have



        $$S_k-1=(-1)^k+1frackbinomnkn=(-1)^k+1binomn-1k-1,;;;;S_k-S_k-1=a_k$$



        An important rule when dealing with hypergeometric terms is if a factorial ever becomes negative, we simply regard it as $0$. Our final answer is



        $$sum_k=0^m(-1)^kbinomnk=S_m-S_-1=(-1)^mbinomn-1m$$



        Plenty of other hypergeometric sums and series can be established, such as $k!$, $1/(k^2-1)$, etc. More generally, however, we can't always use this, but we can find recursion relations between similar series. For example, Let's consider the sum



        $$S=sum_k=0^nbinomnk^2$$



        Gosper's Algorithm will yield no polynomial $s_k$ that we need. Instead, we seek to use Gosper's Algorithm on the modified sum



        $$S=b_0sum_k=0^nbinomnk^2+b_1sum_k=0^n+1binomn+1k^2$$



        for some coefficients $b_n$ to be specified later. Applying the term ratio gives



        $$fraca_k+1a_k=fracb_0binomnk+1^2+b_1binomn+1k+1^2b_0binomnk^2+b_1binomn+1k^2=fracb_0(k-n)^2+b_1(n+1)^2b_0(k-n-1)^2+b_1(n+1)^2frac(k-n-1)^2(k+1)^2$$



        We assign $p_k=b_0(k-n-1)^2+b_1(n+1)^2$, $q_k=(k-n-1)^2$, and $r_k=(k+1)^2$. The polynomial $s_k$ satisfies



        $$b_0(k-n-1)^2+b_1(n+1)^2=(k-n-1)^2s_k+1-k^2s_k$$



        Without going into detail, the quantity $s_k=2k-3(n+1)$ satisfies the equation with $b_0=-2(2n+1)$ and $b_1=n+1$. We now have



        $$S_k-1=frack^2(-2(2n+1)binomnk^2+(n+1)binomn+1k^2)(2k-3(n+1))-2(2n+1)(k-n-1)^2+(n+1)^3$$



        We then have partial sums of



        $$-2(2n+1)sum_k=0^mbinomnk^2+(n+1)sum_k=0^mbinomn+1k^2=frac(m+1)^2(-2(2n+1)binomnm+1^2+(n+1)binomn+1m+1^2)(2(m+1)-3(n+1))-2(2n+1)(m-n)^2+(n+1)^3$$



        Letting $m$ be large enough such that the factorial terms vanish, we have that the indefinite sum vanishes, and



        $$sum_k=0^n+1binomn+1k^2=frac2(2n+1)n+1sum_k=0^nbinomnk^2$$



        This yields a recursion relation for the sum in question. For $n=0$, the sum is $1$. Using the recursion, we get the next sums are $2,6,20,$ etc. These are precisely the central binomial coefficiants, so we finally have



        $$sum_k=0^nbinomnk^2=binom2nn$$.



        This algorithm may be employed many times over on many different sums, where the sums may also be infinite.






        share|cite|improve this answer










        $endgroup$

















          4














          4










          4







          $begingroup$

          In general, there is no suitable technique for all cases. Some series don't exactly have telescoping components that are easy to track. One example of types of series that may have a telescoping component are hypergeometric series, whre we wish to sum anything of the form



          $$sum_k=0^nfrac(a_1)_k...(a_p)_k(b_1)_k...(b_q)_k$$



          where the notation $(a)_k$ denotes the ascending factorial function. Hypergeometric functions are any functions that can be written in such a fashion, along with the term $x^k/k!$ and the upper limit is taken as infinite. Finding the telescoping series for these requires the use of Gosper's Algorithm, or its modified version Zielberger's Algorithm. Here is an example of how to use Gosper's algorithm.



          Suppose that we want a closed form for the sum



          $$S_m=sum_k=0^m(-1)^kbinomnk$$



          where $mleq n$. To evaluate



          $$S_m=sum_k=0^ma_k$$



          we notice that $S_m-S_m-1=a_m$. This, the sum $S_m$ is a sort of antiderivative of the discrete sum. As such, $S_m$ is sometimes called the indefinite sum of $a_k$. Without going into detail, we wish to write the ratio of the terms such that



          $$fraca_k+1a_k=fracp_k+1p_kfracq_kr_k$$



          for some polynomials $p_k,q_k$, and $r_k$. One condition that we must enforce (for complicated reasons) is that if $(k+alpha)$ divides $q_k$ and $(k+beta)$ divides $r_k$, then $alpha-beta-1$ cannot be a positive integer. This is always possible by multiplying appropriate terms to the polynomial $p_k$ until this is true. For our problem, we have



          $$fraca_k+1a_k=frac(-1)^k+1binomnk+1(-1)^kbinomnk=frack-nk+1$$



          Here, $p_k=1$, $q_k=k-n$, and $r_k=k+1$, which satisfy our hypotheses. Gosper's Algorithm states that if a hypergeometric telescoping term exists, then it must take the form



          $$S_k-1=fracr_k-1a_ks_kp_k$$



          for some polynomial $s_k$ (again, the reasoning is complicated). The polynomial $s_k$ is the solution to



          $$p_k=q_ks_k+1-r_k-1s_k$$



          Throwing in our equations, we have



          $$1=(k-n)s_k+1-ks_k$$



          If we assign $s_k=-1/n$, which is a polynomial in $k$ of degree $0$, then this satisfies the polynomial condition. Thus, we have



          $$S_k-1=(-1)^k+1frackbinomnkn=(-1)^k+1binomn-1k-1,;;;;S_k-S_k-1=a_k$$



          An important rule when dealing with hypergeometric terms is if a factorial ever becomes negative, we simply regard it as $0$. Our final answer is



          $$sum_k=0^m(-1)^kbinomnk=S_m-S_-1=(-1)^mbinomn-1m$$



          Plenty of other hypergeometric sums and series can be established, such as $k!$, $1/(k^2-1)$, etc. More generally, however, we can't always use this, but we can find recursion relations between similar series. For example, Let's consider the sum



          $$S=sum_k=0^nbinomnk^2$$



          Gosper's Algorithm will yield no polynomial $s_k$ that we need. Instead, we seek to use Gosper's Algorithm on the modified sum



          $$S=b_0sum_k=0^nbinomnk^2+b_1sum_k=0^n+1binomn+1k^2$$



          for some coefficients $b_n$ to be specified later. Applying the term ratio gives



          $$fraca_k+1a_k=fracb_0binomnk+1^2+b_1binomn+1k+1^2b_0binomnk^2+b_1binomn+1k^2=fracb_0(k-n)^2+b_1(n+1)^2b_0(k-n-1)^2+b_1(n+1)^2frac(k-n-1)^2(k+1)^2$$



          We assign $p_k=b_0(k-n-1)^2+b_1(n+1)^2$, $q_k=(k-n-1)^2$, and $r_k=(k+1)^2$. The polynomial $s_k$ satisfies



          $$b_0(k-n-1)^2+b_1(n+1)^2=(k-n-1)^2s_k+1-k^2s_k$$



          Without going into detail, the quantity $s_k=2k-3(n+1)$ satisfies the equation with $b_0=-2(2n+1)$ and $b_1=n+1$. We now have



          $$S_k-1=frack^2(-2(2n+1)binomnk^2+(n+1)binomn+1k^2)(2k-3(n+1))-2(2n+1)(k-n-1)^2+(n+1)^3$$



          We then have partial sums of



          $$-2(2n+1)sum_k=0^mbinomnk^2+(n+1)sum_k=0^mbinomn+1k^2=frac(m+1)^2(-2(2n+1)binomnm+1^2+(n+1)binomn+1m+1^2)(2(m+1)-3(n+1))-2(2n+1)(m-n)^2+(n+1)^3$$



          Letting $m$ be large enough such that the factorial terms vanish, we have that the indefinite sum vanishes, and



          $$sum_k=0^n+1binomn+1k^2=frac2(2n+1)n+1sum_k=0^nbinomnk^2$$



          This yields a recursion relation for the sum in question. For $n=0$, the sum is $1$. Using the recursion, we get the next sums are $2,6,20,$ etc. These are precisely the central binomial coefficiants, so we finally have



          $$sum_k=0^nbinomnk^2=binom2nn$$.



          This algorithm may be employed many times over on many different sums, where the sums may also be infinite.






          share|cite|improve this answer










          $endgroup$



          In general, there is no suitable technique for all cases. Some series don't exactly have telescoping components that are easy to track. One example of types of series that may have a telescoping component are hypergeometric series, whre we wish to sum anything of the form



          $$sum_k=0^nfrac(a_1)_k...(a_p)_k(b_1)_k...(b_q)_k$$



          where the notation $(a)_k$ denotes the ascending factorial function. Hypergeometric functions are any functions that can be written in such a fashion, along with the term $x^k/k!$ and the upper limit is taken as infinite. Finding the telescoping series for these requires the use of Gosper's Algorithm, or its modified version Zielberger's Algorithm. Here is an example of how to use Gosper's algorithm.



          Suppose that we want a closed form for the sum



          $$S_m=sum_k=0^m(-1)^kbinomnk$$



          where $mleq n$. To evaluate



          $$S_m=sum_k=0^ma_k$$



          we notice that $S_m-S_m-1=a_m$. This, the sum $S_m$ is a sort of antiderivative of the discrete sum. As such, $S_m$ is sometimes called the indefinite sum of $a_k$. Without going into detail, we wish to write the ratio of the terms such that



          $$fraca_k+1a_k=fracp_k+1p_kfracq_kr_k$$



          for some polynomials $p_k,q_k$, and $r_k$. One condition that we must enforce (for complicated reasons) is that if $(k+alpha)$ divides $q_k$ and $(k+beta)$ divides $r_k$, then $alpha-beta-1$ cannot be a positive integer. This is always possible by multiplying appropriate terms to the polynomial $p_k$ until this is true. For our problem, we have



          $$fraca_k+1a_k=frac(-1)^k+1binomnk+1(-1)^kbinomnk=frack-nk+1$$



          Here, $p_k=1$, $q_k=k-n$, and $r_k=k+1$, which satisfy our hypotheses. Gosper's Algorithm states that if a hypergeometric telescoping term exists, then it must take the form



          $$S_k-1=fracr_k-1a_ks_kp_k$$



          for some polynomial $s_k$ (again, the reasoning is complicated). The polynomial $s_k$ is the solution to



          $$p_k=q_ks_k+1-r_k-1s_k$$



          Throwing in our equations, we have



          $$1=(k-n)s_k+1-ks_k$$



          If we assign $s_k=-1/n$, which is a polynomial in $k$ of degree $0$, then this satisfies the polynomial condition. Thus, we have



          $$S_k-1=(-1)^k+1frackbinomnkn=(-1)^k+1binomn-1k-1,;;;;S_k-S_k-1=a_k$$



          An important rule when dealing with hypergeometric terms is if a factorial ever becomes negative, we simply regard it as $0$. Our final answer is



          $$sum_k=0^m(-1)^kbinomnk=S_m-S_-1=(-1)^mbinomn-1m$$



          Plenty of other hypergeometric sums and series can be established, such as $k!$, $1/(k^2-1)$, etc. More generally, however, we can't always use this, but we can find recursion relations between similar series. For example, Let's consider the sum



          $$S=sum_k=0^nbinomnk^2$$



          Gosper's Algorithm will yield no polynomial $s_k$ that we need. Instead, we seek to use Gosper's Algorithm on the modified sum



          $$S=b_0sum_k=0^nbinomnk^2+b_1sum_k=0^n+1binomn+1k^2$$



          for some coefficients $b_n$ to be specified later. Applying the term ratio gives



          $$fraca_k+1a_k=fracb_0binomnk+1^2+b_1binomn+1k+1^2b_0binomnk^2+b_1binomn+1k^2=fracb_0(k-n)^2+b_1(n+1)^2b_0(k-n-1)^2+b_1(n+1)^2frac(k-n-1)^2(k+1)^2$$



          We assign $p_k=b_0(k-n-1)^2+b_1(n+1)^2$, $q_k=(k-n-1)^2$, and $r_k=(k+1)^2$. The polynomial $s_k$ satisfies



          $$b_0(k-n-1)^2+b_1(n+1)^2=(k-n-1)^2s_k+1-k^2s_k$$



          Without going into detail, the quantity $s_k=2k-3(n+1)$ satisfies the equation with $b_0=-2(2n+1)$ and $b_1=n+1$. We now have



          $$S_k-1=frack^2(-2(2n+1)binomnk^2+(n+1)binomn+1k^2)(2k-3(n+1))-2(2n+1)(k-n-1)^2+(n+1)^3$$



          We then have partial sums of



          $$-2(2n+1)sum_k=0^mbinomnk^2+(n+1)sum_k=0^mbinomn+1k^2=frac(m+1)^2(-2(2n+1)binomnm+1^2+(n+1)binomn+1m+1^2)(2(m+1)-3(n+1))-2(2n+1)(m-n)^2+(n+1)^3$$



          Letting $m$ be large enough such that the factorial terms vanish, we have that the indefinite sum vanishes, and



          $$sum_k=0^n+1binomn+1k^2=frac2(2n+1)n+1sum_k=0^nbinomnk^2$$



          This yields a recursion relation for the sum in question. For $n=0$, the sum is $1$. Using the recursion, we get the next sums are $2,6,20,$ etc. These are precisely the central binomial coefficiants, so we finally have



          $$sum_k=0^nbinomnk^2=binom2nn$$.



          This algorithm may be employed many times over on many different sums, where the sums may also be infinite.







          share|cite|improve this answer













          share|cite|improve this answer




          share|cite|improve this answer










          answered Jun 14 at 6:16









          Josh B.Josh B.

          1,3092 silver badges11 bronze badges




          1,3092 silver badges11 bronze badges


























              11
















              $begingroup$

              You are essentially asking for a general method to sum any finite or infinite series
              (or indefinite sum). Correct? There is no such method. For certain special families of series, there do exist methods. For instance, summing of polynomial sequences, that is, $sum_n n^k$ using Bernoulli numbers. An important special case similar to telescoping series is using Wilf–Zeilberger pairs which requires a computer algorithm.






              share|cite|improve this answer












              $endgroup$














              • $begingroup$
                Well, a general method of cause would have its limits, i.e. lead in particular cases to uncomputable functions or simply fail. Both would be acceptable outcomes though.
                $endgroup$
                – Sudix
                Jun 14 at 3:29










              • $begingroup$
                If you could list the families of functions for which methods are known (or you know well enough), and the general method, it'd help me a lot!
                $endgroup$
                – Sudix
                Jun 14 at 3:31
















              11
















              $begingroup$

              You are essentially asking for a general method to sum any finite or infinite series
              (or indefinite sum). Correct? There is no such method. For certain special families of series, there do exist methods. For instance, summing of polynomial sequences, that is, $sum_n n^k$ using Bernoulli numbers. An important special case similar to telescoping series is using Wilf–Zeilberger pairs which requires a computer algorithm.






              share|cite|improve this answer












              $endgroup$














              • $begingroup$
                Well, a general method of cause would have its limits, i.e. lead in particular cases to uncomputable functions or simply fail. Both would be acceptable outcomes though.
                $endgroup$
                – Sudix
                Jun 14 at 3:29










              • $begingroup$
                If you could list the families of functions for which methods are known (or you know well enough), and the general method, it'd help me a lot!
                $endgroup$
                – Sudix
                Jun 14 at 3:31














              11














              11










              11







              $begingroup$

              You are essentially asking for a general method to sum any finite or infinite series
              (or indefinite sum). Correct? There is no such method. For certain special families of series, there do exist methods. For instance, summing of polynomial sequences, that is, $sum_n n^k$ using Bernoulli numbers. An important special case similar to telescoping series is using Wilf–Zeilberger pairs which requires a computer algorithm.






              share|cite|improve this answer












              $endgroup$



              You are essentially asking for a general method to sum any finite or infinite series
              (or indefinite sum). Correct? There is no such method. For certain special families of series, there do exist methods. For instance, summing of polynomial sequences, that is, $sum_n n^k$ using Bernoulli numbers. An important special case similar to telescoping series is using Wilf–Zeilberger pairs which requires a computer algorithm.







              share|cite|improve this answer















              share|cite|improve this answer




              share|cite|improve this answer








              edited Jun 14 at 17:34

























              answered Jun 14 at 3:19









              SomosSomos

              18.2k1 gold badge16 silver badges40 bronze badges




              18.2k1 gold badge16 silver badges40 bronze badges














              • $begingroup$
                Well, a general method of cause would have its limits, i.e. lead in particular cases to uncomputable functions or simply fail. Both would be acceptable outcomes though.
                $endgroup$
                – Sudix
                Jun 14 at 3:29










              • $begingroup$
                If you could list the families of functions for which methods are known (or you know well enough), and the general method, it'd help me a lot!
                $endgroup$
                – Sudix
                Jun 14 at 3:31

















              • $begingroup$
                Well, a general method of cause would have its limits, i.e. lead in particular cases to uncomputable functions or simply fail. Both would be acceptable outcomes though.
                $endgroup$
                – Sudix
                Jun 14 at 3:29










              • $begingroup$
                If you could list the families of functions for which methods are known (or you know well enough), and the general method, it'd help me a lot!
                $endgroup$
                – Sudix
                Jun 14 at 3:31
















              $begingroup$
              Well, a general method of cause would have its limits, i.e. lead in particular cases to uncomputable functions or simply fail. Both would be acceptable outcomes though.
              $endgroup$
              – Sudix
              Jun 14 at 3:29




              $begingroup$
              Well, a general method of cause would have its limits, i.e. lead in particular cases to uncomputable functions or simply fail. Both would be acceptable outcomes though.
              $endgroup$
              – Sudix
              Jun 14 at 3:29












              $begingroup$
              If you could list the families of functions for which methods are known (or you know well enough), and the general method, it'd help me a lot!
              $endgroup$
              – Sudix
              Jun 14 at 3:31





              $begingroup$
              If you could list the families of functions for which methods are known (or you know well enough), and the general method, it'd help me a lot!
              $endgroup$
              – Sudix
              Jun 14 at 3:31












              3
















              $begingroup$

              You are looking for
              $$
              a(n) = r(n) - r(n - 1)
              $$

              or, what is more standardly adopted
              $$
              a(n) = s(n + 1) - s(n) = Delta s(n)
              $$



              Then $s(n)$ is called the Antidelta or Indefinite Sum of $a(n)$, and same as for integrals
              some functions have a closed form for the Antidelta, and some don't.



              You can find more details in the indicated link.






              share|cite|improve this answer










              $endgroup$



















                3
















                $begingroup$

                You are looking for
                $$
                a(n) = r(n) - r(n - 1)
                $$

                or, what is more standardly adopted
                $$
                a(n) = s(n + 1) - s(n) = Delta s(n)
                $$



                Then $s(n)$ is called the Antidelta or Indefinite Sum of $a(n)$, and same as for integrals
                some functions have a closed form for the Antidelta, and some don't.



                You can find more details in the indicated link.






                share|cite|improve this answer










                $endgroup$

















                  3














                  3










                  3







                  $begingroup$

                  You are looking for
                  $$
                  a(n) = r(n) - r(n - 1)
                  $$

                  or, what is more standardly adopted
                  $$
                  a(n) = s(n + 1) - s(n) = Delta s(n)
                  $$



                  Then $s(n)$ is called the Antidelta or Indefinite Sum of $a(n)$, and same as for integrals
                  some functions have a closed form for the Antidelta, and some don't.



                  You can find more details in the indicated link.






                  share|cite|improve this answer










                  $endgroup$



                  You are looking for
                  $$
                  a(n) = r(n) - r(n - 1)
                  $$

                  or, what is more standardly adopted
                  $$
                  a(n) = s(n + 1) - s(n) = Delta s(n)
                  $$



                  Then $s(n)$ is called the Antidelta or Indefinite Sum of $a(n)$, and same as for integrals
                  some functions have a closed form for the Antidelta, and some don't.



                  You can find more details in the indicated link.







                  share|cite|improve this answer













                  share|cite|improve this answer




                  share|cite|improve this answer










                  answered Jun 14 at 11:24









                  G CabG Cab

                  23.8k3 gold badges13 silver badges45 bronze badges




                  23.8k3 gold badges13 silver badges45 bronze badges































                      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%2f3261711%2fhow-does-one-transform-a-sum-into-a-telescoping-sum%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

                      Tamil (spriik) Luke uk diar | Nawigatjuun

                      Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                      Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?