I'm interested in the stochastic process
$$f_t=(ad-bc)_t$$
where $(a,b,c,d)_t$ is governed by the following transition rules:
$$\begin{align}(a,b,c,d) \rightarrow \begin{cases} (a+1,b,c,d) \;\;\;\; \text{ with probability }p_x &\text{ if }ad>bc\\ (a,b,c+1,d) \;\;\;\; \text{ with probability }1-p_x &\text{ if }ad>bc\\ (a,b+1,c,d) \;\;\;\; \text{ with probability }p_y &\text{ if }ad\leq bc\\ (a,b,c,d+1) \;\;\;\; \text{ with probability }1-p_y &\text{ if }ad\leq bc\\ \end{cases} \end{align}$$
with initial state $(1,1,1,1)$.
I want to compute some quantities relating to $f_t$. In particular its distribution at time $t$, $P_t$, and (I think equivalently), the probability at a given time that $f_t$ changes sign. Maybe also $n$-step transition probability densities would be useful for that goal.
Here are some thoughts: The transitions of $f_t$ derived from the above would be $$ f_{t+1} = \begin{cases} f_t + d_t \;\;\;\; \text{ with probability } p_x &\text{ if } f_t > 0\\ f_t - b_t \;\;\;\; \text{ with probability } 1- p_x &\text{ if } f_t>0\\ f_t - c_t \;\;\;\; \text{ with probability } p_y &\text{ if } f_t \leq 0\\ f_t + a_t \;\;\;\; \text{ with probability } 1-p_y &\text{ if } f_t \leq 0\\ \end{cases} $$
An attempt at a recursive relation for its distribution $P_t$ at time $t$: \begin{align} P_t(f_t) &= P(f_{t-1} > 0) \big[ P_{t-1}(f_t-d_{t-1})p_x + P_{t-1}(f_t+b_{t-1})(1-p_x)\big] \\ &+ P(f_{t-1} \leq 0) \big[ P_{t-1}(f_t+c_{t-1})p_y + P_{t-1}(f_t-a_{t-1})(1-p_y)\big] \end{align}
For starters, $P_0(f) = \delta(0)$ since we assume $(a,b,c,d)$ starts at $(1,1,1,1)$. Then, $P_1(1) = (1-p_y)$ and $P_1(-1) = p_y$. Worst case, it's possible to start from $(1,1,1,1)$ and compute all the possible states in $t$ steps, so I know this must be a tractable problem.
Any input would be valued, thanks very much.
Both $\ \big(a_t,b_t,c_t,d_t\big)\ $ and $\ \big(a_t,b_t,c_t,d_t,f_t\big)\ $ are discrete-time, time-homogeneous Markov chains, so you can obtain the distribution of $\ f_t\ $ (at least for moderate values of $\ t\ $) by using the standard procedure for obtaining the state distribution of such chains. In fact, since $\ f_t\ $ is a deterministic function of $\ \big(a_t,b_t,c_t,d_t\big)\ $, once you have the distribution of the latter, you can compute the distribution of $\ f_t\ $ as $$ \mathbb{P}\big(f_t=\varphi\big)=\sum_{\{(\alpha,\beta,\gamma,\delta)\,|\,\alpha\delta-\beta\gamma=\varphi\}}\mathbb{P}\big(\big(a_t,b_t,c_t,d_t\big)=(\alpha,\beta,\gamma,\delta)\big)\ . $$ The only fly in the ointment is that the number of states accessible at time $\ t\ $ from the initial state $\ (1,1,1,1)\ $ at time $\ t=1\ $ is of order $\ t^3\ $. A state with positive probability at time $\ t\ $ must be a quadruple of positive integers that sum to $\ t+3\ $, and there are $\ {t+2\choose3}\ $ such quadruples. Not all such quadruples will have positive probability, however, so the number of accessible states will be somewhat smaller than this. For $\ p_x=0.7\ $, $\ p_y=0.6\ $ and $\ t=100\ $, for instance, I computed the number of accessible states to be $67,548$, whereas $\ {102\choose3}=176,851\ $. I doubt if the number of accessible states is going to depend much, if at all, on the values of $\ p_x\ $ and $\ p_y\ $ as long as neither of them is $0$ or $1$, so $67,548$ is probably a good indication of the number of accessible states for $\ t=100\ $
With a modern computer I don't think you'll have much of a problem carrying out the computation for $\ t\ $ up to a few hundred, but once $\ t\ $ gets into the thousands, you'll probably start running up against the limits of feasible computability.
Let $\ \pi(t,\alpha,\beta,\gamma,\delta)=\mathbb{P}\big(\big(a_{t+1},b_{t+1},c_{t+1},d_{t+1}\big)=(\alpha,\beta,\gamma,\delta)\big)\ $. Then
In practice, computing $\ \pi(s,\cdot,\cdot,\cdot,\cdot)\ $ successively for $\ s=1,2,\dots,t\ $ is actually somewhat simpler than the above tabulation of eight separate cases might appear to suggest.
I wrote the script below for the online Magma calculator. If you copy and paste it into that calculator and press the submit button, it should print out the distribution of $\ f_{20}\ $ for the chosen values of $\ p_x\ $ (viz. $0.7$) and $\ p_y\ $ (viz. $0.6$).