4. If $2 x+y \geqslant 1$, then the minimum value of the function $u=y^{2}-2 y+x^{2}$…
- User
- If , then the minimum value of the function is
Assistant
Problem: 4. If , then the minimum value of the function is
Let me implement this solution.
The minimum value of (u = y^2 - 2y + x^2 + 4x) subject to (2x + y \ge 1) is (-\dfrac{9}{5}).
Explanation
Rewrite (u) by completing squares:
[ u = (x+2)^2 + (y-1)^2 - 5. ]
This is the squared distance from ((-2,1)) minus 5. The unconstrained minimum occurs at ((-2,1)), giving (u = -5), but this point does not satisfy the constraint because (2(-2)+1 = -3 < 1). Since the objective is convex and the feasible region is a half-plane, the constrained minimum lies on the boundary (2x + y = 1).The closest point on this line to ((-2,1)) is the orthogonal projection. Parameterizing the line with normal vector ((2,1)) gives
[ (x,y) = (-2,1) + \lambda(2,1), ]
and substituting into (2x+y=1) yields (\lambda = \frac{4}{5}). Thus the minimizer is
[ x = -2 + 2\cdot\frac{4}{5} = -\frac{2}{5},\qquad y = 1 + \frac{4}{5} = \frac{9}{5}. ]
Evaluating (u) at this point:
[ u = \left(-\frac{2}{5}+2\right)^2 + \left(\frac{9}{5}-1\right)^2 - 5 = \left(\frac{8}{5}\right)^2 + \left(\frac{4}{5}\right)^2 - 5 = \frac{64}{25} + \frac{16}{25} - 5 = \frac{80}{25} - 5 = \frac{16}{5} - \frac{25}{5} = -\frac{9}{5}. ]
Hence the minimum value is (-\dfrac{9}{5}).