This discussion board is a place to discuss our Daily Challenges and the math and science
related to those challenges. Explanations are more than just a solution — they should
explain the steps and thinking strategies that you used to obtain the solution. Comments
should further the discussion of math and science.
When posting on Brilliant:
Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.
Markdown
Appears as
*italics* or _italics_
italics
**bold** or __bold__
bold
- bulleted - list
bulleted
list
1. numbered 2. list
numbered
list
Note: you must add a full line of space before and after lists for them to show up correctly
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
Math
Appears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3
2×3
2^{34}
234
a_{i-1}
ai−1
\frac{2}{3}
32
\sqrt{2}
2
\sum_{i=1}^3
∑i=13
\sin \theta
sinθ
\boxed{123}
123
Comments
As Aditya pointed out, it is useful to know that i=1∑ni4=30n(n+1)(2n+1)(3n2+3n−1).
Another useful formula is that
i=1∑ni3=[2n(n+1)]2.
With this, we can write the sum as
i=1∑n[2n(n+1)]2=i=1∑nj=1∑ij3=j=1∑ni=j∑nj3(change the order of summation)=j=1∑n(n+1−j)j3=(n+1)j=1∑nj3−j=1∑nj4=(n+1)[2n(n+1)]2−30n(n+1)(2n+1)(3n2+3n−1)=60n(n+1)(n+2)(3n2+6n+1),
which agrees with Aditya's (just more factored in the last step).
I saved a lot of ugly expansion / calculation by being smart with the summation, and trying to keep it simple instead of expanding it all out immediately. The change of summation is also a very useful trick, that is used in numerous other places (e.g. interchanging the order of integration via Fubini's theorem). You just have to be careful of the limits.
Note: You should also know what ∑i and ∑i2 are equal to.
Got that. I won't ask you how to get the value for Σn4. I just couldn't follow how did you use change of summation ? I never knew about it. Calvin please explain the steps starting changing order of summation.
I think in the starting of the solution it should be summation i=1 to n of i(i+1)/2... Also, pls explain the change of summation rule and the steps following it.
It is not hard to guess that the answer is a polynomial in n if you recall the formula for the sum of the first n numbers and for the sum of the first n squares, both of which are well-known. It suffices to find the degree of the polynomial and then compute the first few sums to solve for the coefficients. It is not particularly hard to just start trying different degrees and find the answer. Degree 1 clearly doesn't work, and trying small degrees you eventually find that degree 5 works.
If you want to be a tad cleverer, you might conjecture based on the well-known formulas mentioned above, especially if you also know the one for sum of cubes, that the sum of the first nth powers is a degree n+1 polynomial. Since the triangular numbers are given by a degree 2 polynomial, and we are taking squares of them, the terms grow roughly at the rate of k4. This leads us to immediately suspect that a degree 5 polynomial is the answer, and we can fit coefficients as above.
There is also a more conceptual approach to this problem, motivated by basic calculus. Recall that integration is analogous to summation and that much of what we know about summation carries over to integration (linearity, etc). In fact, the analogy also goes the other way: we can use what we know about integration to compute this sum!
What is the standard method of solving integrals? If we want the definite integral of g(x) over some interval, we try to find a function f(x) so that f′(x)=g(x), then use the fundamental theorem of calculus to find the value of the integral by computing f at the endpoints and subtracting the resulting values. A similar approach works here. I will illustrate it with a simpler, related problem that we already know how to solve with other methods: summing the first n integers.
Let f(k) be a function on the integers, and define the 'discrete derivative' of f(k) to be f′(k)=f(k+1)−f(k). Suppose we want to find the sum ∑1ng(k), where g(k) is a function on the integers. If we can find h so that h′(k)=g(k), then we have
1∑ng(k)=1∑nf(k+1)−f(k)=f(n+1)−f(1).
Note how this is completely analogous to evaluating the antiderivative of an integral at its endpoints.
Returning to our problem, we want to find f so that f′(k)=k. Motivated by standard calculus, we might think to try a degree 2 polynomial. This is also easily guessable. We can again solve for the coefficients in f(k+1)−f(k)=k, and find that f(k)=21(k2+k)+C, where C is any constant. Then f(n+1)−f(1) is 2n(n+1), and we recover the standard formula.
This method is known as the 'calculus of finite differences,' and it generalizes in the obvious way to give a solution to the original problem. It also provides a standard method for approaching these kinds of problems.
@Aditya Parson
–
Seems that you don't wan't to reveal your method of solving(not in an offensive mood). I am not getting a series for which it is easy to find the sum.
Rather i am getting terms like n4 in the general term, the sum to n terms of which is not known to me.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
As Aditya pointed out, it is useful to know that i=1∑ni4=30n(n+1)(2n+1)(3n2+3n−1). Another useful formula is that
i=1∑ni3=[2n(n+1)]2.
With this, we can write the sum as
i=1∑n[2n(n+1)]2=i=1∑nj=1∑ij3=j=1∑ni=j∑nj3(change the order of summation)=j=1∑n(n+1−j)j3=(n+1)j=1∑nj3−j=1∑nj4=(n+1)[2n(n+1)]2−30n(n+1)(2n+1)(3n2+3n−1)=60n(n+1)(n+2)(3n2+6n+1),
which agrees with Aditya's (just more factored in the last step).
I saved a lot of ugly expansion / calculation by being smart with the summation, and trying to keep it simple instead of expanding it all out immediately. The change of summation is also a very useful trick, that is used in numerous other places (e.g. interchanging the order of integration via Fubini's theorem). You just have to be careful of the limits.
Note: You should also know what ∑i and ∑i2 are equal to.
Log in to reply
Got that. I won't ask you how to get the value for Σn4. I just couldn't follow how did you use change of summation ? I never knew about it. Calvin please explain the steps starting changing order of summation.
Log in to reply
Do you know how to get the equation for ∑n , ∑n2 and for ∑n3? You can use the same way to derive the value of ∑n4
I think in the starting of the solution it should be summation i=1 to n of i(i+1)/2... Also, pls explain the change of summation rule and the steps following it.
Can the order of summation be changed always??
It is not hard to guess that the answer is a polynomial in n if you recall the formula for the sum of the first n numbers and for the sum of the first n squares, both of which are well-known. It suffices to find the degree of the polynomial and then compute the first few sums to solve for the coefficients. It is not particularly hard to just start trying different degrees and find the answer. Degree 1 clearly doesn't work, and trying small degrees you eventually find that degree 5 works.
If you want to be a tad cleverer, you might conjecture based on the well-known formulas mentioned above, especially if you also know the one for sum of cubes, that the sum of the first nth powers is a degree n+1 polynomial. Since the triangular numbers are given by a degree 2 polynomial, and we are taking squares of them, the terms grow roughly at the rate of k4. This leads us to immediately suspect that a degree 5 polynomial is the answer, and we can fit coefficients as above.
There is also a more conceptual approach to this problem, motivated by basic calculus. Recall that integration is analogous to summation and that much of what we know about summation carries over to integration (linearity, etc). In fact, the analogy also goes the other way: we can use what we know about integration to compute this sum!
What is the standard method of solving integrals? If we want the definite integral of g(x) over some interval, we try to find a function f(x) so that f′(x)=g(x), then use the fundamental theorem of calculus to find the value of the integral by computing f at the endpoints and subtracting the resulting values. A similar approach works here. I will illustrate it with a simpler, related problem that we already know how to solve with other methods: summing the first n integers.
Let f(k) be a function on the integers, and define the 'discrete derivative' of f(k) to be f′(k)=f(k+1)−f(k). Suppose we want to find the sum ∑1ng(k), where g(k) is a function on the integers. If we can find h so that h′(k)=g(k), then we have
1∑ng(k)=1∑nf(k+1)−f(k)=f(n+1)−f(1).
Note how this is completely analogous to evaluating the antiderivative of an integral at its endpoints.
Returning to our problem, we want to find f so that f′(k)=k. Motivated by standard calculus, we might think to try a degree 2 polynomial. This is also easily guessable. We can again solve for the coefficients in f(k+1)−f(k)=k, and find that f(k)=21(k2+k)+C, where C is any constant. Then f(n+1)−f(1) is 2n(n+1), and we recover the standard formula.
This method is known as the 'calculus of finite differences,' and it generalizes in the obvious way to give a solution to the original problem. It also provides a standard method for approaching these kinds of problems.
Sn=120n(n+1)(6n3+24n2+26n+4)
Log in to reply
Hey, what I eagerly wanted was the procedure.
Log in to reply
Yeah sure. First develop a function that gives this sequence. Then just use summation. That is all.
Log in to reply
n4 in the general term, the sum to n terms of which is not known to me.
Seems that you don't wan't to reveal your method of solving(not in an offensive mood). I am not getting a series for which it is easy to find the sum. Rather i am getting terms likeLog in to reply
∑n4=30n(n+1)(2n+1)(3n2+3n−1)
That is all you need to know.
how...?
Log in to reply
Huge calculations. If I write it here using latex, it will take half an hour to say the least.
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
but i got this solution as sum=(n)(n+1)(n+2)*(3n^2+6n+1)/15
Log in to reply
It is wrong. Put n=1 I get 4.
you could use newtons interpolation formula
http://www.wolframalpha.com/widget/widgetPopup.jsp?p=v&id=d983db47634e1936eb568b79884012ac&title=Summation%20Calculator&theme=blue&i0=i%5E2&i1=10&i2=11&podSelect=&includepodid=Result&showAssumptions=1&showWarnings=1