Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7911361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:13:05+00:00 2026-06-03T13:13:05+00:00

Given the following Markov Matrix: import numpy, scipy.linalg A = numpy.array([[0.9, 0.1],[0.15, 0.85]]) The

  • 0

Given the following Markov Matrix:

import numpy, scipy.linalg
A = numpy.array([[0.9, 0.1],[0.15, 0.85]])

The stationary probability exists and is equal to [.6, .4]. This is easy to verify by taking a large power of the matrix:

B = A.copy()
for _ in xrange(10): B = numpy.dot(B,B)

Here B[0] = [0.6, 0.4]. So far, so good. According to wikipedia:

A stationary probability vector is defined as a vector that does not change under application of the transition matrix; that is, it is defined as a left eigenvector of the probability matrix, associated with eigenvalue 1:

So I should be able to calculate the left eigenvector of A with eigenvalue of 1, and this should also give me the stationary probability. Scipy’s implementation of eig has a left keyword:

scipy.linalg.eig(A,left=True,right=False)

Gives:

(array([ 1.00+0.j,  0.75+0.j]), array([[ 0.83205029, -0.70710678],
   [ 0.5547002 ,  0.70710678]]))

Which says that the dominant left eigenvector is: [0.83205029, 0.5547002]. Am I reading this incorrectly? How do I get the [0.6, 0.4] using the eigenvalue decomposition?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:13:07+00:00Added an answer on June 3, 2026 at 1:13 pm

    The [0.83205029, 0.5547002] is just [0.6, 0.4] multiplied by ~1.39.

    Although from “physical” point of view you need eigenvector with sum of its components equal 1, scaling eigenvector by some factor does not change it’s “eigenness”:

    If \vec{v} A = \lambda \vec{v}, then obviously (\alpha \vec{v}) A = \lambda (\alpha \vec{v})

    So, to get [0.6, 0.4] you should do:

    >>> v = scipy.linalg.eig(A,left=True,right=False)[1][:,0]
    >>> v
    array([ 0.83205029,  0.5547002 ])
    >>> v / sum(v)
    array([ 0.6,  0.4])
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given following Ruby statements: (Read input and store each word in array removing spaces
// given following array: $data = array( 0=>array( data=>object1, col=>array( 0=>array( data=>object2, col=>array( 0=>array(
Given following array: var arr = [undefined, undefined, 2, 5, undefined, undefined]; I'd like
Given the following code : import java.io.*; public class Main { public static void
Given the following code: class ArrayProxy < BasicObject def initialize @array = [] end
Given the following text: |Description=This is the start of the ... ... <strong>description</strong> of
Given following data, what is the best way to organize an array of elements
This question is probably stupid or paranoidal, but anyway :-). Given following code: DWORD
Given the following snippet: function countZeroes(array) { function counter(total, element) { return total +
Given the following sentence: This is one two three. When I move the cursor

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.