Max and Min: Problem Solved - Explanation Needed

  • Thread starter Thread starter iScience
  • Start date Start date
  • Tags Tags
    Max
Click For Summary

Homework Help Overview

The discussion revolves around a problem involving optimization in multivariable calculus, specifically focusing on finding maximum and minimum values of a function defined over a triangular region. Participants are examining the formulation of the problem and the reasoning behind the steps taken in the solution process.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants are questioning the choice of parameterization for the line segment in the problem, discussing whether it is necessary to express it in terms of x or y. There are attempts to clarify the process of expressing the function in terms of a single parameter and the implications for finding critical points. Some participants are also exploring the derivation of the function and the resulting polynomial order.

Discussion Status

The discussion is active, with participants providing insights and clarifications regarding the parameterization and the optimization process. There is acknowledgment of the complexity involved in handling the boundaries of the region and the need for careful consideration of the function's behavior along those boundaries. Some participants express understanding while others continue to seek clarification on specific points.

Contextual Notes

Participants are navigating through the constraints of the problem, including the need to optimize a function subject to a constraint defined by the line segment. There are mentions of potential mistakes in the formulation and the need to verify the expressions used in the calculations.

iScience
Messages
466
Reaction score
5
here is the problem plus the solution. I understand all the steps leading to the green box, but within the green box, first of all i don't understand why they put the line in terms of x: (y-6,y) instead of putting it in terms of y: (x,6-x), or does it not matter? and everything else in the box i don't understand why they're doing what they're doing. can someone please explain?

thanks

7QnJ2xc.png
 
Physics news on Phys.org
Hi iScience! :smile:
iScience said:
I understand all the steps leading to the green box, but within the green box, first of all i don't understand why they put the line in terms of x: (y-6,y) instead of putting it in terms of y: (x,6-x), or does it not matter?

it doesn't matter! :biggrin:

you can use any parameter (for example, you could use x-y)
and everything else in the box i don't understand why they're doing what they're doing. can someone please explain?

they're expressing f(x,y) in terms of a single parameter (along the hypotenuse), and then finding the max/mins by differentiating that and putting it equal to 0

(note that the derivative will equal zero at the same point on the hypotenuse, no matter what parameter you differentiate wrt :wink:)

f = -2(6y2 - y3)

so df/dy = -2(12y - 3y2), which is zero if y = 0 or 4
 
  • Like
Likes   Reactions: 1 person
iScience said:
here is the problem plus the solution. I understand all the steps leading to the green box, but within the green box, first of all i don't understand why they put the line in terms of x: (y-6,y) instead of putting it in terms of y: (x,6-x), or does it not matter? and everything else in the box i don't understand why they're doing what they're doing. can someone please explain?

thanks

7QnJ2xc.png

In single-variable calculus, you learned that the global max/min of a differentiable function on a closed interval had to occur at the endpoints of the interval or at critical points of the interior of the interval. You had to do calculus to identify the critical points, the end points are given to you, and then the problem was just a matter of checking all of the points of interest.

In the multivariable version, you learn that the global max/min of a differentiable function on a closed set have to occur on the boundary of the set or at critical points of the interior of the set. Considering that the endpoints of an interval constitute the boundary of that interval in the single-variable situation, this is really nothing new conceptually.

Finding the critical points of the interior involves doing similar calculus as before, however dealing with the boundary in the multivariable case is not as easy. In your problem, there are obvious "pieces" of the boundary, the three sides of the triangle, and so it makes sense to work with each piece individually. On two of the sides, the function is constant. So identifying the max/min of the function on those pieces is easy.

Identifying the max/min on the third side turns into something the looks like an optimization problem from a first semester of calculus. If you were to go back and look through the section in your first calc class that dealt with optimization, the one that had silly problems about farmers building pens for their cows, you find that most of those problems look a lot like "optimize f(x,y) subject to E(x,y)" where E(x,y) is an equation, sometimes called the constraint equation. The constraint equation was used to reduce a problem in two variables to a problem in one variable. That is exactly what is going on the green box. In this case, the constraint equation is just the equation of the line.
 
On the line L x+y=6, you can choose either x or y as independent variable. It is y in the green box, so x=6-y. There is a mistake in the writing: f(x,y) is f(6-y, y) on the line L. Otherwise it is correct.

ehild
 
Okay i think i got it now. Thanks a lot guys!
 
umm, one more thing, if I'm plugging in (6-y,y) into f, i don't get what the solutions got..

f(6-y,y)=4(6-y)y2-(6-y)2y2-(6-y)y3

=y2(6-y)(4-(6-y)-y)

=y2(6-y)(10-2y)

this is a fourth order polynomial.. how did he end up with y^3 as the highest order??..
 
Last edited:
so the solution is plugging x=(6-y) into an equation of f=-2xy2 but i don't know where this is coming from.

given in the beginning of the problem is f(x,y) function and of the second term, if we take the derivative of that WRT x then we get "-2xy2" but what about the other terms?..
 
hi iScience! :smile:
iScience said:
=y2(6-y)(4-(6-y)-y)

=y2(6-y)(10-2y)

d'oh! :rolleyes:

= y2(6-y)(-2) ! :wink:
iScience said:
so the solution is plugging x=(6-y) into an equation of f=-2xy2 but i don't know where this is coming from.

f(x,y) = xy2(4 - x - y) everywhere

on the hypotenuse, that's xy2(4 - 6) :wink:
given in the beginning of the problem is f(x,y) function and of the second term, if we take the derivative of that WRT x then we get "-2xy2" but what about the other terms?..

not following you :confused:
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K