Are the critical points minima or maxima?

In summary, the conversation discusses finding the maxima or minima of the function $f(x_1, x_2)=2-x_1-x_2$ under the constraint $x_1^2+x_2^2=8$. The Langrange function is used to solve for the critical points, which are found to be $(-2,-2)$ and $(2,2)$. It is concluded that $f_{\min}=-2$ and $f_{\max}=6$, and there are no saddle points due to the linear nature of the objective function.
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :eek:

We have the function $f(x_1, x_2)=2-x_1-x_2$ and we want to check if it has maxima or minima under the constraint $x_1^2+x_2^2=8$. Since we cannot solve for one variable at the equationof the constraint, we have to use the Langrange function, right? (Wondering)

I have done the following:

Let $g(x_1, x_2)=x_1^2+x_2^2-8$.

  • \begin{equation*}L(x_1,x_2,\lambda )=2-x_1-x_2 -\lambda \cdot \left (x_1^2+x_2^2-8\right )\end{equation*}
  • \begin{align*}&L_{x_1}(x_1,x_2,\lambda)=-1 -2x_1\lambda \\ & L_{x_2}(x_1,x_2,\lambda)=-1 -2x_2\lambda \\ & L_{\lambda}(x_1,x_2,\lambda)=- \left (x_1^2+x_2^2-8\right )\end{align*}
  • \begin{align*}&L_{x_1}(x_1,x_2,\lambda)=0 \Rightarrow -1 -2x_1\lambda=0 \\ & L_{x_2}(x_1,x_2,\lambda)=0 \Rightarrow -1 -2x_2\lambda=0 \\ & L_{\lambda}(x_1,x_2,\lambda)=0 \Rightarrow =- \left (x_1^2+x_2^2-8\right )=0\end{align*}
  • From the first equation we have that \begin{equation*}2x_1\lambda=-1 \Rightarrow \lambda=-\frac{1}{2x_1} \end{equation*}

    Replacing this in the second equation we get \begin{equation*}-1 -2x_2\left (-\frac{1}{2x_1}\right )=0 \Rightarrow -1 +\frac{x_2}{x_1}=0 \Rightarrow \frac{x_2}{x_1}=1 \Rightarrow x_2=x_1 \end{equation*}

    Since $x_2=x_1$ from the third equation we get \begin{equation*}x_1^2+x_1^2-8=0 \Rightarrow 2x_1^2=8 \Rightarrow x_1^2=4 \Rightarrow x_1=\pm 2\end{equation*}

    Therefore we get that's $({x_1}_0, {x_2}_0)=(-2,-2)$ und $({x_1}_0, {x_2}_0)=(2,2)$.

    For ${x_1}_0=-2$ we get $\lambda=\frac{1}{x_1}=-\frac{1}{2}$ and for ${x_1}_0=2$ we get $\lambda=\frac{1}{x_1}=\frac{1}{2}$. So, the critical points are $(-2,-2)$ und $(2,2)$.
Since the partial derivatives of second order are zero, we cannot use the condition
\begin{equation*}f_{x_1x_1}(x_0, y_0)\left\{\begin{matrix}
<0\\
>0
\end{matrix}\right. \ \text{ and } \ f_{x_1x_1}(x_0, y_0)f_{x_2x_2}(x_0, y_0)-\left (f_{x_1x_2}(x_0, y_0)\right )^2>0\end{equation*} to check if we have maxima or minima.

What can we do then in tis case? (Wondering)
 
Physics news on Phys.org
  • #2
What I would do is observe that we have cyclical symmetry, that is we may interchange $x_1$ and $x_2$ with no change in either the objective function or the constraint, so we know the critical points are:

\(\displaystyle (-2,-2),\,(2,2)\)

Since:

\(\displaystyle f(-2,-2)=6\) and \(\displaystyle f(2,2)=-2\)

we may therefore conclude:

\(\displaystyle f_{\min}=f(2,2)=-2\)

\(\displaystyle f_{\max}=f(-2,-2)=6\)
 
  • #3
MarkFL said:
What I would do is observe that we have cyclical symmetry, that is we may interchange $x_1$ and $x_2$ with no change in either the objective function or the constraint, so we know the critical points are:

\(\displaystyle (-2,-2),\,(2,2)\)

Since:

\(\displaystyle f(-2,-2)=6\) and \(\displaystyle f(2,2)=-2\)

we may therefore conclude:

\(\displaystyle f_{\min}=f(2,2)=-2\)

\(\displaystyle f_{\max}=f(-2,-2)=6\)

Ah ok. So, it cannot be that we have a saddle point? (Wondering)
 
  • #4
mathmari said:
Ah ok. So, it cannot be that we have a saddle point? (Wondering)

The objective function is linear, so it describes a plane, and so I don't believe there will be any saddle points, or in fact any critical points without some kind of constraint imposed. :D
 
  • #5
MarkFL said:
The objective function is linear, so it describes a plane, and so I don't believe there will be any saddle points, or in fact any critical points without some kind of constraint imposed. :D

I see! Thank you very much! (Happy)
 

FAQ: Are the critical points minima or maxima?

How do you determine if a critical point is a minimum or maximum?

To determine if a critical point is a minimum or maximum, you can use the second derivative test. If the second derivative at the critical point is positive, then it is a minimum. If the second derivative is negative, then it is a maximum. If the second derivative is zero, then the test is inconclusive and you may need to use other methods.

What is the difference between a minimum and maximum critical point?

A minimum critical point is the lowest point on a curve, while a maximum critical point is the highest point on a curve. This means that at a minimum critical point, the function is increasing to the left and decreasing to the right, while at a maximum critical point, the function is decreasing to the left and increasing to the right.

Can a critical point be both a minimum and a maximum?

No, a critical point can only be either a minimum or a maximum. If the second derivative at a critical point is zero, then it is considered a saddle point, where the function is neither increasing nor decreasing in that direction.

Do all functions have critical points?

No, not all functions have critical points. Only continuous functions that are differentiable at a point can have critical points. Also, some functions may have an infinite number of critical points, while others may not have any.

How can critical points be used in real-life applications?

Critical points can be used to find the maximum or minimum value of a function, which can be helpful in optimization problems. They can also be used to analyze the behavior of a system, such as determining the stability of a system in physics or economics. In real-life, critical points can also be used in data analysis to identify important points or trends in a dataset.

Similar threads

Replies
6
Views
1K
Replies
4
Views
2K
Replies
2
Views
2K
Replies
3
Views
1K
Replies
2
Views
2K
Replies
3
Views
2K
Replies
10
Views
3K
Replies
1
Views
1K
Back
Top