I would do this a completely different way. If we use x and y rather than a and b (it is still exactly the same problem, of course), we can think of "a^2+ b^2= 1" (x^2+ y^2= 1) as the equation of a circle with center at (0, 0) and radius 1. "a+ b= c" or x+ y= c, for c a fixed number, is a line sloping down to the left at a 45 degree angle. The smallest and largest possible values of c are when that line is tangent to the circle which happen at the endpoints of the diameter perpendicular to the line: that is the line y= x which crosses the circle when so that . Taking , . But taking we get .

Perhaps you forgot the on the square root?