Finding the Matrix Transformation for Averaging Previous Elements in a Series

  • Thread starter Thread starter john425
  • Start date Start date
  • Tags Tags
    Difference Matrix
john425
Messages
21
Reaction score
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.
 
Physics news on Phys.org
State the problem completely and exactly as it appears in your homework/text/notes.
 
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.
 
Here is a PDF link with same exact question (#6):

http://www.math.montana.edu/~shaw/math_221/archive/takeHome3.pdf
 
Last edited by a moderator:
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:

x' = (x+y)/2
y' = x

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
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top