Tringular Number Identity

  • Thread starter ramsey2879
  • Start date
  • Tags
    Identity
In summary, the conversation discusses a discovered identity involving integers and the summation formula T(n) = n*(n+1)/2. The identity is proven through substitution and cancellation, as well as using mathematical induction and numerical results. The conversation also mentions a generalization of the identity involving a new variable b, and discusses how many instances of b should be checked to determine the validity of the equation.
  • #1
ramsey2879
841
3
Let [tex] T_{n} = n*(n+1)/2[/tex] and n and m are integers. I discovered that

[tex]2*n+1 = \frac{(T_{(n-1)} -m)*(T_{(n+2)}-m) - (T_{(n-2)}-m)*(T_{(n+1)}-m)}{(T_{n} - m - 1)}[/tex] except for the case where the denominator is zero.

Is there a simple way to prove this identity?
 
Physics news on Phys.org
  • #2
Have you tried mathematical induction - it looks like it should work, but I haven't tried it. I am surprised that the expression is independent of m.
 
  • #3
You can do a ton of simplification in the numerator -- I filled a sheet of paper doing so, though I'm loathe to post it in case of arithmetic mistakes. It's a fourth degree polynomial in two variables before simplification, and most drops out. Only a linear factor of m remains, for example, and you can collect the rest.

Of course numerical results can help convince you as well if that's your cup of tea instead.
 
  • #4
I was lazy to try myself, but Mathematica (in the form of quickmath.com, menu Algebra / simplify) simplifies it to 2m+1. I supposed substitution and cancellation would do. Actually I thought it was a disguised homework. (Maybe I should try myself and stop talking.)
 
  • #5
Dodo said:
I was lazy to try myself, but Mathematica (in the form of quickmath.com, menu Algebra / simplify) simplifies it to 2m+1. I supposed substitution and cancellation would do. Actually I thought it was a disguised homework. (Maybe I should try myself and stop talking.)
You must mean 2n+1, right? Thanks your word is all I need. I am too cheap to buy the program. I too was surprise that it is independent of m which is why I posted an otherwise trivia identity.
 
  • #6
CRGreathouse said:
You can do a ton of simplification in the numerator -- I filled a sheet of paper doing so, though I'm loathe to post it in case of arithmetic mistakes. It's a fourth degree polynomial in two variables before simplification, and most drops out. Only a linear factor of m remains, for example, and you can collect the rest.

Of course numerical results can help convince you as well if that's your cup of tea instead.
OK i will now give this a try since I have more free time> I must confess that I got a hint from another site where I orginally posted a similar problem but with 1 substituted for m. That was before I noticed that "1" could be any integer.
T(n) = A
T(n-1) = A - n
T(n-2) = A -2n + 1
T(n+1) = A +n+1
T(n+2) = A +2n+3

T(n)-m-1 = A-1-m
[T(n-1)-m]*[T(n+2)-m] = [A-n-m]*[A+2n+3-m]
[T(n-2)-m]*[T(n+1)-m] = [A-2n+1-m]*[A+n+1-m]

So the problem reduces to proving that

(A-n-m)(A+2n+3-m)-(A-2n+1-m)(A+n+1-m)=(A-1-m)(2n+1)

opps I have an errand to run Bye for now
 
Last edited:
  • #7
ramsey2879 said:
OK i will now give this a try since I have more free time> I must confess that I got a hint from another site where I orginally posted a similar problem but with 1 substituted for m. That was before I noticed that "1" could be any integer.
T(n) = A
T(n-1) = A - n
T(n-2) = A -2n + 1
T(n+1) = A +n+1
T(n+2) = A +2n+3

T(n)-m-1 = A-1-m
[T(n-1)-m]*[T(n+2)-m] = [A-n-m]*[A+2n+3-m]
[T(n-2)-m]*[T(n+1)-m] = [A-2n+1-m]*[A+n+1-m]

So the problem reduces to proving that

