
Arturo O. answered 05/31/20
Experienced Physics Teacher for Physics Tutoring
a - b = 20 ⇒ a = b + 20
a2 + b2 = minimum
a2 + b2 = (b + 20)2 + b2 = (b2 + 40b + 400) + b2 = 2b2 + 40b + 400
Simplify a2 + b2 by dividing by 2.
(a2 + b2)/2 = b2 + 20b + 200
Note the expression on the right represents a parabola that opens up, so its vertex is a minimum. Find the vertex by completing the square.
b2 + 20b + 200 = (b2 + 20b + 202/4) + (200 - 202/4) = (b2 + 20b + 100) + 100
b2 + 20b + 200 = (b + 10)2 + 100
This has the form
(b - h)2 + k,
where the vertex is (h,k).
h = -10
h is the value of b that minimizes (b - h)2 + k, so
b = -10
a = b + 20 = -10 + 20 = 10