Index Shifting In Summation FORMULAS - Physics Forums

Physics Forums Physics Forums
  • Insights Blog -- Browse All Articles -- Physics Articles Math Articles Education Articles Bio/Chem/Tech Articles
  • Forums General Math Calculus Differential Equations Topology and Analysis Linear and Abstract Algebra Differential Geometry Set Theory, Logic, Probability, Statistics MATLAB, Maple, Mathematica, LaTeX
  • Trending
Log in Register What's new
  • General Math
  • Calculus
  • Differential Equations
  • Topology and Analysis
  • Linear and Abstract Algebra
  • Differential Geometry
  • Set Theory, Logic, Probability, Statistics
  • MATLAB, Maple, Mathematica, LaTeX
Menu Log in Register Navigation More options Style variation System Light Dark Contact us Close Menu You are using an out of date browser. It may not display this or other websites correctly.You should upgrade or use an alternative browser.
  • Forums
  • Mathematics
  • Calculus
Index shifting in summation FORMULAS
  • Thread starter Thread starter Xyius
  • Start date Start date Mar 13, 2010
  • Tags Tags Formulas Index Summation
Click For Summary The discussion focuses on deriving summation formulas starting from different indices. The original formula for the sum of integers is correctly transformed by changing the index, but an error arises in calculating the second sum of constants. It is clarified that the sum of 1's over the new index range results in "n," not "n-1," because there are "n" terms being summed. The conversation concludes with a successful derivation of the squared sum formula, confirming that the new expression aligns with the original formula upon simplification. The participants express satisfaction with the resolution of the issues discussed. Xyius Messages 501 Reaction score 4 So I am trying to derive a formula from one of the standard summation formulas except starting at a different index. So if I have the series.. \sum i = \frac{n(n+1)}{2} Where "i" runs from 1 to n. (I don't know how to put it in the code.) If I want to make the series start from zero, I would use another index equal to, "k=i-1" And now my upper limit will be "n-1" So now I can replace "i" in the sum with "k+1", Shouldn't the new formula for the partial sums be.. \sum k+1 = \frac{(n-1)(n)}{2} + (n-1) Problem is, it isnt. A simple test will prove this. Whats wrong? Physics news on Phys.org
  • New image sensor breaks optical limits
  • Ultrafast fluorescence pulse technique enables imaging of individual trapped atoms
  • Journey to the center of a quantized vortex: How microscopic mutual friction governs superfluid dissipation
jbunniii Homework Helper Insights Author Messages 3,488 Reaction score 257 Your new formula is wrong. (By the way, you can click on the equations below to see the Latex code for putting the indices on the sum.) The original sum is equivalent to \sum_{k=0}^{n-1} (k + 1) Note that the sum starts with k=0, not k=1. This can be rewritten as \sum_{k=0}^{n-1}k + \sum_{k=0}^{n-1} 1 The first sum is the same whether it starts with k=0 or k=1, but the second sum is not. Your mistake is in your calculation of the second sum. How many 1's are being added? Last edited: Mar 13, 2010 HallsofIvy Science Advisor Homework Helper Messages 42,895 Reaction score 984 You can also change the "starting point" by changing the index. Given \sum_{i= 0}^{n-1} i Let k= i+1 so that when i= 0, k= 0+1= 1 so the lower limit is i= 1. Then when i= n-1, k= (n-1)+ 1= 1 so the upper limit is k= n. Finally, of course, since k= i+ 1, i= k- 1. There's your error- your sum should be of k- 1, not k+ 1: \sum_{k=1}^n k-1 Xyius Messages 501 Reaction score 4
jbunniii said: This can be rewritten as \sum_{k=0}^{n-1}k + \sum_{k=0}^{n-1} 1 The first sum is the same whether it starts with k=0 or k=1, but the second sum is not. Your mistake is in your calculation of the second sum. How many 1's are being added?
Hmm I think I still have some issues. Since the original formula for the partial sums is.. \sum_{i=1}^{n} i = \frac{n(n+1)}{2} Since "n" represents the upper limit, the new formula for the series I am after should be just replacing all the "n" with "n-1." \sum_{k=0}^{n-1} k+1 =\frac{(n-1)(n)}{2} + \sum_{k=0}^{n-1} 1 Now you say up until this part is correct? For the second sum, shouldn't the sum of this be just the upper limit? For example.. \sum_{i=1}^{3} 1 = 3(1) = 3 Shouldn't the same thing apply for this sum? Shouldn't it therefore be.. \sum_{k=0}^{n-1} 1 = 1(n-1) = n-1 Or should it equal "n" because the index is zero? jbunniii Homework Helper Insights Author Messages 3,488 Reaction score 257
Xyius said: Since "n" represents the upper limit, the new formula for the series I am after should be just replacing all the "n" with "n-1." \sum_{k=0}^{n-1} k+1 =\frac{(n-1)(n)}{2} + \sum_{k=0}^{n-1} 1
Actually both the lower and the upper limit have changed, right? You are now summing from 0 to n-1, whereas the original formula sums from 1 to n. Now it happens that \sum_{k=0}^{n-1}k = \sum_{k=1}^{n-1}k i.e. it doesn't matter whether you start summing from k=0 or k=1 in THIS PARTICULAR SUM. That is because the summand is k, so the k=0 term is 0: it has no effect on the value of the sum. You can therefore start summing from k=1 and get the same answer.
Now you say up until this part is correct?
Yes, it's correct up to this point.
For the second sum, shouldn't the sum of this be just the upper limit? For example.. \sum_{i=1}^{3} 1 = 3(1) = 3 Shouldn't the same thing apply for this sum? Shouldn't it therefore be.. \sum_{k=0}^{n-1} 1 = 1(n-1) = n-1 Or should it equal "n" because the index is zero?
The summand is 1, and you are summing it n times. The k=0 term DOES matter in this case, because that term is not zero. Therefore \sum_{k=0}^{n-1} 1 = n Think of it as having n marbles with labels on them. It doesn't matter if the labels read 0 through n-1 or 1 through n, there are still n marbles. I could just as well write \sum_{k=1000}^{1000+n-1} 1 and the sum would still be n. Last edited: Mar 14, 2010 Xyius Messages 501 Reaction score 4 Makes complete sense! Thanks a lot! So if I wanted to derive a formula for the squared sum. The normal formula is. \sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6} So therefore the new sum should be.. \sum_{k=0}^{n-1} (k+1)^2 = \sum_{k=0}^{n-1} k^2-2k+1 = \frac{(n-1)(n)(2n-1)}{6} + 2\frac{(n-1)(n)}{2} + n Would this be correct? jbunniii Homework Helper Insights Author Messages 3,488 Reaction score 257
Xyius said: Makes complete sense! Thanks a lot! So if I wanted to derive a formula for the squared sum. The normal formula is. \sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6} So therefore the new sum should be.. \sum_{k=0}^{n-1} (k+1)^2 = \sum_{k=0}^{n-1} k^2-2k+1 = \frac{(n-1)(n)(2n-1)}{6} + 2\frac{(n-1)(n)}{2} + n Would this be correct?
Yes, it looks right to me. And I tried plugging in n = 20 and verified that the two formulas give the same answer. Of course they're really the same formula, in the sense that if you carry out the addition of the three terms in your expression by putting them over a common denominator and simplifying, you should end up with the original formula. Xyius Messages 501 Reaction score 4 Thanks a lot man! :D!