(A-n-m)(A+2n+3-m)-(A-2n+1-m)(A+n+1-m)=(A-1-m)(2n+1)

opps I have an errand to run Bye for now
Continuing
(A-n-m)(A+2n+3-m) -(A+n+1-m)(A-2n+1-m)
=((A-1-m)+1-n)*(A+2n+3-m) -((A-1-m)+2+n)*(A-2n+1-m)
=(A-1-m)*(4n+2) +(1-n)*(A+2n+3-m) -(2+n)*(A-2n+1-m)
=(A-1-m)*(4n+2) +(1-n)*(A-1-m +2n+4) -(2+n)*(A-1-m-2n+2)
=(A-1-m)*(2n+1) +(1-n)*(2n+4) - (2+n)(-2n+2)
=(A-1-m)*(2n+1) QED
 
Last edited:
  • #8
If you cross multiply, and then bring everything over to one side, you are left with the equation f = 0 for a polynomial f that is quadratic in m and quartic in n,

You can plug in 3 values of m to get three quartic polynomials in n. By interpolation, your identity holds if and only if these three quartics are all zero. (since f is quadratic in m, and we have 3 samples)

But any quartic in n is zero if and only if, whenever you select 5 values of n and plug them in, you get zero. (again, by interpolation)

So, choose 3 values of m and 5 values of n and plug all 15 combinations into your identity -- they will all work if and only if your identity works in general.



Actually, I think it's easy to see that f is no worse than cubic in n and linear in m, in which case you only need to try 2 values of m and 4 values of n, for 8 combinations in all.
 
Last edited:
  • #9
Hurkyl said:
If you cross multiply, and then bring everything over to one side, you are left with the equation f = 0 for a polynomial f that is quadratic in m and quartic in n,

You can plug in 3 values of m to get three quartic polynomials in n. By interpolation, your identity holds if and only if these three quartics are all zero. (since f is quadratic in m, and we have 3 samples)

But any quartic in n is zero if and only if, whenever you select 5 values of n and plug them in, you get zero. (again, by interpolation)

So, choose 3 values of m and 5 values of n and plug all 15 combinations into your identity -- they will all work if and only if your identity works in general.



Actually, I think it's easy to see that f is no worse than cubic in n and linear in m, in which case you only need to try 2 values of m and 4 values of n, for 8 combinations in all.
Now I have a new generalization and need to know how many instances of the new variable [tex]b[/tex] must be checked for the following equation:
Let n,b,m be integers and
Let [tex]T_{n} = n(n+1)/2[/tex] and

[tex]D_{(b,m,n)} = (T_{(n-b)}-m)*(T_{(n+2b)}-m)-(T_{(n+b)}-m)*(T_{(n-2b)}-m)[/tex]

then the following equation appears to hold:

[tex] b*(2n+1)*(T_{n}-m-b^{2}) = D_{(b,m,n)}[/tex]

So far I checked more than the necessary eight instances (2 values of m, for each of four values of n) for b = 1,2,3, and 4

Does this qualify as a determination of the validity of the equation or do I have to check more values of b? Again, after dividing both sides by (T(n) - m - b^2), the left hand side is independent of the variable m!
 
Last edited:
  • #10
Well, the general principle at work here is that a polynomial of degree d is uniquely determined by its values at d+1 points.

Equivalently, if f(x) is a polynomial of degree at most d, and you select d+1 a's, then f(x) is the zero polynomial if and only if f(a) = 0 for each a.

This application follows by iteration; if f(x, y) is a polynomial of degree at most d in x, then if you select d+1 distinct a's, then f(x, y) is the zero polynomial if and only if f(a, y) is the zero polynomial for each a. And since f(a, y) is a polynomial in y...

So basically, if your polynomial is at most degree d in some variable, you just have to make sure to use d+1 values for that variable.

This latest identity looks like it's degree 4 in b. (The left hand side has degree 3, and each term on the right hand side has two factors of degree 2) So you need to use 5 values for b. Unless it's obvious that the highest degree b's cancel, just like the highest degree n's, in which case you know the R.H.S. is only degree 3 in b.
 
