Mind & MachineRewiring the Mind

The Markov Brain: Rewiring Neural Pathways Through Probabilistic Thinking

Your habits are Markov chains. Your brain is a transition matrix. Understanding the mathematics of habit formation to engineer deliberate cognitive change.

BP
Dr. B.V.R.C. Purushottam
IAS ยท UC Berkeley
October 5, 2025ยท 15 min readCornerstone Essay
1

Your daily habits form a Markov chain โ€” each action's probability is determined by the state you're currently in, not your distant intentions.

2

Transition matrices reveal why willpower fails: you're fighting a probabilistic system with deterministic thinking.

3

Deliberate state manipulation (changing your environment, not your resolve) is the mathematical path to lasting behavioral change.

โ€œWe are what we repeatedly do. Excellence, then, is not an act, but a habit.โ€

โ€” Will Durant, paraphrasing Aristotle

The Morning That Changed How I Think About Habits

I used to believe that habits were about willpower โ€” that the person who wakes at 5 AM simply wants it more than the person who doesn't. Then I encountered Markov chains during my self-directed study of probability theory, and everything I thought I knew about human behavior collapsed.

A Markov chain is a mathematical model where the probability of transitioning to any future state depends only on the current state โ€” not on the sequence of events that preceded it. In the language of probability: the future is conditionally independent of the past, given the present.

Your Brain Is a Transition Matrix

Consider your morning routine as a finite set of states: Alarm Rings โ†’ [Stay in Bed | Get Up]. If you stay in bed, the next transition is: In Bed โ†’ [Snooze Again | Eventually Get Up Late]. Each of these transitions has a probability attached to it โ€” and those probabilities shift based on context.

This is the key insight: you are not choosing your actions from some rational command center. You are a transition matrix โ€” and the probabilities in that matrix are shaped by environment, neurochemistry, and repetition far more than by conscious intention.

Why Willpower Is the Wrong Intervention

If habits are Markov chains, then willpower is an attempt to override the transition probabilities through sheer force. The mathematical approach is different: change the topology of the riverbed. In Markov terms, modify the transition matrix itself.

James Clear understood this intuitively when he wrote about environment design in Atomic Habits. But the Markov framework makes the mechanism explicit: you are engineering a new transition matrix, one environmental cue at a time.

The Bhagavad Gita Connection

There's a passage in the Gita that has always stayed with me: 'You have a right to perform your prescribed duties, but you are not entitled to the fruits of your actions.' (Chapter 2, Verse 47). Krishna is telling Arjuna: focus on the transition, not the outcome. You control only the current state-action pair โ€” not where the chain ends up.

This convergence of ancient wisdom and modern probability theory is not a coincidence. It is evidence that the deepest insights about human behavior โ€” whether they come from the Vedic tradition or from Andrey Markov's 1906 paper โ€” point to the same truth: the present moment is the only lever you have.

Coda

I still struggle to get out of bed some mornings. The transition matrix hasn't been fully reprogrammed โ€” it's a slow process. But I no longer frame it as a failure of will. I frame it as a signal: the matrix needs another adjustment. That shift changed everything.

NeuroscienceMarkov ChainsHabitsProbabilityCognitive Science
BP
Dr. B.V.R.C. Purushottam
IAS Officer ยท AI Researcher ยท Policy Architect

16 years in India's administrative machinery. Now pioneering AI in governance, cooperative finance, and public policy โ€” grounded in both data and dharma. Writing from Dehradun, in the foothills of the Himalayas.

Signal from the Frontier

Get the next essay on mind, machine, and meaning

Biweekly essays at the intersection of AI, philosophy, and Indian governance. No promotional content.

Views expressed are personal and do not represent the Government of India.

Continue Reading

You might also enjoy