How to Integrate the Matrix Exponential for Gambler's Ruin?

Click For Summary

Homework Help Overview

The discussion revolves around integrating the matrix exponential in the context of a problem related to Gambler's Ruin, which involves a random walk on a money axis represented by a Laplacian matrix. The original poster seeks to show a relationship involving the inverse of the matrix T and the integral of the matrix exponential.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the nature of integrating a matrix exponential and whether the integral can be computed element-wise. There are questions about the validity of exchanging integration and summation in the context of the Taylor series expansion of the matrix exponential.

Discussion Status

Some participants have offered guidance on how to approach the integration and suggested splitting the integral into parts to avoid complications with infinite limits. There is ongoing exploration of the assumptions regarding the diagonal nature of the matrix T and the implications of that on the integration process.

Contextual Notes

Participants note the potential issues with integrating to infinity and the need to handle constants carefully. The discussion also highlights the importance of ensuring that the matrix T is invertible for the proposed relationships to hold.

wuhtzu
Messages
9
Reaction score
0

Homework Statement


\vec{N} = \frac{1}{\tau}(\int_0^\infty exp(t' \textbf{T}) dt') \vec{n}_0

Show that \vec{N} = -\frac{\textbf{T}^{-1}}{\tau}\vec{n}_0 where \textbf{T}^{-1} is the inverse matrix of \textbf{T}.

It is part of a small project called Gambler's Ruin in which we investigate the random walk of a gambler on a "money axis" where he has a probability for moving right and left. So the matrix T is the Laplacian matrix for a 1d graph (1)--(2)--(3)--(4)--(5)--(6)--(M).


Homework Equations


I have two main questions:

1. How to integrate the matrix
2. That \int_0^\infty exp(t) dt = \infty as I expect this will be a part of the solution.


The Attempt at a Solution


First of all the matrix exponential is just the Taylor series of the exponential with the matrix as exponent:

exp(t\textbf{T}) = \sum_{k=0}^\infty \frac{1}{k!} (t\textbf{T})^k

If the matrix T is diagonal then the exp(tT) will just be an matrix with exponential exp(t) along it's diagonal. If it is not diagonal all elementes will be proportinal to exp(xt).

So if this matrix T, the laplacian for a 1d graph, is diagonal (which I hope it is or can be made to be) I am stuck when I have to do the integral of a matrix with diagonal entries exp(t).

\frac{1}{\tau}(\int_0^\infty <br /> \left[\begin{array}{ccc}<br /> exp(t) &amp; 0 &amp; 0 \\<br /> 0 &amp; exp(t) &amp; 0 \\<br /> 0 &amp; 0 &amp; exp(t) \end{array}\right] dt&#039;) \vec{n}_0

I'd be glad for any advice on how to proceed or hints to where I can find out about this.

Best regards
Wuhtzu
 
Physics news on Phys.org
The best thing I've been able to find is that the integral of a matrix is the integral of the individual elements (just as the derivative of a matrix is a matrix containing the derivatives of the original matrix).

If that is the case then (and if my T was diagonal):

\int_0^\infty \left [ <br /> \begin{array}{ccc}<br /> exp(t) &amp; 0 &amp; 0 \\<br /> 0 &amp; exp(t) &amp; 0\\<br /> 0 &amp; 0 &amp; exp(t) \end{array}<br /> \right ] dt = <br /> \left [ <br /> \begin{array}{ccc}<br /> \int_0^\infty exp(t) dt&amp; \int_0^\infty 0 dt &amp; \int_0^\infty 0 dt \\<br /> \int_0^\infty 0 dt &amp; \int_0^\infty exp(t) dt &amp; \int_0^\infty 0 dt\\<br /> \int_0^\infty 0 dt &amp; \int_0^\infty 0 dt &amp; \int_0^\infty exp(t) dt \end{array}<br /> \right ] =<br /> \left [ <br /> \begin{array}{ccc}<br /> \int_0^\infty exp(t) dt &amp; c &amp; c\\<br /> c &amp; \int_0^\infty exp(t) dt &amp; c\\<br /> c &amp; c &amp; \int_0^\infty exp(t) dt \end{array}<br /> \right ]<br />

where c is a constant. Is that correct?
 
Getting rid of constants, you want to show that \textbf{T}^{-1} = \int_0^\infty exp(t&#039; \textbf{T}) dt&#039;
As t' is scalar, ##exp(t' \textbf{T}) = \sum_0^\infty \frac{1}{k!} t'^k\, \textbf{T}^k##
Every summand can be integrated, and we get ##\sum_0^\infty \frac{1}{(k+1)!} t'^{k+1}\, \textbf{T}^{k+1} \textbf{T}^{-1}## assuming T is invertible.
Now you can re-construct your exponential and get the result. You just have to make sure that the exchange of integration and summation is valid.
 
So you are right, aprt from constants I need to show that

\textbf{T}^{-1} = \int_0^\infty exp(t&#039;\textbf{T}) dt&#039;

With your suggestion this is what I can do:

\int_0^\infty exp(t&#039;\textbf{T}) dt&#039; = \int_0^\infty \sum_{k=0}^\infty \frac{1}{k!} t&#039;^k \textbf{T}^k dt


= \sum_{k=0}^\infty \int_0^\infty \frac{1}{k!} t&#039;^k \textbf{T}^k dt&#039;
= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \int_0^\infty t&#039;^k dt&#039;
= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \left[ \frac{1}{k+1} t&#039;^{k+1} \right]_0^\infty
= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \frac{1}{k+1} \left[ t&#039;^{k+1} \right]_0^\infty
= \sum_{k=0}^\infty \frac{1}{k!(k+1)} \textbf{T}^{-1} \textbf{T}^{k+1} \left[ t&#039;^{k+1} \right]_0^\infty

I can imagine your idea of maybe recognizing the exponential taylor series again (only with k+1 this time), but before getting into that (and what may come from it) I cannot see how I avoid multiplying each summand by \infty since \left[ t&#039;^{k+1} \right]_0^\infty=\infty
 
Don't plug in your integration limits before you pack it into an exponential function again. Alternatively, split the integral in two parts (0 to 1 and 1 to infinity), and use clever sign prefactors to get finite expressions.
 
wuhtzu said:
= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \int_0^\infty t&#039;^k dt&#039;
= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \left[ \frac{1}{k+1} t&#039;^{k+1} \right]_0^\infty

Per se you do not need to perform the integration... just leave the integral, and do the splitting of ##\mathbf{T}^k## just as before. Then bring all except ##\mathbf{T}^{-1}## inside the integral and you will have again the exponential... just check with the limits for the sum if they are correct... Only thing I don't see where you can go this way... I don't think you can get the result you need...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
3K
Replies
9
Views
2K
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K