Deriving a Formula for S_{n} in a Recurrence Relation

  • Thread starter nobahar
  • Start date
In summary, the formula to determine any value of S_{n} is S_{n} = 2^{n} /left /left – 2n, where S_{1} = 0 and n represents the nth term in the sequence. This can be derived using a non-homogenous recursive relation.
  • #1
nobahar
497
2

Homework Statement


I have to derive a formula to determine any value of S_{n}.
[tex]S_{n} = 2S_{n-1} + (2n-4)[/tex]


Homework Equations


[tex]S_{1} = 0[/tex]


The Attempt at a Solution


Somone already showed me a proof.
But it starts:
[tex]S_{n} + 2n = 2S_{n-1} +2n-4 + 2n[/tex]
Okay, from here you can work it out, but why introduce 2n from the outset? How would I know straight off that this is what to do?
Thanks in advance.
 
Physics news on Phys.org
  • #2
I've barely even touched on such maths, so forgive me if I'm completely off.

Firstly, where did you derive the equation from? What does this equation represent?
If it's just something that you have defined, how can it possibly be proved? By its definition that IS what it's meant to be.
 
  • #3
nobahar said:

Homework Statement


I have to derive a formula to determine any value of S_{n}.
[tex]S_{n} = 2S_{n-1} + (2n-4)[/tex]


Homework Equations


[tex]S_{1} = 0[/tex]


The Attempt at a Solution


Somone already showed me a proof.
But it starts:
[tex]S_{n} + 2n = 2S_{n-1} +2n-4 + 2n[/tex]
Okay, from here you can work it out, but why introduce 2n from the outset? How would I know straight off that this is what to do?
Thanks in advance.

Hi,

This looks to me like a non-homogenous recursive relation. Are you trying to find a 'closed' form for the n'th term of this recurrence relation, or what exactly is your question?
 
  • #4
sutupidmath said:
Are you trying to find a 'closed' form for the n'th term of this recurrence relation, or what exactly is your question?
Sorry, you'll have to forgive me. Being familiar with where the equation came from I took it for granted. I thought enough information was supplied.

I looked up recurrence relations and I'm pretty confident that this is what I'm looking for, thankyou for that. I'll have to see if the following is a recurrence relation, I noticed in my preliminary search that there are a number of 'types'; which may confuse things for me... I'll look to see if it is the one you mentioned above, given the following information, could you verify the type for me?

Basically, I just want to express [tex]S_{n}[/tex] in terms of n.

[tex]S_{n} = 2S_{n-1} + 2n - 4[/tex]

[tex]S_{n} + 2n = 2S_{n-1} + 2n - 4 + 2n
= 2S_{n-1} + 4n - 4 = 2S_{n-1} + 4(n - 1) = 2(S_{n-1} + 2(n - 1))[/tex]

Since [tex]S_{n-1} + 2(n - 1) = 2(S_{n-2} + 2(n-2)[/tex]

Then [tex]S_{n} + 2n = 2(2(S_{n-2} + 2(n-2)))[/tex]

Working your way down, you eventually arrive at:

[tex]S_{n} + 2n = 2^{n-1}(S_{1} + 2(n-(n-1))) = 2^{n-1}(S_{1} + 2)) = 2^{n-1}(2) = 2^n[/tex]

[tex]S_{n} = 2^{n} /left /left – 2n[/tex]
 

FAQ: Deriving a Formula for S_{n} in a Recurrence Relation

What is the formula for "S_{n} = 2S_{n-1} + (2n - 4)"?

The formula is a recursive sequence that represents the sum of the first n terms, where each term is equal to twice the previous term plus the constant value of (2n - 4).

How do you find the value of "S_{n}" for a given value of "n"?

To find the value of "S_{n}", you can use the formula S_{n} = 2S_{n-1} + (2n - 4) and substitute the value of "n" into the formula. You will also need to know the initial value of "S_{0}" to calculate the sum.

Can this formula be used to find the sum of any arithmetic sequence?

No, this formula is specific to the given recursive sequence. It cannot be applied to any other arithmetic sequence.

What is the significance of the constant value (2n - 4) in the formula?

The constant value (2n - 4) represents the difference between consecutive terms in the sequence. It is a constant value because it does not change as "n" increases.

How can this formula be applied in scientific research or real-world applications?

This formula can be used to model and analyze various situations where a quantity increases or decreases by a fixed amount at each step. It can also be used in financial analysis and population growth studies, among other applications.

Similar threads

Replies
14
Views
2K
Replies
14
Views
1K
Replies
16
Views
2K
Replies
2
Views
2K
Replies
4
Views
1K
Replies
4
Views
2K
Replies
11
Views
2K
Replies
1
Views
1K
Back
Top