Calculating the sum of a series of cubes

  • #1
John3509
61
6
Mentor note: Moved from technical math section, so missing the homework template

series.jpg


filling in the boxes is easy, 1,3,6,10,15
second is just squares of that,
1,9,36,100,225

But how I anyone supposed to find and expression for this?
This is from a textbook on elementary algebra, the specific chapter is for solving equations where the variable appears on both sides....
I don't see how you could find an expression with any of the material that has been covered thus far.

I did manage to find an equation for table1, (.5)x2+(.5)x using some trick from kinematics
but it will not work for table2.

So how are you supposed to find an expression for table 1 and 2?
 
Last edited by a moderator:
  • Like
Likes OmCheeto
Physics news on Phys.org
  • #2
Notice that the sums for the second table can be obtained by adding the numbers that are being cubed, and then squaring that number. IOW, for the sum of the cubes of the first k integers, the sum will be ##(\sum_{n=1}^k n)^2##. Can you work with that to come up with a more simplified expression?
 
  • Like
Likes mcastillo356, jim mcnamara, SammyS and 2 others
  • #3
Mark44 said:
Notice that the sums for the second table can be obtained by adding the numbers that are being cubed, and then squaring that number. IOW, for the sum of the cubes of the first k integers, the sum will be ##(\sum_{n=1}^k n)^2##. Can you work with that to come up with a more simplified expression?
Not really. ((.5)x2+(.5)x)2 Is all I got. But that requires having that equation already, which I still don't get how the book expects you to figure that out, because the way I did certainly isn't it. And while I know what summation notation it is hasn't been covered in the book yet eighter.
 
  • Like
Likes OmCheeto
  • #4
##((.5)x^2+(.5)x)^2## is the same as ##(\frac{x(x + 1)}2)^2##. Does your book show you how to get a formula for ##\sum_{k= 1}^n k##? IOW, for ##1 + 2 + 3 + \dots + n##? That sum is ##\frac{n(n + 1)}2##.

To get a formula for the sum of the cubes of the first n integers, look at the pattern you've developed for the results of Table 2.
##1^3 = 1##
##1^3 + 2^3 = 9##
##1^3 + 2^3 + 3^3 = 36##
and so on.
The pattern seems to be "add the numbers being cubed, and then square that result." Does this pattern hold for longer sums?
 
Last edited:
  • #5
Hi
$$S=\displaystyle\sum_{i=1}^{n}\,i=1+2+3+\cdots=\displaystyle\frac{n(n+1)}{2}$$

Trick:

##S=\,1\,+\,2\,\,+3\,+\cdots+\,(n-1)\,+\,n##
##S=\,n\,+\,(n-1)\,+\,(n-2)\,+\cdots+\,2\,+\,1##
________________________________

$$2S=(n+1)+(n+1)+(n+1)+\cdots+(n+1)+(n+1)=n(n+1)\Rightarrow{S=\displaystyle\frac{n(n+1)}{2}}$$

For the second series, I really don't know if it would work: arithmetic laws turn into the following rule of linearity for finite sums. If ##A## and ##B## are constants, then

$$\displaystyle\sum_{i=m}^{n}{\,{(Af(i))+Bg(i))}=A\,\displaystyle\sum_{i=m}^{n}{\,{f{i}}}\,+\,B\,\displaystyle\sum_{i=m}^{n}}{\,{g{i}}}$$

I would try to use @Mark44 and this last rule of linearity.

See you later!
 
  • Like
Likes John3509
  • #6
I think everyone is missing what the question is looking for.

You have noticed that the numbers on the RHS of Table 2 are the squares of the numbers on the RHS of Table 1. The answer to question 2 is simply to write this down: ## \left ( 1 + 2 \, + \, ... + \, x \right )^2 ##
 
  • Informative
  • Like
Likes John3509 and mcastillo356
  • #7
John3509 said:
Not really. ((.5)x2+(.5)x)2 Is all I got. But that requires having that equation already, which I still don't get how the book expects you to figure that out, because the way I did certainly isn't it. And while I know what summation notation it is hasn't been covered in the book yet eighter.
I feel your pain

