# How do you find the critical point and determine whether

How do you find the critical point and determine whether it is a local maximum, local minimum, or neither for $f\left(x,y\right)={x}^{2}+4x+{y}^{2}$?
You can still ask an expert for help

• Live experts 24/7
• Questions are typically answered in as fast as 30 minutes
• Personalized clear answers

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

trasahed
The first-order partial derivatives of $z=f\left(x,y\right)={x}^{2}+4x+{y}^{2}$ are $\frac{\partial z}{\partial x}=2x+4$ and $\frac{\partial z}{\partial y}=2y$.
Setting both of these equal to zero results in a system of equations whose unique solution is clearly $\left(x,y\right)=\left(-2,0\right)$, so this is the unique critical point of $f$.
The second-order partials are $\frac{{\partial }^{2}z}{\partial {x}^{2}}=2,\frac{{\partial }^{2}z}{\partial {y}^{2}}=2$ and $\frac{{\partial }^{2}z}{\partial x\partial y}=\frac{{\partial }^{2}z}{\partial y\partial x}=0$
This makes the discriminant for the (multivariable) Second Derivative Test equal to
$D=\frac{{\partial }^{2}z}{\partial {x}^{2}}\cdot \frac{{\partial }^{2}z}{\partial {y}^{2}}-{\left(\frac{{\partial }^{2}z}{\partial x\partial y}\right)}^{2}=2\cdot 2-{0}^{2}=4>0$
which means the critical point is either a local max or a local min (it's not a saddle point).
Since $\frac{{\partial }^{2}z}{\partial {x}^{2}}=2>0$, the critical point is a local min.
###### Not exactly what you’re looking for?
lilwhitelieyc
$f\left(x,y\right)={x}^{2}+4x+{y}^{2}$
${f}_{x}\left(x,y\right)=2x+4$
${f}_{y}\left(x,y\right)=2y$
The critical point makes both partial derivatives 0 (simultaneously).
For this function there is one critical point: $\left(-2,0\right)$
To determine whether f has a local minimum, maximum or neither at this point we apply the second derivative test for functions of two variables. (Well, we try to apply it. It does not always give an answer.)
${f}_{xx}\left(x,y\right)=2$
${f}_{xy}\left(x,y\right)=0$ (As usual, this is also ${f}_{yx}\left(x,y\right)$)
${f}_{yy}\left(x,y\right)=2$
Evaluate the second partials at the critical point (In this case they are all constant, but in general we cannot skip this step.)
At the critical point $\left(-2,0\right)$, we get
$A={f}_{xx}\left(-2,0\right)=2$
$B={f}_{xy}\left(-2,0\right)=0$
$C={f}_{yy}\left(-2,0\right)=2$
Calculate $D=AC-{B}^{2}$
$D=\left(2\right)\left(2\right)-{\left(0\right)}^{2}=4$
Apply the second derivative test:
Since D is positive, we look at A and with $D>0$ and $A>0$, we have a local minimum at the critical point.
f $\left(-2,0\right)=4-8=-4$
f has a local minimum of−4 at $\left(-2,0\right)$.