 In this case, define the first passage time of from within the domain as

In this case, this infimum is the smallest time at which is on the boundary of rather than being equal to one of two discrete values, assuming is within .The mean of this time is the residence time,

The logarithmic residence time is a dimensionless variation of the residence time.It is proportional to the natural log of a normalized residence time.