power + 1y1y2y3y4y5y6
10
9
x^781/7
x^671/61/2
x^561/51/21/2
x^451/41/25/12
x^341/31/21/3-1/6
31/21/21/4-1/12
x21/21/6-1/301/42

and also your fascination.

So many patterns.
 
  • #8
OmCheeto said:
I feel your pain

power + 1y1y2y3y4y5y6
10
9
x^781/7
x^671/61/2
x^561/51/21/2
x^451/41/25/12
x^341/31/21/3-1/6
31/21/21/4-1/12
x21/21/6-1/301/42

and also your fascination.

So many patterns.
I don't understand what this table is supposed to represent, nor what it has to do with the question in this thread.
 
  • #9
Mark44 said:
I don't understand what this table is supposed to represent, nor what it has to do with the question in this thread.
It's the discrete solutions to tables 1 and 2, plus 4 other tables without using the ∑ function. Unfortunately, like the OP, it just gives me a generalized pattern for higher powered solutions. I had to cheat to get the first few patterns and then use curve fitting to get the last.

Columns y1 and y3 are the solutions to the OP's tables 1 & 2:
for table 1: ##y = \frac 1 2 x^2 + \frac 1 2 x##
for table 2: ##y = \frac 1 4 x^4 + \frac 1 2 x^3 + \frac 1 4 x^2##

I suppose it might have been clearer had I transposed the axes in my table.

And as far as my cheating goes, I simply plotted the numbers for each table of powers in a spreadsheet and told the spreadsheet to come up with a polynomial solution, which it is able to do for powers up to 6. But by that point a pattern had exposed itself, so getting an equation that fit for my 'y6' which required an 'x^7' just required a bit of curve fitting.

for a given ##x^z## table, ##y = \frac 1 z x^{z+1} + \frac 1 2 x^z + \frac {z-1} {12} x^{z-1}## works for ##x^2## & ##x^3##.
This pattern continues for higher powers except that new factors following different patterns are added.
As to how to solve this problem without the non-methods of the OP and myself, I'll sit and wait for more clues.
 
  • #10
pbuk said:
You have noticed that the numbers on the RHS of Table 2 are the squares of the numbers on the RHS of Table 1. The answer to question 2 is simply to write this down: ## \left ( 1 + 2 \, + \, ... + \, x \right )^2 ##

Given a summation, we often wish to replace it with an algebraic equation with the same value as the summation. This is known as a closed-form solution, and the process of replacing the summation with its closed form solution is known as solving the summation.

$$S=\displaystyle\sum_{i=1}^{n}\,i=\displaystyle\frac{n(n+1)}{2}$$

¿Can we elevate this closed-form solution to its second power?
 
  • Like
Likes John3509
  • #11
mcastillo356 said:
Given a summation, we often wish to replace it with an algebraic equation with the same value as the summation. This is known as a closed-form solution, and the process of replacing the summation with its closed form solution is known as solving the summation.

$$S=\displaystyle\sum_{i=1}^{n}\,i=\displaystyle\frac{n(n+1)}{2}$$

¿Can we elevate this closed-form solution to its second power?
Why wouldn't we be able to? We get the expression in ImCheetos reply. Is there something im missing?
 
  • #12
OmCheeto said:
It's the discrete solutions to tables 1 and 2, plus 4 other tables without using the ∑ function. Unfortunately, like the OP, it just gives me a generalized pattern for higher powered solutions. I had to cheat to get the first few patterns and then use curve fitting to get the last.

Columns y1 and y3 are the solutions to the OP's tables 1 & 2:
for table 1: ##y = \frac 1 2 x^2 + \frac 1 2 x##
for table 2: ##y = \frac 1 4 x^4 + \frac 1 2 x^3 + \frac 1 4 x^2##

I suppose it might have been clearer had I transposed the axes in my table.

And as far as my cheating goes, I simply plotted the numbers for each table of powers in a spreadsheet and told the spreadsheet to come up with a polynomial solution, which it is able to do for powers up to 6. But by that point a pattern had exposed itself, so getting an equation that fit for my 'y6' which required an 'x^7' just required a bit of curve fitting.

