Max/Min in Calc III- Confused about relation between equations logic?

Click For Summary
SUMMARY

The discussion focuses on finding local maxima and minima for the function f(x,y) = xy² - yx² + xy. The critical points identified are (1,0), (0,-1), and (1/3,-1/3). The user expresses confusion regarding the relationship between the first derivatives fx and fy, particularly in how to derive critical points from these equations. The logic behind substituting values into the equations and the implications of factoring out variables are clarified through a breakdown of cases based on the equations derived from the derivatives.

PREREQUISITES
  • Understanding of partial derivatives in multivariable calculus
  • Familiarity with critical points and their significance in optimization
  • Knowledge of factoring polynomials and solving equations
  • Ability to interpret and manipulate algebraic expressions
NEXT STEPS
  • Study the method of Lagrange multipliers for constrained optimization
  • Learn about the second derivative test for functions of two variables
  • Explore graphical representations of multivariable functions to enhance visualization
  • Investigate the implications of critical points in real-world applications
USEFUL FOR

Students in multivariable calculus, educators teaching optimization techniques, and anyone seeking to deepen their understanding of critical points in functions of two variables.

giacomh
Messages
36
Reaction score
0
So, I technically got this problem correct (our professor gave us the answers but not the total solution). My question is more of a logic one- an answer that I'll need to apply this concept to problems on the exam. I included it at the bottom of the post, after I explained the problem


Find local max and min of f(x,y)=xy2-yx2+xy

Homework Equations



fx=y2-2yx+y fy=2xy-x2+x
fxx=-2y fxy=2y-2x+1 fyy=2x

The Attempt at a Solution



y2-2yx+y=0
y(y-2x+1)=0
y=0 OR y-2x+1=0

2xy-x2+x
x(2y-x+1)=0
x=0 OR 2y-x+1=0

Plug y=0 into 2y-x+1=0
x=1

Plug x=0 into y-2x+1=0
y=-1

Therefore, -y=x. Plug this into y-2x+1=0

y-2(-y)+1=0
y+2y+1=0
y=-1/3 x=1/3

Critical Points:
(1,0)
(0,1)
(1/3,-1/3)

**(I know how to solve for min and max from here, I don't need to type it out)


My question:
I don't understand the relationship between the fy and fx derivatives. For instance, I understand why x=0 OR 2y-x+1=0 (from fx), but I don't understand why you would assume that plugging y=0 into 2y-x+1=0 is correct? Why does 2y-x+1=0 when y=0? Rather, why does plugging y=0 into 2y-x+1=0 give you a point on the graph, when 2y-x+1 isn't the derivative itself, only only part of the factored equation? Why don't you take into account the y factored out of (2y-x+1), since you can't factor out a zero (because you're assuming y=0). If x=0 and y=0 are both solutions, why isn't (0,0) a critical point?

Furthermore, I understand the algebra behind plugging -y=x into y-2x+1=0 to get -1/3 and 1/3, but I would never think to do that. How do you know there is a third answer, when you already found 2 answers from the factored y-2x+1=0 (or 2y-x+1=0).

Its just hard for me to visualize what's going on!
 
Physics news on Phys.org
giacomh said:
So, I technically got this problem correct (our professor gave us the answers but not the total solution). My question is more of a logic one- an answer that I'll need to apply this concept to problems on the exam. I included it at the bottom of the post, after I explained the problem


Find local max and min of f(x,y)=xy2-yx2+xy

Homework Equations



fx=y2-2yx+y fy=2xy-x2+x
fxx=-2y fxy=2y-2x+1 fyy=2x

The Attempt at a Solution



y2-2yx+y=0
y(y-2x+1)=0
y=0 OR y-2x+1=0

2xy-x2+x
x(2y-x+1)=0
x=0 OR 2y-x+1=0

Plug y=0 into 2y-x+1=0
x=1

Plug x=0 into y-2x+1=0
y=-1

Therefore, -y=x. Plug this into y-2x+1=0

y-2(-y)+1=0
y+2y+1=0
y=-1/3 x=1/3

Critical Points:
(1,0)
(0,1)
(1/3,-1/3)

**(I know how to solve for min and max from here, I don't need to type it out)


My question:
I don't understand the relationship between the fy and fx derivatives. For instance, I understand why x=0 OR 2y-x+1=0 (from fx), but I don't understand why you would assume that plugging y=0 into 2y-x+1=0 is correct? Why does 2y-x+1=0 when y=0? Rather, why does plugging y=0 into 2y-x+1=0 give you a point on the graph, when 2y-x+1 isn't the derivative itself, only only part of the factored equation? Why don't you take into account the y factored out of (2y-x+1), since you can't factor out a zero (because you're assuming y=0). If x=0 and y=0 are both solutions, why isn't (0,0) a critical point?

Furthermore, I understand the algebra behind plugging -y=x into y-2x+1=0 to get -1/3 and 1/3, but I would never think to do that. How do you know there is a third answer, when you already found 2 answers from the factored y-2x+1=0 (or 2y-x+1=0).

Its just hard for me to visualize what's going on!

The conditions f_x = 0 and f_y = 0 give you two equations:
y^2-2yx+y = 0 (1)
2xy-x^2+x = 0 (2)

Eq (1) implies y(y - 2x + 1) = 0, so we must have either
Case (a) y = 0; or Case (b) y - 2x + 1 = 0 --> y = 2x - 1.

Note: at this point we have used eq (1) fully, so now look at eq (2).

In Case (a), eq (2) gives x = x^2, so either x = 0 or x = 1; that is, we have two solutions in case (a): (x,y) = (0,0) and (x,y) = (1,0).

In Case (b) we substitute y = 2x - 1 into eq (2), to get 2x(2x-1)-x^2+x = 0 = x(4x-2-x+1), hence x = 0 or 3x=1. When x = 0 we have y = 2*0-1 = -1 and when x = 1/3 we have y = 2/3 - 1 = -1/3. Therefore, case (b) leads to solutions (x,y) = (0,-1) and (x,y) = (1/3,-1/3).

By breaking the analysis up into cases you can avoid getting mixed up or missing some possibilities.

RGV
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K