
Arturo O. answered 05/29/20
Experienced Physics Teacher for Physics Tutoring
Assuming you are to solve this without using calculus,
x - y = 20 ⇒ y = x - 20
x2 + y2 is a minimum
x2 + (x - 20)2 is a minimum.
x2 + (x - 20)2 = x2 + (x2 - 40x + 400) = 2x2 - 40x + 400
Let f(x) = 2x2 - 40x + 400
f(x) is a parabola opening up, so it has a minimum at its vertex, which is at
x = -(-40) / [2(2)] = 10
y = x - 20 = 10 - 20 = -10
Using calculus, you get the same result.