T(n) is nth triangular number, where T(n)=n2+n2
And from other sources I know the nth tetrahedral number is
G(x)=∑xn=1T(n)=(x2+x)(x+2)6
I also happen to know that the formula for the volume of a tetrahedron is:
V=12Ah,
where A is the area of the triangular base and h is the height.
If I sat down one day not knowing the formula for G(x) and wanted to create a function to find the nth tetrahedral number, how do I derive it?
I've seen proofs. I want to know how the proof authors arrived at that formula in the first place.
Answer
In general, if f(n) is a polynomial with degree k, and if n∑x=1f(x)=g(n)
then g(n) must be a polynomial with degree k+1.
This means that since triangular numbers are given by a polynomial of degree 2, tetrahedral numbers must be given by a polynomial of degree 3.
Let a,b,c,d∈R such that the nth tetrahedral number G(n) is given by
an3+bn2+cn+d
We know immediately that d=0 because G(0)=0 (the empty sum).
Now we can simply list out any three tetrahedral numbers to find the general formula. Let's use the first three.
G(1)=T(1)=1G(2)=T(1)+T(2)=1+3G(3)=T(1)+T(2)+T(3)=1+3+6
Rewriting, we get these equations involving the coefficients:
1=a+b+c4=8a+4b+2c10=27a+9b+3c
Three linear equations, three variables. While it's a bit tedious to do the row reduction, it's definitely one way to derive the formula.
No comments:
Post a Comment