Last edited:
  • #11
Hurkyl said:
Well, the general principle at work here is that a polynomial of degree d is uniquely determined by its values at d+1 points.

Equivalently, if f(x) is a polynomial of degree at most d, and you select d+1 a's, then f(x) is the zero polynomial if and only if f(a) = 0 for each a.

This application follows by iteration; if f(x, y) is a polynomial of degree at most d in x, then if you select d+1 distinct a's, then f(x, y) is the zero polynomial if and only if f(a, y) is the zero polynomial for each a. And since f(a, y) is a polynomial in y...

So basically, if your polynomial is at most degree d in some variable, you just have to make sure to use d+1 values for that variable.

This latest identity looks like it's degree 4 in b. (The left hand side has degree 3, and each term on the right hand side has two factors of degree 2) So you need to use 5 values for b. Unless it's obvious that the highest degree b's cancel, just like the highest degree n's, in which case you know the R.H.S. is only degree 3 in b.
Although I have a basic polynominal type equation, there is something of interest about it that applys to modulus operations, e.g.
[tex] (T_{(n-b)}-m)*(T_{(n+2b)}-m) == (T_{(n+b)}-m)*(T_{(n-2b)}-m) \mod 2n+1| n = index[/tex]
Now triangular nymbers have a basic recursive formula as follows
[tex]T(n) = 2*T_{(n-1)}-T_{(n-2)} +1[/tex]
Could it be possible to substitute a different integer a for [tex]T_{0}[/tex] or [tex]T_{1}[/tex] or different integers for both and get the same identity equation for the index operator?
Could there be another recursive series that would have the same identity equation for the index operator?
I am of the opinion that the answer is no to both questions but need too consider it further.
 
  • #12
I checked my last post and realized that I made a fundamental error.
Since m can be any integer then substituting [tex] A_{0} = T_{0} + c, A_{1} = T_{1} + c |c = integer[/tex] as the new starting numbers of the recursive series gives the same modulus equation since subtracting or adding c to each term of the series does not change the recurrence relation.

i.e. The T series is 0,1,3,6 ... T(n) = 2T(n-1) - T(n-2) + 1
The A series would be c+0,c+1,c+3,c+6, ... since 2c - c = c.

If on the otherhand you chose A(0) = c and A(1) = c+d+1 you essentially sifted the index by d and will get a new basic polynomial equation

[tex]b(2n+2d+1)(A_{n}-m-b^2) = D_{b,m,n}|A_{i}\ is\ substituted\ for\ T_{i}[/tex]
So the mod for the new identity is 2n+2d+1
 
Last edited:
  • #13
ramsey2879 said:
I checked my last post and realized that I made a fundamental error.
Since m can be any integer then substituting [tex] A_{0} = T_{0} + c, A_{1} = T_{1} + c |c = integer[/tex] as the new starting numbers of the recursive series gives the same modulus equation since subtracting or adding c to each term of the series does not change the recurrence relation.

i.e. The T series is 0,1,3,6 ... T(n) = 2T(n-1) - T(n-2) + 1
The A series would be c+0,c+1,c+3,c+6, ... since 2c - c = c.

If on the otherhand you chose A(0) = c and A(1) = c+d+1 you essentially sifted the index by d and will get a new basic polynomial equation

[tex]b(2n+2d+1)(A_{n}-m-b^2) = D_{b,m,n}|A_{i}\ is\ substituted\ for\ T_{i}[/tex]
So the mod for the new identity is 2n+2d+1
Still another variable "w" to add to the mix.
Let A(0) = 0, A(1) = 1, A(n) = 2*A(n-1)-A(n-2) + w
If w = 1 then you have the triangular series
If w = 2 then you have the series of squares
In general [tex]A_n = w*(n^2 -n)/2 + n[/tex] is a direct formula for [tex]A_n[/tex]

