$$F(x,y)= 2x^2-3y^2-2x$$. $$\text{s.t.} \ \ \ \ \ \ x^2+y^2\le 1$$
By using slack variable (free variable,), I want to solve minimum and maximum problems.
I want to solve this problem for maximum and minimum just like the solution of the above example. I dont want to solve this question in other ways. I cannot do it. Please help me thank you
For example, $$\min f(x,y)= (x-a)^2 +b$$ $$\text{s.t.} \ \ \ \ \ \ x\le c$$ where a,b and c are constant.
Solution:
Let $\theta ^2$ be a slack (free) variable such that $\ \ \ \theta^2= x-c \ \ $ i.e.$\ \ \ (x-c)-\theta^2=0$
Then the Lagrange function is following
$$L(x,\lambda, \theta)= (x-a)^2 +b+\lambda ( (x-c)-\theta^2)=0$$
$$\partial L/\partial x= 2(x-a)+\lambda=0$$
$$\partial L/\partial \lambda= x-c-\theta^2 =0$$
$$\partial L/\partial \theta= -2\theta\lambda=0$$
Now let's take $-2\theta\lambda=0$
(I) $\lambda^*=0, \ \theta\not=0$ Condition
$\theta^2=a-c>0 \to a>c$
(II) $\lambda^*\not=0, \ \theta=0$ Condition
$x^*=c$ I.e. $c>a$
(III) $\lambda^*=0, \ \theta=0$ Condition


Your function $F$ is defined on a disc of radius one, which is a compact set. Therefore, the maximums and minimums are either on the boundary of the disc, or strictly inside the disc.
$$ F(r,t)=2r^2\cos^2(t)-3r^2\sin^2(t)-2r\cos(t), \quad \mbox{subject to } r\le 1. $$
But if we are one the boundary, then $r=1$ and your function $F$ is equal to $$F(t)=2\cos^2(t)-3\sin^2(t)-2\cos(t).$$
Derivative with respect to variable $t$ gives you the maximums and minimums on the boundary , namely:
$$ \max{F}=4\quad \mbox{for } (x,y)=(-1,0)\\ \min{F}=-\frac{16}{5}\quad \mbox{for } (x,y)=(\frac{1}{5},\frac{2\sqrt{6}}{5}) $$
$$ \nabla F=(2x-2,-6y), $$
So potential maximums/minimums are have coordinates $(x,y)=(1,0)$ (which indeed is inside the disc). In this case,
$$ F(1,0)=0 $$
We can conclude from these case studies that the maximums and minimums are on the boundary: the maximum is $4$ and the minimum is $-16/5$.