Jump to content

MATH HELP


Sushi

Recommended Posts

(1) g(x,y) = x + y D={(x,y):x^2 + y^2 = 1, x>=0 , y>=0}

 

 

 

 

(2) g(x,y) = x^2 + 2*y^2 - x D={(x,y): x^2 + y^2<=1 }

 

 

i must solve local maximum and local minimum :hmm

 

 

 

please write method of solution

Link to comment
Share on other sites

change the polynomials to binomials - factor out the binomials and so on hehehe

 

I finished college about 30 years ago, you will need to be able to solve this just

 

to get out of the parking lot.

Edited by JohnWayne
Link to comment
Share on other sites

You have to look for first and second partial derivations, first to determine points where it's 0, which are possible minimums/maximums and second to determine if it's minimum (positive) or maximum (negative).

In case a first derivation by x and derivation by y are both constant (1), and second derivation is 0, so I'd go look what the domain of the function is (part of a circle where both x and y are positive), then I'd sketch what I have and look what values would be on that arc endpoints and point in the middle of that arc and get the minimum/maximum values, so local minimums would be in g(1,0)=1 and g(0,1)=1 and local maximum would be g(sqrt(2)/2,sqrt(2)/2)=sqrt(2).

 

In case b first derivation by x is g'(x,y)=2x and second is g''(x,y)=2 so 0 is x coordinate of a local minimum.

First derivation by y is g'(x,y)=4y and second is g''(x,y)=4 so 0 is y coordinate of a local minimum.

For maximum I'd go again with the same way with defining local maximum, looking up the domain of the function, and I took few points on the circle g(1,0)=1, g(0,1)=2 and g(sqrt(2)/2,sqrt(2)/2)=3/2 so local maximum would be in g(0,1)=2. Note that circle this time spans through all 4 quadrants but as x and y are both squared you can check only 3 points instead of 8.

 

Explanation is a bit messed up but it's the best I could come up at 1am writing this all out of my head.

Link to comment
Share on other sites

In case b first derivation by x is g'(x,y)=2x and second is g''(x,y)=2 so 0 is x coordinate of a local minimum.

 

If i read the 2nd right it was g(x,y) = x^2 + 2y^2 - x.

This leads to a g'(x,y) = [2x - 1, 4y]

 

So your local extrema is at x = 1/2.

The rest you can see from Saizou :D

Link to comment
Share on other sites

@Saizou: The first one is, as far as I can see it, correct. I can't really proof with the first quadrant though, but I can't seem anything wrong with it. However, it's not really a mathematical proof :P

 

----

 

For the second, it's a bit more complex. You assume that the maximum value is not dependent on both x and y, that is wrong. Furthermore, you have to check all 4 quadrants, the fact that the domain is squared is not sufficient, the function is different on different parts of the quadrant. Anyway, my version:

 

g(x,y) = x^2 + 2y^2 - x

g_x(x,y) = 2x - 1, g_y(x,y) = 4y

Hence, we have a critical point at (1/2, 0). We continue to check what it is, by filling it in. g(1/2, 0) = -1/4, which is a minimum (but we only observe that later in the proof)

 

Since it has a critical point in the circle, and the functions are differentiable everywhere, we can check for only the boundaries of the domain (somehow this is not exactly valid, but valid for this case). We rewrite the domain to

x = cos t

y = sin t

with -pi < t <= pi

 

We define a function f(t) s.t.

f(t) = g(cos t, sin t) = cos^2 t + 2 sin^2 t - cos t = 1 + sin^2 t - cos t

 

We evaluate f'(t) s.t.

f'(t) = 2 sin t cos t + sin t = sin t ( 1 + 2 cos t )

 

The critical points are where f'(t) = 0, hence

sin t = 0 OR 1 + 2 cos t = 0

t = 0 OR t = pi OR cos t = 1/2

t = 0 OR t = pi OR t = pi / 3 OR t = 2pi / 3

 

Simple fill in

f(0) = 0

f(pi) = 0

f(pi/3) = 11/4

f(2pi/3) = 15/4

 

Observe that f(2pi/3) is larger than f(pi/3), but since the functions are declining in between, f(pi/3) is also a _local_ maximum. If you would like the maximums, only the f(2pi/3) would be good.

 

Furthermore, we see that the line for f(0) and f(pi) is the equation y=0, the same over which the critical point (-1/2,0) goes. If we check this line from the given function g, we get the function g(x,0) = x^2 - x, of which we can easily see that it only has 1 minimum; the critical point at x=1/2. Hence, the f(0) and f(pi) are not local minimums, there is a declining line towards (1/2,0).

Link to comment
Share on other sites

I haven't seen that -x at the end in the second case so it's just wrong from the start, my bad :embrass

First one isn't meant to be a proof, just that you try see what you have and try to conclude what to look at. And in this case you are supposed to look in the first quadrant only because of x>=0, x>=0 part. I'd say the points on the arc I took could be the dubious part, that would need better explanation.

 

Rolf's version makes far more sense than mine, substitution is the way to go

Link to comment
Share on other sites

No problem, we can learn from each other. The first exercise isn't indeed a proof, but I would solve it in the same way as you did. The first exercise cannot be solved by my method, since x^2 + y^2 = 1 for x>=0, y>=0 is not differentiable everywhere. So use your intuition about the Euclidean and Manhattan distance and it'll work :D

Link to comment
Share on other sites

@JohnWayne: A well, at least now you can help others. Right? :P And no, I wasn't born 30 years ago :P

 

@kristy: Calculus yeah. Actually, the subject of Section 13.2 (Extreme Values of Functions defined on Restricted Domains) of the book Calculus by Adams. To give an impression, 13.2 only exists of 6 pages. Total number of pages is about 1000, 17 chapters and each of approximately 8 sections.

 

Although this is interesting, it's not really my subject (hence, I guarantee nothing about correctness). But it's not that hard if you understand the basics. It took me about 15 minutes to recapture my old lectures I've long forgotten and about 5 minutes to solve it.

Edited by rolf
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.