What is wrong with my approach to solve 'The hurried duellers' problem? This is the problem statement :

Duels in the town of Discretion are rarely fatal. There, each contestant comes at a random moment between 5am and 6am on the appointed day, and leaves exactly 5 minutes later, honor served, unless his opponent arrives within the time interval and then they fight. What fraction of duels lead to violence?

This was my approach :

*

*Let's say A,B are the two duellers, then the probability of A arriving first would
be the same as B arriving first, let's calculate the probability of duel happening if A
arrives first.


*Since A arrives first if He arrives in 55-60 interval, there's definitely going
to be a duel.


*If A arrives in 0-55 interval, the probability would be given by
$$\int_0^{55} \frac{5}{(60-x)} dx$$
Now let's call this above probability $p$, then the actual probability would be give by :
$$\frac{p}{2} + \frac{p}{2}$$
as half is probability of A arriving first and then same calculation with B arriving first.
But this approach doesn't give correct result.
I know this problem has been asked here :
The Hurried Duelers brainteaser
And I also know another approach to solve the problem.
But i want to understand what I'm doing wrong in my calculation.
EDIT : The answer is supposed to be approximately ~23/144,
But I get much larger value.
 A: Here is a diagram of the arrival times. The arrival times of A and B are on the $x$ and $y$ axes respectively. The square represents them both arriving between 5am and 6am. The space between the two diagonal lines (lying five minutes above and below the main diagonal, respectively) represents them arriving within 5 minutes of one another.

So what we actually want to know is, given that a point is chosen uniformly at random from the highlighted square, what is the probability that it lies between the two diagonal lines?
It's not a very difficult geometry problem. Your idea of looking at when A arrives first corresponds to restricting ourselves to the region above the main diagonal of the square. Which still, if done correctly, gives the correct probability, not half the probability.
A: You did not specify how you combine the probability for the $55$ to $60$ minute case with the probability for the $0$ to $55$ minute case, but based on your treatment of the $0$ to $55$ minute case I guess you assumed that when A arrives first, the $0$ to $55$ minute case happens $11$ out of $12$ times and the $55$ to $60$ minute case happens $1$ out of $12$ times.
Taking a loot at your calculation for the $0$ to $55$ minute case,
it appears that you (correctly!) supposed that if A arrives at $x$ minutes past 5 am,
there is a $5/(60 - x)$ probability of a duel.
Given that conclusion, and assuming that A is equally likely to arrive within any $t$-second interval of the $55$-minute period, given that A arrived first,
you would conclude that the probability of a duel in the case of A arriving first and arriving between 5 am and 5:55 am is
$$ \frac{1}{55} \int_0^{55} \frac{5}{60-x}\, \mathrm dx. $$
That's the correct probability under the "equally likely" assumption that I have shown with emphasis in the previous paragraph.
Since it's the same as your formula (apart from the factor $1/55$) I guess that's how you obtained your formula, and the factor $1/55$ was in the part of the calculations you did not tell us about. (If you don't have that factor, you get a probability greater than $12$, clearly impossible.)
Where you go wrong is when you make that assumption, because A is not equally likely to arrive within any $t$-second interval given that A arrives first.
The probability that A arrives between 5 and 5:05 am and arrives first is
$$ \frac{1}{12} \int_0^5 \frac{60-x}{60} \,\mathrm dx
 = \frac{115}{288} \approx 0.399, $$
whereas the probability that A arrives between 5:50 and 5:55 am and arrives first is
$$ \frac{1}{12} \int_0^5 \frac{60-x}{60} \,\mathrm dx
 = \frac{5}{96} \approx 0.052. $$
So in fact, given that A arrives first, the case in which A arrives between 5 and 5:05 am is much more likely than the case in which A arrives between 5:50 and 5:55 am. It is not correct to give equal weight to those two cases, but that's apparently what you did.
If you also treated the $55$ to $60$ minute case similarly, you acted as if it is much more likely for A to arrive in the last five minutes of the hour and still be the first to arrive than for A to arrive in the first five minutes and be first,
whereas actually the second case is twice as likely to occur.
You can correct the error by weighting each probability for B to arrive in time for a duel by the probability density of A being the first to arrive, given that A arrives at $x$ minutes past the hour.
But I think it's much easier not to consider the case where A arrives first separately from the case where B arrives first.
instead, consider the case where A arrives in the first five minutes
($0 \leq x \leq 5,$ probability $(x + 5)/60$ of a duel),
the case where A arrives in the last five minutes
($55 \leq x \leq 60,$ probability $(55 - x)/60$ of a duel),
and the case where A arrives between 5:05 and 5:55
($5 < x < 55,$ probability $10/60$ of a duel).
Because we're not adding any other assumptions such as "A arrived first"
in any of those cases, it's legitimate to suppose that A is equally likely to arrive in any $t$-second interval as any other $t$-second interval.
Easier still is Arthur's graphical approach (also hinted by Henry's answer to the linked question), which is equivalent but easier to compute.
Note that no matter when A arrives, there is only a $10$-minute period during which B could arrive and cause the duel to occur
(up to five minutes before A and up to five minutes after A).
Since B's arrival time is randomly (presumably uniformly) distributed between 5 am and 6 am, there is at most a $1/6$ probability for B to arrive within the necessary $10$-minute interval around A's time of arrival.
(Less than $1/6$ if A arrived before 5:05 or after 5:55).
Even if you did not have access to an answer key, you should still check any calculations against that upper bound.
