Maximize Value: Solving for Largest Possible Value Using Factoring Method

  • Thread starter Thread starter Saitama
  • Start date Start date
  • Tags Tags
    Maximum Value
Click For Summary

Homework Help Overview

The problem involves finding the largest possible value of an expression involving square roots and variables x and y, constrained by specific inequalities. The expression is given as \sqrt{(x-20)(y-x)}+\sqrt{(140-y)(20-x)}+\sqrt{(x-y)(y-140)} with the constraints -40≤x≤100 and -20≤y≤200.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss factoring the expression and applying the Arithmetic Mean-Geometric Mean inequality to explore potential maximum values. There are attempts to analyze the implications of setting x equal to y and the resulting constraints on the variables.

Discussion Status

The discussion is ongoing, with various participants exploring different cases and implications of the inequalities. Some have suggested using calculus to find maximum values, while others have pointed out contradictions in the assumptions made about the relationships between x and y.

Contextual Notes

Participants note the importance of avoiding complex roots in the original expression and the necessity of adhering to the defined constraints for x and y. There is recognition that certain values lead to contradictions, prompting further analysis of the relationships between the variables.

Saitama
Messages
4,244
Reaction score
93

Homework Statement


Find the largest possible value of
[tex]\sqrt{(x-20)(y-x)}+\sqrt{(140-y)(20-x)}+\sqrt{(x-y)(y-140)}[/tex]
subject to ##-40≤x≤100## and ##-20≤y≤200##.

Homework Equations





The Attempt at a Solution


