Suppose a sequence of Bernoulli trials continues until a success occurs. For two independent such sequences, say $A$ and $B$, with respective success-probabilities $a$ and $b$, what is the probability that $A$ is shorter than $B$?
Here's an example of what I mean: Suppose that I have two unfair coins. Coin 1 has a probability of coming up heads of $\frac{1}{3}$, and coin 2 has a probability of coming up heads of $\frac{2}{3}$. I flip both coins at the same time. What is the probability that Coin 1 is heads before coin 2? Let $C_n$ be the number of flips it takes coin $n$ to come up heads.
$P(C_1<C_2) = ?$
The most straightforward approach is to sum a series. Instead, we will condition on the results of the first toss. Let $a$ be the probability Coin 1 lands head, and let $b$ be the probability Coin 2 lands head. Let $x$ be the probability Coin 1 lands head before Coin 2 does.
If on the first toss Coin 1 lands heads, and Coin 2 does not, then Player $1$ has won. This has probability $a(1-b)$.
Player 1 can also win if both coins land tail on the first toss, but Player 1 still ultimately wins. The conditional probability Player 1 ultimately wins given both got tails on the first toss is $x$. Thus, by the Law of Total Probability, $$x=a(1-b)+(1-a)(1-b)x.$$ Solve for $x$.