(Edward Turkevich)
Answer: the equation is true when a=b,x=y=1−a,k=1.
From a+kx≤1: x≤k1−a and from b+kx≤1: x≤k(1−b).
So, x2≤(1−a)(1−b) and x≤21(2−a−b) (based on the inequality of arithmetic and geometric means of 1−a and 1−b).
Similarly, y2≤(1−a)(1−b) and y≤21(2−a−b).
(a+x)2+(b+y)2=a2+2ax+x2+b2+2by+y2≤a2+2a⋅21(2−a−b)+(1−a)(1−b)+b2+2b⋅21(2−a−b)+(1−a)(1−b)=a2+b2+(a+b)(2−a−b)+2(1−a)(1−b)=2,
What was to be proven.
The equality is true when 1−a=1−b, so a=b,x=y=1−a,k=1.