I Discrete Optimization Problem?

AI Thread Summary
The discussion revolves around maximizing the expression A = M! / (r_1! r_2!) under the constraints M = r_1 + r_2 and r_1 = M - 2r_2. It is established that the maximum occurs when r_2 equals half of r_1, specifically r_2 = 1/2 r_1. The participants explore how to derive this result analytically, suggesting the use of the ratio R(r) = A(r+1) / A(r) to identify when the ratio transitions from greater than one to less than one. Additionally, it is noted that the condition r_1 = M/2 is only valid for even M, while for odd M, the maximum occurs at the two nearest integers to M/2. The conversation emphasizes the analytical approach to discrete optimization problems.
iScience
Messages
466
Reaction score
5
Consider the expression:$$A = \frac{ M! }{ r_1!\ r_2! }$$

where M = r_1 + r_2,
where r_1 = (M - 2r_2)

$$A = \frac{ (r_1 + r_2)! }{ r_1!\ r_2! } \\ \ \\ \
= \frac{ ((M-2r_2) + r_2)! }{ (M-2r_2)!\ (r_2)! } \\ \ \\ \
= \frac{ (M-r_2)! }{ (M-2r_2)!\ r_2! }

$$

Then, for a given M, A maximum occurs at : r_2 = \frac{1}{2}r_1.
I know this because I can generate a table algorithmically. But I'd like to know how to arrive here analytically. Any pointers would be appreciated.
 
Mathematics news on Phys.org
Given that ##M = r_1 + r_2## and ##r_1 = (M - 2r_2)##, then if we substitute the second expression for ##M## in the first expression, we get ##M = M - r_2##, implying that ##r_2 = 0##. Then ##A ≡ 1##.
 
tnich said:
Given that ##M = r_1 + r_2## and ##r_1 = (M - 2r_2)##, then if we substitute the second expression for ##M## in the first expression, we get ##M = M - r_2##, implying that ##r_2 = 0##. Then ##A ≡ 1##.
Maybe you meant to say ##r_1 = M - r_2##
 
iScience said:
Consider the expression:$$A = \frac{ M! }{ r_1!\ r_2! }$$

where M = r_1 + r_2,
where r_1 = (M - 2r_2)

$$A = \frac{ (r_1 + r_2)! }{ r_1!\ r_2! } \\ \ \\ \
= \frac{ ((M-2r_2) + r_2)! }{ (M-2r_2)!\ (r_2)! } \\ \ \\ \
= \frac{ (M-r_2)! }{ (M-2r_2)!\ r_2! }

$$

Then, for a given M, A maximum occurs at : r_2 = \frac{1}{2}r_1.
I know this because I can generate a table algorithmically. But I'd like to know how to arrive here analytically. Any pointers would be appreciated.

For
$$ A(r) = \frac{M!}{r! (M-r)!},$$
look at the ratio
$$R(r) = \frac{A(r+1)}{A(r)}$$
and examine when ##R(r)## goes from ##R>1## to ##R < 1## as ##r## increases.

BTW: having ##r_1 = \frac{M}{2}## is possible only if ##M## is even; if ##M## is odd, the solution will be at the two neighboring integers to ##M/2.##
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top