Results 1 to 8 of 8
Like Tree4Thanks
  • 2 Post By HallsofIvy
  • 1 Post By SlipEternal
  • 1 Post By topsquark

Thread: Compute S^k

  1. #1
    Super Member bigwave's Avatar
    Joined
    Nov 2009
    From
    Wahiawa, Hawaii
    Posts
    681
    Thanks
    1

    Compute S^k

    $\textsf{Let:}$

    $$ S=\left[\begin{array}{rrrrrr}
    0& 1& 0& 0&0\\ 0& 0& 1& 0&0\\ 0& 0& 0&1&0\\0&0&0&0&0
    \end{array}\right]$$

    $Compute \, S^k k=2,...,6$

    $\text{ok we are supposed to do this with SAGE}$

    $\text{but not sure how $S^k$ is applied}$
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Apr 2005
    Posts
    19,795
    Thanks
    3035

    Re: Compute S^k

    Again, I have no idea what "SAGE" is! However, I strongly suggest that you go back and check the statement of the problem. The matrix you show has 5 columns and only 4 rows. It cannot be multiplied by itself!
    Thanks from topsquark and bigwave
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Super Member bigwave's Avatar
    Joined
    Nov 2009
    From
    Wahiawa, Hawaii
    Posts
    681
    Thanks
    1

    Re: Compute S^k

    why can we not remove $\displaystyle c_1,r_4,c_5$
    Last edited by bigwave; Apr 15th 2018 at 05:19 PM.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Nov 2010
    Posts
    3,456
    Thanks
    1368

    Re: Compute S^k

    Quote Originally Posted by bigwave View Post
    why can we not remove $\displaystyle c_1,r_4,c_5$
    What does that mean? I do not recognize your notation. I am guessing here, but are you suggesting that you remove columns 1 and 5 and row 4? You cannot remove them because they are in the matrix. You would have a different matrix if you removed them. And, if you remove two columns and one row, you would still not have a square matrix.

    Whatever rules you are using to determine what you can and cannot do with matrices are not rules of linear algebra. People on this forum keep telling you that we are not familiar with SAGE. I would recommend moving this question to a discussion board that is specific to SAGE. Because what you are suggesting is not a differential equations problem.
    Thanks from bigwave
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Super Member bigwave's Avatar
    Joined
    Nov 2009
    From
    Wahiawa, Hawaii
    Posts
    681
    Thanks
    1

    Re: Compute S^k

    there is no linear algebra catagory here.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Forum Admin topsquark's Avatar
    Joined
    Jan 2006
    From
    Wellsville, NY
    Posts
    11,160
    Thanks
    734
    Awards
    1

    Re: Compute S^k

    See "Advanced Algebra."

    I'm assuming there is a Diffeq relation to this?

    -Dan
    Thanks from bigwave
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Super Member bigwave's Avatar
    Joined
    Nov 2009
    From
    Wahiawa, Hawaii
    Posts
    681
    Thanks
    1

    Re: Compute S^k

    ok, there was a error in the handout so it was corrected to a 5x5 matrix
    this was done in Cocalc

    Compute S^k-s2.png
    Follow Math Help Forum on Facebook and Google+

  8. #8
    MHF Contributor
    Joined
    Nov 2013
    From
    California
    Posts
    6,157
    Thanks
    2614

    Re: Compute S^k

    Quote Originally Posted by bigwave View Post
    ok, there was a error in the handout so it was corrected to a 5x5 matrix
    this was done in Cocalc

    Click image for larger version. 

Name:	S2.PNG 
Views:	5 
Size:	19.5 KB 
ID:	38691
    now that you have a square matrix as far as I can tell the entire exercise is to write a simple loop that repeatedly multiples this matrix by itself and prints the answer.

    A quick gloss over the SAGE doc shows that this is pretty trivial to do.

    What exactly do you need help with?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Compute p(A) where p(x) = ...?
    Posted in the Advanced Algebra Forum
    Replies: 3
    Last Post: Sep 6th 2011, 09:27 PM
  2. Compute Hom(q,q/z)
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: Jul 5th 2011, 11:52 PM
  3. Compute E[X] and P[Y>2]
    Posted in the Advanced Statistics Forum
    Replies: 2
    Last Post: May 4th 2009, 05:00 PM
  4. Compute
    Posted in the Math Topics Forum
    Replies: 0
    Last Post: Apr 19th 2008, 02:14 AM
  5. compute a sum
    Posted in the Calculus Forum
    Replies: 6
    Last Post: Aug 7th 2006, 10:32 AM

/mathhelpforum @mathhelpforum