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

Click For Summary
SUMMARY

The local extrema of the function f(x, y) = 3sin(x)sin(y) within the domain -π < x < π and -π < y < π include two local maxima at (-π/2, -π/2) and (π/2, π/2) with values of 3, and two local minima at (-π/2, π/2) and (π/2, -π/2) with values of -3. The saddle point occurs at (0, 0) where the function value is 0. The second partials test confirms these results through the calculation of D(x, y) and the evaluation of f_{xx} and f_{yy} at the critical points.

PREREQUISITES
  • Understanding of multivariable calculus concepts, specifically critical points and extrema.
  • Familiarity with the second partials test for classifying critical points.
  • Knowledge of trigonometric functions and their properties.
  • Ability to use graphing software for three-dimensional functions.
NEXT STEPS
  • Learn about the second partial derivatives test in multivariable calculus.
  • Explore graphing techniques for visualizing multivariable functions using tools like Wolfram|Alpha.
  • Study the properties of sine and cosine functions in relation to their critical points.
  • Investigate other methods for finding local extrema in functions of two variables.
USEFUL FOR

Students and educators in mathematics, particularly those focusing on calculus, as well as anyone interested in analyzing multivariable functions and their critical points.

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.
 
Physics 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: 135

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
884
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K