document.write( "Question 1175613: If you are to pick a number from the box with numbers 1-30, what is the probability that you will pick a number that is odd or is divisible by 5? \n" ); document.write( "
Algebra.Com's Answer #801250 by math_helper(2461)![]() ![]() You can put this solution on YOUR website! there are 15 odd numbers: 1,3,5,...,29 \n" ); document.write( "there are 6 numbers divisible by 5: 5,10,15,20,25,30 \n" ); document.write( "there are 3 numbers that are both: 5,15,25 \r \n" ); document.write( "\n" ); document.write( "P(odd or number divisible by 5) = 15/30 + 6/30 - 3/30 = 18/30 = \r \n" ); document.write( "\n" ); document.write( "If you are wondering why the subtraction, the intersection needs to be subtracted once because it is included in each of the other two probabilities (i.e. it is counted twice). \n" ); document.write( "--------- \r \n" ); document.write( "\n" ); document.write( "A second way to look at it is to find independent sets, then there is no intersection and we can just add things. We have the 15 odd numbers { 1,3,5,...,29 } + even numbers divisible by 5: { 10,20,30 } which makes 18 total results of interest: 18/30 = 3/5, as above. \r \n" ); document.write( "\n" ); document.write( "The first method is more general (inclusion-exclusion principle) and is far more powerful when there are many overlapping sets.\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( " |