Solving Multivariate Problem: Critical Points for ##y=-x##

I.e. a critical line.In summary, we are given a function ##f:\mathbb{R}^2 \rightarrow \mathbb{R}## defined as ##f(x,y) := \ln{\left(3+(x+y)^2\right)}##. We find the gradient of ##f## and determine that the critical points occur when ##y = -x##. The level curves of the function suggest that these critical points may be local minima. The second order mixed partial derivatives of ##f## show that the Hessian has a zero eigenvalue, indicating a line of degenerate critical points.
  • #1
squenshl
479
4
Homework Statement
Consider the function ##f:\mathbb{R}^2 \rightarrow \mathbb{R}## given by ##f(x,y) := \ln{\left(3+(x+y)^2\right)}##.

1. Find ##\nabla f##, the gradient of ##f##, and determine at which points ##\nabla f## is zero.

2. Determine whether the critical points of ##f## are local minima, local maxima, or saddle points by considering the level curves of ##f##.

3. Calculate all the second order mixed partial derivatives of ##f##.
Relevant Equations
Gradient vector ##\nabla f##.
There are sets of the form ##\left\{(x,y)\in \mathbb{R}^2: f(x,y) = \ln{\left(3+(x+y)^2\right)} = c\right\}## where ##c## is some fixed number ##> 1##. Let's see what happens for a few values of ##c##.
Suppose ##c = 2##, then ##\ln{\left(3+(x+y)^2\right)} = 2 \Longleftrightarrow (x+y)^2 = e^2-3##, or ##x+y = \pm\sqrt{e^2-3}## which are straight lines of gradient ##-1## through ##\left(\pm\sqrt{e^2-3},0\right)## and ##\left(0,\pm\sqrt{e^2-3}\right)##.
For ##c = 1##, then ##\ln{\left(3+(x+y)^2\right)} = 3 \Longleftrightarrow (x+y)^2 = e^3-3##, or ##x+y = \pm\sqrt{e^3-3}## which are straight lines of gradient ##-1## through ##\left(\pm\sqrt{e^3-3},0\right)## and ##\left(0,\pm\sqrt{e^3-3}\right)##.

1. We find the partial derivatives of ##f## with respect to ##x## and ##y## to get ##\frac{\partial f}{\partial x} = f_x = \frac{2(x+y)}{3+(x+y)^2}## and ##\frac{\partial f}{\partial y} = f_y = f_x = \frac{2(x+y)}{3+(x+y)^2}##. This makes the gradient vector
$$\nabla{f} = \begin{bmatrix}
f_x \\
f_y
\end{bmatrix} = \begin{bmatrix}
\frac{2(x+y)}{3+(x+y)^2} \\[6pt]
\frac{2(x+y)}{3+(x+y)^2}
\end{bmatrix}.$$

Equating these to zero gives the critical points and doing so gives ##2(x+y) = 0##, or ##y = -x##. Hence, the critical point is the line ##y = -x##.

2. From the figure above we see that the level curves seem to increase the further we get away from the critical points which suggests that they are local minima.

3. We have ##f_x = \frac{2(x+y)}{3+(x+y)^2}## which means ##f_{xx} = \frac{\left(2(3+(x+y)^2\right)-4(x+y)^2}{\left(3+(x+y)^2\right)^2}##. Similarly we have ##f_y = 2ye^{x^2+y^2}3## which means ##f_{yy} = \frac{\left(2(3+(x+y)^2\right)-4(x+y)^2}{\left(3+(x+y)^2\right)^2}##. Finally, we know that ##f_{xy} = f_{yx} = \frac{\left(2(3+(x+y)^2\right)-4(x+y)^2}{\left(3+(x+y)^2\right)^2}## since the (Hessian) matrix of second order partial derivatives is symmetric.

My question is what are the critical points if ##\nabla f = 0## implies ##y = -x##??
 
  • Like
Likes roam
Physics news on Phys.org
  • #2
I did not go through the entire post but if "[tex]\nabla f= 0[/tex] implies y= -x" is the only condition then the critical points are all the points on the line y= -x.
 
  • Like
Likes roam
  • #3
squenshl said:
Problem Statement: Consider the function ##f:\mathbb{R}^2 \rightarrow \mathbb{R}## given by ##f(x,y) := \ln{\left(3+(x+y)^2\right)}##.

1. Find ##\nabla f##, the gradient of ##f##, and determine at which points ##\nabla f## is zero.

2. Determine whether the critical points of ##f## are local minima, local maxima, or saddle points by considering the level curves of ##f##.

3. Calculate all the second order mixed partial derivatives of ##f##.
Relevant Equations: Gradient vector ##\nabla f##.