redefine [tex]D_{(b,n,m)[/tex] as:

[tex](A_{(n-b)}-m)*(A_{(n+2b)}-m) - (A_{(n+b)}-m)*(A_{(n-2b)}-m)[/tex]

Then
[tex]D_{(b,n,m)} = b(w*(2n-1)+2)*(A_{n} -wb^{2} -m)[/tex]
 
  • #14
ramsey2879 said:
Still another variable "w" to add to the mix.
Let A(0) = 0, A(1) = 1, A(n) = 2*A(n-1)-A(n-2) + w
If w = 1 then you have the triangular series
If w = 2 then you have the series of squares
In general [tex]A_n = w*(n^2 -n)/2 + n[/tex] is a direct formula for [tex]A_n[/tex]

redefine [tex]D_{(b,n,m)[/tex] as:

[tex](A_{(n-b)}-m)*(A_{(n+2b)}-m) - (A_{(n+b)}-m)*(A_{(n-2b)}-m)[/tex]

Then
[tex]D_{(b,n,m)} = b(w*(2n-1)+2)*(A_{n} -wb^{2} -m)[/tex]
It could be interesting to select different n,b,w and m to make the determinant D(b,n,m) zero. I might add that b and n are counters and must be integers while w and m are not and can be complex. It is easy to see that a complex number m can not be selected to make the determinant D(b,n,m) zero unless w is also complex, but could it be posible to have w be a complex number and yet make the determinant zero with a integer m?
 
  • #15
ramsey2879 said:
It could be interesting to select different n,b,w and m to make the determinant D(b,n,m) zero. I might add that b and n are counters and must be integers while w and m are not and can be complex. It is easy to see that a complex number m can not be selected to make the determinant D(b,n,m) zero unless w is also complex, but could it be posible to have w be a complex number and yet make the determinant zero with a integer m?
The answer to my question is yes. Does anyone care to provide suitable positive values for both n and b such that w is any complex or irrational number, m is an integer and the determinant D(b,n,m) is zero?
 
Last edited:
  • #16
ramsey2879 said:
The answer to my question is yes. Does anyone care to provide suitable positive values for both n and b such that w is any complex or irrational number, m is an integer and the determinant D(b,n,m) is zero?
Since [tex]D=b(w(2n-1)+2)*(A_{n}-wb^2-m)[/tex] the only hope to make D zero with w complex and integer b,n,m is to make the factor [tex]A_{n} -wb^{2}-m = 0[/tex]

So we have m=n and
[tex]wT_{(n-1)} - wb^{2} = 0 [/tex]
This has the solutions (n,b):(1,0) (2,1), (9,6), (50,35), (289,204), (1682,1189) ...
b is the sequence http://www.research.att.com/~njas/sequences/A001109
n is the sequence http://www.research.att.com/~njas/sequences/A055997

In the formula A(n)-m = n + w(T(n-1))-n, the n's cancel and w^2 can be factored out of the determinant.

I determined that for zero determinants
T(n-1-b) = T(A055997(n)-1-A001109(n)) = T(A053141(n))
T(n-1-2b) =T(A055997(n)-1-2A001109(n)) = T(-A001652-1) = T(A001652(n))
T(n-1+b) =T(A055997(n)-1+A001109(n)) = T(A053141(n+1))
T(n-1+2b) =T(A055997(n)-1+2A001109(n)) =T(A001652(n+1))


A(053141) = {0,2,14,84,492,2870...}
A(001652) = {0,3,20,119,696, ...}

The notes to these sequences states that the triangular numbers for sequence A001652(n) are twice the corresponding triangular numbers for A053141(n) so obviously the determinants are each zero.

However, the determinants with just the arguments substituted for the actual triangular numbers except for the bottom right where the substitution of one more than the argument is made are all zero also. This is new.
For instance
|2,3|
|14,21|
is zero
 
Last edited by a moderator:
  • #17
Further generalizing the last post
Let [tex]A_{n} = A(053141) =\{0,2,14,84,...6A_{(n-1)}-A_{(n-2)}+2\}[/tex]
Let [tex]B_{n} = A(001652) =\{0,3,20,119,...6B_{(n-1)}-B_{(n-2)}+2\}[/tex]
and
Let [tex]G_{n,m} = (2m+1)A_{n} + m[/tex]
Let [tex]H_{n,m} = (2m+1)B_{n} + m[/tex]

If [tex]T_{a} = a(a+1)/2[/tex] then

[tex] T_{H_{n,m}} + T_{m} = 2*T_{G_{n,m}}[/tex]

Also [tex]T_{a} - T_{m} = b^2[/tex] where

[tex] a = \left(G_{n,m}+G_{n+1,m}\right)/2[/tex] and
[tex] b = \left(G_{n+1,m} - G_{n,m}\right)/2[/tex]

If m = 0 then the formula gives the square triangular numbers.
 
Last edited:
  • #18
ramsey2879 said:
Still another variable "w" to add to the mix.
Let A(0) = 0, A(1) = 1, A(n) = 2*A(n-1)-A(n-2) + w
If w = 1 then you have the triangular series
If w = 2 then you have the series of squares
In general [tex]A_n = w*(n^2 -n)/2 + n[/tex] is a direct formula for [tex]A_n[/tex]

redefine [tex]D_{(b,n,m)[/tex] as:

[tex](A_{(n-b)}-m)*(A_{(n+2b)}-m) - (A_{(n+b)}-m)*(A_{(n-2b)}-m)[/tex]

Then
[tex]D_{(b,n,m)} = b(w*(2n-1)+2)*(A_{n} -wb^{2} -m)[/tex]

A new twist, let [tex]m = A_{n} - R[/tex] i.e a variable with n, w and b fixed and R varying then the following expression has a value which increases by 1 for every increase of R by 1.

[tex]\frac{D_{(b,n,m)}}{b(w*(2n-1)+2)}[/tex]

In other words you have a determinant [tex]\{A_{00},A_{01},A_{10},A_{11}\}[/tex] which increases by b(w*(2n-1)+2) for each increase of each of the terms by 1, so the value of the determinant reduces to [tex](R+K)*b(w*(2n-1)+2)[/tex]
 
Last edited:

What is Tringular Number Identity?

Tringular Number Identity is a mathematical concept that refers to a number that can be represented as the sum of consecutive natural numbers starting from 1. For example, 6 is a triangular number because it can be expressed as 1+2+3=6.

How is Tringular Number Identity calculated?

The formula for calculating a triangular number is n(n+1)/2, where n is the number of terms. For example, to find the 5th triangular number, we plug in n=5 and get (5)(5+1)/2 = 15. Therefore, the 5th triangular number is 15.

What are some real-life applications of Tringular Number Identity?

Triangular Number Identity has various applications in mathematics and science, including number patterns, probability, and even physics. For example, it can be used to calculate the number of possible combinations in a game of tic-tac-toe.

How is Tringular Number Identity related to Pascal's Triangle?

Pascal's Triangle is a triangular arrangement of numbers in which each number is the sum of the two numbers directly above it. The second diagonal of Pascal's Triangle contains all the triangular numbers. Therefore, triangular number identity is closely related to Pascal's Triangle.

What is the significance of Tringular Number Identity in number theory?

Triangular Number Identity is an essential concept in number theory and has been studied by mathematicians for centuries. It has connections to other mathematical concepts such as prime numbers, perfect numbers, and Fibonacci numbers, making it an important topic in the field of mathematics.

Similar threads

  • Linear and Abstract Algebra
Replies
7
Views
574
  • Linear and Abstract Algebra
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
6
Views
846
  • Introductory Physics Homework Help
Replies
8
Views
400
  • Precalculus Mathematics Homework Help
Replies
7
Views
792
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
956
  • Linear and Abstract Algebra
Replies
4
Views
876
  • Linear and Abstract Algebra
Replies
11
Views
1K
  • Linear and Abstract Algebra
Replies
8
Views
787
Back
Top