Say you have a function and its constraint
$$ maximize \ \ f(x,y)=xy$$ $$ subject \ to: g(x,y) = 2x +3y =6 $$
if I "rescale" the constraint to be $$ 2x+3y=1$$
if we do the calculations the x and y obtained will just be scaled by 1/6.
Is there a theorem for this? Or does this hold in general? Can we explain this intuitively? E.g. we just have to scale the original solution of x and y by 1/6 and we can see that the constraint is satisfied and because the original solution is a maximum the scaled solution is also a maximum?
This does not seem quite right to me....does anyone have a better explanation?
Edit:
If we do the maths: $$ \nabla f(x,y)=\begin{pmatrix}y \\x \end{pmatrix} $$ $$\lambda \nabla g(x,y)=\lambda\begin{pmatrix}2 \\3 \end{pmatrix} $$
If we substitute y=2λ and x = 3λ into 2x+3y = 6 we get 12λ=6 so λ = 0.5 and this is the answer under the first constraint
Clearly, if the 6 is changed to a 1, then the λ obtained is just divided by 6, and your x and y are also divided by 6.
You’re asked to find the maximum of $xy$ on the line $2x+3y=6$. If you change this to $2x+3y=1$, this is a different line, so, unless you make some other adjustments, you’ll get the wrong answer.
You could do a change of variables: $u = \tfrac16x, v = \tfrac16y$. Then the line $2x+3y=6$ becomes the line $2u +3v=1$, so you get to use your favorite line as the constraint. But you have to express the objective function in $(u,v)$ coordinates, too; it becomes $36uv$. You can solve the problem in $(u,v)$ coordinates and then convert back to $(x,y)$ coordinates when you’re done.
But I don’t see how this change of variables helps to make the problem easier.
Intuitively, this change of variables just changes the units you’re using to measure distances in the “horizontal” plane, or it changes the scale, if you like. Basically the same idea as choosing to measure lengths in millimeters rather than inches. But you have to make the change consistently in all parts of the problem; you can’t just do it in the constraint equation(s).
Edit
Your technique might work if the constraints are linear and the objective function is linear in each variable. Here’s an example where it doesn’t work: $\min(x^2 + y^2)$ subject to $x+y = 2$. So, we’re looking for the square of the minimum distance between the origin and the line $x+y=2$. Clearly this is $2$. If we use the line $x+y=4$, instead, then the min squared distance is $8$, not $4$.