How can I find the value of this difficult sum using lagrange interpolation?

  • Context: Graduate 
  • Thread starter Thread starter Pattielli
  • Start date Start date
  • Tags Tags
    Sum
Click For Summary

Discussion Overview

The discussion centers around calculating the sum of a polynomial expression involving fourth and second powers of integers, specifically the sum from i=0 to N of (i^4/2 - 3i^2/2 + 1). Participants explore various methods, including Lagrange interpolation and known formulas for sums of powers.

Discussion Character

  • Mathematical reasoning
  • Exploratory
  • Homework-related

Main Points Raised

  • Pattielli asks for assistance in calculating the sum of the expression (i^4/2 - 3i^2/2 + 1).
  • One participant suggests splitting the sum into smaller parts, factoring out constants, and using known formulas for the sums of fourth and second powers.
  • Another participant provides a formula for the sum of the first N squares and mentions the need for a closed-form solution for the sum of the first N fourth powers, noting that they do not have the formula memorized.
  • A participant corrects a previous claim about the contribution of the constant term, stating that it is out by one due to the number of terms in the sum.
  • There is a reiteration of the formula for the sum of squares, and a suggestion to use values of the sum for N=1 to N=5 to determine coefficients for the polynomial representing the sum of fourth powers.
  • Another participant mentions that Lagrange interpolation provides a quick solution method and references a recursive method for finding formulas for sums of powers described in a calculus book.

Areas of Agreement / Disagreement

Participants express various methods and approaches to solving the sum, but there is no consensus on a single method or solution. Multiple competing views on how to approach the problem remain evident.

Contextual Notes

Participants reference known formulas for sums of powers, but there are limitations in the discussion regarding the memorization of specific formulas and the derivation of the sum of fourth powers. Some assumptions about the applicability of methods are not fully explored.

Pattielli
Messages
296
Reaction score
0
Sum(from i=0 to N) of (i^4/2-3i^2/2+1)
Can you tell me how to calculate the value of that sum ?
Thank you,

- Pattielli
 
Physics news on Phys.org
split into two smaller sums, factor out the constants and use the formulae for the sums of 4th and second powers that I haven't memorized but which should be googlable and that the constant term at the end contributes N+1 to the sum.
 
[tex]\sum _{i=0} ^N \frac{1}{2}i^4 - \frac{3}{2}i^2 + 1[/tex]

[tex]= 0.5\sum i^4 + 1.5 \sum i^2 + N + 1[/tex]*

You need to find a general closed-form solution to the sum of the first N squares and first N [itex]i^4[/itex] (whatever you'd call them).

[tex]\sum _{i=0} ^N = \frac{N(N+1)(2N+1)}{6}[/tex]

For the [itex]i^4[/itex], I don't have the solution memorized, nor can I think of a way right now to solve it.

-----------------------------------

Check this link out. It's probably a good thing to learn, and it also gives the formula you need:

[tex]\sum _{i=0} ^n = (1/5)n^5 + (1/2)n^4 + (1/3)n^3 - (1/30)n[/tex]

*Edited based on matt grime's observation
 
Last edited:
there are N+1 terms in the sum so your last term, comig from the constant, is out by 1.
 
AKG said:
[tex]\sum _{i=0} ^N = \frac{N(N+1)(2N+1)}{6}[/tex]

For the [itex]i^4[/itex], I don't have the solution memorized, nor can I think of a way right now to solve it.

Just to make this clear :

[tex]\sum _{i=0} ^N i^2= \frac{N(N+1)(2N+1)}{6}[/tex]

The sum of fourth powers will be a polynomial of order 5. Use the values of the sum for N=1..5 to solve for the 5 coefficients (clearly, there's no constant term).

Or Google harder.
 
gokul 43201 gave the quickest solution method, via lagrange interpolation.

there is another recursive method, for findign formulas for the first n terms of any series of rth powers of integers, described in a footnote to the courant calculus book vol 1, in the first few pages. when i saw that i knew I had found a real math book, as there was more content in that footnote than in all math books i had used previously.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K