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

In summary, we are asked to find the local maximum and minimum values and saddle point(s) of the function f(x,y)=3sin(x)sin(y) where -π < x < π and -π < y < π. After finding the critical points and using the second partials test, we determine that there are two relative maximum points at (x,y)=(-π/2,-π/2) and (x,y)=(π/2,π/2), two relative minimum points at (x,y)=(-π/2,π/2) and (x,y)=(π/2,-π/2), and one saddle point at (x,y)=(0,0). The minimum value of the function is -
  • #1
MarkFL
Gold Member
MHB
13,288
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
  • #2
Hello pheobee,

We are given the function:

\(\displaystyle 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:

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

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

This implies by addition:

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

And by subtraction:

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

Hence, we may state:

\(\displaystyle x\pm y=k\pi\)

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

\(\displaystyle (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:

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

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

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

And we define:

\(\displaystyle 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:

\(\displaystyle 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.) \(\displaystyle (x,y)=\left(-\frac{\pi}{2},-\frac{\pi}{2} \right)\)

\(\displaystyle D(x,y)=9>0\)

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

We conclude this point is at a relative maximum.

The value of the function at this point is:

\(\displaystyle f(x,y)=3\)

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

\(\displaystyle D(x,y)=9>0\)

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

We conclude this point is at a relative minimum.

The value of the function at this point is:

\(\displaystyle f(x,y)=-3\)

3.) \(\displaystyle (x,y)=(0,0)\)

\(\displaystyle 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:

\(\displaystyle f(x,y)=0\)

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

\(\displaystyle D(x,y)=9>0\)

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

We conclude this point is at a relative minimum.

The value of the function at this point is:

\(\displaystyle f(x,y)=-3\)

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

\(\displaystyle D(x,y)=9>0\)

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

We conclude this point is at a relative maximum.

The value of the function at this point is:

\(\displaystyle f(x,y)=3\)

And so we may conclude:

\(\displaystyle f_{\min}=-3\)

\(\displaystyle 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: 68

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

1. What is the definition of a local extremum?

A local extremum is a point on a graph where the function reaches either a maximum or minimum value within a small interval surrounding the point.

2. How do you find the local extrema of a function?

To find the local extrema of a function, you can take the partial derivatives with respect to each variable and set them equal to zero. Then, solve for the values of x and y that make the partial derivatives equal to zero. These values will correspond to the coordinates of the local extrema.

3. Is the function f(x,y)=3sin x sin y guaranteed to have local extrema?

Yes, the function f(x,y)=3sin x sin y is guaranteed to have local extrema, as it is a continuous and differentiable function.

4. How can you determine if a local extremum is a maximum or a minimum?

To determine if a local extremum is a maximum or a minimum, you can use the second derivative test. If the second derivative at the point is positive, then it is a local minimum. If the second derivative is negative, then it is a local maximum.

5. Can a function have more than one local extremum?

Yes, a function can have multiple local extrema. These can include both local maxima and local minima.

Similar threads

Replies
1
Views
2K
  • General Math
Replies
11
Views
1K
Replies
1
Views
849
  • Topology and Analysis
Replies
16
Views
1K
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
15
Views
734
Replies
2
Views
1K
Replies
5
Views
2K
Back
Top