Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Matrix Difference Problem

  1. Oct 25, 2005 #1
    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.
  2. jcsd
  3. Oct 26, 2005 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    State the problem completely and exactly as it appears in your homework/text/notes.
  4. Oct 26, 2005 #3
    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.
  5. Oct 27, 2005 #4
    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: May 2, 2017
  6. Nov 2, 2005 #5


    User Avatar
    Science Advisor
    Homework Helper

    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?

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook