Find the max value of xy (done in a weird way)

  • Thread starter Thread starter Andrax
  • Start date Start date
  • Tags Tags
    Max Value Weird
Click For Summary

Homework Help Overview

The problem involves finding the maximum value of the product xy under the constraint 4x + y = 2. The original poster expresses uncertainty about their understanding of functions with two variables and mentions a method they used, which they believe is correct, despite not having been formally taught the topic yet.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • The original poster attempts to substitute values into a function they defined, questioning the validity of their approach. Other participants seek clarification on the steps taken and the reasoning behind the substitutions made.

Discussion Status

The discussion is ongoing, with participants exploring the original poster's method and questioning its validity. Some participants express skepticism about the correctness of the approach, while others seek to understand the reasoning behind the steps taken.

Contextual Notes

Participants note that the original poster has not yet studied functions with two variables, which may contribute to the confusion. There is also mention of the use of derivatives as a standard method for solving the problem, contrasting with the original poster's approach.

Andrax
Messages
117
Reaction score
0
find the max value of xy (done in a "weird" way)

Homework Statement


so our teacher assigned this homework in the last 10 minutes
we haven't read the function with 2 variables and I've never seen/used one
(things were just getting in my head since it's only 10 mins i don't know if I'm making a mistake)
suppose that x and y satisfie 4x+y=2
find the maximum value of xy
so this is done with deriviatives but i was thinking in using another way and it turned to be right , what I'm asking here is explaining why my method was right, anyway the answer is (1/4 , 1) this is how I've done it
f(x)=4x+y-2 must be eqUAL TO 0
f(xy)=4xy+y-2 this must be equal to 0( assumed that y is not changing i don't know )
anyway this leads to x=2-y/4y
replacing in 4x+y=2 we get y= 1 then x=1/4
now our teacher used derviatives to solve this
y=2-4x
xy=2x-4x^2 etc and he gets the exact same answer as me , i don't think this is a coincidence so please explain to me why this is right , when i asked him he mentioned two variable functions..
thanks everyone :)
 
Last edited by a moderator:
Physics news on Phys.org
Andrax said:

Homework Statement


so our teacher assigned this homework in the last 10 minutes
we haven't read the function with 2 variables and I've never seen/used one
(things were just getting in my head since it's only 10 mins i don't know if I'm making a mistake)
suppose that x and y satisfie 4x+y=2
find the maximum value of xy
so this is done with deriviatives but i was thinking in using another way and it turned to be right , what I'm asking here is explaining why my method was right, anyway the answer is (1/4 , 1) this is how I've done it
f(x)=4x+y-2 must be eqUAL TO 0
f(xy)=4xy+y-2 this must be equal to 0( assumed that y is not changing i don't know )
Where did 4xy + y - 2 come from? In particular, the 4xy part.

Edit: Now I see what you did, which was to substitute xy for x in the function definition. Even so, I'm not sure that what you did after that makes sense.
Andrax said:
anyway this leads to x=2-y/4y
What you wrote is x = 2 - (y/4 * y). Is that what you meant? Or did you mean x = (2 - y)/(4y)?
Andrax said:
replacing in 4x+y=2 we get y= 1 then x=1/4
now our teacher used derviatives to solve this
y=2-4x
xy=2x-4x^2 etc and he gets the exact same answer as me , i don't think this is a coincidence so please explain to me why this is right , when i asked him he mentioned two variable functions..
thanks everyone :)
 
Last edited:
Yes it doesn't look logical anyway thanks
 
Andrax said:

Homework Statement


so our teacher assigned this homework in the last 10 minutes
we haven't read the function with 2 variables and I've never seen/used one
(things were just getting in my head since it's only 10 mins i don't know if I'm making a mistake)
suppose that x and y satisfie 4x+y=2
find the maximum value of xy
so this is done with deriviatives but i was thinking in using another way and it turned to be right , what I'm asking here is explaining why my method was right, anyway the answer is (1/4 , 1) this is how I've done it
f(x)=4x+y-2 must be eqUAL TO 0
f(xy)=4xy+y-2 this must be equal to 0( assumed that y is not changing i don't know )
This is incorrect. Because 4x+ y- 2= 0 for all x and y, if x changes, y must also change. In particular, you cannot write "f(x)= 4x+ y- 2" because f depends upon values of both x and y.

anyway this leads to x=2-y/4y
replacing in 4x+y=2 we get y= 1 then x=1/4
now our teacher used derviatives to solve this
y=2-4x
xy=2x-4x^2 etc and he gets the exact same answer as me , i don't think this is a coincidence so please explain to me why this is right , when i asked him he mentioned two variable functions..
thanks everyone :)
Looks to me like shear coincidence. Your "method" is NOT valid.
 

Similar threads

  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
2
Views
1K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K