d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > Homework Help > Few Math Problems Involving Poker / Deck Of Cards > Texas Holdem (worth Ur Time To Learn)
12Next
Add Reply New Topic New Poll
Member
Posts: 1,396
Joined: Jun 16 2012
Gold: 6,194.04
Oct 26 2013 04:52pm
2 hands of Texas Holdem all in preflop,

1st scenario: u know both hands and you pick the one that will win after all 5 community cards are dealt.
What is ur percentage of winning ?
2nd scenario: you know your hand only, and u pick if your hand will lose or win vs ur opponents unknown hand.
What is ur percentage of winning?

Anyone who can solve this plz pm me. Will discuss reasonable payment with you.
Member
Posts: 15,293
Joined: Jul 9 2012
Gold: 3,000.00
Oct 26 2013 04:59pm
This isn't homework if it relates to a gambling game..

ex I have no idea what a community card is.
First scenario: if you know both hands and you pick the one that will win, is your percentage of winning not 100%?
basing this off logic since that's what I interpret from the sentence

2nd scenario: i don't know what you're saying

Member
Posts: 38,770
Joined: Sep 14 2005
Gold: 12,839.39
Oct 26 2013 05:02pm
I think from #1 he picks the hand that is better out of the two. the problem is though, the percentage of winning will change every time depending on what the two hands are.

same goes for the second scenario.

/e im sure there are programs out there that can tell you this info while you are playing poker.

This post was edited by cialda on Oct 26 2013 05:02pm
Member
Posts: 4,481
Joined: Aug 25 2013
Gold: 4.05
Oct 26 2013 06:22pm
2nd scenario:

[22+, A2s+, A2o+, K2s+, K2o+, Q2s+, Q5o+, J6s+, J8o+, T7s+, T9o, 98s] each >50% equity vs. random
[22+, A2s+, A2o+, K2s+, K2o+, Q2s+, Q5o+, J6s+, J8o+, T7s+, T9o, 98s] collectively 58.130% equity vs. random

1326 total Holdem starting hand combinations

winning hands
combinations
22+ = 6*13 = 78
A2s+ = 4*12 = 48
A2o+ = 12*12 = 144
K2s+ = 4*11 = 44
K2o+ = 12*11 = 132
Q2s+ = 4*10 = 40
Q5o+ = 12*7 = 84
J6s+ = 4*10 = 40
J8o+ = 12*3 = 26
T7s+ 4*3 = 12
T9o = 12
98s = 4

sum = 664

losing hands

the rest each <50% equity vs. random
the rest collectively 46.081% vs. random

Q4o = 12
Q3o = 12
Q2o = 12
J5s = 4
J4s = 4
J3s = 4
J2s = 4
J7o = 12
J6o = 12
J5o = 12
J4o = 12
J3o = 12
J2o = 12
T6s = 4
T5s = 4
T4s = 4
T3s = 4
T2s = 4
T8o = 12
T7o = 12
T6o = 12
T5o = 12
T4o = 12
T3o = 12
T2o = 12
87s = 4
76s = 4
65s = 4
54s = 4
43s = 4
32s = 4

sum = 662

We pick that we will win when we hold one of the "winning hands". We will get such a hand 664/1326 times, or 50.08% of the time. When we have a "winning hand" on average we have 58.13% equity.

We pick that we will lose when we hold one of the "losing hands". We will get such a hand 662/1326 times, or 49.92% of the time. When we have a "losing hand" on average we have 46.081% equity, which is the equivalent of having 53.919% equity in the bet.

Chance we have winning hand * equity + Chance we have losing hand * equity = total equity (chance of winning)

.5008*58.13 + .4992*53.919 = 56.028% chance to win

Chance to win = 56.028%
Edge = 56.028:43.972 = 1.274:1
ROI = 12.056%

This post was edited by katharsis on Oct 26 2013 06:22pm
Member
Posts: 4,481
Joined: Aug 25 2013
Gold: 4.05
Oct 26 2013 06:30pm
In the 1st scenario you need to compile a database of every combinational match-up; that is, every possible combination vs. all other possible remaining combinations, then take the average of the equities of the stronger hands. There would be more than a million values.

That would be your chance of winning.
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Oct 26 2013 07:43pm
Quote
1st scenario: u know both hands and you pick the one that will win after all 5 community cards are dealt.
What is ur percentage of winning ?


i dont get it. if you pick the one that will win, aren't your odds of winning 100%?
Member
Posts: 15,275
Joined: Sep 30 2009
Gold: 1,790.00
Oct 26 2013 07:48pm
i think the first case scenario needs to be worded better.
maybe something along the lines of:

You know both pre-flop hands (both players get 2 cards before the flop) and you pick the one that will win after the 5 community cards are dealt (giving each hand to choose the best 5 cards out of a possible 7).
What is your percentage f choosing the winning hand?
Member
Posts: 10,812
Joined: Oct 15 2009
Gold: Locked
Warn: 20%
Oct 26 2013 10:04pm
Quote (TritonV8 @ Oct 26 2013 06:48pm)
i think the first case scenario needs to be worded better.
maybe something along the lines of:

You know both pre-flop hands (both players get 2 cards before the flop) and you pick the one that will win after the 5 community cards are dealt (giving each hand to choose the best 5 cards out of a possible 7).
What is your percentage f choosing the winning hand?


this^^

also don't forget there will be tie hands.
Member
Posts: 16,431
Joined: Jan 27 2006
Gold: 6.66
Oct 27 2013 10:30am
shit wrote this in java 4 years ago...

and... it's on a laptop which is being used by a hermit lady in china

idea here is to create a data set of all possible 7,6,5,4,3 and 2 card outcomes, using the 7 card outcomes to calculate the 6 card outcomes with probability and so on

then basically assign a score to each outcome, and compare hands using scores. if against unknown hand, just find the total number of hands you beat vs all sorting hands minus the sample space you have reduced with your hand

If its just for a small number of calculations, then it may be better to use a recursive function which simulates dealing every possible hand combination and keep track of which hand wins over another. you can see now then that the execution time vs an unknown hand or against 1 card revealed will be long in this case

Member
Posts: 1,396
Joined: Jun 16 2012
Gold: 6,194.04
Oct 28 2013 10:44am
bump, still iso answer for first one
Go Back To Homework Help Topic List
12Next
Add Reply New Topic New Poll