Is there any general formula for strings?

  • Context: High School 
  • Thread starter Thread starter Physicsissuef
  • Start date Start date
  • Tags Tags
    Formula General Strings
Click For Summary

Discussion Overview

The discussion revolves around the concept of "strings" in the context of numerical sequences, exploring whether there are general formulas applicable to specific sequences. Participants present examples of sequences and inquire about their properties and potential formulas.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant asks for a general formula for the sequence -1, 3, -5, 7, -9, prompting others to consider the underlying pattern.
  • Another participant suggests removing negative signs from the sequence to analyze the odd numbers and proposes a formula involving (-1)n to account for the alternating signs.
  • A different sequence, 2, 5, 9, 14, 20, is introduced, with participants calculating first and second differences to explore its properties.
  • One participant mentions Newton's divided difference formula, discussing how it applies to the sequence and its differences.
  • Another participant expresses confusion about second and third differences, seeking clarification on how to calculate them.
  • A later reply provides a structured table to illustrate the differences and how they relate to the sequence, leading to a derived formula.
  • One participant questions whether the derived formula is specific to the discussed sequence or if it can be generalized to find other sequences.
  • Another participant revisits the original sequence, asking if the same method can be applied to it.

Areas of Agreement / Disagreement

Participants express varying opinions on the classification of the sequences as related to abstract or linear algebra, with some asserting that the discussion aligns more with pre-calculus problems. There is no consensus on the applicability of the derived formulas to other sequences, and the discussion remains unresolved regarding the generalizability of the methods discussed.

Contextual Notes

Participants mention specific mathematical concepts such as first and second differences, Newton's divided difference formula, and the structure of sequences, but there are limitations in understanding how these concepts apply universally across different sequences.

Physicsissuef
Messages
908
Reaction score
0
Is there any general formula for strings?

For example:

what is the formula of this string -1,3,-5,7,-9,...?

Thanks.
 
Physics news on Phys.org


Why is this called a string?
 


Defennder said:
Why is this called a string?
A "string" is any list of symbols so that qualifies as a string, although most of us might prefere the more precise term "numerical sequence".

Physicsissuef said:
Is there any general formula for strings?

For example:

what is the formula of this string -1,3,-5,7,-9,...?

Thanks.
Remove the negative signs: 1, 3, 5, 7, 9, ... Can you find a simple formula for that? (How do you normally write odd numbers?)

Now remember that (-1)n alternates sign.
 


(2n-1), and the final (-1)n(2n-1). Thanks for the help.
 


Hmm I thought this was related to linear or abstract algebra in some way.
 


Now Why would you think that?:smile:
 


Well, it's in this forum, for one thing. Nevermind then.
 


And what about this string:

2,5,9,14,20...

a2-a1=3

a3-a2=4

a4-a3=5

a5-a4=6

an-an-1=n+1
 


Let me reiterate Defennder's point: this is not really "Abstract Algebra" nor "Linear Algebra". It looks pretty much like "pre-calculus problems".

You have calculated the "first difference". Now what is the "second difference"? That is, what is 4- 3, 5- 4, 6- 5? Do you see that all "third differences" are 0? Do you know "Newton's divided difference formula"? In this particular case, the difference between the values of n is 1 so we have
[tex]f(n)= f(0)+ \Delta f(0) n+ \frac{\Delta^2 f(0)}{2}n(n-1)+ ...[/tex]
(and here the "..." is 0 because all higher differences are 0.)
 
  • #10


Sorry, I didn't know where to put this topic. And no, I didn't learn about Newton's divided difference formula. What is second and third difference? How to calculate second and third difference?

Edit: Ok, I understand the second and third difference. Just what I need to substitute for?
 
Last edited:
  • #11


Write it like this:
[tex]\begin{array}{ccccc}n & f(n) & \Delta f(n) & \Delta^2 f(n) & \Delta^3 f(n) \\ 0 & 0 & 2 & 1 & 0 \\1 & 2 & 3 & 1 & 0 \\ 2 & 5 & 4 & 1 & 0\\ 3 & 9 & 5 & 1 \\ 4 & 14 & 6 \\ 5 & 20 \end{array}[/tex]
The first column are the "n" values. The second column are the sequence values: f(1)= 2, f(2)= 5, f(3)= 9, f(4)= 14, and f(5)= 20, as you gave. The third column are the "first difference" values also as you gave: the difference between two consecutive values in the second column. The third column is the "second differences": the difference between two consecutive values in the second column. Because those are consecutive integers, 2, 3, 4, 5, the "third differences", the difference between two consecutive values in the third column, is always 1. All further diffences, then, will be 0 and can be ignored.

I put in the top row, n= 0, by working backwards: if 3-a= 2, then a= 2; if 2- a= 2, then a= 0.

Now, as I said before, Newton's divided difference formula says
[tex]f(n)= f(0)+ \Delta f(0) n+ \frac{\Delta^2 f(0)}{2}n(n-1)+ ...[/tex]
Looking at the chart, f(0)= 0, [itex]\Delta f(0)= 2[/itex], and [itex]\Delta^2 f(0)= 1[/itex]
Therefore,
[tex]f(n)= 0+ 2n+ \frac{1}{2}n(n-1)[/tex]
Simplify that and check its values for n= 1, 2, 3, 4, and 5.
 
  • #12


Ok, now I completely understand. Thanks for the post. Can I use this formula to find other strings or this is special case?
 
  • #13


Can I does the same with :

-1,3,-5,7,-9?
 

Similar threads

  • · Replies 41 ·
2
Replies
41
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 26 ·
Replies
26
Views
4K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K