What guarantees the 'greater than' sign between r/(r+b)>(r-1)/(r-1+b)?

  • Thread starter Thread starter GreenLeaf
  • Start date Start date
  • Tags Tags
    Sign
GreenLeaf
Messages
7
Reaction score
0
Hi all,
I've been trying to figure out why this statement is true:

\frac{r}{r+b} > \frac{r-1}{r+b-1} \quad \text{for all } b>0

I can't seem to reason it out. I've plugged in a few values greater than 0 and yes, it works out. But I don't understand how I can look at this and find it true.

I'm looking at it as such:
frac{r}{r} where we minus b from the denominator.
frac{r-1}{r-1} where we minus b from the denominator as well.

The only difference is that perhaps frac{r-1}{r-1} is a smaller 1 than frac{r}{r}?

If anyone could perhaps show me a more reasonable way of looking at this, I would greatly appreciate it! :)

Thanks in advance!
 
Last edited by a moderator:
Physics news on Phys.org
It's not necessarily true. Try r=1/4, b=1/4.
 
Have you tried multiplying both sides by ##\frac{r+b}{r}##?
 
What happens when r = 1/2 and b = 1/3?
 
Hm. I see your point. The thing is - this is part of a solution to a probability problem. Here's the problem:

A drawer contains red socks and black socks. When two socks are drawn at random, the probability that both are red is 1/2. (a) How small can the number of socks in the drawer be? (b) How small if the number of black socks is even?

I got as far to this part:

Let r be the number of red socks.
Let b be the number of black socks.

So,

\frac{r}{r+b} * \frac{r-1}{r-1+b} = \frac{1}{2}

And looking at the solutions, they continued with this:

Notice that,

\frac{r}{r+b} > \frac{r-1}{r+b-1} , for b > 0

Therefore we can create the inequalities:

(\frac{r}{r+b})^2 > \frac{1}{2} > (\frac{r-1}{r+b-1})^2
\frac{r}{r+b} > \frac{1}{\sqrt{2}} > \frac{r-1}{r+b-1}

From the first inequality we get

r > \frac{1}{sqrt{2}} * (r+b)

or

r > \frac{1}{sqrt{2} - 1}*b = (sqrt{2} + 1)* b

From the second we get

(sqrt{2}+1)*b > r - 1

or all told

(sqrt{2} + 1)*b + 1 > r > (sqrt{2} + 1)*b

For b =1, r must be greater than 2.414 and less than 3.414, and so the candidate is r = 3. for r = 3, b=1, we get

P(2 red socks) = \frac{3}{4} * \frac{2}{3} = \frac{1}{2}

And so the smallest number of socks is 4.

Questions I have about the above solution:
1. Why by taking the square of the two components that I could have 1/2 being between the two components? I don't understand how they got there at all. And why did they take the square of the components in the first place? What are they trying to get to?

2. How did they get this: r > \frac{1}{sqrt{2} - 1}*b = (sqrt{2} + 1)* b from r > \frac{1}{sqrt{2}} * (r+b)?

3. I get how they got (sqrt{2} + 1)*b + 1 > r from (sqrt{2}+1)*b > r - 1, but I don't understand why they had to add the third component (sqrt{2} + 1)*b + 1 > r > (sqrt{2} + 1)*b with r > (sqrt{2} + 1)*bThanks in advance! :D
 
So, have you tried multiplying both sides by ##\frac{r+b}{r}##?
 
@DrClaude - Yea I tried multiplying both sides by \frac{r+b}{r}, and got 0 > -b, which is false. So are you saying that the solution in the book is actually incorrect?
 
GreenLeaf said:
@DrClaude - Yea I tried multiplying both sides by \frac{r+b}{r}, and got 0 > -b, which is false. So are you saying that the solution in the book is actually incorrect?
How did you get that? On the LHS, for instance:
$$
\frac{r}{r+b} \frac{r+b}{r} = 1
$$
 
@DrClaude - Yes I got 1 for the LHS, but the RHS became quite complicated. For the RHS, I got

\frac{r^2+br-r-b}{r^2+br-r}

So what do you do with that?
 
  • #10
GreenLeaf said:
@DrClaude - Yes I got 1 for the LHS, but the RHS became quite complicated. For the RHS, I got

\frac{r^2+br-r-b}{r^2+br-r}

So what do you do with that?
You have
$$
1 > \frac{r^2+br-r-b}{r^2+br-r}
$$
which should be obvious why it is true for ##r \ge 1## and ##b>0##.
 
  • #11
@DrClaude - I don't see how you got to the conclusion. How did you get there?
 
  • #12
