We want the range of an expression involving and . A standard trick is to set , so , and rewrite everything in terms of . The result becomes a simple quadratic in , whose minimum and maximum on we can find easily. Let
Then
So
Expand:
Now find the minimum of on . Vertex of the parabola: