Crossposted on Mathematics SE
I was able to solve the following problem and find the arbitrage but only after spending a long time on it and trying out different possibilites. Is there a method or technique that can help me find the arbitrage faster and in a more efficient way rather than just trying out different possibilites?
Dealers $A$ and $B$ use the following exchange rates: $$ \begin{array}{l|l|l} \text{dealer } A & \text{Buy} & \text{Sell} \\\hline \text{EUR } 1 & \text{USD } 1.018 & \text{USD } 1.0284 \\ \text{GBP } 1 & \text{USD } 1.5718 & \text{USD } 1.5944 \\ \end{array} $$
$$ \begin{array}{l|l|l} \text{dealer } B & \text{Buy} & \text{Sell} \\\hline \text{EUR } 1 & \text{GBP } 0.6354 & \text{GBP } 0.6401 \\ \text{USD } 1 & \text{GBP } 0.6309 & \text{GBP } 0.6375 \\ \end{array} $$ Find an arbitrage opportunity.
My answer:
Borrow 1 British pound (GBP)
Go to dealer B and exchange your pounds for euros (1.5623 euros)
Go to dealer A and exchange euros for dollars (1.5904)
Go to dealer B and exchange dollars to pounds (1.0034 pounds)
Return the 1 pound you borrowed and you just made 0.0034 pounds
There is an arbitrage of 0.0034 pounds.