MHB What Is the Maximum Value of $pq+qr+rs$ When $p+q+r+s=63$?

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Maximum Sum
AI Thread Summary
The discussion focuses on maximizing the expression \(pq + qr + rs\) under the constraint \(p + q + r + s = 63\) with \(p, q, r, s\) as positive integers. Participants highlight the effectiveness of using geometric shapes, such as rectangles and quadrilaterals, to justify their approaches to the problem. Multiple methods are shared, with one participant providing a solution and another offering an alternative perspective that enhances understanding. The community appreciates the collaborative effort in solving the challenge. Overall, the thread emphasizes the importance of diverse problem-solving techniques in mathematics.
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
If $p,\,q,\,r,\,s$ are positive integers with sum 63, what is the maximum value of $pq+qr+rs$?
 
Mathematics news on Phys.org
Two observations:
1) To max rectangular Area for given perimeter. use square. (want squares)
2) Area increases as the square of a side. (want BIG squares)

With some trial and error, I choose
{p, q, r, s} = {1, 2, 30, 30}
for answer of 962
 
RL Brown's starting is right but he overlooked that it need not be a square. A rectangle shall do

p = 1, q = 30, r = 31 , s =1 gives 991

The discussion is informal but if we can raise p and q so that the product is the maximum we can keep r and s as low as possible which gives the value as above

edited to provide the solution

$pq + qr + rs = pq + qr + rs + sp - sp = (p+r)(q+s) - sp$

now we need to maximize $(p+r)(q+s)$ and minimise sp as s and p are in differenent expression

p+r and q + s should be as close as possible as p+r + q + s = 63

so p+ q = 32 and r+ s = 31 or viceversa and p = s = 1

so p = 1 , q = 31, r = 30, s = 1 or p =1, q = 30, r = 31, s = 1
s
 
Last edited:
RLBrown said:
Two observations:
1) To max rectangular Area for given perimeter. use square. (want squares)
2) Area increases as the square of a side. (want BIG squares)

With some trial and error, I choose
{p, q, r, s} = {1, 2, 30, 30}
for answer of 962

kaliprasad said:
RL Brown's starting is right but he overlooked that it need not be a square. A rectangle shall do

p = 1, q = 30, r = 31 , s =1 gives 991

The discussion is informal but if we can raise p and q so that the product is the maximum we can keep r and s as low as possible which gives the value as above

Thanks, RLBrown for participating in this challenge problem. Kaliprasad is right, a rectangle would make the argument more justifiable and thank you so much for giving us another insight to approach this kind of problem using the quadrilateral method.:cool:

kaliprasad said:
edited to provide the solution

$pq + qr + rs = pq + qr + rs + sp - sp = (p+r)(q+s) - sp$

now we need to maximize $(p+r)(q+s)$ and minimise sp as s and p are in differenent expression

p+r and q + s should be as close as possible as p+r + q + s = 63

so p+ q = 32 and r+ s = 31 or viceversa and p = s = 1

so p = 1 , q = 31, r = 30, s = 1 or p =1, q = 30, r = 31, s = 1

Thanks for participating, kaliprasad and your answer is correct!(Smile)

Here is another method that I want to share with the community here that I think you all will find it very illuminating:

For all real $p, \,q$, we have $(p-q)^2\ge 0$. So, $p^2+q^2\ge2pq$, hence $(p+q)^2\ge4pq$ or equivalently, $pq\le\dfrac{(p+q)^2}{4}$.

Letting $x=p+r$ and $y=q+s$ gives $(p+r)(q+s)\le\dfrac{(p+q+r+s)^2}{4}$ so $pq+qr+rs+sp\le\dfrac{63^2}{4}=992.25$.

Since $p,\,q,\,r,\,s$ are positive integers, the last inequality can be written as $pq+qr+rs+sp\le992$. Hence $pq+qr+rs\le992-sp\le991$.

It remains to show that 991 is achievable. Suppose $pq+qr+rs=991$ and $p=s=1$, then $(1+q)(1+r)=992=2^5\cdot31$. So $q=30$ and $r=31$ is a solution. Thus the maximum of $pq+qr+rs$ is 991.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

Similar threads

Back
Top