You are on page 1of 1

In case you have yet to solve the problem, here is the solution.

√ √
Your problem was to find the range of y = x + 1 − x for x ∈ [0, 1].

So, we begin with some algebraic manipulation.


√ √
y = x+ 1−x
q
2
y = x + (1 − x ) + 2 x (1 − x )
y2 − 1
q
= x (1 − x )
2
 2 2
y −1
= x (1 − x )
2
1
Using the substitution x = 2+ u, we have
 2 2 
y −1
 
1 1
= +u −u
2 2 2
 2 2
y −1 1
= − u2
2 4

Now, the RHS of the equation achieves its maximum value when u = 0 (i.e, x = 21 ),
and so the maximum value in y corresponds to
 2 2
y −1 1
= − (0)2
2 4
2
y −1 1
=
2 2
y2 − 1 = 1

y=± 2

Note that the other possibility, − 2, is rejected in this case since y adopts non-negative
values only. The term on the LHS of the equation requires that
 2 2
y −1 1
= − u2 ≥ 0
2 4
which is satisfied by
2
y2 − 1

≥0
2
y2 − 1
≥0
2
y2 ≥ 1
y ≥ 1 or y ≤ −1

Again, y ≤ −1 is rejected on similar grounds. Therefore the range of y is y ∈ [1, 2].