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

wuhtzu
Messages
9
Reaction score
0

Homework Statement


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

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

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 [itex]\int_0^\infty exp(t) dt = \infty[/itex] 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:

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

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).

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

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

Best regards
Wuhtzu
 
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):

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

where c is a constant. Is that correct?
 
Getting rid of constants, you want to show that [itex]\textbf{T}^{-1} = \int_0^\infty exp(t' \textbf{T}) dt'[/itex]
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

[itex]\textbf{T}^{-1} = \int_0^\infty exp(t'\textbf{T}) dt'[/itex]

With your suggestion this is what I can do:

[itex]\int_0^\infty exp(t'\textbf{T}) dt' = \int_0^\infty \sum_{k=0}^\infty \frac{1}{k!} t'^k \textbf{T}^k dt[/itex]


[itex]= \sum_{k=0}^\infty \int_0^\infty \frac{1}{k!} t'^k \textbf{T}^k dt'[/itex]
[itex]= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \int_0^\infty t'^k dt'[/itex]
[itex]= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \left[ \frac{1}{k+1} t'^{k+1} \right]_0^\infty[/itex]
[itex]= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \frac{1}{k+1} \left[ t'^{k+1} \right]_0^\infty[/itex]
[itex]= \sum_{k=0}^\infty \frac{1}{k!(k+1)} \textbf{T}^{-1} \textbf{T}^{k+1} \left[ t'^{k+1} \right]_0^\infty[/itex]

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 [itex]\infty[/itex] since [itex]\left[ t'^{k+1} \right]_0^\infty=\infty[/itex]
 
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:
[itex]= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \int_0^\infty t'^k dt'[/itex]
[itex]= \sum_{k=0}^\infty \frac{1}{k!} \textbf{T}^k \left[ \frac{1}{k+1} t'^{k+1} \right]_0^\infty[/itex]

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
3K
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K