Solving for the finite sum of squares using calculus

In summary, using calculus methods such as differentiation and integration, we can find an explicit sum for the expression \sum_{i=0}^{n}(i+1)^2 \binom{n}{i}. The result is 2^(n-2)(n+4)(n+1). Another method using antiderivatives is also presented.
  • #1
zoki85
1,198
230
Is there some way that using calculus we can explicitely sum up :
[tex]\sum_{i=0}^{n}(i+1)^2 \binom{n}{i}=[/tex]
?

For example,applying the derivative to the both sides of expression
[itex]1+x+x^2+...+x^n=\frac{x^{n+1}-1}{x-1}[/itex]
we quickly get how much is [itex]1+2x+3x^2+...+nx^{n-1}=[/itex].
But I don't know what to do with the first sum.Tryed binomial theorem and some identies but couldn't make use of them.
Thanks for your advice in advance.
 
Last edited:
Physics news on Phys.org
  • #2
You can use this ideas:

[tex](i+1)^2=i^2+2i+1[/tex]

.
[tex]i^2\times\frac{n!}{i!(n-i)!}=i\times\frac{i\times n!}{i!(n-i)!}= [/tex]
.

[tex]i\times\frac{n\times (n-1)!}{(i-1)!(n-i)!}=
i\times\frac{n\times (n-1)!}{(i-1)!(n-i)!}=[/tex]
.

[tex]n\times\frac{(i-1+1)\times (n-1)!}{(i-1)!(n-i)!}=[/tex]
.
[tex]n\times\frac{(n-1)!}{(i-1)!(n-i)!}+n\times\frac{(i-1)\times (n-1)!}{(i-1)!(n-i)!}=[/tex]

.
[tex]n\times\frac{(n-1)!}{(i-1)!(n-i)!}+n\times\frac{(n-1)\times (n-2)!}{(i-2)!(n-i)!}[/tex]
 
Last edited:
  • #3
Well I tryed and I couldn't make much of progress with this.
This problem I found in one of my calculus textbooks and I think we are supposed to use calculus methods somehow...
 
  • #4
I think you can do the sum like this

(1+x)^n=nC0+nC1x+...+nCnx^n
Multiply both sides by x
x(1+x)^n=nC0x+nC1x^2+...+nCnx^(n+1)
Differentiate both sides wrtx
(1+x)^n+nx(1+x)^(n-1)=nC0+nC12x+...+nCn(n+1)x^n
Multiply both sides by x
x[(1+x)^n+nx(1+x)^(n-1)]=nC0x+nC12x^2+...+nCn(n+1)x^(n+1)
Differentiate both sides wrtx
(1+x)^n+nx(1+x)^(n-1)+2nx(1+x)^(n-1)+n(n-1)(x^2)(1+x)^(n-2)=nC0x+nC12^2x+...+nCn}(n+1)^2x^n
Let x=1, after some simplification,
Sum=[2^(n-2)](n+4)(n+1)
 
Last edited:
  • #5
Thanks!I knew of the result but didn't know how to derive it.
 
  • #6
Your solution gave me idea to find another solution with calculus method.
Basically the two are equivavalent but I played with antiderivatives.

If [tex]f(x)=1^2 + 2^2\binom{n}{1}x + 3^2\binom{n}{2}x^2 + ...+(n+1)^2\binom{n}{n}x^n[/tex]

Then [tex]F(x)=\int_{0}^{x}f(t)dt=x+2\binom{n}{1}x +3\binom{n}{2}x^2+...+(n+1)\binom{n}{n}x^n[/tex]

[tex]g(x)=\frac{F(x)}{x}=1+2\binom{n}{1}x + 3\binom{n}{2}x^2+...+(n+1)\binom{n}{n}x^n[/tex]

Integrating one more time:
[tex]G(x)=\int_{0}^{x}g(t)dt=x+\binom{n}{1}x^2+...+\binom{n}{n}x^{n+1}=x(1+x)^n[/tex]

Now we conclude:
[tex]g(x)=(1+x)^n+nx(1+x)^{n-1}[/tex]
[tex]F(x)=x(1+x)^n +nx^2(1+x)^{n-1}[/tex]
[tex]f(x)=(1+x)^n +3nx(1+x)^{n-1}+n(n-1)x^2(1+x)^{n-2}[/tex]

Substitution x=1 in the last one gives the result.
 

FAQ: Solving for the finite sum of squares using calculus

What is a finite sum in calculus?

A finite sum in calculus is the sum of a finite number of terms. It is often denoted by the Greek letter sigma (∑) and is used to represent a series of numbers or expressions that are being added together.

How is a finite sum different from an infinite sum?

A finite sum has a limited number of terms, while an infinite sum continues indefinitely. In calculus, we can use techniques such as limits and convergence tests to evaluate infinite sums, but finite sums can be easily calculated by hand.

What is the formula for calculating a finite sum?

The formula for a finite sum is S = a1 + a2 + a3 + ... + an, where S is the sum, a1 to an are the terms being added, and n is the number of terms in the sum. Alternatively, we can use the sigma notation: S = ∑ai, where i goes from 1 to n.

How is calculus used to solve problems involving finite sums?

Calculus is used to find the sum of a finite sum when the number of terms is large or when the terms follow a pattern. It can also be used to find the sum of an infinite series, which can be thought of as a limit of a sequence of finite sums. Calculus techniques such as integration and differentiation can be used to evaluate and manipulate finite sums.

Can finite sums be used in real-world applications?

Yes, finite sums are used in various fields such as engineering, physics, and economics to solve real-world problems. For example, they can be used to calculate the total cost or revenue of a business over a certain period, or to find the distance traveled by an object with changing speed. Calculus for finite sums is a powerful tool for modeling and analyzing real-world situations.

Back
Top