
#1
May1513, 06:29 PM

P: 335

1. The problem statement, all variables and given/known data
The game of Risk follows these rules: (skip if you are already familiar with Risk and the casting of the dice)  Rules of Risk: a) An attacker attacks, and a defender defends. The attacker can attack with any number of pieces less than or equal to how many he has, and a defender defends with all the pieces he has. b) When the attacker attacks, he rolls with 1 die (if he is attacking with 1 piece), 2 dice (if he is attacking with 2 pieces) or 3 dice (if he is attacking with 3 pieces or more). When the defender defends, he rolls with 1 die (if he has one piece) or 2 dice (if he has 2 or more pieces). The roll of the attacker, and the roll of the defender, are independent of one another, i.e. they essentially occur simultaneously. c) Of the rolls of the attacker's die/dice, align them in order from highest roll to lowest roll. e.g. {2,5,5} should be aligned {5,5,2}. Of the rolls of the defender's die/dice, align them in order from highest roll to lowest roll. e.g. {5,1}. Now compare the attacker's first, highest score to the defender's first, highest score: if the attacker's is higher, the defender loses a piece; if the defender's is higher or the same as the attacker's, the attacker loses a piece. Then compare the attacker's second score to the defender's scond score: if the attacker's is higher, the defender loses a piece; if the defender's is higher or the same as the attacker's, the attacker loses a piece. In my example, 5v5 so the defender wins the first, but 2v1 so the attacker wins the second, and the net result is that each side loses 1 piece. Note that, the defender having 2 dice total maximum, the attacker can only lose a maximum of 2 pieces per turn, and same for the defender. d) The next turn, the defender proceeds with his new number of pieces, and the attacker with his new number of pieces, and the same thing happens again. This continues until one side runs out of pieces.  What is: a) the probability of an attacker winning on a given turn where a Attackers and 1 Defender are present [teacher later added the adendum that you may consider cases where a=1, a=2 and a≥3 separately], b) the probability of an attacker winning overall when a Attackers battle 1 Defender [same adendum as a)] c) the probability of an attacker winning on a given turn where a Attackers and 2 Defenders are present [same adendum], d) the probability of an attacker winning on a given turn where a Attackers and 2 Defenders are present [same adendum], 2. Relevant equations No clue. Obviously the probability of a single roll on either part is (1/6). 3. The attempt at a solution My teacher likes to set general problems, which suggests it would be foolish to try and tackle a case as general as d Defenders all at once, when the problem says 1 and 2 defenders. a) seems ok for a=1, as it'll just be (18+6)/36=2/3. That's just about the only case I can handle here. 



#2
May1513, 08:08 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
PF Gold
P: 11,001

(a) asks for the case of a attackers  so your probability should be a relation with an "a" in it.
If the number of defenders is 1  then the attacker gets a tries to defeat a single die roll, at least one of which needs to be higher than the defender's. (b) maybe look at a tree  turn 1 probability of win/loss ... follow the branches for turn two etc. It can help to consider the converse: i.e. (a,d)=(3,1) there is only one way the attacker loses overall right? If d=1, and a=n, then how many times must the attacker lose a turn in order to lose over all. Note: when I played Risk, the attack had to stop when there was one piece left since there needs to be one piece to occupy the defeated territory. 



#3
May1513, 11:35 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161





#4
May1613, 04:18 AM

P: 335

Probability Question 



#5
May1613, 04:25 AM

P: 335

This guess was poor. I just tried it by mapping out the possibilities, and it turns out that (out of 36) the attacker has 5+4+3+2+1=15 ways of winning, so P(A wins turn, 1v1)=15/36=5/12. The defender has 6+5+4+3+2+1=21 ways of winning so P(D wins turn, 1v1)=21/36. How to come up with estimates for 2v1, ≥3v1? 



#6
May1613, 05:31 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161





#7
May1713, 12:35 PM

P: 335

Part A: P(k Attacking Dice vs 1 Defending Die, Attackers win turn)=1(1/6)*Ʃ(from r=0 to r=6)[(r/6)^k] Part B: P(a Attackers vs 1 Defender, Attackers win overall)=(1/6)*Ʃ(from r=0 to r=6)[(r/6)] for a=1 P(a Attackers vs 1 Defender, Attackers win overall)=1((1/6)*Ʃ(from r=0 to r=6)[(r/6)^3])^{a2}*((1/6)*Ʃ(from r=0 to r=6)[(r/6)^2])*((1/6)*Ʃ(from r=0 to r=6)[(r/6)]) for a≥2 There might be a more comprehensive way of doing it for Part B, using sigma, which covers both possibilities in one, which may be necessary when we move on to later parts. If so please correct me. Next, part c). How do I model the two defender scenario? 



#8
May1713, 05:09 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161





#9
May1813, 04:47 AM

P: 335

