Find an expression for a sequence involving the sum of nth powers

Click For Summary
SUMMARY

The discussion revolves around finding an expression for a sequence involving the sum of nth powers, specifically represented as $$a_n = \frac{5^n}{5} + \frac{7^n}{7} + \frac{2}{3} 3^n$$. Participants highlight the importance of correctly applying initial conditions and suggest defining new variables, such as $$b_n = a_n - 2a_{n-1}$$ or $$c_n = a_n - a_{n-2}$$, to simplify calculations. The conversation emphasizes the necessity of using linear algebra techniques, particularly diagonalization, to derive the correct general solution. Ultimately, one participant resolves their confusion regarding matrix multiplication, confirming their approach was valid.

PREREQUISITES
  • Understanding of sequences and series in mathematics
  • Familiarity with linear algebra concepts, particularly diagonalization
  • Knowledge of matrix multiplication techniques
  • Ability to manipulate and define new variables in mathematical expressions
NEXT STEPS
  • Study linear algebra techniques for solving recurrence relations
  • Learn about diagonalization of matrices and its applications in sequences
  • Explore methods for defining new variables to simplify complex equations
  • Review examples of sequences involving sums of powers and their general solutions
USEFUL FOR

Mathematics students, particularly those studying linear algebra and sequences, as well as educators looking for effective methods to teach these concepts.

rugerts
Messages
153
Reaction score
11
Homework Statement
a_n = 2*a_n-1 + a_n-2 -2*a_n-3.
a_0 = 5
a_1 = 18
a_2 = 14
Relevant Equations
No real equations. Shown below is a similar example done in class that I'm trying to base my solution around.
Example done in class:
IMG-0203.jpg
IMG-0204.jpg
The problem and my solution:
IMG-0199.jpg

IMG-0201.jpg

IMG-0202.jpg


My solution seems incorrect because if I try to plug in 0, I don't get the initial condition given in the problem.

Does anyone see what I've done wrong along the way?

Thanks.
 

Attachments

  • IMG-0201.jpg
    IMG-0201.jpg
    36.9 KB · Views: 256
  • IMG-0202.jpg
    IMG-0202.jpg
    33.7 KB · Views: 229
Physics news on Phys.org
The equations would be much easier to read when typed here, with explanations what you do why.
$$a_n = \frac{5^n}{5} + \frac{7^n}{7} + \frac 2 3 3^n$$
You shouldn't get three different equations for an+1, an+2 and an+3.

Where do you plug in your initial conditions? You should have a general solution with three unknowns (which looks very different from what you got), these unknowns can be computed based on the initial conditions.
 
mfb said:
The equations would be much easier to read when typed here, with explanations what you do why.
$$a_n = \frac{5^n}{5} + \frac{7^n}{7} + \frac 2 3 3^n$$
You shouldn't get three different equations for an+1, an+2 and an+3.

Where do you plug in your initial conditions? You should have a general solution with three unknowns (which looks very different from what you got), these unknowns can be computed based on the initial conditions.
Did you look through the first example I was shown in lecture? That general solution only has powers of n in it, which I think is the goal. Maybe I'm misunderstanding you.
 
Not been through all your calculation, but I think you can do a quite simpler calculation in this case if you define a new variable, either
bn = an - 2an-1
or probably better
cn = an - an-2.

You then get a very simple series for the new variable, which you can convert into one, well maybe you should call it two, for the an .
 
epenguin said:
Not been through all your calculation, but I think you can do a quite simpler calculation in this case if you define a new variable, either
bn = an - 2an-1
or probably better
cn = an - an-2.

You then get a very simple series for the new variable, which you can convert into one, well maybe you should call it two, for the an .
Interesting. I hate to turn down simpler solutions but I think, since this is a course in linear algebra and we've just covered diagonalization, that we're expected to solve this using that technique.
 
rugerts said:
Did you look through the first example I was shown in lecture? That general solution only has powers of n in it, which I think is the goal. Maybe I'm misunderstanding you.
If you consider powers of 0 and -1 it will work...
 
So I actually had a mistake in matrix multiplication. I've got the correct solution now. My approach was fine. Thanks all.
 
  • Like
Likes   Reactions: WWGD

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
1K
  • · Replies 38 ·
2
Replies
38
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K