Finding max and min of a function of several variables( 1 more time )

In summary, the critical points of the function F(x,y) are (\pi/2, 0), (3\pi/2, 0), (\pi, -1), and (2\pi, 1).
  • #1
tnutty
326
1

Homework Statement



Find min/max/saddle point of the function :

F(x,y) = y^2 - 2*y*cos(x) ; 1 <= x <= 7

F_x = 2y*sin(x)
F_xx = 2y*cos(x)
F_xy = 2cos(x)

F_y = 2y - 2cos(x)
F_yy = 2


Finding its critical points :

F_x = 2y*sin(x) = 0
F_y = 2y - 2cos(x) = 0

Solving for y in F_y

2y = -2cos(x)
y = -cos(x)

inputing this value into F_x

2( -cos(x) ) * (sin(x) ) = 0;

realizing trig identities, somehow.

2( - cos(x) ) * (sin(x) ) = -2sin(x)cos(x) = -2sin(2x)

so ,

-2sin(2x) = 0

That function equals 0 when x = n*pi

but we have boundaries so ,

1<= 2n*pi <= 7
or
1/2 <= n*pi <= 7/2

the only solutions is n = 1, so n*pi = pi. ( but the book has critical points as 0,pi,2pi )

I won't do on because I know I did something wrong. I don't think they accounted for the
extra 2 in 2n*pi, otherwise the critical points would be 0,pi,2pi.
 
Physics news on Phys.org
  • #2
tnutty said:

Homework Statement



Find min/max/saddle point of the function :

F(x,y) = y^2 - 2*y*cos(x) ; 1 <= x <= 7

F_x = 2y*sin(x)
F_xx = 2y*cos(x)
F_xy = 2cos(x)

F_y = 2y - 2cos(x)
F_yy = 2


Finding its critical points :

F_x = 2y*sin(x) = 0
so either y= 0 or sin(x)= 0=> [itex]x= n\pi[/itex]

F_y = 2y - 2cos(x) = 0
If y= 0, then -2cos(x)= 0 so x is an odd multiple of [itex]\pi/2[/itex]: [itex]x= (2n+1)\pi/2[/itex].
If [itex]x= 2n\pi[/itex], cos(x)= 1 so 2y- 2= 0 or y= 1.
If [itex]x= (2n+1)\pi[/itex], cos(x)= -1 so 2y+ 2= 0 or y= -1.

Since [itex]1\le x\le 7[/itex], the critical points are [itex](\pi/2, 0)[/itex], [itex](3\pi/2, 0)[/itex], [itex](\pi, -1)[/itex], and [itex](2\pi, 1)[/itex].

Solving for y in F_y

2y = -2cos(x)
y = -cos(x)

inputing this value into F_x

2( -cos(x) ) * (sin(x) ) = 0;

realizing trig identities, somehow.

2( - cos(x) ) * (sin(x) ) = -2sin(x)cos(x) = -2sin(2x)

so ,

-2sin(2x) = 0

That function equals 0 when x = n*pi

but we have boundaries so ,

1<= 2n*pi <= 7
or
1/2 <= n*pi <= 7/2

the only solutions is n = 1, so n*pi = pi. ( but the book has critical points as 0,pi,2pi )

I won't do on because I know I did something wrong. I don't think they accounted for the
extra 2 in 2n*pi, otherwise the critical points would be 0,pi,2pi.
 

1. What is the purpose of finding the maximum and minimum of a function of several variables?

Finding the maximum and minimum of a function of several variables is important in optimization problems, where we want to find the best possible solution. It is also useful in understanding the behavior of a function and identifying critical points.

2. How do you find the maximum and minimum of a function of several variables?

To find the maximum and minimum of a function of several variables, we use methods such as partial derivatives, gradient descent, and the Hessian matrix. These methods involve finding critical points and evaluating the function at those points to determine the maximum and minimum values.

3. Can we find the maximum and minimum of a function of several variables without using calculus?

No, finding the maximum and minimum of a function of several variables requires the use of calculus. This is because we need to take partial derivatives and set them equal to zero to find critical points, and then evaluate the function at those points to determine the maximum and minimum values.

4. What is the difference between a local and global maximum/minimum?

A local maximum/minimum is a point where the function reaches its highest/lowest value in a small neighborhood, but not necessarily the highest/lowest value in the entire domain. A global maximum/minimum is the highest/lowest value of the function in the entire domain.

5. Can a function of several variables have multiple maximum or minimum points?

Yes, it is possible for a function of several variables to have multiple maximum or minimum points. These are known as local extrema, and they can occur at different points in the domain. It is important to evaluate the function at these points to determine which are the global maximum/minimum values.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
853
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
824
  • Calculus and Beyond Homework Help
Replies
12
Views
842
  • Calculus and Beyond Homework Help
Replies
8
Views
874
  • Calculus and Beyond Homework Help
Replies
2
Views
504
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
Back
Top