Calculating Probability of Two Balls of Different Colors

In summary, the probability of selecting two balls of different colors from an urn containing n orange balls and n yellow balls is calculated by taking the sum of n^2 orange-yellow combos and dividing it by the total number of possible combos, which is 2n(2n-1). This simplifies to (n^2+n^2)/(2n(2n-1)) and cannot be further simplified since the variables are not the same.
  • #1
quasi426
208
0
The problem first gives conditions: given that an urn contains n orange balls and n yellow balls, and two are selected at random.

The question was to determine the probability of getting two balls of different colors.

I did (1)*(n)/(2n-1)
Where 1 represented the probability of getting either color and the other term represented getting a ball of different color.

Anyway the answer was right but the book explained it in a way that i didn't understand. They said that there are n^2 chances of getting orange and then yellow and n^2 chances of getting yellow then orange. They divided this by the total possilbe which was 2n(2n-1)

[n^2+n^2]/2n(2n-1)

Can someone explain to me why n^2 equals what it equals. Thank you.
 
Physics news on Phys.org
  • #2
There are n orange balls and anyone of them can be selected. So one can select orange_1, orange_2, ..., orange_n. Same for yellow: yellow_1, ..., yellow_n. Think of a table with n rows and n columns. Each row represents an orange ball. Each column represents a yellow ball. The number of different (orange, yellow) combos is n*n = n^2.
 
  • #3
You get 2n^2 in the numerator which is the nth multiple of 2n in the denominator. why didn't you simplify it. you can't simplify a^2 + b^2. but why not when both the variables are same. thus the answer is the same
how did you get the answer? the actual method is the one given by the book. you say as if the book has done it in a differant. i don't know what is the method you stick. probably i would be able to point out again the similarity between two.
 

FAQ: Calculating Probability of Two Balls of Different Colors

What is the formula for calculating the probability of two balls of different colors?

The formula for calculating the probability of two balls of different colors is P = (n1/N) * (n2/N-1), where P represents the probability, n1 represents the number of balls of one color, n2 represents the number of balls of a different color, and N represents the total number of balls.

How do you determine the number of balls of a specific color in a given set of balls?

To determine the number of balls of a specific color, you can either count the number of balls of that color or use a table or chart to organize the data. Alternatively, you can use a formula such as n = p * N, where n represents the number of balls of a specific color, p represents the proportion of balls of that color in the set, and N represents the total number of balls.

Can the probability of two balls of different colors be greater than 1?

No, the probability of two balls of different colors cannot be greater than 1. A probability greater than 1 would imply that the event is certain to occur, which is not possible.

How does the number of balls in a set affect the probability of two balls of different colors?

The number of balls in a set does not directly affect the probability of two balls of different colors. However, it can indirectly affect the probability if the total number of balls changes the proportion of balls of each color in the set.

Can the probability of two balls of different colors be negative?

No, the probability of two balls of different colors cannot be negative. A negative probability would imply that the event has a chance of not occurring, which is not possible.

Back
Top