Find the maximum and the minimum values of S=(1−x1)(1−y1)+(1−x2)(1−y2) for real numbers x1,x2,y1,y2 with x12+x22=y12+y22=2013.
Solution
We present for this problem two solutions, one using trigonometric functions and the other using classical inequalities.
First solution. The condition x12+x22=y12+y22=c2, here c2=2013, is equivalent to saying that there exist α,β∈R such that x1=ccosα,x2=csinα,y1=ccosβ, and y2=csinβ. Therefore S=(1−x1)(1−y1)+(1−x2)(1−y2)=2−(x1+x2+y1+y2)+x1y1+x2y2=2−c(cosα+sinα+cosβ+sinβ)+c2(cosαcosβ+sinαsinβ)=2−2c(sin(α+4π)+sin(β+4π))+c2cos(α−β)=(2−c2)−22csin(2α+β+4π)cos(2α−β)+2c2cos2(2α−β)=(2−c2)−22cst+2c2t2 where s=sin(2α+β+4π), and t=cos(2α−β) are two independent variables, since α+β and α−β are independent, taking all the real values between −1 and 1 included.
Hence, the maximum of S is equal to 2+c2+22c=2015+24026, and is reached when s=−t=±1. That is precisely when x1=x2=y1=y2=−24026.
For the minimum, notice that S=(2−c2)−s2+(2ct−s)2 Therefore, the minimum of S is equal to 1−c2=−2012, and is reached when s=±1 and t=2c2s=4026±4026. That is precisely when x1=y2=21+4025 and x2=y1=21−4025, or vice-versa.
Second solution. For the maximum, we have by Cauchy-Schwartz inequality S=2−(x1+x2+y1+y2)+x1y1+x2y2≤2+4⋅(x12+x22+y12+y22)+(x12+x22)(y12+y22)≤2015+24026 and the equality holds when x1=x2=y1=y2=−24026.
For the minimum, we have S=2−(x1+y1)−(x2+y2)+2(x1+y1)2+2(x2+y2)2−c2=(1−c2)+2(x1+y1−1)2+2(x2+y2−1)2≥1−c2=−2012 where c2=2013.
Thus the minimum of S is −2012 and is reached when y1=1−x1,y2=1−x2 and x12+x22=y12+y22=2013. This is equivalent to x1=y2=21+4025 and x2=y1=21−4025
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic and difficulty added by this site.