Let's derivate #1

Calculus Level 3

If 2x + y = 7; What is the maximum value of xy?


The answer is 6.125.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Department 8
Oct 1, 2015

Using AM-GM

2 x + y 2 2 x y ( 7 2 ) 2 2 x y 49 8 x y \large{2x+y\ge 2\sqrt { 2xy } \\ { \left( \frac { 7 }{ 2 } \right) }^{ 2 }\ge 2xy\\ \frac { 49 }{ 8 } \ge xy}

Maximum Value of x y xy is 6.125 6.125 .

Exactly Same Way.

Kushagra Sahni - 5 years, 8 months ago

2x + y = 7 ---> y= 7 - 2x . We are looking for a maximum for f(x)=x(7-2x)= 7x - 2(x^2) ; f '(x)=7 - 4x = 0 if and only if x=7/4. f ''(x)=f '' (7/4)= -4<0 for every x in R. This implies that f(x) has a relative maximum for x=7/4. The graph of f(x)=7x - 2x^2 is a parabola, then this implies that the relative maximum is an absolute maximum. Then f(7/4)= 49 /8 is the maximum of xy

This can be done easily by AM-GM Inequality.

Kushagra Sahni - 5 years, 8 months ago

Log in to reply

There are usually several solutions for a same problem. What is the easiest one?It depends on the person and his/her knowledges...( I think )... Please,can you post your solution with AM-GM inequality?

Guillermo Templado - 5 years, 8 months ago

Nowhere is it written that x,y are positive.

Adarsh Kumar - 5 years, 8 months ago

Log in to reply

We are looking for maximum value aren't we? If x and y both are negative then we can get a positive product but there is no such solution in negative real numbers. And if one of x and y then their product will also be negative. So this means x and y are positive real numbers and of course none of them must be zero also because then product would be zero which is not the maximum value. So we can apply AM-GM Inequality.

Kushagra Sahni - 5 years, 8 months ago

Log in to reply

@Kushagra Sahni That is why you should write that.And what if both x,y are negative then too their product would be positive.

Adarsh Kumar - 5 years, 8 months ago

Log in to reply

@Adarsh Kumar Read what I wrote carefully, if both x and y are negative of course there product is positive but do you think there is a solution of this equation in negative real numbers?

Kushagra Sahni - 5 years, 8 months ago
Bill Bell
Oct 4, 2015

Mr Templado's approach couldn't be much easier, if you use symbolic algebra and if you note that the function to be maximised must be a concave-upward parabola ( x y xy is 0 where the line crosses the two axes).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
>>> from sympy import *
>>> var('x y')
(x, y)
>>> solve(2*x+y-7,y)
[-2*x + 7]
>>> diff(x*(-2*x + 7))
-4*x + 7
>>> solve(-4*x + 7)
[7/4]
>>> (x*(-2*x + 7)).subs(x,Rational(7,4))
49/8
>>> N(Rational(49,8))
6.12500000000000

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...