Predicting the Weather with a Matrix

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • hard
  • Pro

In a simple weather model, a sunny day is followed by another sunny day eighty per cent of the time and by rain twenty per cent of the time. A rainy day is followed by sun forty per cent of the time and by rain sixty per cent of the time. Today is sunny. Explain how a matrix predicts the next two days, and what the weather looks like in the long run. Assume tomorrow depends only on today.

What a strong answer covers

  • How the chances are arranged in a matrix, and how it moves today's forecast to tomorrow's.
  • The forecast for each of the next two days.
  • Where the forecast settles if you keep going, and why.
  • The connection to eigenvectors, and the model's key assumption.

Common mistake: Multiplying the chances along only one path, sun then sun, and forgetting the route through a rainy day.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.