We seek P(Defender Wins Overall). The probability the defender wins 1 turn where the attacker has k=3 is (1/6)*Ʃ(from r=0 to r=6)[(r/6)^3]; let this be p_{3}. The probability the defender wins 1 turn where the attacker has k=2 is (1/6)*Ʃ(from r=0 to r=6)[(r/6)^2]; let this be p_{2}. The probability the defender wins 1 turn where the attacker has k=1 is (1/6)*Ʃ(from r=0 to r=6)[(r/6)]; let this be p_{1}. Now imagine that the attacker has a high number of pieces, a, with which to attack. For the defender to win overall, he must win every turn until k=a=2 (which will be a2 turns), and then one turn where k=2, then one turn where k=1. So P(Defender Wins Overall)=p_{3}^{a2}*p_{2}*p_{1}. Thus P(Attacker Wins Overall)=1p_{3}^{a2}*p_{2}*p_{1} If a more rigorous way of doing this occurs to you I would love to hear because it might be necessary for the twodice solution (but keep in mind that k is capped at 3, so for all a≥3, k=3, k cannot go higher). 



#10
May1813, 07:22 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161

E.g. for a country with one defender and a sufficiently large attacking force you get the probability that defender survives one round is about 1/3, so if E is the expected loss for the attacker in taking the country we get E = (1+E)/3, so E = 0.5. 



#11
May1913, 12:09 AM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161

I wrote a spreadsheet with a 36x36 array for each of the cases two off attacker, two off defender, for the 3 dice against 2 scenario. It gives me:
2 off attacker: 0.29 2 off defender: 0.37 1 off each: 0.34 So at each roll, expected losses are 0.46 and 0.54. With A attacking D, A >> D >> 1, expected losses for attacker are (46/54) * D, or about 85% * D. 



#12
May1913, 08:11 AM

P: 335

c) the probability of an attacker winning on a given turn where a attacking dice and 2 Defenders are present [cases are a=1, a=2, a=3], d) the probability of an attacker winning overall when a Attackers and d Defenders engage over many turns [cases are a=1, a=2, a≥3], It would be lovely to be able to find the probability of the attacker suffering k losses in a scenario such as that in d). From this we could find the expected value of k. But that would be an extension problem. OK, so I'm to count the number of events in which each outcome (Attacker wins 2, Defender wins 2, Each win 1) occur and that gives me the probability of each of these happening for a given time. Can you give me the results in terms of fractions for each of the 6 cases then (the 3 outcomes mentioned above, for 3v2, and for 2v2)? Or explain if there's some easier way of writing this than going down a 216x36 Excel spreadsheet (7,776 cells!) and filling in A2, D2, AD, then doing the same on a 36x36? That would take care of part c), leaving only part d). 



#13
May1913, 07:37 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161

I reduced it to a 21x21 array. I attach the spreadsheet for the twooffattacker case.
(I use OpenOffice, which allows me to save the file as .xls but not as .xlsx. The PF upload doesn't accept .xls, so I renamed it from .xls to .xlsx. This seems to work, but if you have a problem download it and rename back to .xls.) The first two columns give the top two of the attacker's throw, the first two rows are the defenders throw. The third column counts the ways in which the attacker's two best dice can arise. The body of the array counts the ways in which it can mean two off the attacker. To get two off defender, copy the sheet and change the logic of the cells in the body of the array. 



#14
May2113, 10:09 AM

P: 335

Now, let me define the probabilities in an abstract way so I can calculate them all at the end. The probability of 3 attacking dice versus 2 defending dice resulting in the attacker winning both for a turn is given by P(3A:2D, Aw2); 3 attacking dice versus 2 defending dice resulting in the defender winning both for that turn is P(3A:2D, Dw2); 2 attacking dice versus 2 defending dice resulting in one loss each is P(2A:2D, AD1). I hope this notation is clear. What, then, are the recursive relations we need to solve part d)? The issue is that 3 outcomes seem possible per turn (2 for some turns, but 3 for most turns) and obviously having factor3 branching will produce good results. 



#15
May2113, 04:37 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161

Let A(x, y; z) be prob of an attacking army of x against y being reduced to z. For x >= 4 and y >= 2: A(x, y; z) = P(3, 2; 2, 0)*A(x2, y; z) + P(3, 2; 1, 1)*(x1, y1; z) + etc. with boundary conditions like A(1, y; 1) = 1. 



#16
May2413, 04:17 PM

P: 335





#17
May2413, 05:35 PM

Homework
Sci Advisor
HW Helper
Thanks ∞
P: 9,161

Two off attacker: 2275/6^{5}; two off defender: 2890/6^{5}.




#18
May2513, 06:17 AM

P: 335

Can I check some figures for the 2 attackers vs 2 defenders scenario? Two off attacker: 581/6^{4} Two off defender: 295/6^{4} One off attacker, one off defender: 420/6^{4} And do you have the fractional probabilities for the 1 attacker vs 2 defenders scenario? 


Register to reply 
Related Discussions  
Probability question ,Random variables and probability distribution  Calculus & Beyond Homework  2  
Probability Question. Find the probability that F_{X}(x) will be less than 1, etc  Calculus & Beyond Homework  2  
Probability question; Conditional probability and poisson distribution  Precalculus Mathematics Homework  1  
Probability Question About "The Poisson Probability Distribution"  Calculus & Beyond Homework  15  
[probability theory] simple question about conditional probability  Precalculus Mathematics Homework  1 