Assume that $a>0$, Suppose we have :
$$X = \{x\in \mathbb{R} \ : \ x^2 < a \}$$
We should prove that this set has a supremum, and that's $\sqrt{a}$ .
I saw this answer on one of the related posts:
Suppose that $a>0$ then $\sqrt{a}$ is an upper bound . To see this, use the definition of an open ball . Also $0 \in (-\sqrt{a},\sqrt{a})$ since $|0|<\sqrt{a}$. Therefore supremum exists. Now assume for contradiction that $\sqrt{a}$ is not the least upper bound. Then there exist $M \in R$ which is the supremum and $M<\sqrt{a}$.Consider $z:=\frac{\sqrt{a}-M}{\sqrt{a}}+M$.By construction $z>M$. it is impossible that $z<\sqrt{a}$ since M is the supremum,But if $\sqrt{a}\leq z$, then $\sqrt{a}\leq\frac{\sqrt{a}-M}{\sqrt{a}}+M \to \sqrt{a}\leq M$ ,contradiction.
My first question:
Is how author recognized that she should use $\frac{\sqrt{a}-M}{\sqrt{a}}+M$ ? Can we determine a logical process to achieve this expression for our needs?
My second question:
I have problem with this part:
$$\sqrt{a}\leq\frac{\sqrt{a}-M}{\sqrt{a}}+M \to \sqrt{a}\leq M$$
Can we conclude from $z>M$ and $\sqrt{a}\leq z$ that $\sqrt{a}\leq M$ ? I think that's not possible!
Last one:
Is there any better way to prove that?