Finding Critical Points for f(x, y) = sinx + siny + cos(x+y)

Click For Summary
SUMMARY

The discussion focuses on finding the critical points of the function f(x, y) = sin(x) + sin(y) + cos(x+y) within the domain 0 ≤ x ≤ π/4 and 0 ≤ y ≤ π/4. The first partial derivatives are calculated as fx(x,y) = cos(x) - sin(x+y) and fy(x,y) = cos(y) - sin(x+y). The critical points identified are (π/4, 0) and (0, π/4), both of which are determined to be saddle points based on the determinant D = fxxfyy - (fxy)^2. Further analysis reveals that simultaneous solutions must be considered, leading to the conclusion that x = y provides additional critical points within the specified domain.

PREREQUISITES
  • Understanding of first and second order partial derivatives
  • Knowledge of critical point analysis in multivariable calculus
  • Familiarity with the concepts of saddle points and local extrema
  • Ability to graph multivariable functions
NEXT STEPS
  • Explore simultaneous equations in multivariable calculus
  • Learn about the Hessian matrix and its role in classifying critical points
  • Study boundary behavior in optimization problems
  • Investigate graphical methods for visualizing multivariable functions
USEFUL FOR

Students and educators in calculus, particularly those focusing on multivariable functions, critical point analysis, and optimization techniques.

calorimetry
Messages
30
Reaction score
0

Homework Statement


Find the critical points of the function f(x, y) = sinx + siny + cos(x+y)
where 0<=x<=pi/4 and 0<=y<=pi/4


Homework Equations


First and second order partial derivative of f(x, y)


The Attempt at a Solution


To find the critical points, I first find the first partial derivative with respect to x and y.

fx(x,y) = cosx - sin(x+y)
fy(x,y) = cosy - sin(x+y)

Set both of the first partial derivative = 0
cosx = sin(x+y) x=pi/4 and y=0
cosy = sin(x+y) x=0 and y=pi/4

Here is where I got stuck, I noticed two points where the above equations are true, but how do I find all the critical points?

I checked the two points I found using
D = fxxfyy - (fxy)^2
fxx = -sinx - cos(x+y)
fyy = -siny - cos(x+y)
fxy = -cos(x+y)

and I found that D for both points are less than zero, which suggest that they both are saddle points. I then graphed the function f(x, y) and these two points don't appear to be saddle points on f. I assume that I made some mistake somewhere either in the derivative or the graph, if someone can check this for me, it would be greatly appreciated.
 
Physics news on Phys.org
You said:

fx(x,y) = cosx - sin(x+y)
fy(x,y) = cosy - sin(x+y)

Set both of the first partial derivative = 0
cosx = sin(x+y) x=pi/4 and y=0
cosy = sin(x+y) x=0 and y=pi/4

But you must solve these simultaneously. You have picked values that solve them separately, which is irrelevant. But what you can get from those last two equations is that cos(x) = cos(y). And on [0, π/4] that means x = y. Use that in your equation for fx = 0 to see if you can find critical points in your domain.

Depending on what your problem asks for, you may need to check the boundaries too.
 
Thanks LCKurtz, I haven't solve it yet but your suggestion is really helpful. It makes a lot more sense when I look at the graph. The maximum of the surface is indeed a point where x and y are equal.
 

Similar threads

  • · Replies 27 ·
Replies
27
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
5
Views
2K
Replies
5
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K