MHB Local Extrema of f(x,y)=3sin x sin y

AI Thread Summary
The function f(x, y) = 3sin(x)sin(y) has critical points at (-π/2, -π/2), (-π/2, π/2), (0, 0), (π/2, -π/2), and (π/2, π/2). The analysis reveals that (-π/2, -π/2) and (π/2, π/2) are local maxima with values of 3, while (-π/2, π/2) and (π/2, -π/2) are local minima with values of -3. The point (0, 0) is identified as a saddle point with a value of 0. The minimum value of the function is -3 and the maximum value is 3. A graph of the function illustrates these extrema and saddle points effectively.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Find the local maximum and minimum values and saddle point(s) of the function. If you have three-dimensional g?

Find the local maximum and minimum values and saddle point(s) of the function. If you have three-dimensional graphing software, graph the function with a domain and viewpoint that reveal all the important aspects of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.)

f(x, y) = 3 sin x sin y, −π < x < π, −π < y < π

I have posted a link there to this thread so the OP can view my work.
 
Mathematics news on Phys.org
Hello pheobee,

We are given the function:

$$f(x,y)=3\sin(x)\sin(y)$$ where $-\pi<x,y<\pi$.

First, to find the critical points, we must solve the simultaneous system:

$$f_x(x,y)=3\cos(x)\sin(y)=0$$

$$f_y(x,y)=3\sin(x)\cos(y)=0$$

This implies by addition:

$$\sin(x)\cos(y)+\cos(x)\sin(y)=\sin(x+y)=0$$

And by subtraction:

$$\sin(x)\cos(y)-\cos(x)\sin(y)=\sin(x-y)=0$$

Hence, we may state:

$$x\pm y=k\pi$$

Now, given the first partials, and the stated domains, we obtain from this the following critical points:

$$(x,y)=\left(-\frac{\pi}{2},-\frac{\pi}{2} \right),\,\left(-\frac{\pi}{2},\frac{\pi}{2} \right),\,(0,0),\,\left(\frac{\pi}{2},-\frac{\pi}{2} \right),\,\left(\frac{\pi}{2},\frac{\pi}{2} \right)$$

Next, we may use the second partials test to determine the nature of the potential extrema associated with these 5 critical points.

First, we compute:

$$f_{xx}(x,y)=-3\sin(x)\sin(y)$$

$$f_{yy}(x,y)=-3\sin(x)\sin(y)$$

$$f_{xy}(x,y)=3\cos(x)\cos(y)$$

And we define:

$$D(x,y)\equiv f_{xx}(x,y)f_{yy}(x,y)-\left(f_{xy}(x,y) \right)^2$$

Using our second partials, we then find:

$$D(x,y)=9\left(\sin^2(x)\sin^2(y)-\cos^2(x)\cos^2(y) \right)$$

So now, we analyze the critical points:

1.) $$(x,y)=\left(-\frac{\pi}{2},-\frac{\pi}{2} \right)$$

$$D(x,y)=9>0$$

$$f_{xx}(x,y)=-3<0$$

We conclude this point is at a relative maximum.

The value of the function at this point is:

$$f(x,y)=3$$

2.) $$(x,y)=\left(-\frac{\pi}{2},\frac{\pi}{2} \right)$$

$$D(x,y)=9>0$$

$$f_{xx}(x,y)=3>0$$

We conclude this point is at a relative minimum.

The value of the function at this point is:

$$f(x,y)=-3$$

3.) $$(x,y)=(0,0)$$

$$D(x,y)=-9<0$$

We conclude this point is not at an extremum (saddle point).

The value of the function at this point is:

$$f(x,y)=0$$

4.) $$(x,y)=\left(\frac{\pi}{2},-\frac{\pi}{2} \right)$$

$$D(x,y)=9>0$$

$$f_{xx}(x,y)=3>0$$

We conclude this point is at a relative minimum.

The value of the function at this point is:

$$f(x,y)=-3$$

5.) $$(x,y)=\left(\frac{\pi}{2},\frac{\pi}{2} \right)$$

$$D(x,y)=9>0$$

$$f_{xx}(x,y)=-3<0$$

We conclude this point is at a relative maximum.

The value of the function at this point is:

$$f(x,y)=3$$

And so we may conclude:

$$f_{\min}=-3$$

$$f_{\max}=3$$

Here is a plot of the given function on the stated domain, showing all 5 points:

View attachment 2018

Here is a link to the program I used to plot the function:

z=3sin(x)sin(y) where x=-pi to pi,y=-pi to pi - Wolfram|Alpha
 

Attachments

  • pheobee.jpg
    pheobee.jpg
    15.2 KB · Views: 126
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
1
Views
2K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
11
Views
2K
Replies
7
Views
2K
Replies
16
Views
2K
Replies
7
Views
1K
Back
Top