Factoring out ##\sqrt{(x-20)(y-x)(140-y)}## the given expression can be written as
[tex]\sqrt{(x-20)(y-x)(140-y)}\left(\frac{1}{\sqrt{140-y}}+\frac{1}{\sqrt{x-y}}+\frac{1}{\sqrt{x-20}}\right)[/tex]
From the above equation, ##x≠y##, ##x>20##, ##x>y## and ##y<140##.
Hence, ##20≤x≤100## and ##-20≤y≤100##.
But now I am stuck here. I have no clue about how should I proceed further. :(

Any help is appreciated. Thanks!
 
Physics news on Phys.org
hi

I f we take cases for inequality between x and y ,none of them satisfy.
 
jingu said:
I f we take cases for inequality between x and y ,none of them satisfy.

Not sure what you mean, can you elaborate a bit more?
 
Pranav-Arora said:
Not sure what you mean, can you elaborate a bit more?

Have you tried applying "Arithematic Mean ≥ Geometric mean" concept on each term? I can see a neat and clear approach from there.

For example : The first term :

√{(x−20)(y−x)} ≤ {(x-20)+(y-x)}/2
 
sankalpmittal said:
Have you tried applying "Arithematic Mean ≥ Geometric mean" concept on each term? I can see a neat and clear approach from there.

For example : The first term :

√{(x−20)(y−x)} ≤ {(x-20)+(y-x)}/2

How does that inequality help here? Applying that on the first term, I end up with
[tex]\sqrt{(x-20)(y-x)} \leq \frac{y-20}{2}[/tex]

How to proceed from here?
 
Pranav-Arora said:
How does that inequality help here? Applying that on the first term, I end up with
[tex]\sqrt{(x-20)(y-x)} \leq \frac{y-20}{2}[/tex]

How to proceed from here?

Do you not notice that the maximum value of the first term is (y-20)/2 ? Keep on applying this for other two remaining terms and find their maximum value also.
 
sankalpmittal said:
Do you not notice that the maximum value of the first term is (y-20)/2 ? Keep on applying this for other two remaining terms and find their maximum value also.

Okay, so you mean y=200?
 
Pranav-Arora said:
Okay, so you mean y=200?

No hurry. Leave (y-20)/2 as it is for now. Find the maximum value for other terms using A.M.≥G.M. inequality in terms of x and y. What do you get ?
 
sankalpmittal said:
No hurry. Leave (y-20)/2 as it is for now. Find the maximum value for other terms using A.M.≥G.M. inequality in terms of x and y. What do you get ?

For the second term it is ##\leq \frac{20-y-x}{2}## and for the third term it is ##\leq \frac{x-140}{2}##.
 
  • #10
Pranav-Arora said:
For the second term it is ##\leq \frac{20-y-x}{2}## and for the third term it is ##\leq \frac{x-140}{2}##.

For second term it should be (160-y-x)/2.. Now you know the maximum value for each term. Now add each term up. Obviously, adding each term will evaluate maximum possible value.
 
  • #11
sankalpmittal said:
For second term it should be (160-y-x)/2.. Now you know the maximum value for each term. Now add each term up. Obviously, adding each term will evaluate maximum possible value.

Oops, yes, it is 160.

Not sure but would you set x=100 and y=200 for the maximum value?
 
  • #12
Pranav-Arora said:
Oops, yes, it is 160.

Not sure but would you set x=100 and y=200 for the maximum value?

That is not going to work. I am getting negative value for that. Check. Again, by using several values for y and x you get negative values. Either try plugging them in original expression or modified. Even worse, 140>y and y>140, both should be possible in original expression to avoid complex roots. How in the world do you think this will be possible?

Take several ordered pairs of (x,y) and plug them in modified expression. You will get a negative values for majority.

So instead simply add the maximum values you obtained for each term using inequality. You will see that x and y automatically cancel.
 
  • #13
sankalpmittal said:
So instead simply add the maximum values you obtained for each term using inequality. You will see that x and y automatically cancel.

:rolleyes:
If I add the expressions for maximum values, it turns out to be zero. :(
 
  • #14
sankalpmittal said:
So instead simply add the maximum values you obtained for each term using inequality. You will see that x and y automatically cancel.
That is not going to work.What you say is maximum is true only for a=b,if you apply AM GM inequality on a,b.Doing so for 1st 2 expressions give x=140,y=260.

*I don't know the answer*
 
  • #15
Pranav-Arora said:
:rolleyes:
If I add the expressions for maximum values, it turns out to be zero. :(

Edit: Ok, do not add it up. Probably plug (x,y) in modified expression to seek maximum magnitude of expression.

I again post this wordings :

Even worse, 140>y and y>140, both should be possible in original expression to avoid complex roots. How in the world do you think this will be possible?

That is only possible when y=x. Also just analyze middle term in original expression.

Analyzing the original expression further, to avoid complex roots :

Case 1:

x>20
y>x => y>20

y<140
x<20

x>y
y>140

Contradictions. You get complex roots here.

Case 2:

x<20 and y<x => y<20
y>140 and x>20
y>x and y<140

Again contradictions..

To avoid contradictions, I can see that y=x is the only way.

@PCM:
That is not going to work.What you say is maximum is true only for a=b,if you apply AM GM inequality on a,b.Doing so for 1st 2 expressions give x=140,y=260.

*I don't know the answer*

y=260 is out of domain.
 
Last edited:
  • #16
(10,10)
 
  • #17
pcm said:
(10,10)

(-20,-20).. That is better. Sorry for messing this up and not analyzing the middle term carefully. :redface:

That inequality was probably hazy thing to apply here. To avoid complex roots, x=y has to be possible.

Also see my previous post.
 
Last edited:
  • #18
yes,x=y is only possible.
By graphing all lines and checking possible values for x,
i get x between -20 and 20.
And maximum is indeed for x=-20.
 
  • #19
sankalpmittal said:
(-20,-20).. That is better. Sorry for messing this up and not analyzing the middle term carefully. :redface:

That inequality was probably hazy thing to apply here. To avoid complex roots, x=y has to be possible.

Also see my previous post.

If I use y=x, the original expression reduces ##\sqrt{(140-x)(20-x)}##, can I use Calculus to find its maximum value?
 
  • #20
I got it

When we put x=y, and x=y=-20, we get the maximum value as 80.
 
  • #21
Pranav-Arora said:
If I use y=x, the original expression reduces ##\sqrt{(140-x)(20-x)}##, can I use Calculus to find its maximum value?

You get the extreme, but it is not maximum (why?)

ehild
 
  • #22
ehild said:
You get the extreme, but it is not maximum (why?)

ehild

Oh yes, it is not maximum. It was obvious once I analysed the function. Thanks to everyone for the help. :-)
 

Similar threads

  • · Replies 40 ·
2
Replies
40
Views
5K
Replies
1
Views
2K
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
13
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
22
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K