Set ##x \equiv r^2 +br - r##. For ##r \ge 1## and ##b>0##, you have ##x > 0##. Consider
$$
1 > \frac{x - b}{x} = 1 - \frac{b}{x}
$$
for ##b>0## and ##x>0##.
 
  • #13
@DrClaude - Ok, that makes sense. So you're saying that, in the solution the statement with b > 0 is only true when r >= 1 is guaranteed?

Also - would you happen to know the answer to the 3 questions I posted as quoted below:

GreenLeaf said:
Hm. I see your point. The thing is - this is part of a solution to a probability problem. Here's the problem:

A drawer contains red socks and black socks. When two socks are drawn at random, the probability that both are red is 1/2. (a) How small can the number of socks in the drawer be? (b) How small if the number of black socks is even?

I got as far to this part:

Let r be the number of red socks.
Let b be the number of black socks.

So,

\frac{r}{r+b} * \frac{r-1}{r-1+b} = \frac{1}{2}

And looking at the solutions, they continued with this:

Notice that,

\frac{r}{r+b} > \frac{r-1}{r+b-1} , for b > 0

Therefore we can create the inequalities:

(\frac{r}{r+b})^2 > \frac{1}{2} > (\frac{r-1}{r+b-1})^2
\frac{r}{r+b} > \frac{1}{\sqrt{2}} > \frac{r-1}{r+b-1}

From the first inequality we get

r > \frac{1}{sqrt{2}} * (r+b)

or

r > \frac{1}{sqrt{2} - 1}*b = (sqrt{2} + 1)* b

From the second we get

(sqrt{2}+1)*b > r - 1

or all told

(sqrt{2} + 1)*b + 1 > r > (sqrt{2} + 1)*b

For b =1, r must be greater than 2.414 and less than 3.414, and so the candidate is r = 3. for r = 3, b=1, we get

P(2 red socks) = \frac{3}{4} * \frac{2}{3} = \frac{1}{2}

And so the smallest number of socks is 4.

Questions I have about the above solution:
1. Why by taking the square of the two components that I could have 1/2 being between the two components? I don't understand how they got there at all. And why did they take the square of the components in the first place? What are they trying to get to?

2. How did they get this: r > \frac{1}{sqrt{2} - 1}*b = (sqrt{2} + 1)* b from r > \frac{1}{sqrt{2}} * (r+b)?

3. I get how they got (sqrt{2} + 1)*b + 1 > r from (sqrt{2}+1)*b > r - 1, but I don't understand why they had to add the third component (sqrt{2} + 1)*b + 1 > r > (sqrt{2} + 1)*b with r > (sqrt{2} + 1)*b


Thanks in advance! :D
 
  • #14
GreenLeaf said:
1. Why by taking the square of the two components that I could have 1/2 being between the two components? I don't understand how they got there at all. And why did they take the square of the components in the first place? What are they trying to get to?
You have
$$
x \times y = \frac{1}{2}
$$
Knowing that ##x > y##, you can replace ##y## by ##x## and write
$$
x^2 > \frac{1}{2}
$$
or replace ##x## by ##y## and get
$$
y^2 < \frac{1}{2}
$$
You then combine both inequalities into one.

GreenLeaf said:
2. How did they get this: r &gt; \frac{1}{\sqrt{2} - 1}*b = (\sqrt{2} + 1)* b from r &gt; \frac{1}{\sqrt{2}} * (r+b)?
This is just basic algebra. Start by collecting all the terms in ##r## on the LHS.

GreenLeaf said:
3. I get how they got (\sqrt{2} + 1)*b + 1 &gt; r from (\sqrt{2}+1)*b &gt; r - 1, but I don't understand why they had to add the third component (\sqrt{2} + 1)*b + 1 &gt; r &gt; (\sqrt{2} + 1)*b with r &gt; (\sqrt{2} + 1)*b
You have two inequalities concerning ##r## which you can combine to put both an upper and a lower bound on its value.
 
  • #15
GreenLeaf said:
@DrClaude - Ok, that makes sense. So you're saying that, in the solution the statement with b > 0 is only true when r >= 1 is guaranteed?
As others have shown, the inequality doesn't hold at least for some values where ##r < 1##. I haven't spent the time to check what is the minimum value of ##r## for which it holds, but ##r \ge 1## is guaranteed to work. As you are dealing with a number of socks, i.e., ##r \in \mathbb{N} ##, this is good enough!
 
  • #16
@DrClaude - Thank you for such an elaborate explanation and to have done it so promptly as well! This forum is amazing!
 
Back
Top