Similar threads

Undergrad Finding the derivative of a characteristic function
  • Aug 27, 2023 · Replies 5 · Sep 2, 2023
Replies 5 Views 3K Graduate Solving a power series
  • Dec 6, 2024 · Replies 3 · Dec 11, 2024
Replies 3 Views 3K Undergrad How does the ratio test fail and the root test succeed here?
  • Dec 24, 2023 · Replies 6 · Dec 29, 2023
Replies 6 Views 4K MHB How do you find the sum of an infinite series?
  • Oct 16, 2019 · Replies 7 · Oct 18, 2019
Replies 7 Views 2K Graduate How to Derive a Closed Form for a Double Sum with Stochastic Variables?
  • Jun 27, 2022 · Replies 5 · Jun 29, 2022
Replies 5 Views 2K Undergrad How Do You Prove the Limit of a Riemann Summation Integral?
  • Jan 26, 2018 · Replies 7 · Jan 29, 2018
Replies 7 Views 2K High School Why do I not understand what seems to be basic Calculus?
  • Apr 6, 2022 · Replies 11 · May 8, 2022
Replies 11 Views 2K MHB Minimize a function: Find value of x that result in lowest value of formula
  • May 4, 2020 · Replies 6 · May 7, 2020
Replies 6 Views 2K MHB Finding a formula for the multiplication of multiple formal power series
  • May 14, 2020 · Replies 4 · May 21, 2020
Replies 4 Views 2K MHB Evaluate the surface integral $\iint\limits_{\sum}f\cdot d\sigma$
  • Jul 16, 2022 · Replies 1 · Feb 14, 2023
Replies 1 Views 3K
  • Forums
  • Mathematics
  • Calculus

Hot Threads

  • M

    Undergrad Problem in understanding instantaneous velocity

    • Started by Mike_bb
    • Jul 11, 2025
    • Replies: 33
    • Calculus
  • aronclark1017

    Undergrad Unit Circle Confusion: A Self-Study Challenge?

    • Started by aronclark1017
    • Sep 29, 2025
    • Replies: 7
    • Calculus
  • H

    Undergrad Proving that convexity implies second order derivative being positive

    • Started by hmparticle9
    • Dec 4, 2025
    • Replies: 6
    • Calculus
  • H

    Undergrad Derive the orthonormality condition for Legendre polynomials

    • Started by hmparticle9
    • Jul 18, 2025
    • Replies: 30
    • Calculus
  • M

    Undergrad Problem with calculating projections of curl using rotation of contour

    • Started by Mike_bb
    • Nov 22, 2025
    • Replies: 9
    • Calculus

Recent Insights

  • Greg Bernhardt

    Insights Thinking Outside The Box Versus Knowing What’s In The Box

    • Started by Greg Bernhardt
    • Oct 13, 2025
    • Replies: 26
    • Other Physics Topics
  • Greg Bernhardt

    Insights Why Entangled Photon-Polarization Qubits Violate Bell’s Inequality

    • Started by Greg Bernhardt
    • Sep 29, 2025
    • Replies: 28
    • Quantum Interpretations and Foundations
  • Greg Bernhardt

    Insights Quantum Entanglement is a Kinematic Fact, not a Dynamical Effect

    • Started by Greg Bernhardt
    • Sep 2, 2025
    • Replies: 22
    • Quantum Physics
  • Greg Bernhardt

    Insights What Exactly is Dirac’s Delta Function? - Insight

    • Started by Greg Bernhardt
    • Sep 2, 2025
    • Replies: 33
    • General Math
  • Greg Bernhardt

    Insights Relativator (Circular Slide-Rule): Simulated with Desmos - Insight

    • Started by Greg Bernhardt
    • Sep 2, 2025
    • Replies: 1
    • Special and General Relativity
  • P

    Insights Fixing Things Which Can Go Wrong With Complex Numbers

    • Started by PAllen
    • Jul 20, 2025
    • Replies: 7
    • General Math
Back Top

Tag » How To Reindex A Summation