There are sets of the form ##\left\{(x,y)\in \mathbb{R}^2: f(x,y) = \ln{\left(3+(x+y)^2\right)} = c\right\}## where ##c## is some fixed number ##> 1##.

Where does ">1" come from? I agree that there are no points where [itex]f(x,y) = 1[/itex], but the actual minimum of [itex]f[/itex] is slightly higher than this.

Lets see what happens for a few values of ##c##.

Or you could solve the general case...

Suppose ##c = 2##, then ##\ln{\left(3+(x+y)^2\right)} = 2 \Longleftrightarrow (x+y)^2 = e^2-3##, or ##x+y = \pm\sqrt{e^2-3}## which are straight lines of gradient ##-1## through ##\left(\pm\sqrt{e^2-3},0\right)## and ##\left(0,\pm\sqrt{e^2-3}\right)##.

For ##c = 1##, then ##\ln{\left(3+(x+y)^2\right)} = 3 \Longleftrightarrow (x+y)^2 = e^3-3##, or ##x+y = \pm\sqrt{e^3-3}## which are straight lines of gradient ##-1## through ##\left(\pm\sqrt{e^3-3},0\right)## and ##\left(0,\pm\sqrt{e^3-3}\right)##.

Is this for [itex]c = 1[/itex] as stated, or [itex]c = 3[/itex] which is the calculation you have actually done?

1. We find the partial derivatives of ##f## with respect to ##x## and ##y## to get ##\frac{\partial f}{\partial x} = f_x = \frac{2(x+y)}{3+(x+y)^2}## and ##\frac{\partial f}{\partial y} = f_y = f_x = \frac{2(x+y)}{3+(x+y)^2}##. This makes the gradient vector
$$\nabla{f} = \begin{bmatrix}
f_x \\
f_y
\end{bmatrix} = \begin{bmatrix}
\frac{2(x+y)}{3+(x+y)^2} \\[6pt]
\frac{2(x+y)}{3+(x+y)^2}
\end{bmatrix}.$$

Equating these to zero gives the critical points and doing so gives ##2(x+y) = 0##, or ##y = -x##. Hence, the critical point is the line ##y = -x##.

"Hence every point on the line [itex]y = -x[/itex] is critical."

2. From the figure above we see that the level curves seem to increase the further we get away from the critical points which suggests that they are local minima.

Is this suggestion correct? Are they minima or not?

3. We have ##f_x = \frac{2(x+y)}{3+(x+y)^2}## which means ##f_{xx} = \frac{\left(2(3+(x+y)^2\right)-4(x+y)^2}{\left(3+(x+y)^2\right)^2}##. Similarly we have ##f_y = 2ye^{x^2+y^2}3## which means ##f_{yy} = \frac{\left(2(3+(x+y)^2\right)-4(x+y)^2}{\left(3+(x+y)^2\right)^2}##. Finally, we know that ##f_{xy} = f_{yx} = \frac{\left(2(3+(x+y)^2\right)-4(x+y)^2}{\left(3+(x+y)^2\right)^2}## since the (Hessian) matrix of second order partial derivatives is symmetric.

Note that all elements of the Hessian are equal. This requires that the Hessian have a zero eigenvalue.

My question is what are the critical points if ##\nabla f = 0## implies ##y = -x##??

You have a line of degenerate critical points.
 
  • Like
Likes roam

1. What is a multivariate problem?

A multivariate problem is a mathematical problem that involves multiple variables or factors. This means that the solution to the problem is influenced by more than one independent variable.

2. What are critical points in a multivariate problem?

Critical points are the points where the gradient, or slope, of a multivariate function is equal to zero. They are important in solving multivariate problems because they can indicate the maximum or minimum values of the function.

3. How do you find critical points for a function?

To find critical points for a function, you need to take the partial derivatives of the function with respect to each variable, set them equal to zero, and solve the resulting system of equations. The solutions to this system will be the critical points of the function.

4. Why are critical points important in solving multivariate problems?

Critical points are important because they can help us determine the maximum or minimum values of a multivariate function. This information is useful in optimization problems, where we want to find the best possible solution.

5. Can critical points be used to solve all multivariate problems?

No, critical points are not always sufficient to solve multivariate problems. In some cases, there may be multiple critical points or no critical points at all. In these situations, additional methods such as graphing or numerical methods may be needed to find the solution.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
699
  • Calculus and Beyond Homework Help
Replies
4
Views
567
  • Calculus and Beyond Homework Help
Replies
6
Views
552
  • Calculus and Beyond Homework Help
Replies
1
Views
467
  • Calculus and Beyond Homework Help
Replies
2
Views
518
  • Calculus and Beyond Homework Help
Replies
5
Views
767
Replies
9
Views
721
  • Calculus and Beyond Homework Help
Replies
5
Views
553
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
776
Back
Top