Example 6 If y=1−x+x−21 has a maximum value of a and a minimum value of b, then a2+b2= [6]
A number or a short expression. Spacing and $ signs are ignored.
Solution
Solve: From 1−x⩾0,x−21⩾0⇒21⩽x⩽1. According to the problem, we have y2=(1−x+x−21)2=21+2(1−x)(x−21):=21+2−(x−43)2+161. Let t=−(x−43)2+161(t⩾0).
By the properties of quadratic functions and 21⩽x⩽1, we know that when x=43, tmax =161,ymax =1; when x=21 or x=1, tmin =0,ymin =22. Therefore, a=1,b=22⇒a2+b2=23.
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: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.