Question is to find local extrema and saddle points. Given $f(x,y)=\sqrt{56x^{2}-8y^{2}-16x-31}+1-8x$
I find critical points which are $(-2,0)$ and $(16/7,0)$.But using 2 nd derivative test to identify their behavior looks too lengthy.Any other way to proceed? Thanks in advance.
As far as I see, if we already found the extremum points, then we just need to evaluate the function at the point itself and a few points around it to guess/estimate the behavior. It is in my opinion the most simple way for functions with explicitly known expression.
Of course, there's a downside: if the function is badly behaved (oscillations, singularities, etc.) this method may not give anything reliable, no matter how many points we use.
For a more reliable way see @phaedo's answer.
But the OP's function is nice enough, so it makes sense to try this simple method.
Also, the saddlepoints can give a bit of trouble, depending on where we check.
Let us pick the point from the OP $(-2,0)$ and check the function values around it:
$$f(-2,0)=\sqrt{56 \cdot 4+16 \cdot 2-31}+1+8 \cdot 2=32$$
$$f(-2.1,0)=33.59747 \ldots$$
$$f(-1.9,0)=30.39718 \ldots$$
$$f(-2,0.1)=f(-2,-0.1)=31.99767 \ldots$$
This is neither a maximum nor a minimun, so I would say, saddlepoint. Note that the function is even in $y$, so checking around $y=0$ is simple.
Now for $(16/7,0)$:
$$f(16/7,0)=-2.285714 \ldots$$
$$f(17/7,0)=-2.290772 \ldots$$
$$f(15/7,0)=-2.291607 \ldots$$
$$f(16/7,1/7)=f(16/7,-1/7)=-2.296764 \ldots$$
This point looks like a maximum to me, as all the values around it are smaller (note the negative signs).
Using more than $5$ points (for example, $9$ points) should make the method more reliable.
Here, I made a little R program which uses the nine point method, where you can input a two variable function, a point you want to check, and the distance around it where we check the values. It wouldn't know a saddle point though, it only recognizes a maximum or a minimum:
The output for $(-2,0)$:
The output for $(16/7,0)$:
Note, that $d$ is also a good estimate for the error of this method, so if we try to check a point closer than $d$ to our critical point, the program wouldn't recognize the difference.
In fact, this function is a little tricky, because numerically it's hard to see if the second point is a maximum or not, because the plot for the whole range looks like this:
Now, plotting only the right side for $y=0$ gives us a more clear picture of a local maximum: