Finding the Formula for Basic Sequences for Scientists

  • Thread starter Thread starter Karla
  • Start date Start date
  • Tags Tags
    Formula Sequence
AI Thread Summary
The discussion focuses on deriving the formula for triangular numbers, specifically the nth term formula n(n+1)/2. A participant explains that the second difference being constant indicates a polynomial relationship, confirming the triangular number sequence. They reference Newton's divided difference formula to illustrate how to derive the formula systematically. An anecdote about Gauss is shared, highlighting a clever method for summing a series to find triangular numbers. The conversation emphasizes the importance of understanding differences in sequences to establish formulas effectively.
Karla
Messages
5
Reaction score
0
Hi all,

Im doing some work with the triangular numbers, pretty basic stuff:

1 3 6 10 15

Now I am trying to understand how to get the formula for calculating the nth term +1, the formula is:

n(n+1)/2

I have tried doing a difference table, only to find that the second difference is 1, which lead me to think the forumla must start with 2N but this is incorrect. Please can someone show me the easiest method for working out basic sequence formulas.

Thanks,
Karla
 
Last edited:
Mathematics news on Phys.org
Karla said:
Hi all,

Im doing some work with the triangular numbers, pretty basic stuff:

1 3 6 10 15

Now I am trying to understand how to get the formula for calculating the nth term +1, the formula is:

n(n+1)/2

I have tried doing a difference table, only to find that the second difference is 1, which lead me to think the forumla must start with 2N but this is incorrect. Please can someone show me the easiest method for working out basic sequence formulas.

Thanks,
Karla

It's not clear to me why the fact that the second difference is 1 would lead you to think that the formula must start with 2N!
Newton's divided difference formula says that if f(1)= a0, the first difference (at 1) is a1, second difference a2, third difference a3, etc. Then
f(n)= a_0+ a_1(n-1)+ \frac{a_2}{2}(n-1)(n-2)+ \frac{a_3}{3!}(n-1)(n-2)(n-3)+ ....

If the second difference is a constant then all succeeding differences are 0 and the formula gives a polynomial. In particular, for the sequence of triangular numbers, the first differences are just the sequence of counting numbers and the second difference is 1 for all n. At n= 1, the value is 1, the first difference is 2 and the second difference is 1 with all succeeding differences 0. Newton's divided difference formula gives
1+ 2(n-1)+ \frac{1}{2}(n-1)(n-2)
= 1+ 2n- 2+ \frac{1}{2}(n^2- 3n+ 2)
= 2n+ \frac{1}{2}n^2- \frac{3}{2}n
= \frac{1}{2}n^2+ \frac{1}{2}n
= \frac{n(n+1)}{2}
 
There is a great way to work out that formula for the first n numbers. This method was supposedly used by Gauss when he was 10. His teacher, wanting to leave the classroom for a time, told the students to add up the first 100 numbers and get the total. (This is the 100th triangle number.) But, before the teacher could get out of the room, Gauss presented the answer!

His method: Consider the series 1,2,3,...100. Now reverse this on the next line: 100,99,98...1. and add the two series together term by term. The result is 101 written 100 times, and the correct answer is 1/2 of that! which is 50x101 = 5050. http://www.cut-the-knot.org/Curriculum/Algebra/GaussSummation.shtml
 
Last edited:
Here is what I found to be a nice way of finding an equation for a sequence assuming it is a sequence and not just a random set of numbers. I had it as a power point but had to save it as a PDF file to attach it. Let me know if it helps.
Jim

PS: For your example...1 3 6 10 15
3-1=2 2 3 4 5
6-3=3 1 1 1
10-6=4
15-10=5
3-2=1
4-3=1
5-4=1
The '1' repeats at the second row so we start with T=1/(2!) n^2
And 1/2 n^2 has a sequence of 1/2 2 9/2 8.
We take our sequence and subtract these to get a remainder sequence and then repeat the first part again.
1/2 1 3/1 2
1/2 1/2 1/2
This one started repeating in the first row so we add that to the first part we found and get
T=1/2 n^2 + 1/2 n and have no remainder this time so we are done.

I explained these steps a lot more thorough in the PDF file.
 

Attachments

Last edited:
Yes, that is precisely the "Newton's divided difference formula" that both I and Robert Ihnot referred to five years ago!
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top