Algebra/Probability Two distinct integers, x and y, are randomly chosen from the set {1, 2, 3, 4, 5, 6, 7, 8, 9 ,10}. What is the probability that xy-x-y is even?
I think splitting this up into some cases will help. Case 1: Suppose x and y are even. Then \(xy-x-y\) is also even, since (even\(\times\)even=even) and subtracting evens from an even gives an even. Case 2: Suppose x and y are odd. Then \(xy-x-y\) is even, since (odd\(\times\)odd=even) and subtracting an odd twice gives an even. Case 3: Suppose x is even and y is odd. Then \(xy-x-y\) is even, since (odd\(\times\)even=odd). Subtracting an odd gives an even, then subtracting an even gives another even. Looks like \(xy-x-y\) is even no matter what you pick for \(x\) and \(y\).
But the probability is not 1
I tried it, and it told me it was wrong.
Maybe the accepted answer is 100%?
xy-x-y+1 should be odd (x-1)(y-1) should be odd
I don't understand how that works into the problem
both x and y must be odd, right ?
@hartnn is saying that the difference between an even and an odd number (consecutive numbers) is 1. Add one to \(xy-x-y\) and you have \(xy-x-y+1\), which is odd. Which means \(xy-x-y\) is even. I'm not misinterpreting am I?
thats correct. you are not misintrepreting
Ah, I see
so only one case, both x and y must be odd, the probability of which is ?
@wgary, hartnn's right, I made a mistake with my second case. (odd\(\times\)odd=odd\), not even. Subtracting two odds gives another odd. Sorry
Hmm, so does that mean the probability would be 2/3?
Wait, no, because there are uneven probabilities of each case occurring, right?
I think the probability would be\[\frac{\text{(number of pairs of odds)}}{\text{(number of possible pairs)}}\]
how u got 2/3 ?
Or equivalently \(\dfrac{5\times4}{10\times9}\)
i think it this way : choosing one odd from 10 -----> 5/10 = 1/2 AND choosing another odd from remaining nine, 4/9 total = 1/2* 4/9 = .... ?
And so I'm assuming that means the probability would be 2/9? (of getting an even number)
There are 4 cases with equal probabilities, three of which are even. even-even = even odd-odd = odd even-odd = even odd-even = even can you now figure out the probability of even?
well, i'd say don't assume, prove it like we did :)
@SithsAndGiggles already did most of the work with the four cases plus your correction. All we have to prove is that the probability of getting P(even) from {1,2,3,4,5,6,7,8,9,10} equals 5/10.
Just to make sure, (with SithsandGiggles method), it would be 5 odds, then 4 odds for the next choice, and then 10 (even or odd number) and 9 for (even or odd number)
@wgary We are choosing from the same pool of 10 numbers for both x and y. So the probability of choosing an even is the same for each of x and y.
They're not being replaced though. x and y are distinct.
I thought they were distinct numbers, so they couldn't be the same
yup, 'distinct' is the keyword, they can't be same
Oh, sorry, didn't read properly the question, my bad!
Also, I think another way to think of it would be 5c2/10c2
In that case, there will be 8 cases, the four sithsAndGiggles cases multiplied by odd first and even first. Symmetry tells me that the results are not changed.
C (5,2) = 10 C (10,2) = 45 yes, 5C2 /10C2 will work :)
I guess I goofed again. The probability of odd-odd is (5/10)*(4/9)=20/90=2/9 So P(even)=1-P(odd)=7/9.
@SithsAndGiggles As hartnn said, 5c2 = 10, and 10c2 =45
P = favorable events/ total events = choosing 2 odds from 5 / choosing 2 numbers from 10 = 5c2/10c2 :)
Right, I was thinking of C(5,1) and C(10,1)... Sorry about that
Well, thanks to everyone ;)
welcome ^_^
Join our real-time social learning platform and learn together with your friends!