# Math Help - Minimize function

1. ## Minimize function

Not sure if this is the right section for this but...

Minimize $f(x_1, x_2) = -x_1 + x_2$ subject to the following constraints,
$0 \leq x_1 \leq a$, $0 \leq x_2 \leq 1$ and $x_2 \geq x_1^2$.

2. ## I'm sure I've misinterpreted the problem, but...

To minimize this don't you want x2 as small as possible? If so, then x2=x1^2. Then you're minimizing x^2-x, which is at x=1/2. If your bounds don't permit this, don't you just need to check the boundary values and x=1/2?