Matrix Difference Problem

  • Thread starter john425
  • Start date
  • #1
21
0
Problem: Each number is the average of the previous two numbers.

I am guessing I need to find a matrix A that when multiplied by a vector x, it will return another vector with its entries as the averages. Is this correct? Need some hints on how to start this one.
 

Answers and Replies

  • #2
Gokul43201
Staff Emeritus
Science Advisor
Gold Member
7,082
20
State the problem completely and exactly as it appears in your homework/text/notes.
 
  • #3
21
0
Here it is exactly:

Formulate the following problems in Matrix-difference equation

xn+1 = Axn and specify the components of x


(2) Each number is the average of the two previous numbers.
 
  • #4
21
0
Here is a PDF link with same exact question (#6):

http://www.math.montana.edu/~shaw/math_221/archive/takeHome3.pdf [Broken]
 
Last edited by a moderator:
  • #5
CarlB
Science Advisor
Homework Helper
1,231
25
The transformation you're dealing with is one where you take the most recent two elements in the series and average them. So you need to be thinking of a matrix A that is 2x2.

You already know how to convert linear equations into matrices. For this case, the linear equations are going to be:

[tex]x' = (x+y)/2[/tex]
[tex]y' = x[/tex]

where x and y are the last two consecutive elements of the series (when you've calculated it up to some point) and x' and y' are the last two consecutive elements after you've calculated it for the next step.

For example, if the series looks like

... 22, 12

then y=22, x=12, y'=12 and x'=17.

After the next step in the calculation, the series now looks like:

... 22, 12, 17

Got it?

Carl
 

Related Threads on Matrix Difference Problem

  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
11
Views
4K
  • Last Post
Replies
5
Views
6K
  • Last Post
Replies
2
Views
1K
Replies
6
Views
670
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
1
Views
1K
Top