Maximize Value: Solving for Largest Possible Value Using Factoring Method

If I use y=x, the original expression reduces ##\sqrt{(140-x)(20-x)}##, can I use Calculus to find its maximum...?In summary, the problem is to find the largest possible value of √[(x-20)(y-x)]+√[(140-y)(20-x)]+√[(x-y)(y-140)] subject to the constraints -40≤x≤100 and -20≤y≤200. After some algebraic manipulation and application of the Arithmetic Mean ≥ Geometric Mean inequality, it is found that the maximum value of each term occurs when y=x. However, further analysis shows that this leads to complex roots, so the only
  • #1
Saitama
4,243
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
  • #2
hi

I f we take cases for inequality between x and y ,none of them satisfy.
 
  • #3
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?
 
  • #4
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
 
  • #5
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?
 
  • #6
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.
 
  • #7
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?
 
  • #8
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 ?
 
  • #9
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. :-)
 

Related to Maximize Value: Solving for Largest Possible Value Using Factoring Method

1. What is the factoring method?

The factoring method is a mathematical technique used to find the factors of a given number. It involves breaking down a number into its smaller factors, which are numbers that can be multiplied together to get the original number.

2. How does the factoring method help in maximizing value?

The factoring method can help in maximizing value by finding the largest possible value of a given expression. By factoring the expression, we can identify and cancel out common factors, leaving us with the largest possible value.

3. Can the factoring method be used for any type of expression?

Yes, the factoring method can be used for any type of expression, including polynomials, quadratic equations, and even more complex expressions. However, the process may vary depending on the type of expression.

4. Are there any limitations to using the factoring method?

Yes, there are some limitations to using the factoring method. The method may not work for all expressions, especially those with non-integer coefficients or complex numbers. In such cases, other methods such as the quadratic formula may be more suitable.

5. Can the factoring method be used to find the minimum value as well?

No, the factoring method is specifically used to find the largest possible value. To find the minimum value, other methods such as differentiation or completing the square may be more appropriate.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
2
Replies
40
Views
4K
  • Calculus and Beyond Homework Help
Replies
2
Views
602
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
Back
Top