for a given ##x^z## table, ##y = \frac 1 z x^{z+1} + \frac 1 2 x^z + \frac {z-1} {12} x^{z-1}## works for ##x^2## & ##x^3##.
This pattern continues for higher powers except that new factors following different patterns are added.
As to how to solve this problem without the non-methods of the OP and myself, I'll sit and wait for more clues.
Besides the equations you got for table 1 and 2, I don't get any of this.

Isn't mcastillo356s method the "proper" method to solve these types of things dealing with sequences and series, the way presented to students?
 
  • Skeptical
Likes mcastillo356
  • #13
Don't know if I missed the forums rules, ie, explicitly talk about solutions, especially where I haven't got anyone
 
  • #14
mcastillo356 said:
Don't know if I missed the forums rules, ie, explicitly talk about solutions, especially where I haven't got anyone
Well, the OP posted the solutions to the problem, but like me used a non-approved method to get them.

John3509 said:
Besides the equations you got for table 1 and 2, I don't get any of this.
I was looking for a universal solution to this problem, where I could obtain a solution to a table which utilized any power, beyond just 1 and 3. Probably overthinking on my part. My apologies.

Isn't mcastillo356s method the "proper" method to solve these types of things dealing with sequences and series, the way presented to students?

You implied that you wanted a method that didn't involve summations. But now it's ok? In any event, it looks as though your question has been answered, so I'll unsubscribe from the thread. But thank you for posting the question, as it took me on a toboggan ride of maths with all manner of crashes and excitement.
 
  • Like
Likes John3509
  • #15
mcastillo356 said:
Given a summation, we often wish to replace it with an algebraic equation with the same value as the summation. This is known as a closed-form solution, and the process of replacing the summation with its closed form solution is known as solving the summation.
Yes of course, but according to the OP this question is presented at the very beginning of an algebra course before any of this has been studied. The question is not looking for a closed form solution, it is looking for the answer I gave in #6:
pbuk said:
## \left ( 1 + 2 \, + \, ... + \, x \right )^2 ##
 
Last edited:
  • Like
Likes John3509 and mcastillo356

FAQ: Calculating the sum of a series of cubes

What is the formula for the sum of the first n cubes?

The formula for the sum of the first n cubes is given by: \[\left( \frac{n(n + 1)}{2} \right)^2\]This means that the sum of the cubes of the first n natural numbers is equal to the square of the sum of the first n natural numbers.

How do you derive the formula for the sum of cubes?

The formula can be derived by recognizing that the sum of the first n cubes is equal to the square of the sum of the first n natural numbers. Specifically, if you calculate the sum of the first n natural numbers, which is \(\frac{n(n + 1)}{2}\), and then square that result, you get the sum of the cubes.

Can you provide an example of calculating the sum of cubes?

Sure! For example, to calculate the sum of the cubes of the first 3 natural numbers (1, 2, and 3), you can use the formula: \[\left( \frac{3(3 + 1)}{2} \right)^2 = \left( \frac{3 \times 4}{2} \right)^2 = (6)^2 = 36.\]Thus, \(1^3 + 2^3 + 3^3 = 36\).

Is there a way to compute the sum of cubes without using the formula?

Yes, you can compute the sum of cubes by directly adding the cubes of each number. For instance, for n = 3, you would calculate \(1^3 + 2^3 + 3^3 = 1 + 8 + 27 = 36\). While this method is straightforward, it is less efficient for larger values of n compared to using the formula.

What is the significance of the sum of cubes in mathematics?

The sum of cubes has various applications in combinatorics, number theory, and calculus. It appears in problems related to polynomial identities and can be used to derive other mathematical results. Additionally, the relationship between the sum of cubes and the sum of natural numbers highlights connections between different mathematical concepts.

Similar threads

Replies
2
Views
1K
Replies
9
Views
2K
Replies
17
Views
8K
Replies
1
Views
2K
Replies
8
Views
912
Replies
6
Views
2K
Replies
2
Views
2K
Replies
4
Views
2K
Back
Top