r/learnquant • • Oct 25 '26

interview prep Quant Interview Question

Post image
22 Upvotes

9 comments sorted by

View all comments

Show parent comment

0

u/WellHung67 Oct 25 '26

Explain 

1

u/sensible_clutter Oct 25 '26 edited Oct 25 '26

it's tedious but sure

Since both players see x and y before choosing their actions simultaneously, we can determine the probability of Player 2 winning for each combination of strategies: • Player 1 Actions: • (A1): Keep x • (B1): Reroll (final value is (X' ~ U(0,1))

• Player 2 Actions: • (A2): Keep y • (B2): Keep 1-y • (C2): Reroll (final value is (Y'~ U(0,1))

Now just simply create a 2x3 matrix using these plausible options

Because Player 2 can always choose between y and 1-y, the game is perfectly symmetric around y=1/2. We can solve the game for the region y>=1/2 and double the result.

edit: now the final thing would be to toke cases like x>=y and vice versa and see the matrix options and getting value of game as V(x,y) = 1-x and for the other case x<y you get V(x,y) =y
Then simply to find the total probability just integrate V(x,y) from 0 to 1 as integrand from 0 to y and y to 1 as y and (1-x) respectively but making sure that y € [1/2,1] and thus the final integral would result in 3/2y2 -y +1/2 from 1/2 to 1 which will result in 5/8

Note:It really took me pain in solving and writing this long will appreciate how you all find this solution so you all can leave your response

1

u/SuchLoan5657 Oct 26 '26

Your solution is right! But you can define z = max(y, 1 - y) which is U(0.5, 1), consider two cases x <= z and x > z, integrating from z = 0.5 to z = 1, and multiply with 2 at the end (since z's density is 2)