Consider a process $X_t$, given by $X_0 = 1$ and $X_t = X_{t-1} + B_t$ where
$$ B_t = \begin{cases} 1 \ \ &\text{ with probability } \frac{p}{2} \\ 0 \ \ &\text{ with probability } \frac{1}{2} \\ -1\ \ &\text{ with probability } \frac{q}{2} \end{cases} $$ and $p+q=1$.
Consider the event $E_k = \{X_s = 0 \text{ for some } s>0, X_0 = k\}$.
Calculate $\mathbb{P}(E_1)$ by conditioning on the outcomes of $B_1$.
So here is my attempt:
We have $E_1 = \{X_s = 0 \text{ for some } s>0, X_0 = 1\}$ and so conditioning on the outcome of $B_1$ we have
$$ \begin{align} \mathbb{P}(E_1) &= \mathbb{P}(E_1 | B_1 = 1)\mathbb{P}(B_1 = 1) \\ &\qquad + \mathbb{P}(E_1 | B_1 = 0)\mathbb{P}(B_1 = 0) + \mathbb{P}(E_1 | B_1 = -1)\mathbb{P}(B_1 = -1)\\[2mm] &= \frac{p}{2} \mathbb{P}(X_t \text{ eventually reaches zero } | X_1 = 2)\\ &\qquad+ \frac{1}{2} \mathbb{P}(X_t \text{ eventually reaches zero } | X_1 = 1) + 1 \cdot \frac{q}{2}\\[2mm] &= \frac{p}{2} \mathbb{P}(E_1)^2 + \frac{1}{2} \mathbb{P}(E_1) + \frac{q}{2} \end{align} $$ Which gives us a quadratic in $\mathbb{P}(E_1)$, so
$$ \mathbb{P}(E_1) = \frac{1}{p} - \sqrt{\frac{q}{p}} \qquad\text{ OR }\qquad \sqrt{\frac{q}{p}} $$
But I'm stuck as to how to decide on a solution? I assume there must be some constraints which force one of these solutions but I don't know what..
EDIT: I've been told that I should get the solution $\mathbb{P}(E_1) = \frac{q}{p}$ for $p > q$ or $\mathbb{P}(E_1) = 1$ for $p \leq q$ and that my method is along the right lines, but I'm still really struggling to get this
This is not a full answer, but at the same time it was too long for a comment and maybe could help in finding the general solution.
First of all unfortunately none of the solutions you found can be probabilities, since for example if $p = \frac{1}{4}$ and $q = \frac{3}{4}$ then: $$ \frac{1}{p}-\sqrt{\frac{q}{p}} = 4-\sqrt{3} > 1 $$ $$ \sqrt{\frac{q}{p}} = \sqrt{3} > 1 $$
Here I have proved that if we know that the value of $P(E_1)$ then we can compute $P(E_n)$ for all $n\geq 0$.
The stochastic process $X_t$ is often called the "lazy" random walk on the integer $\mathbb{Z}$. In particular we have that: $$ P(E_1) = P\Bigl(\bigcup_{s=1}^{\infty}\{X_s = 0\}\Bigr). $$ But we can also compute $P(E_1)$ using the law of total probability as follows: $$ P(E_1) = P(E_1|B_1=1)P(B_1 = 1) + P(E_1|B_1 = 0)P(B_1 = 0) + P(E_1|B_1 = -1)P(B_1 = -1) \\ = \frac{p}{2}P(E_2)+\frac{1}{2}P(E_1)+\frac{q}{2} $$ which implies that: $$ P(E_2) = \frac{P(E_1)-q}{p} $$ Similarly we can compute $P(E_2)$ as: $$ P(E_2) = P(E_2|B_2=1)P(B_2 = 1) + P(E_2|B_2 = 0)P(B_2 = 0) + P(E_2|B_2 = -1)P(B_2 = -1) \\ = \frac{p}{2}P(E_3)+\frac{1}{2}P(E_2)+\frac{q}{2}P(E_1) $$ From here we understand the 2-step recurrence: $$ P(E_n) = \frac{P(E_{n-1})-qP(E_{n-2})}{p} $$ with boundary conditions: $$ P(E_0) = 1 \\ P(E_1) = E1 $$ Using the following code in Mathematica we can see that for $p\not=q$:
we find a general formula for $P(E_n)$, namely:
$P(E_n)$ using $E_1$" />
while for $p = q = \frac{1}{2}$, using again the recurrence we find:
$$
P(E_n) = n(P(E_1)-1)+1
$$
from which we understand that $P(E_1)$ in this case has to be $1$ (since $P(E_n)\in[0,1]$ for all $n$).